@nxtedition/types 23.1.3 → 23.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/block.d.ts +1 -0
- package/dist/common/block.js +31 -13
- package/dist/common/file.js +9 -8
- package/dist/common/index.d.ts +2 -0
- package/dist/common/index.js +2 -0
- package/dist/common/json-schema.d.ts +95 -0
- package/dist/common/json-schema.js +1 -0
- package/dist/common/location.js +1 -1
- package/dist/common/nxtpression.d.ts +1 -1
- package/dist/common/print.d.ts +30 -0
- package/dist/common/print.js +1 -0
- package/dist/common/render-scene.d.ts +1 -0
- package/dist/common/rule.js +2 -2
- package/dist/common/settings.d.ts +11 -2
- package/dist/nxtpression.d.ts +451 -205
- package/dist/records/domains/connection/file/smb.d.ts +2 -0
- package/dist/records/domains/event.d.ts +20 -0
- package/dist/records/domains/gallery.d.ts +8 -0
- package/dist/records/domains/gallery.js +1 -0
- package/dist/records/domains/index.d.ts +5 -1
- package/dist/records/domains/index.js +2 -0
- package/dist/records/domains/role.d.ts +8 -0
- package/dist/records/domains/storage.d.ts +87 -0
- package/dist/records/domains/storage.js +1 -0
- package/dist/records/domains/template.d.ts +32 -0
- package/dist/records/exact/index.d.ts +6 -0
- package/dist/records/exact/monitor.d.ts +1 -0
- package/dist/records/validate/assert-guard.js +1641 -454
- package/dist/records/validate/assert.js +1645 -448
- package/dist/records/validate/is.js +92 -26
- package/dist/records/validate/schemas.d.ts +3 -10
- package/dist/records/validate/schemas.js +1336 -254
- package/dist/records/validate/stringify.js +348 -253
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +2245 -481
- package/dist/records/validate/validate.js +1549 -429
- package/dist/rpc.js +2 -2
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +13 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString
|
|
2
|
-
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport
|
|
3
|
-
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64
|
|
1
|
+
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString";
|
|
2
|
+
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport";
|
|
3
|
+
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64";
|
|
4
4
|
import { isEmptyRecord, parseRecordName } from "./utils.js";
|
|
5
5
|
import typia from 'typia';
|
|
6
6
|
export function validateEqualsRecord(name, input) {
|
|
@@ -642,41 +642,41 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
642
642
|
if (undefined === value)
|
|
643
643
|
return true;
|
|
644
644
|
return false;
|
|
645
|
-
})); const _io1 = (input, _exceptionable = true) => "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.
|
|
646
|
-
if (["panel", "path", "domain", "type", "
|
|
645
|
+
})); const _io1 = (input, _exceptionable = true) => "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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every((elem, _index2) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem, true && _exceptionable))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem, true && _exceptionable))) && (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, true && _exceptionable)) && (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, true && _exceptionable))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && true && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
646
|
+
if (["panel", "path", "domain", "type", "items", "minItems", "maxItems", "properties", "required", "oneOf", "anyOf", "enum", "title", "index", "description", "placeholder", "widget", "helpText", "invalid", "emptyValue", "computed"].some(prop => key === prop))
|
|
647
647
|
return true;
|
|
648
648
|
const value = input[key];
|
|
649
649
|
if (undefined === value)
|
|
650
650
|
return true;
|
|
651
651
|
return false;
|
|
652
|
-
})); const _io2 = (input, _exceptionable = true) => "string" === typeof input.
|
|
653
|
-
if (["label", "path"].some(prop => key === prop))
|
|
654
|
-
return true;
|
|
655
|
-
const value = input[key];
|
|
656
|
-
if (undefined === value)
|
|
657
|
-
return true;
|
|
658
|
-
return false;
|
|
659
|
-
})); const _io3 = (input, _exceptionable = true) => (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, _index4) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem, true && _exceptionable))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every((elem, _index5) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem, true && _exceptionable))) && (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) && _io4(input.widget, true && _exceptionable))) && (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) && _io3(input.items, true && _exceptionable)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties, true && _exceptionable)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io2(input.index, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
652
|
+
})); const _io2 = (input, _exceptionable = true) => (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, _index4) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem, true && _exceptionable))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every((elem, _index5) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem, true && _exceptionable))) && (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, true && _exceptionable))) && (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, true && _exceptionable)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties, true && _exceptionable)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
660
653
|
if (["domain", "path", "type", "title", "description", "required", "oneOf", "anyOf", "enum", "widget", "placeholder", "helpText", "invalid", "emptyValue", "minItems", "maxItems", "items", "properties", "computed", "index"].some(prop => key === prop))
|
|
661
654
|
return true;
|
|
662
655
|
const value = input[key];
|
|
663
656
|
if (undefined === value)
|
|
664
657
|
return true;
|
|
665
658
|
return false;
|
|
666
|
-
})); const
|
|
659
|
+
})); const _io3 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
667
660
|
if (["type", "readOnly"].some(prop => key === prop))
|
|
668
661
|
return true;
|
|
669
662
|
const value = input[key];
|
|
670
663
|
if (undefined === value)
|
|
671
664
|
return true;
|
|
672
665
|
return true;
|
|
673
|
-
}); const
|
|
666
|
+
}); const _io4 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
674
667
|
const value = input[key];
|
|
675
668
|
if (undefined === value)
|
|
676
669
|
return true;
|
|
677
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
678
|
-
}); const
|
|
679
|
-
if (["
|
|
670
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value, true && _exceptionable);
|
|
671
|
+
}); const _io5 = (input, _exceptionable = true) => "string" === typeof input.label && "string" === typeof input.path && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
672
|
+
if (["label", "path"].some(prop => key === prop))
|
|
673
|
+
return true;
|
|
674
|
+
const value = input[key];
|
|
675
|
+
if (undefined === value)
|
|
676
|
+
return true;
|
|
677
|
+
return false;
|
|
678
|
+
})); const _io6 = (input, _exceptionable = true) => "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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every((elem, _index6) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem, true && _exceptionable))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every((elem, _index7) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem, true && _exceptionable))) && (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, true && _exceptionable))) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io9(input.setter, true && _exceptionable))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index, true && _exceptionable)) && (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, true && _exceptionable))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && true && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
679
|
+
if (["schema", "path", "domain", "type", "default", "items", "minItems", "maxItems", "properties", "required", "oneOf", "anyOf", "enum", "const", "recordName", "setter", "title", "index", "description", "placeholder", "widget", "helpText", "invalid", "emptyValue", "computed"].some(prop => key === prop))
|
|
680
680
|
return true;
|
|
681
681
|
const value = input[key];
|
|
682
682
|
if (undefined === value)
|
|
@@ -765,26 +765,30 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
765
765
|
path: _path + ".type",
|
|
766
766
|
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
767
767
|
value: input.type
|
|
768
|
-
}), undefined === input.
|
|
769
|
-
path: _path + ".
|
|
770
|
-
expected: "(
|
|
771
|
-
value: input.
|
|
772
|
-
})) && _vo2(input.
|
|
773
|
-
path: _path + ".
|
|
774
|
-
expected: "(
|
|
775
|
-
value: input.
|
|
776
|
-
}), undefined === input.
|
|
777
|
-
path: _path + ".
|
|
778
|
-
expected: "(
|
|
779
|
-
value: input.
|
|
780
|
-
}), undefined === input.
|
|
781
|
-
path: _path + ".
|
|
782
|
-
expected: "(
|
|
783
|
-
value: input.
|
|
784
|
-
}), undefined === input.
|
|
785
|
-
path: _path + ".
|
|
786
|
-
expected: "(string | undefined)",
|
|
787
|
-
value: input.
|
|
768
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
769
|
+
path: _path + ".items",
|
|
770
|
+
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
771
|
+
value: input.items
|
|
772
|
+
})) && _vo2(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
773
|
+
path: _path + ".items",
|
|
774
|
+
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
775
|
+
value: input.items
|
|
776
|
+
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
777
|
+
path: _path + ".minItems",
|
|
778
|
+
expected: "(number | undefined)",
|
|
779
|
+
value: input.minItems
|
|
780
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
781
|
+
path: _path + ".maxItems",
|
|
782
|
+
expected: "(number | undefined)",
|
|
783
|
+
value: input.maxItems
|
|
784
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
785
|
+
path: _path + ".properties",
|
|
786
|
+
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
787
|
+
value: input.properties
|
|
788
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
789
|
+
path: _path + ".properties",
|
|
790
|
+
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
791
|
+
value: input.properties
|
|
788
792
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
789
793
|
path: _path + ".required",
|
|
790
794
|
expected: "(boolean | undefined)",
|
|
@@ -797,7 +801,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
797
801
|
path: _path + ".oneOf[" + _index9 + "]",
|
|
798
802
|
expected: "BaseSchemaProperty<unknown>",
|
|
799
803
|
value: elem
|
|
800
|
-
})) &&
|
|
804
|
+
})) && _vo2(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
801
805
|
path: _path + ".oneOf[" + _index9 + "]",
|
|
802
806
|
expected: "BaseSchemaProperty<unknown>",
|
|
803
807
|
value: elem
|
|
@@ -813,7 +817,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
813
817
|
path: _path + ".anyOf[" + _index10 + "]",
|
|
814
818
|
expected: "BaseSchemaProperty<unknown>",
|
|
815
819
|
value: elem
|
|
816
|
-
})) &&
|
|
820
|
+
})) && _vo2(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
817
821
|
path: _path + ".anyOf[" + _index10 + "]",
|
|
818
822
|
expected: "BaseSchemaProperty<unknown>",
|
|
819
823
|
value: elem
|
|
@@ -825,6 +829,26 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
825
829
|
path: _path + "[\"enum\"]",
|
|
826
830
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
827
831
|
value: input["enum"]
|
|
832
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
833
|
+
path: _path + ".title",
|
|
834
|
+
expected: "(string | undefined)",
|
|
835
|
+
value: input.title
|
|
836
|
+
}), undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
837
|
+
path: _path + ".index",
|
|
838
|
+
expected: "(__type | undefined)",
|
|
839
|
+
value: input.index
|
|
840
|
+
})) && _vo5(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
841
|
+
path: _path + ".index",
|
|
842
|
+
expected: "(__type | undefined)",
|
|
843
|
+
value: input.index
|
|
844
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
845
|
+
path: _path + ".description",
|
|
846
|
+
expected: "(string | undefined)",
|
|
847
|
+
value: input.description
|
|
848
|
+
}), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
849
|
+
path: _path + ".placeholder",
|
|
850
|
+
expected: "(string | undefined)",
|
|
851
|
+
value: input.placeholder
|
|
828
852
|
}), (null !== input.widget || _report(_exceptionable, {
|
|
829
853
|
path: _path + ".widget",
|
|
830
854
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -833,7 +857,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
833
857
|
path: _path + ".widget",
|
|
834
858
|
expected: "(WidgetOptions | string | undefined)",
|
|
835
859
|
value: input.widget
|
|
836
|
-
})) &&
|
|
860
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
837
861
|
path: _path + ".widget",
|
|
838
862
|
expected: "(WidgetOptions | string | undefined)",
|
|
839
863
|
value: input.widget
|
|
@@ -845,32 +869,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
845
869
|
path: _path + ".invalid",
|
|
846
870
|
expected: "(boolean | undefined)",
|
|
847
871
|
value: input.invalid
|
|
848
|
-
}), true,
|
|
849
|
-
path
|
|
850
|
-
expected: "(number | undefined)",
|
|
851
|
-
value: input.minItems
|
|
852
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
853
|
-
path: _path + ".maxItems",
|
|
854
|
-
expected: "(number | undefined)",
|
|
855
|
-
value: input.maxItems
|
|
856
|
-
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
857
|
-
path: _path + ".items",
|
|
858
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
859
|
-
value: input.items
|
|
860
|
-
})) && _vo3(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
861
|
-
path: _path + ".items",
|
|
862
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
863
|
-
value: input.items
|
|
864
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
865
|
-
path: _path + ".properties",
|
|
866
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
867
|
-
value: input.properties
|
|
868
|
-
})) && _vo5(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
869
|
-
path: _path + ".properties",
|
|
870
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
871
|
-
value: input.properties
|
|
872
|
-
}), true, 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
873
|
-
if (["panel", "path", "domain", "type", "index", "title", "description", "placeholder", "required", "oneOf", "anyOf", "enum", "widget", "helpText", "invalid", "emptyValue", "minItems", "maxItems", "items", "properties", "computed"].some(prop => key === prop))
|
|
872
|
+
}), true, true, 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
873
|
+
if (["panel", "path", "domain", "type", "items", "minItems", "maxItems", "properties", "required", "oneOf", "anyOf", "enum", "title", "index", "description", "placeholder", "widget", "helpText", "invalid", "emptyValue", "computed"].some(prop => key === prop))
|
|
874
874
|
return true;
|
|
875
875
|
const value = input[key];
|
|
876
876
|
if (undefined === value)
|
|
@@ -885,31 +885,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
885
885
|
"Please remove the property next time."
|
|
886
886
|
].join("\n")
|
|
887
887
|
});
|
|
888
|
-
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.
|
|
889
|
-
path: _path + ".label",
|
|
890
|
-
expected: "string",
|
|
891
|
-
value: input.label
|
|
892
|
-
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
893
|
-
path: _path + ".path",
|
|
894
|
-
expected: "string",
|
|
895
|
-
value: input.path
|
|
896
|
-
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
897
|
-
if (["label", "path"].some(prop => key === prop))
|
|
898
|
-
return true;
|
|
899
|
-
const value = input[key];
|
|
900
|
-
if (undefined === value)
|
|
901
|
-
return true;
|
|
902
|
-
return _report(_exceptionable, {
|
|
903
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
904
|
-
expected: "undefined",
|
|
905
|
-
value: value,
|
|
906
|
-
description: [
|
|
907
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
908
|
-
"",
|
|
909
|
-
"Please remove the property next time."
|
|
910
|
-
].join("\n")
|
|
911
|
-
});
|
|
912
|
-
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.domain || "string" === typeof input.domain || _report(_exceptionable, {
|
|
888
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.domain || "string" === typeof input.domain || _report(_exceptionable, {
|
|
913
889
|
path: _path + ".domain",
|
|
914
890
|
expected: "(string | undefined)",
|
|
915
891
|
value: input.domain
|
|
@@ -941,7 +917,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
941
917
|
path: _path + ".oneOf[" + _index11 + "]",
|
|
942
918
|
expected: "BaseSchemaProperty<unknown>",
|
|
943
919
|
value: elem
|
|
944
|
-
})) &&
|
|
920
|
+
})) && _vo2(elem, _path + ".oneOf[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
945
921
|
path: _path + ".oneOf[" + _index11 + "]",
|
|
946
922
|
expected: "BaseSchemaProperty<unknown>",
|
|
947
923
|
value: elem
|
|
@@ -957,7 +933,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
957
933
|
path: _path + ".anyOf[" + _index12 + "]",
|
|
958
934
|
expected: "BaseSchemaProperty<unknown>",
|
|
959
935
|
value: elem
|
|
960
|
-
})) &&
|
|
936
|
+
})) && _vo2(elem, _path + ".anyOf[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
961
937
|
path: _path + ".anyOf[" + _index12 + "]",
|
|
962
938
|
expected: "BaseSchemaProperty<unknown>",
|
|
963
939
|
value: elem
|
|
@@ -977,7 +953,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
977
953
|
path: _path + ".widget",
|
|
978
954
|
expected: "(WidgetOptions | string | undefined)",
|
|
979
955
|
value: input.widget
|
|
980
|
-
})) &&
|
|
956
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
981
957
|
path: _path + ".widget",
|
|
982
958
|
expected: "(WidgetOptions | string | undefined)",
|
|
983
959
|
value: input.widget
|
|
@@ -1005,7 +981,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1005
981
|
path: _path + ".items",
|
|
1006
982
|
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
1007
983
|
value: input.items
|
|
1008
|
-
})) &&
|
|
984
|
+
})) && _vo2(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
1009
985
|
path: _path + ".items",
|
|
1010
986
|
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
1011
987
|
value: input.items
|
|
@@ -1013,7 +989,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1013
989
|
path: _path + ".properties",
|
|
1014
990
|
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
1015
991
|
value: input.properties
|
|
1016
|
-
})) &&
|
|
992
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
1017
993
|
path: _path + ".properties",
|
|
1018
994
|
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
1019
995
|
value: input.properties
|
|
@@ -1021,7 +997,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1021
997
|
path: _path + ".index",
|
|
1022
998
|
expected: "(__type | undefined)",
|
|
1023
999
|
value: input.index
|
|
1024
|
-
})) &&
|
|
1000
|
+
})) && _vo5(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
1025
1001
|
path: _path + ".index",
|
|
1026
1002
|
expected: "(__type | undefined)",
|
|
1027
1003
|
value: input.index
|
|
@@ -1041,7 +1017,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1041
1017
|
"Please remove the property next time."
|
|
1042
1018
|
].join("\n")
|
|
1043
1019
|
});
|
|
1044
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
1020
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
1045
1021
|
path: _path + ".type",
|
|
1046
1022
|
expected: "(string | undefined)",
|
|
1047
1023
|
value: input.type
|
|
@@ -1056,7 +1032,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1056
1032
|
if (undefined === value)
|
|
1057
1033
|
return true;
|
|
1058
1034
|
return true;
|
|
1059
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
1035
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1060
1036
|
const value = input[key];
|
|
1061
1037
|
if (undefined === value)
|
|
1062
1038
|
return true;
|
|
@@ -1064,12 +1040,36 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1064
1040
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1065
1041
|
expected: "BaseSchemaProperty<unknown>",
|
|
1066
1042
|
value: value
|
|
1067
|
-
})) &&
|
|
1043
|
+
})) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
1068
1044
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1069
1045
|
expected: "BaseSchemaProperty<unknown>",
|
|
1070
1046
|
value: value
|
|
1071
1047
|
});
|
|
1072
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
1048
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
1049
|
+
path: _path + ".label",
|
|
1050
|
+
expected: "string",
|
|
1051
|
+
value: input.label
|
|
1052
|
+
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
1053
|
+
path: _path + ".path",
|
|
1054
|
+
expected: "string",
|
|
1055
|
+
value: input.path
|
|
1056
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
1057
|
+
if (["label", "path"].some(prop => key === prop))
|
|
1058
|
+
return true;
|
|
1059
|
+
const value = input[key];
|
|
1060
|
+
if (undefined === value)
|
|
1061
|
+
return true;
|
|
1062
|
+
return _report(_exceptionable, {
|
|
1063
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1064
|
+
expected: "undefined",
|
|
1065
|
+
value: value,
|
|
1066
|
+
description: [
|
|
1067
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
1068
|
+
"",
|
|
1069
|
+
"Please remove the property next time."
|
|
1070
|
+
].join("\n")
|
|
1071
|
+
});
|
|
1072
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.schema || _report(_exceptionable, {
|
|
1073
1073
|
path: _path + ".schema",
|
|
1074
1074
|
expected: "string",
|
|
1075
1075
|
value: input.schema
|
|
@@ -1085,50 +1085,30 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1085
1085
|
path: _path + ".type",
|
|
1086
1086
|
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
1087
1087
|
value: input.type
|
|
1088
|
-
}), (null !== input.
|
|
1089
|
-
path: _path + ".
|
|
1090
|
-
expected: "(
|
|
1091
|
-
value: input.
|
|
1092
|
-
})) && (
|
|
1093
|
-
path: _path + ".
|
|
1094
|
-
expected: "(
|
|
1095
|
-
value: input.
|
|
1096
|
-
})
|
|
1097
|
-
path: _path + ".
|
|
1098
|
-
expected: "(
|
|
1099
|
-
value: input.
|
|
1100
|
-
})
|
|
1101
|
-
path: _path + ".
|
|
1102
|
-
expected: "(
|
|
1103
|
-
value: input.
|
|
1104
|
-
})
|
|
1105
|
-
path: _path + ".
|
|
1106
|
-
expected: "(
|
|
1107
|
-
value: input.
|
|
1108
|
-
})) &&
|
|
1109
|
-
path: _path + ".
|
|
1110
|
-
expected: "(
|
|
1111
|
-
value: input.
|
|
1112
|
-
})), true, true, undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
1113
|
-
path: _path + ".index",
|
|
1114
|
-
expected: "(__type | undefined)",
|
|
1115
|
-
value: input.index
|
|
1116
|
-
})) && _vo2(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
1117
|
-
path: _path + ".index",
|
|
1118
|
-
expected: "(__type | undefined)",
|
|
1119
|
-
value: input.index
|
|
1120
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1121
|
-
path: _path + ".title",
|
|
1122
|
-
expected: "(string | undefined)",
|
|
1123
|
-
value: input.title
|
|
1124
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1125
|
-
path: _path + ".description",
|
|
1126
|
-
expected: "(string | undefined)",
|
|
1127
|
-
value: input.description
|
|
1128
|
-
}), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
1129
|
-
path: _path + ".placeholder",
|
|
1130
|
-
expected: "(string | undefined)",
|
|
1131
|
-
value: input.placeholder
|
|
1088
|
+
}), true, undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
1089
|
+
path: _path + ".items",
|
|
1090
|
+
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
1091
|
+
value: input.items
|
|
1092
|
+
})) && _vo2(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
1093
|
+
path: _path + ".items",
|
|
1094
|
+
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
1095
|
+
value: input.items
|
|
1096
|
+
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
1097
|
+
path: _path + ".minItems",
|
|
1098
|
+
expected: "(number | undefined)",
|
|
1099
|
+
value: input.minItems
|
|
1100
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
1101
|
+
path: _path + ".maxItems",
|
|
1102
|
+
expected: "(number | undefined)",
|
|
1103
|
+
value: input.maxItems
|
|
1104
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
1105
|
+
path: _path + ".properties",
|
|
1106
|
+
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
1107
|
+
value: input.properties
|
|
1108
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
1109
|
+
path: _path + ".properties",
|
|
1110
|
+
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
1111
|
+
value: input.properties
|
|
1132
1112
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
1133
1113
|
path: _path + ".required",
|
|
1134
1114
|
expected: "(boolean | undefined)",
|
|
@@ -1141,7 +1121,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1141
1121
|
path: _path + ".oneOf[" + _index13 + "]",
|
|
1142
1122
|
expected: "BaseSchemaProperty<unknown>",
|
|
1143
1123
|
value: elem
|
|
1144
|
-
})) &&
|
|
1124
|
+
})) && _vo2(elem, _path + ".oneOf[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1145
1125
|
path: _path + ".oneOf[" + _index13 + "]",
|
|
1146
1126
|
expected: "BaseSchemaProperty<unknown>",
|
|
1147
1127
|
value: elem
|
|
@@ -1157,7 +1137,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1157
1137
|
path: _path + ".anyOf[" + _index14 + "]",
|
|
1158
1138
|
expected: "BaseSchemaProperty<unknown>",
|
|
1159
1139
|
value: elem
|
|
1160
|
-
})) &&
|
|
1140
|
+
})) && _vo2(elem, _path + ".anyOf[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1161
1141
|
path: _path + ".anyOf[" + _index14 + "]",
|
|
1162
1142
|
expected: "BaseSchemaProperty<unknown>",
|
|
1163
1143
|
value: elem
|
|
@@ -1169,6 +1149,50 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1169
1149
|
path: _path + "[\"enum\"]",
|
|
1170
1150
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
1171
1151
|
value: input["enum"]
|
|
1152
|
+
}), true, (null !== input.recordName || _report(_exceptionable, {
|
|
1153
|
+
path: _path + ".recordName",
|
|
1154
|
+
expected: "(__type.o1 | string | undefined)",
|
|
1155
|
+
value: input.recordName
|
|
1156
|
+
})) && (undefined === input.recordName || "string" === typeof input.recordName || ("object" === typeof input.recordName && null !== input.recordName || _report(_exceptionable, {
|
|
1157
|
+
path: _path + ".recordName",
|
|
1158
|
+
expected: "(__type.o1 | string | undefined)",
|
|
1159
|
+
value: input.recordName
|
|
1160
|
+
})) && _vo7(input.recordName, _path + ".recordName", true && _exceptionable) || _report(_exceptionable, {
|
|
1161
|
+
path: _path + ".recordName",
|
|
1162
|
+
expected: "(__type.o1 | string | undefined)",
|
|
1163
|
+
value: input.recordName
|
|
1164
|
+
})), (null !== input.setter || _report(_exceptionable, {
|
|
1165
|
+
path: _path + ".setter",
|
|
1166
|
+
expected: "(__type.o3 | string | undefined)",
|
|
1167
|
+
value: input.setter
|
|
1168
|
+
})) && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || ("object" === typeof input.setter && null !== input.setter || _report(_exceptionable, {
|
|
1169
|
+
path: _path + ".setter",
|
|
1170
|
+
expected: "(__type.o3 | string | undefined)",
|
|
1171
|
+
value: input.setter
|
|
1172
|
+
})) && _vo9(input.setter, _path + ".setter", true && _exceptionable) || _report(_exceptionable, {
|
|
1173
|
+
path: _path + ".setter",
|
|
1174
|
+
expected: "(__type.o3 | string | undefined)",
|
|
1175
|
+
value: input.setter
|
|
1176
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1177
|
+
path: _path + ".title",
|
|
1178
|
+
expected: "(string | undefined)",
|
|
1179
|
+
value: input.title
|
|
1180
|
+
}), undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
1181
|
+
path: _path + ".index",
|
|
1182
|
+
expected: "(__type | undefined)",
|
|
1183
|
+
value: input.index
|
|
1184
|
+
})) && _vo5(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
1185
|
+
path: _path + ".index",
|
|
1186
|
+
expected: "(__type | undefined)",
|
|
1187
|
+
value: input.index
|
|
1188
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1189
|
+
path: _path + ".description",
|
|
1190
|
+
expected: "(string | undefined)",
|
|
1191
|
+
value: input.description
|
|
1192
|
+
}), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
1193
|
+
path: _path + ".placeholder",
|
|
1194
|
+
expected: "(string | undefined)",
|
|
1195
|
+
value: input.placeholder
|
|
1172
1196
|
}), (null !== input.widget || _report(_exceptionable, {
|
|
1173
1197
|
path: _path + ".widget",
|
|
1174
1198
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -1177,7 +1201,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1177
1201
|
path: _path + ".widget",
|
|
1178
1202
|
expected: "(WidgetOptions | string | undefined)",
|
|
1179
1203
|
value: input.widget
|
|
1180
|
-
})) &&
|
|
1204
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
1181
1205
|
path: _path + ".widget",
|
|
1182
1206
|
expected: "(WidgetOptions | string | undefined)",
|
|
1183
1207
|
value: input.widget
|
|
@@ -1189,32 +1213,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
1189
1213
|
path: _path + ".invalid",
|
|
1190
1214
|
expected: "(boolean | undefined)",
|
|
1191
1215
|
value: input.invalid
|
|
1192
|
-
}), true,
|
|
1193
|
-
path
|
|
1194
|
-
expected: "(number | undefined)",
|
|
1195
|
-
value: input.minItems
|
|
1196
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
1197
|
-
path: _path + ".maxItems",
|
|
1198
|
-
expected: "(number | undefined)",
|
|
1199
|
-
value: input.maxItems
|
|
1200
|
-
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
1201
|
-
path: _path + ".items",
|
|
1202
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
1203
|
-
value: input.items
|
|
1204
|
-
})) && _vo3(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
1205
|
-
path: _path + ".items",
|
|
1206
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
1207
|
-
value: input.items
|
|
1208
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
1209
|
-
path: _path + ".properties",
|
|
1210
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
1211
|
-
value: input.properties
|
|
1212
|
-
})) && _vo5(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
1213
|
-
path: _path + ".properties",
|
|
1214
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
1215
|
-
value: input.properties
|
|
1216
|
-
}), true, 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
1217
|
-
if (["schema", "path", "domain", "type", "recordName", "setter", "default", "const", "index", "title", "description", "placeholder", "required", "oneOf", "anyOf", "enum", "widget", "helpText", "invalid", "emptyValue", "minItems", "maxItems", "items", "properties", "computed"].some(prop => key === prop))
|
|
1216
|
+
}), true, true, 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
1217
|
+
if (["schema", "path", "domain", "type", "default", "items", "minItems", "maxItems", "properties", "required", "oneOf", "anyOf", "enum", "const", "recordName", "setter", "title", "index", "description", "placeholder", "widget", "helpText", "invalid", "emptyValue", "computed"].some(prop => key === prop))
|
|
1218
1218
|
return true;
|
|
1219
1219
|
const value = input[key];
|
|
1220
1220
|
if (undefined === value)
|
|
@@ -2755,8 +2755,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2755
2755
|
if (undefined === value)
|
|
2756
2756
|
return true;
|
|
2757
2757
|
return false;
|
|
2758
|
-
})); const _io3 = (input, _exceptionable = true) => "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 && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2759
|
-
if (["id", "msg", "level", "ignored", "title", "url"].some(prop => key === prop))
|
|
2758
|
+
})); const _io3 = (input, _exceptionable = true) => "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 && _exceptionable))) && true && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2759
|
+
if (["id", "msg", "level", "ignored", "title", "url", "data"].some(prop => key === prop))
|
|
2760
2760
|
return true;
|
|
2761
2761
|
const value = input[key];
|
|
2762
2762
|
if (undefined === value)
|
|
@@ -2945,8 +2945,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2945
2945
|
path: _path + ".url",
|
|
2946
2946
|
expected: "(__type.o1 | string | undefined)",
|
|
2947
2947
|
value: input.url
|
|
2948
|
-
})), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2949
|
-
if (["id", "msg", "level", "ignored", "title", "url"].some(prop => key === prop))
|
|
2948
|
+
})), true, 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2949
|
+
if (["id", "msg", "level", "ignored", "title", "url", "data"].some(prop => key === prop))
|
|
2950
2950
|
return true;
|
|
2951
2951
|
const value = input[key];
|
|
2952
2952
|
if (undefined === value)
|
|
@@ -5005,8 +5005,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
5005
5005
|
}; })()(input);
|
|
5006
5006
|
}
|
|
5007
5007
|
case "asset-daemon": {
|
|
5008
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input["user-notify"] || "boolean" === typeof input["user-notify"]) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
5009
|
-
if (["user-notify"].some(prop => key === prop))
|
|
5008
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input["user-notify"] || "boolean" === typeof input["user-notify"]) && (undefined === input.validate || "boolean" === typeof input.validate) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
5009
|
+
if (["user-notify", "validate"].some(prop => key === prop))
|
|
5010
5010
|
return true;
|
|
5011
5011
|
const value = input[key];
|
|
5012
5012
|
if (undefined === value)
|
|
@@ -5016,8 +5016,12 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
5016
5016
|
path: _path + "[\"user-notify\"]",
|
|
5017
5017
|
expected: "(boolean | undefined)",
|
|
5018
5018
|
value: input["user-notify"]
|
|
5019
|
+
}), undefined === input.validate || "boolean" === typeof input.validate || _report(_exceptionable, {
|
|
5020
|
+
path: _path + ".validate",
|
|
5021
|
+
expected: "(boolean | undefined)",
|
|
5022
|
+
value: input.validate
|
|
5019
5023
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
5020
|
-
if (["user-notify"].some(prop => key === prop))
|
|
5024
|
+
if (["user-notify", "validate"].some(prop => key === prop))
|
|
5021
5025
|
return true;
|
|
5022
5026
|
const value = input[key];
|
|
5023
5027
|
if (undefined === value)
|
|
@@ -5122,6 +5126,67 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
5122
5126
|
};
|
|
5123
5127
|
}; })()(input);
|
|
5124
5128
|
}
|
|
5129
|
+
case "asset-daemon:validate.state": {
|
|
5130
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
5131
|
+
if (["since", "version"].some(prop => key === prop))
|
|
5132
|
+
return true;
|
|
5133
|
+
const value = input[key];
|
|
5134
|
+
if (undefined === value)
|
|
5135
|
+
return true;
|
|
5136
|
+
return false;
|
|
5137
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since || _report(_exceptionable, {
|
|
5138
|
+
path: _path + ".since",
|
|
5139
|
+
expected: "(0 | null | string | undefined)",
|
|
5140
|
+
value: input.since
|
|
5141
|
+
}), undefined === input.version || "number" === typeof input.version || _report(_exceptionable, {
|
|
5142
|
+
path: _path + ".version",
|
|
5143
|
+
expected: "(number | undefined)",
|
|
5144
|
+
value: input.version
|
|
5145
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
5146
|
+
if (["since", "version"].some(prop => key === prop))
|
|
5147
|
+
return true;
|
|
5148
|
+
const value = input[key];
|
|
5149
|
+
if (undefined === value)
|
|
5150
|
+
return true;
|
|
5151
|
+
return _report(_exceptionable, {
|
|
5152
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5153
|
+
expected: "undefined",
|
|
5154
|
+
value: value,
|
|
5155
|
+
description: [
|
|
5156
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
5157
|
+
"",
|
|
5158
|
+
"Please remove the property next time."
|
|
5159
|
+
].join("\n")
|
|
5160
|
+
});
|
|
5161
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
5162
|
+
if (false === __is(input)) {
|
|
5163
|
+
errors = [];
|
|
5164
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
5165
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
5166
|
+
path: _path + "",
|
|
5167
|
+
expected: "AssetDaemonValidateStateRecord",
|
|
5168
|
+
value: input
|
|
5169
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
5170
|
+
path: _path + "",
|
|
5171
|
+
expected: "AssetDaemonValidateStateRecord",
|
|
5172
|
+
value: input
|
|
5173
|
+
}))(input, "$input", true);
|
|
5174
|
+
const success = 0 === errors.length;
|
|
5175
|
+
return success ? {
|
|
5176
|
+
success,
|
|
5177
|
+
data: input
|
|
5178
|
+
} : {
|
|
5179
|
+
success,
|
|
5180
|
+
errors,
|
|
5181
|
+
data: input
|
|
5182
|
+
};
|
|
5183
|
+
}
|
|
5184
|
+
return {
|
|
5185
|
+
success: true,
|
|
5186
|
+
data: input
|
|
5187
|
+
};
|
|
5188
|
+
}; })()(input);
|
|
5189
|
+
}
|
|
5125
5190
|
case "deepstream-replicator.stats?": {
|
|
5126
5191
|
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.replicators || "object" === typeof input.replicators && null !== input.replicators && false === Array.isArray(input.replicators) && _io1(input.replicators, true && _exceptionable)) && (undefined === input.synced || "boolean" === typeof input.synced) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
5127
5192
|
if (["replicators", "synced"].some(prop => key === prop))
|
|
@@ -9463,8 +9528,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
9463
9528
|
if (undefined === value)
|
|
9464
9529
|
return true;
|
|
9465
9530
|
return false;
|
|
9466
|
-
})); const _io74 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9467
|
-
if (["protocol", "host", "share", "workgroup", "username", "password", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
9531
|
+
})); const _io74 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
9532
|
+
if (["protocol", "host", "share", "root", "workgroup", "username", "password", "createFolders", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
9468
9533
|
return true;
|
|
9469
9534
|
const value = input[key];
|
|
9470
9535
|
if (undefined === value)
|
|
@@ -12435,6 +12500,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
12435
12500
|
path: _path + ".share",
|
|
12436
12501
|
expected: "(string | undefined)",
|
|
12437
12502
|
value: input.share
|
|
12503
|
+
}), undefined === input.root || "string" === typeof input.root || _report(_exceptionable, {
|
|
12504
|
+
path: _path + ".root",
|
|
12505
|
+
expected: "(string | undefined)",
|
|
12506
|
+
value: input.root
|
|
12438
12507
|
}), undefined === input.workgroup || "string" === typeof input.workgroup || _report(_exceptionable, {
|
|
12439
12508
|
path: _path + ".workgroup",
|
|
12440
12509
|
expected: "(string | undefined)",
|
|
@@ -12447,6 +12516,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
12447
12516
|
path: _path + ".password",
|
|
12448
12517
|
expected: "(string | undefined)",
|
|
12449
12518
|
value: input.password
|
|
12519
|
+
}), undefined === input.createFolders || "boolean" === typeof input.createFolders || _report(_exceptionable, {
|
|
12520
|
+
path: _path + ".createFolders",
|
|
12521
|
+
expected: "(boolean | undefined)",
|
|
12522
|
+
value: input.createFolders
|
|
12450
12523
|
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
12451
12524
|
path: _path + ".type",
|
|
12452
12525
|
expected: "(\"file\" | undefined)",
|
|
@@ -12488,7 +12561,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
12488
12561
|
expected: "(boolean | undefined)",
|
|
12489
12562
|
value: input.userNotificationsEnabled
|
|
12490
12563
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
12491
|
-
if (["protocol", "host", "share", "workgroup", "username", "password", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
12564
|
+
if (["protocol", "host", "share", "root", "workgroup", "username", "password", "createFolders", "type", "port", "ignoreMissing", "concurrency", "stabilityThreshold", "pollInterval", "listConcurrency", "metafile", "userNotificationsEnabled"].some(prop => key === prop))
|
|
12492
12565
|
return true;
|
|
12493
12566
|
const value = input[key];
|
|
12494
12567
|
if (undefined === value)
|
|
@@ -13528,8 +13601,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13528
13601
|
}; })()(input);
|
|
13529
13602
|
}
|
|
13530
13603
|
case ":event": {
|
|
13531
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13532
|
-
if (["start", "end", "duration", "text", "lang", "style", "styleOverrides"].some(prop => key === prop))
|
|
13604
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
13605
|
+
if (["start", "end", "duration", "position", "text", "lang", "style", "styleOverrides"].some(prop => key === prop))
|
|
13533
13606
|
return true;
|
|
13534
13607
|
const value = input[key];
|
|
13535
13608
|
if (undefined === value)
|
|
@@ -13554,6 +13627,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13554
13627
|
path: _path + ".duration",
|
|
13555
13628
|
expected: "(null | number | undefined)",
|
|
13556
13629
|
value: input.duration
|
|
13630
|
+
}), undefined === input.position || "string" === typeof input.position || _report(_exceptionable, {
|
|
13631
|
+
path: _path + ".position",
|
|
13632
|
+
expected: "(string | undefined)",
|
|
13633
|
+
value: input.position
|
|
13557
13634
|
}), undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
|
|
13558
13635
|
path: _path + ".text",
|
|
13559
13636
|
expected: "(string | undefined)",
|
|
@@ -13575,7 +13652,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13575
13652
|
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
13576
13653
|
value: input.styleOverrides
|
|
13577
13654
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
13578
|
-
if (["start", "end", "duration", "text", "lang", "style", "styleOverrides"].some(prop => key === prop))
|
|
13655
|
+
if (["start", "end", "duration", "position", "text", "lang", "style", "styleOverrides"].some(prop => key === prop))
|
|
13579
13656
|
return true;
|
|
13580
13657
|
const value = input[key];
|
|
13581
13658
|
if (undefined === value)
|
|
@@ -13835,8 +13912,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13835
13912
|
if (undefined === value)
|
|
13836
13913
|
return true;
|
|
13837
13914
|
return false;
|
|
13838
|
-
})); const _io2 = (input, _exceptionable = true) => (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, _index1) => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
13839
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
13915
|
+
})); const _io2 = (input, _exceptionable = true) => (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, _index1) => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
13916
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
13840
13917
|
return true;
|
|
13841
13918
|
const value = input[key];
|
|
13842
13919
|
if (undefined === value)
|
|
@@ -13892,6 +13969,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13892
13969
|
path: _path + ".cueCard",
|
|
13893
13970
|
expected: "(boolean | string | undefined)",
|
|
13894
13971
|
value: input.cueCard
|
|
13972
|
+
}), undefined === input.printRundownColor || "string" === typeof input.printRundownColor || _report(_exceptionable, {
|
|
13973
|
+
path: _path + ".printRundownColor",
|
|
13974
|
+
expected: "(string | undefined)",
|
|
13975
|
+
value: input.printRundownColor
|
|
13895
13976
|
}), undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
|
|
13896
13977
|
path: _path + ".startTime",
|
|
13897
13978
|
expected: "(number | undefined)",
|
|
@@ -13917,7 +13998,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13917
13998
|
expected: "(boolean | undefined)",
|
|
13918
13999
|
value: input.shotboxVisible
|
|
13919
14000
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
13920
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
14001
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
13921
14002
|
return true;
|
|
13922
14003
|
const value = input[key];
|
|
13923
14004
|
if (undefined === value)
|
|
@@ -14271,8 +14352,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14271
14352
|
}; })()(input);
|
|
14272
14353
|
}
|
|
14273
14354
|
case ":event.props?": {
|
|
14274
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (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, _index1) => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
14275
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
14355
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (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, _index1) => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
14356
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
14276
14357
|
return true;
|
|
14277
14358
|
const value = input[key];
|
|
14278
14359
|
if (undefined === value)
|
|
@@ -14291,6 +14372,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14291
14372
|
path: _path + ".cueCard",
|
|
14292
14373
|
expected: "(boolean | string | undefined)",
|
|
14293
14374
|
value: input.cueCard
|
|
14375
|
+
}), undefined === input.printRundownColor || "string" === typeof input.printRundownColor || _report(_exceptionable, {
|
|
14376
|
+
path: _path + ".printRundownColor",
|
|
14377
|
+
expected: "(string | undefined)",
|
|
14378
|
+
value: input.printRundownColor
|
|
14294
14379
|
}), undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
|
|
14295
14380
|
path: _path + ".startTime",
|
|
14296
14381
|
expected: "(number | undefined)",
|
|
@@ -14316,7 +14401,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14316
14401
|
expected: "(boolean | undefined)",
|
|
14317
14402
|
value: input.shotboxVisible
|
|
14318
14403
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
14319
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
14404
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
14320
14405
|
return true;
|
|
14321
14406
|
const value = input[key];
|
|
14322
14407
|
if (undefined === value)
|
|
@@ -14404,6 +14489,197 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14404
14489
|
};
|
|
14405
14490
|
}; })()(input);
|
|
14406
14491
|
}
|
|
14492
|
+
case ":event.stats?": {
|
|
14493
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14494
|
+
if (["type"].some(prop => key === prop))
|
|
14495
|
+
return true;
|
|
14496
|
+
const value = input[key];
|
|
14497
|
+
if (undefined === value)
|
|
14498
|
+
return true;
|
|
14499
|
+
return false;
|
|
14500
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
14501
|
+
path: _path + ".type",
|
|
14502
|
+
expected: "(string | undefined)",
|
|
14503
|
+
value: input.type
|
|
14504
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14505
|
+
if (["type"].some(prop => key === prop))
|
|
14506
|
+
return true;
|
|
14507
|
+
const value = input[key];
|
|
14508
|
+
if (undefined === value)
|
|
14509
|
+
return true;
|
|
14510
|
+
return _report(_exceptionable, {
|
|
14511
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14512
|
+
expected: "undefined",
|
|
14513
|
+
value: value,
|
|
14514
|
+
description: [
|
|
14515
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14516
|
+
"",
|
|
14517
|
+
"Please remove the property next time."
|
|
14518
|
+
].join("\n")
|
|
14519
|
+
});
|
|
14520
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
14521
|
+
if (false === __is(input)) {
|
|
14522
|
+
errors = [];
|
|
14523
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14524
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14525
|
+
path: _path + "",
|
|
14526
|
+
expected: "EventStatsRecord",
|
|
14527
|
+
value: input
|
|
14528
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
14529
|
+
path: _path + "",
|
|
14530
|
+
expected: "EventStatsRecord",
|
|
14531
|
+
value: input
|
|
14532
|
+
}))(input, "$input", true);
|
|
14533
|
+
const success = 0 === errors.length;
|
|
14534
|
+
return success ? {
|
|
14535
|
+
success,
|
|
14536
|
+
data: input
|
|
14537
|
+
} : {
|
|
14538
|
+
success,
|
|
14539
|
+
errors,
|
|
14540
|
+
data: input
|
|
14541
|
+
};
|
|
14542
|
+
}
|
|
14543
|
+
return {
|
|
14544
|
+
success: true,
|
|
14545
|
+
data: input
|
|
14546
|
+
};
|
|
14547
|
+
}; })()(input);
|
|
14548
|
+
}
|
|
14549
|
+
case ":event.readDuration?": {
|
|
14550
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.numChars || "number" === typeof input.numChars) && (undefined === input.numWords || "number" === typeof input.numWords) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readDuration || "number" === typeof input.readDuration) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14551
|
+
if (["numChars", "numWords", "readRate", "readDuration", "readType"].some(prop => key === prop))
|
|
14552
|
+
return true;
|
|
14553
|
+
const value = input[key];
|
|
14554
|
+
if (undefined === value)
|
|
14555
|
+
return true;
|
|
14556
|
+
return false;
|
|
14557
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.numChars || "number" === typeof input.numChars || _report(_exceptionable, {
|
|
14558
|
+
path: _path + ".numChars",
|
|
14559
|
+
expected: "(number | undefined)",
|
|
14560
|
+
value: input.numChars
|
|
14561
|
+
}), undefined === input.numWords || "number" === typeof input.numWords || _report(_exceptionable, {
|
|
14562
|
+
path: _path + ".numWords",
|
|
14563
|
+
expected: "(number | undefined)",
|
|
14564
|
+
value: input.numWords
|
|
14565
|
+
}), undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
14566
|
+
path: _path + ".readRate",
|
|
14567
|
+
expected: "(number | undefined)",
|
|
14568
|
+
value: input.readRate
|
|
14569
|
+
}), undefined === input.readDuration || "number" === typeof input.readDuration || _report(_exceptionable, {
|
|
14570
|
+
path: _path + ".readDuration",
|
|
14571
|
+
expected: "(number | undefined)",
|
|
14572
|
+
value: input.readDuration
|
|
14573
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
14574
|
+
path: _path + ".readType",
|
|
14575
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
14576
|
+
value: input.readType
|
|
14577
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14578
|
+
if (["numChars", "numWords", "readRate", "readDuration", "readType"].some(prop => key === prop))
|
|
14579
|
+
return true;
|
|
14580
|
+
const value = input[key];
|
|
14581
|
+
if (undefined === value)
|
|
14582
|
+
return true;
|
|
14583
|
+
return _report(_exceptionable, {
|
|
14584
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14585
|
+
expected: "undefined",
|
|
14586
|
+
value: value,
|
|
14587
|
+
description: [
|
|
14588
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14589
|
+
"",
|
|
14590
|
+
"Please remove the property next time."
|
|
14591
|
+
].join("\n")
|
|
14592
|
+
});
|
|
14593
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
14594
|
+
if (false === __is(input)) {
|
|
14595
|
+
errors = [];
|
|
14596
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14597
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14598
|
+
path: _path + "",
|
|
14599
|
+
expected: "EventReadDurationRecord",
|
|
14600
|
+
value: input
|
|
14601
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
14602
|
+
path: _path + "",
|
|
14603
|
+
expected: "EventReadDurationRecord",
|
|
14604
|
+
value: input
|
|
14605
|
+
}))(input, "$input", true);
|
|
14606
|
+
const success = 0 === errors.length;
|
|
14607
|
+
return success ? {
|
|
14608
|
+
success,
|
|
14609
|
+
data: input
|
|
14610
|
+
} : {
|
|
14611
|
+
success,
|
|
14612
|
+
errors,
|
|
14613
|
+
data: input
|
|
14614
|
+
};
|
|
14615
|
+
}
|
|
14616
|
+
return {
|
|
14617
|
+
success: true,
|
|
14618
|
+
data: input
|
|
14619
|
+
};
|
|
14620
|
+
}; })()(input);
|
|
14621
|
+
}
|
|
14622
|
+
case ":event.readRate?": {
|
|
14623
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14624
|
+
if (["readRate", "readType"].some(prop => key === prop))
|
|
14625
|
+
return true;
|
|
14626
|
+
const value = input[key];
|
|
14627
|
+
if (undefined === value)
|
|
14628
|
+
return true;
|
|
14629
|
+
return false;
|
|
14630
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
14631
|
+
path: _path + ".readRate",
|
|
14632
|
+
expected: "(number | undefined)",
|
|
14633
|
+
value: input.readRate
|
|
14634
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
14635
|
+
path: _path + ".readType",
|
|
14636
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
14637
|
+
value: input.readType
|
|
14638
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14639
|
+
if (["readRate", "readType"].some(prop => key === prop))
|
|
14640
|
+
return true;
|
|
14641
|
+
const value = input[key];
|
|
14642
|
+
if (undefined === value)
|
|
14643
|
+
return true;
|
|
14644
|
+
return _report(_exceptionable, {
|
|
14645
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14646
|
+
expected: "undefined",
|
|
14647
|
+
value: value,
|
|
14648
|
+
description: [
|
|
14649
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14650
|
+
"",
|
|
14651
|
+
"Please remove the property next time."
|
|
14652
|
+
].join("\n")
|
|
14653
|
+
});
|
|
14654
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
14655
|
+
if (false === __is(input)) {
|
|
14656
|
+
errors = [];
|
|
14657
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14658
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14659
|
+
path: _path + "",
|
|
14660
|
+
expected: "EventReadRateRecord",
|
|
14661
|
+
value: input
|
|
14662
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
14663
|
+
path: _path + "",
|
|
14664
|
+
expected: "EventReadRateRecord",
|
|
14665
|
+
value: input
|
|
14666
|
+
}))(input, "$input", true);
|
|
14667
|
+
const success = 0 === errors.length;
|
|
14668
|
+
return success ? {
|
|
14669
|
+
success,
|
|
14670
|
+
data: input
|
|
14671
|
+
} : {
|
|
14672
|
+
success,
|
|
14673
|
+
errors,
|
|
14674
|
+
data: input
|
|
14675
|
+
};
|
|
14676
|
+
}
|
|
14677
|
+
return {
|
|
14678
|
+
success: true,
|
|
14679
|
+
data: input
|
|
14680
|
+
};
|
|
14681
|
+
}; })()(input);
|
|
14682
|
+
}
|
|
14407
14683
|
case ":file.replicate": {
|
|
14408
14684
|
return (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.replicas) && input.replicas.every((elem, _index1) => "string" === typeof elem) && (null === input.error || "object" === typeof input.error && null !== input.error && _io1(input.error, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14409
14685
|
if (["replicas", "error"].some(prop => key === prop))
|
|
@@ -15196,20 +15472,51 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15196
15472
|
};
|
|
15197
15473
|
}; })()(input);
|
|
15198
15474
|
}
|
|
15199
|
-
case ":
|
|
15200
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.
|
|
15201
|
-
if (["
|
|
15475
|
+
case ":gallery": {
|
|
15476
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.sources || "object" === typeof input.sources && null !== input.sources && false === Array.isArray(input.sources) && _io1(input.sources, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15477
|
+
if (["sources"].some(prop => key === prop))
|
|
15202
15478
|
return true;
|
|
15203
15479
|
const value = input[key];
|
|
15204
15480
|
if (undefined === value)
|
|
15205
15481
|
return true;
|
|
15206
15482
|
return false;
|
|
15207
|
-
})); const
|
|
15208
|
-
|
|
15483
|
+
})); const _io1 = (input, _exceptionable = true) => (undefined === input.program || "string" === typeof input.program) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15484
|
+
if (["program"].some(prop => key === prop))
|
|
15485
|
+
return true;
|
|
15486
|
+
const value = input[key];
|
|
15487
|
+
if (undefined === value)
|
|
15488
|
+
return true;
|
|
15489
|
+
return false;
|
|
15490
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.sources || ("object" === typeof input.sources && null !== input.sources && false === Array.isArray(input.sources) || _report(_exceptionable, {
|
|
15491
|
+
path: _path + ".sources",
|
|
15492
|
+
expected: "(__type | undefined)",
|
|
15493
|
+
value: input.sources
|
|
15494
|
+
})) && _vo1(input.sources, _path + ".sources", true && _exceptionable) || _report(_exceptionable, {
|
|
15495
|
+
path: _path + ".sources",
|
|
15496
|
+
expected: "(__type | undefined)",
|
|
15497
|
+
value: input.sources
|
|
15498
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15499
|
+
if (["sources"].some(prop => key === prop))
|
|
15500
|
+
return true;
|
|
15501
|
+
const value = input[key];
|
|
15502
|
+
if (undefined === value)
|
|
15503
|
+
return true;
|
|
15504
|
+
return _report(_exceptionable, {
|
|
15505
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15506
|
+
expected: "undefined",
|
|
15507
|
+
value: value,
|
|
15508
|
+
description: [
|
|
15509
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15510
|
+
"",
|
|
15511
|
+
"Please remove the property next time."
|
|
15512
|
+
].join("\n")
|
|
15513
|
+
});
|
|
15514
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.program || "string" === typeof input.program || _report(_exceptionable, {
|
|
15515
|
+
path: _path + ".program",
|
|
15209
15516
|
expected: "(string | undefined)",
|
|
15210
|
-
value: input.
|
|
15517
|
+
value: input.program
|
|
15211
15518
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15212
|
-
if (["
|
|
15519
|
+
if (["program"].some(prop => key === prop))
|
|
15213
15520
|
return true;
|
|
15214
15521
|
const value = input[key];
|
|
15215
15522
|
if (undefined === value)
|
|
@@ -15230,11 +15537,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15230
15537
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
15231
15538
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
15232
15539
|
path: _path + "",
|
|
15233
|
-
expected: "
|
|
15540
|
+
expected: "GalleryDomainRecord",
|
|
15234
15541
|
value: input
|
|
15235
15542
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
15236
15543
|
path: _path + "",
|
|
15237
|
-
expected: "
|
|
15544
|
+
expected: "GalleryDomainRecord",
|
|
15238
15545
|
value: input
|
|
15239
15546
|
}))(input, "$input", true);
|
|
15240
15547
|
const success = 0 === errors.length;
|
|
@@ -15253,25 +15560,82 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15253
15560
|
};
|
|
15254
15561
|
}; })()(input);
|
|
15255
15562
|
}
|
|
15256
|
-
case ":general.
|
|
15257
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value ||
|
|
15563
|
+
case ":general.title": {
|
|
15564
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value || "string" === typeof input.value) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15258
15565
|
if (["value"].some(prop => key === prop))
|
|
15259
15566
|
return true;
|
|
15260
15567
|
const value = input[key];
|
|
15261
15568
|
if (undefined === value)
|
|
15262
15569
|
return true;
|
|
15263
15570
|
return false;
|
|
15264
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value ||
|
|
15265
|
-
path: _path + ".value",
|
|
15266
|
-
expected: "(Array<string> | undefined)",
|
|
15267
|
-
value: input.value
|
|
15268
|
-
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
15269
|
-
path: _path + ".value[" + _index2 + "]",
|
|
15270
|
-
expected: "string",
|
|
15271
|
-
value: elem
|
|
15272
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
15571
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || "string" === typeof input.value || _report(_exceptionable, {
|
|
15273
15572
|
path: _path + ".value",
|
|
15274
|
-
expected: "(
|
|
15573
|
+
expected: "(string | undefined)",
|
|
15574
|
+
value: input.value
|
|
15575
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15576
|
+
if (["value"].some(prop => key === prop))
|
|
15577
|
+
return true;
|
|
15578
|
+
const value = input[key];
|
|
15579
|
+
if (undefined === value)
|
|
15580
|
+
return true;
|
|
15581
|
+
return _report(_exceptionable, {
|
|
15582
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15583
|
+
expected: "undefined",
|
|
15584
|
+
value: value,
|
|
15585
|
+
description: [
|
|
15586
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15587
|
+
"",
|
|
15588
|
+
"Please remove the property next time."
|
|
15589
|
+
].join("\n")
|
|
15590
|
+
});
|
|
15591
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
15592
|
+
if (false === __is(input)) {
|
|
15593
|
+
errors = [];
|
|
15594
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
15595
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
15596
|
+
path: _path + "",
|
|
15597
|
+
expected: "GeneralTitleRecord",
|
|
15598
|
+
value: input
|
|
15599
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
15600
|
+
path: _path + "",
|
|
15601
|
+
expected: "GeneralTitleRecord",
|
|
15602
|
+
value: input
|
|
15603
|
+
}))(input, "$input", true);
|
|
15604
|
+
const success = 0 === errors.length;
|
|
15605
|
+
return success ? {
|
|
15606
|
+
success,
|
|
15607
|
+
data: input
|
|
15608
|
+
} : {
|
|
15609
|
+
success,
|
|
15610
|
+
errors,
|
|
15611
|
+
data: input
|
|
15612
|
+
};
|
|
15613
|
+
}
|
|
15614
|
+
return {
|
|
15615
|
+
success: true,
|
|
15616
|
+
data: input
|
|
15617
|
+
};
|
|
15618
|
+
}; })()(input);
|
|
15619
|
+
}
|
|
15620
|
+
case ":general.tags": {
|
|
15621
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value || Array.isArray(input.value) && input.value.every((elem, _index1) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15622
|
+
if (["value"].some(prop => key === prop))
|
|
15623
|
+
return true;
|
|
15624
|
+
const value = input[key];
|
|
15625
|
+
if (undefined === value)
|
|
15626
|
+
return true;
|
|
15627
|
+
return false;
|
|
15628
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
15629
|
+
path: _path + ".value",
|
|
15630
|
+
expected: "(Array<string> | undefined)",
|
|
15631
|
+
value: input.value
|
|
15632
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
15633
|
+
path: _path + ".value[" + _index2 + "]",
|
|
15634
|
+
expected: "string",
|
|
15635
|
+
value: elem
|
|
15636
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
15637
|
+
path: _path + ".value",
|
|
15638
|
+
expected: "(Array<string> | undefined)",
|
|
15275
15639
|
value: input.value
|
|
15276
15640
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15277
15641
|
if (["value"].some(prop => key === prop))
|
|
@@ -15969,11 +16333,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15969
16333
|
if (undefined === value)
|
|
15970
16334
|
return true;
|
|
15971
16335
|
return false;
|
|
15972
|
-
})); const _io4 = (input, _exceptionable = true) =>
|
|
16336
|
+
})); const _io4 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
15973
16337
|
const value = input[key];
|
|
15974
16338
|
if (undefined === value)
|
|
15975
16339
|
return true;
|
|
15976
|
-
return
|
|
16340
|
+
return true;
|
|
15977
16341
|
}); const _io5 = (input, _exceptionable = true) => (null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery) && (undefined === input.tag || "string" === typeof input.tag) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15978
16342
|
if (["gallery", "tag"].some(prop => key === prop))
|
|
15979
16343
|
return true;
|
|
@@ -16119,11 +16483,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16119
16483
|
});
|
|
16120
16484
|
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || _report(_exceptionable, {
|
|
16121
16485
|
path: _path + ".__context",
|
|
16122
|
-
expected: "
|
|
16486
|
+
expected: "Record<string, unknown>",
|
|
16123
16487
|
value: input.__context
|
|
16124
16488
|
})) && _vo4(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
16125
16489
|
path: _path + ".__context",
|
|
16126
|
-
expected: "
|
|
16490
|
+
expected: "Record<string, unknown>",
|
|
16127
16491
|
value: input.__context
|
|
16128
16492
|
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
16129
16493
|
path: _path + ".__returnValue",
|
|
@@ -16145,21 +16509,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16145
16509
|
"Please remove the property next time."
|
|
16146
16510
|
].join("\n")
|
|
16147
16511
|
});
|
|
16148
|
-
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [
|
|
16512
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16149
16513
|
const value = input[key];
|
|
16150
16514
|
if (undefined === value)
|
|
16151
16515
|
return true;
|
|
16152
|
-
return
|
|
16153
|
-
|
|
16154
|
-
expected: "undefined",
|
|
16155
|
-
value: value,
|
|
16156
|
-
description: [
|
|
16157
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
16158
|
-
"",
|
|
16159
|
-
"Please remove the property next time."
|
|
16160
|
-
].join("\n")
|
|
16161
|
-
});
|
|
16162
|
-
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery || _report(_exceptionable, {
|
|
16516
|
+
return true;
|
|
16517
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery || _report(_exceptionable, {
|
|
16163
16518
|
path: _path + ".gallery",
|
|
16164
16519
|
expected: "(null | string | undefined)",
|
|
16165
16520
|
value: input.gallery
|
|
@@ -16403,8 +16758,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16403
16758
|
if (undefined === value)
|
|
16404
16759
|
return true;
|
|
16405
16760
|
return false;
|
|
16406
|
-
})); const _io13 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16407
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
16761
|
+
})); const _io13 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16762
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
16408
16763
|
return true;
|
|
16409
16764
|
const value = input[key];
|
|
16410
16765
|
if (undefined === value)
|
|
@@ -17031,8 +17386,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17031
17386
|
path: _path + ".pan",
|
|
17032
17387
|
expected: "(Array<number> | undefined)",
|
|
17033
17388
|
value: input.pan
|
|
17389
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
17390
|
+
path: _path + ".diarization",
|
|
17391
|
+
expected: "(boolean | undefined)",
|
|
17392
|
+
value: input.diarization
|
|
17034
17393
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17035
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
17394
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
17036
17395
|
return true;
|
|
17037
17396
|
const value = input[key];
|
|
17038
17397
|
if (undefined === value)
|
|
@@ -18528,8 +18887,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18528
18887
|
if (undefined === value)
|
|
18529
18888
|
return true;
|
|
18530
18889
|
return false;
|
|
18531
|
-
})); const _io14 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18532
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
18890
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18891
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
18533
18892
|
return true;
|
|
18534
18893
|
const value = input[key];
|
|
18535
18894
|
if (undefined === value)
|
|
@@ -19169,8 +19528,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19169
19528
|
path: _path + ".pan",
|
|
19170
19529
|
expected: "(Array<number> | undefined)",
|
|
19171
19530
|
value: input.pan
|
|
19531
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
19532
|
+
path: _path + ".diarization",
|
|
19533
|
+
expected: "(boolean | undefined)",
|
|
19534
|
+
value: input.diarization
|
|
19172
19535
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
19173
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
19536
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
19174
19537
|
return true;
|
|
19175
19538
|
const value = input[key];
|
|
19176
19539
|
if (undefined === value)
|
|
@@ -21832,8 +22195,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21832
22195
|
if (undefined === value)
|
|
21833
22196
|
return true;
|
|
21834
22197
|
return false;
|
|
21835
|
-
})); const _io15 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index4) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21836
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
22198
|
+
})); const _io15 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index4) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22199
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
21837
22200
|
return true;
|
|
21838
22201
|
const value = input[key];
|
|
21839
22202
|
if (undefined === value)
|
|
@@ -22764,8 +23127,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22764
23127
|
path: _path + ".pan",
|
|
22765
23128
|
expected: "(Array<number> | undefined)",
|
|
22766
23129
|
value: input.pan
|
|
23130
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
23131
|
+
path: _path + ".diarization",
|
|
23132
|
+
expected: "(boolean | undefined)",
|
|
23133
|
+
value: input.diarization
|
|
22767
23134
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
22768
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
23135
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
22769
23136
|
return true;
|
|
22770
23137
|
const value = input[key];
|
|
22771
23138
|
if (undefined === value)
|
|
@@ -24014,8 +24381,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24014
24381
|
if (undefined === value)
|
|
24015
24382
|
return true;
|
|
24016
24383
|
return false;
|
|
24017
|
-
})); const _io22 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index5) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24018
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
24384
|
+
})); const _io22 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index5) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24385
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
24019
24386
|
return true;
|
|
24020
24387
|
const value = input[key];
|
|
24021
24388
|
if (undefined === value)
|
|
@@ -25078,8 +25445,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25078
25445
|
path: _path + ".pan",
|
|
25079
25446
|
expected: "(Array<number> | undefined)",
|
|
25080
25447
|
value: input.pan
|
|
25448
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
25449
|
+
path: _path + ".diarization",
|
|
25450
|
+
expected: "(boolean | undefined)",
|
|
25451
|
+
value: input.diarization
|
|
25081
25452
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25082
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
25453
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
25083
25454
|
return true;
|
|
25084
25455
|
const value = input[key];
|
|
25085
25456
|
if (undefined === value)
|
|
@@ -27013,8 +27384,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27013
27384
|
if (undefined === value)
|
|
27014
27385
|
return true;
|
|
27015
27386
|
return false;
|
|
27016
|
-
})); const _io15 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27017
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
27387
|
+
})); const _io15 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27388
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
27018
27389
|
return true;
|
|
27019
27390
|
const value = input[key];
|
|
27020
27391
|
if (undefined === value)
|
|
@@ -27758,8 +28129,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27758
28129
|
path: _path + ".pan",
|
|
27759
28130
|
expected: "(Array<number> | undefined)",
|
|
27760
28131
|
value: input.pan
|
|
28132
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
28133
|
+
path: _path + ".diarization",
|
|
28134
|
+
expected: "(boolean | undefined)",
|
|
28135
|
+
value: input.diarization
|
|
27761
28136
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27762
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
28137
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
27763
28138
|
return true;
|
|
27764
28139
|
const value = input[key];
|
|
27765
28140
|
if (undefined === value)
|
|
@@ -28582,6 +28957,154 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28582
28957
|
};
|
|
28583
28958
|
}; })()(input);
|
|
28584
28959
|
}
|
|
28960
|
+
case ":role": {
|
|
28961
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.permissions || "object" === typeof input.permissions && null !== input.permissions && false === Array.isArray(input.permissions) && _io1(input.permissions, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
28962
|
+
if (["permissions"].some(prop => key === prop))
|
|
28963
|
+
return true;
|
|
28964
|
+
const value = input[key];
|
|
28965
|
+
if (undefined === value)
|
|
28966
|
+
return true;
|
|
28967
|
+
return false;
|
|
28968
|
+
})); const _io1 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
28969
|
+
const value = input[key];
|
|
28970
|
+
if (undefined === value)
|
|
28971
|
+
return true;
|
|
28972
|
+
return Array.isArray(value) && value.every((elem, _index1) => "string" === typeof elem);
|
|
28973
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.permissions || ("object" === typeof input.permissions && null !== input.permissions && false === Array.isArray(input.permissions) || _report(_exceptionable, {
|
|
28974
|
+
path: _path + ".permissions",
|
|
28975
|
+
expected: "(Record<string, Array<string>> | undefined)",
|
|
28976
|
+
value: input.permissions
|
|
28977
|
+
})) && _vo1(input.permissions, _path + ".permissions", true && _exceptionable) || _report(_exceptionable, {
|
|
28978
|
+
path: _path + ".permissions",
|
|
28979
|
+
expected: "(Record<string, Array<string>> | undefined)",
|
|
28980
|
+
value: input.permissions
|
|
28981
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28982
|
+
if (["permissions"].some(prop => key === prop))
|
|
28983
|
+
return true;
|
|
28984
|
+
const value = input[key];
|
|
28985
|
+
if (undefined === value)
|
|
28986
|
+
return true;
|
|
28987
|
+
return _report(_exceptionable, {
|
|
28988
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
28989
|
+
expected: "undefined",
|
|
28990
|
+
value: value,
|
|
28991
|
+
description: [
|
|
28992
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
28993
|
+
"",
|
|
28994
|
+
"Please remove the property next time."
|
|
28995
|
+
].join("\n")
|
|
28996
|
+
});
|
|
28997
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
28998
|
+
const value = input[key];
|
|
28999
|
+
if (undefined === value)
|
|
29000
|
+
return true;
|
|
29001
|
+
return (Array.isArray(value) || _report(_exceptionable, {
|
|
29002
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
29003
|
+
expected: "Array<string>",
|
|
29004
|
+
value: value
|
|
29005
|
+
})) && value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
29006
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index2 + "]",
|
|
29007
|
+
expected: "string",
|
|
29008
|
+
value: elem
|
|
29009
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
29010
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
29011
|
+
expected: "Array<string>",
|
|
29012
|
+
value: value
|
|
29013
|
+
});
|
|
29014
|
+
}).every(flag => flag)].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
29015
|
+
if (false === __is(input)) {
|
|
29016
|
+
errors = [];
|
|
29017
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
29018
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
29019
|
+
path: _path + "",
|
|
29020
|
+
expected: "RoleRecord",
|
|
29021
|
+
value: input
|
|
29022
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
29023
|
+
path: _path + "",
|
|
29024
|
+
expected: "RoleRecord",
|
|
29025
|
+
value: input
|
|
29026
|
+
}))(input, "$input", true);
|
|
29027
|
+
const success = 0 === errors.length;
|
|
29028
|
+
return success ? {
|
|
29029
|
+
success,
|
|
29030
|
+
data: input
|
|
29031
|
+
} : {
|
|
29032
|
+
success,
|
|
29033
|
+
errors,
|
|
29034
|
+
data: input
|
|
29035
|
+
};
|
|
29036
|
+
}
|
|
29037
|
+
return {
|
|
29038
|
+
success: true,
|
|
29039
|
+
data: input
|
|
29040
|
+
};
|
|
29041
|
+
}; })()(input);
|
|
29042
|
+
}
|
|
29043
|
+
case ":role.users?": {
|
|
29044
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value || Array.isArray(input.value) && input.value.every((elem, _index1) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
29045
|
+
if (["value"].some(prop => key === prop))
|
|
29046
|
+
return true;
|
|
29047
|
+
const value = input[key];
|
|
29048
|
+
if (undefined === value)
|
|
29049
|
+
return true;
|
|
29050
|
+
return false;
|
|
29051
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
29052
|
+
path: _path + ".value",
|
|
29053
|
+
expected: "(Array<string> | undefined)",
|
|
29054
|
+
value: input.value
|
|
29055
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
29056
|
+
path: _path + ".value[" + _index2 + "]",
|
|
29057
|
+
expected: "string",
|
|
29058
|
+
value: elem
|
|
29059
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
29060
|
+
path: _path + ".value",
|
|
29061
|
+
expected: "(Array<string> | undefined)",
|
|
29062
|
+
value: input.value
|
|
29063
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
29064
|
+
if (["value"].some(prop => key === prop))
|
|
29065
|
+
return true;
|
|
29066
|
+
const value = input[key];
|
|
29067
|
+
if (undefined === value)
|
|
29068
|
+
return true;
|
|
29069
|
+
return _report(_exceptionable, {
|
|
29070
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
29071
|
+
expected: "undefined",
|
|
29072
|
+
value: value,
|
|
29073
|
+
description: [
|
|
29074
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
29075
|
+
"",
|
|
29076
|
+
"Please remove the property next time."
|
|
29077
|
+
].join("\n")
|
|
29078
|
+
});
|
|
29079
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
29080
|
+
if (false === __is(input)) {
|
|
29081
|
+
errors = [];
|
|
29082
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
29083
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
29084
|
+
path: _path + "",
|
|
29085
|
+
expected: "RoleUsersRecord",
|
|
29086
|
+
value: input
|
|
29087
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
29088
|
+
path: _path + "",
|
|
29089
|
+
expected: "RoleUsersRecord",
|
|
29090
|
+
value: input
|
|
29091
|
+
}))(input, "$input", true);
|
|
29092
|
+
const success = 0 === errors.length;
|
|
29093
|
+
return success ? {
|
|
29094
|
+
success,
|
|
29095
|
+
data: input
|
|
29096
|
+
} : {
|
|
29097
|
+
success,
|
|
29098
|
+
errors,
|
|
29099
|
+
data: input
|
|
29100
|
+
};
|
|
29101
|
+
}
|
|
29102
|
+
return {
|
|
29103
|
+
success: true,
|
|
29104
|
+
data: input
|
|
29105
|
+
};
|
|
29106
|
+
}; })()(input);
|
|
29107
|
+
}
|
|
28585
29108
|
case ":role.tags": {
|
|
28586
29109
|
return (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.value) && input.value.every((elem, _index1) => "string" === typeof elem) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
28587
29110
|
if (["value"].some(prop => key === prop))
|
|
@@ -29545,7 +30068,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29545
30068
|
if (undefined === value)
|
|
29546
30069
|
return true;
|
|
29547
30070
|
return false;
|
|
29548
|
-
})); const _io2 = (input, _exceptionable = true) => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$, true && _exceptionable)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every((elem, _index1) => "object" === typeof elem && null !== elem && _io4(elem, true && _exceptionable))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "
|
|
30071
|
+
})); const _io2 = (input, _exceptionable = true) => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$, true && _exceptionable)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every((elem, _index1) => "object" === typeof elem && null !== elem && _io4(elem, true && _exceptionable))) && (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) && (6 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
29549
30072
|
if (["type", "$", "version", "children", "direction", "format", "indent", "textFormat", "textStyle"].some(prop => key === prop))
|
|
29550
30073
|
return true;
|
|
29551
30074
|
const value = input[key];
|
|
@@ -29648,7 +30171,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29648
30171
|
path: _path + ".direction",
|
|
29649
30172
|
expected: "(\"ltr\" | \"rtl\" | null)",
|
|
29650
30173
|
value: input.direction
|
|
29651
|
-
}), "" === input.format || "
|
|
30174
|
+
}), "" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format || _report(_exceptionable, {
|
|
29652
30175
|
path: _path + ".format",
|
|
29653
30176
|
expected: "(\"\" | \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\")",
|
|
29654
30177
|
value: input.format
|
|
@@ -29930,7 +30453,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29930
30453
|
if (undefined === value)
|
|
29931
30454
|
return true;
|
|
29932
30455
|
return false;
|
|
29933
|
-
})); const _io2 = (input, _exceptionable = true) => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$, true && _exceptionable)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every((elem, _index1) => "object" === typeof elem && null !== elem && _io4(elem, true && _exceptionable))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "
|
|
30456
|
+
})); const _io2 = (input, _exceptionable = true) => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$, true && _exceptionable)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every((elem, _index1) => "object" === typeof elem && null !== elem && _io4(elem, true && _exceptionable))) && (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) && (6 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
29934
30457
|
if (["type", "$", "version", "children", "direction", "format", "indent", "textFormat", "textStyle"].some(prop => key === prop))
|
|
29935
30458
|
return true;
|
|
29936
30459
|
const value = input[key];
|
|
@@ -30045,7 +30568,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30045
30568
|
path: _path + ".direction",
|
|
30046
30569
|
expected: "(\"ltr\" | \"rtl\" | null)",
|
|
30047
30570
|
value: input.direction
|
|
30048
|
-
}), "" === input.format || "
|
|
30571
|
+
}), "" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format || _report(_exceptionable, {
|
|
30049
30572
|
path: _path + ".format",
|
|
30050
30573
|
expected: "(\"\" | \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\")",
|
|
30051
30574
|
value: input.format
|
|
@@ -31277,7 +31800,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31277
31800
|
}; })()(input);
|
|
31278
31801
|
}
|
|
31279
31802
|
case ":settings": {
|
|
31280
|
-
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
|
|
31803
|
+
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, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.graphics || "object" === typeof input.graphics && null !== input.graphics && false === Array.isArray(input.graphics) && _io2(input.graphics, true && _exceptionable)) && (undefined === input.googleWhitelist || Array.isArray(input.googleWhitelist) && input.googleWhitelist.every((elem, _index1) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem, true && _exceptionable))) && (undefined === input.googleUserRoles || Array.isArray(input.googleUserRoles) && input.googleUserRoles.every((elem, _index2) => "string" === typeof elem)) && (undefined === input.azureWhitelist || Array.isArray(input.azureWhitelist) && input.azureWhitelist.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem, true && _exceptionable))) && (undefined === input.azureUserRoles || Array.isArray(input.azureUserRoles) && input.azureUserRoles.every((elem, _index4) => "string" === typeof elem)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io5(input["module"], true && _exceptionable)) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io9(input.upload, true && _exceptionable)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io10(input.download, true && _exceptionable)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io11(input.browser, true && _exceptionable)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io14(input.toolbarTags, true && _exceptionable)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every((elem, _index5) => Array.isArray(elem) && elem.every((elem, _index6) => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io15(input.deadlines, true && _exceptionable)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io16(input.assignees, true && _exceptionable)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io17(input.comments, true && _exceptionable)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io18(input.clock, true && _exceptionable)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io19(input.swarm, true && _exceptionable)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io20(input.dashboard, true && _exceptionable)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io22(input.script, true && _exceptionable)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io28(input.events, true && _exceptionable)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io31(input.rundown, true && _exceptionable)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io32(input.gallery, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io37(input.media, true && _exceptionable)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io54(input.edit, true && _exceptionable)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every((elem, _index7) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io60(elem, true && _exceptionable))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every((elem, _index8) => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io61(input.storyboard, true && _exceptionable)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io70(input.print, true && _exceptionable)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every((elem, _index9) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io74(elem, true && _exceptionable))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io75(input.plugins, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io81(input.flags, true && _exceptionable)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io82(input.notifications, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io88(input.utilsAssetEditorPanel, true && _exceptionable)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io89(input.display, true && _exceptionable)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io90(input.bookmarks, true && _exceptionable)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io91(input.shotbox, true && _exceptionable)) && (undefined === input.performance || "object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) && _io92(input.performance, true && _exceptionable)) && (undefined === input.app || "object" === typeof input.app && null !== input.app && false === Array.isArray(input.app) && _io93(input.app, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31281
31804
|
if (["autoLogoutTime", "permission", "graphics", "googleWhitelist", "googleUserRoles", "azureWhitelist", "azureUserRoles", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel", "display", "bookmarks", "shotbox", "performance", "app"].some(prop => key === prop))
|
|
31282
31805
|
return true;
|
|
31283
31806
|
const value = input[key];
|
|
@@ -31431,14 +31954,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31431
31954
|
if (undefined === value)
|
|
31432
31955
|
return true;
|
|
31433
31956
|
return false;
|
|
31434
|
-
})); const _io22 = (input, _exceptionable = true) => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io23(input.createMenu, true && _exceptionable)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every((elem, _index19) => "object" === typeof elem && null !== elem && _io24(elem, true && _exceptionable))) && (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, true && _exceptionable)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every((elem, _index20) => "object" === typeof elem && null !== elem && _io27(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31435
|
-
if (["createMenu", "colorTags", "readType", "readRate", "collapsedNodes", "colorHistory"].some(prop => key === prop))
|
|
31957
|
+
})); const _io22 = (input, _exceptionable = true) => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io23(input.createMenu, true && _exceptionable)) && (undefined === input.contentMaxWidth || "number" === typeof input.contentMaxWidth) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every((elem, _index19) => "object" === typeof elem && null !== elem && _io24(elem, true && _exceptionable))) && (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, true && _exceptionable)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every((elem, _index20) => "object" === typeof elem && null !== elem && _io27(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31958
|
+
if (["createMenu", "contentMaxWidth", "colorTags", "readType", "readRate", "collapsedNodes", "colorHistory"].some(prop => key === prop))
|
|
31436
31959
|
return true;
|
|
31437
31960
|
const value = input[key];
|
|
31438
31961
|
if (undefined === value)
|
|
31439
31962
|
return true;
|
|
31440
31963
|
return false;
|
|
31441
|
-
})); const _io23 = (input, _exceptionable = true) => (undefined === input.sortBy || "
|
|
31964
|
+
})); const _io23 = (input, _exceptionable = true) => (undefined === input.sortBy || "title" === input.sortBy || "index" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31442
31965
|
if (["sortBy", "showPreview"].some(prop => key === prop))
|
|
31443
31966
|
return true;
|
|
31444
31967
|
const value = input[key];
|
|
@@ -31757,145 +32280,180 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31757
32280
|
if (undefined === value)
|
|
31758
32281
|
return true;
|
|
31759
32282
|
return false;
|
|
31760
|
-
})); const _io70 = (input, _exceptionable = true) => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every((elem, _index39) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31761
|
-
if (["fontFamilies"].some(prop => key === prop))
|
|
32283
|
+
})); const _io70 = (input, _exceptionable = true) => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every((elem, _index39) => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every((elem, _index40) => "object" === typeof elem && null !== elem && _iu0(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
32284
|
+
if (["fontFamilies", "presets"].some(prop => key === prop))
|
|
32285
|
+
return true;
|
|
32286
|
+
const value = input[key];
|
|
32287
|
+
if (undefined === value)
|
|
32288
|
+
return true;
|
|
32289
|
+
return false;
|
|
32290
|
+
})); const _io71 = (input, _exceptionable = true) => "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, _index41) => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && (7 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
32291
|
+
if (["type", "title", "horizontalMargin", "pageSize", "orientation", "fontSize", "fontFamily", "hide"].some(prop => key === prop))
|
|
32292
|
+
return true;
|
|
32293
|
+
const value = input[key];
|
|
32294
|
+
if (undefined === value)
|
|
32295
|
+
return true;
|
|
32296
|
+
return false;
|
|
32297
|
+
})); const _io72 = (input, _exceptionable = true) => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every((elem, _index42) => "object" === typeof elem && null !== elem && _io73(elem, true && _exceptionable))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every((elem, _index43) => "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) && (8 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
32298
|
+
if (["type", "columns", "rangeStart", "rangeEnd", "hide", "title", "horizontalMargin", "pageSize", "orientation", "fontSize", "fontFamily"].some(prop => key === prop))
|
|
31762
32299
|
return true;
|
|
31763
32300
|
const value = input[key];
|
|
31764
32301
|
if (undefined === value)
|
|
31765
32302
|
return true;
|
|
31766
32303
|
return false;
|
|
31767
|
-
})); const
|
|
32304
|
+
})); const _io73 = (input, _exceptionable = true) => ("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) && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
32305
|
+
if (["key", "label", "width", "textAlign"].some(prop => key === prop))
|
|
32306
|
+
return true;
|
|
32307
|
+
const value = input[key];
|
|
32308
|
+
if (undefined === value)
|
|
32309
|
+
return true;
|
|
32310
|
+
return false;
|
|
32311
|
+
})); const _io74 = (input, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31768
32312
|
if (["id", "folded"].some(prop => key === prop))
|
|
31769
32313
|
return true;
|
|
31770
32314
|
const value = input[key];
|
|
31771
32315
|
if (undefined === value)
|
|
31772
32316
|
return true;
|
|
31773
32317
|
return false;
|
|
31774
|
-
})); const
|
|
31775
|
-
if (["adobe", "rive"].some(prop => key === prop))
|
|
32318
|
+
})); const _io75 = (input, _exceptionable = true) => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe, true && _exceptionable)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf, true && _exceptionable)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
32319
|
+
if (["adobe", "ograf", "rive"].some(prop => key === prop))
|
|
32320
|
+
return true;
|
|
32321
|
+
const value = input[key];
|
|
32322
|
+
if (undefined === value)
|
|
32323
|
+
return true;
|
|
32324
|
+
return false;
|
|
32325
|
+
})); const _io76 = (input, _exceptionable = true) => (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, _index44) => "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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
32326
|
+
if (["videoBin", "imageBin", "audioBin", "timelineBin", "clipBin", "downloadPath", "renderPath", "renderPresetPath", "renderPresets", "videoRenderPreset", "imageRenderPreset", "audioRenderPreset", "forceRender", "useProxies", "deleteIntermediateFiles", "bodymovin"].some(prop => key === prop))
|
|
31776
32327
|
return true;
|
|
31777
32328
|
const value = input[key];
|
|
31778
32329
|
if (undefined === value)
|
|
31779
32330
|
return true;
|
|
31780
32331
|
return false;
|
|
31781
|
-
})); const
|
|
31782
|
-
if (["
|
|
32332
|
+
})); const _io77 = (input, _exceptionable = true) => (undefined === input.template || "string" === typeof input.template) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
32333
|
+
if (["template"].some(prop => key === prop))
|
|
31783
32334
|
return true;
|
|
31784
32335
|
const value = input[key];
|
|
31785
32336
|
if (undefined === value)
|
|
31786
32337
|
return true;
|
|
31787
32338
|
return false;
|
|
31788
|
-
})); const
|
|
32339
|
+
})); const _io78 = (input, _exceptionable = true) => (undefined === input.template || "string" === typeof input.template) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31789
32340
|
if (["template"].some(prop => key === prop))
|
|
31790
32341
|
return true;
|
|
31791
32342
|
const value = input[key];
|
|
31792
32343
|
if (undefined === value)
|
|
31793
32344
|
return true;
|
|
31794
32345
|
return false;
|
|
31795
|
-
})); const
|
|
32346
|
+
})); const _io79 = (input, _exceptionable = true) => (undefined === input.template || "string" === typeof input.template) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31796
32347
|
if (["template"].some(prop => key === prop))
|
|
31797
32348
|
return true;
|
|
31798
32349
|
const value = input[key];
|
|
31799
32350
|
if (undefined === value)
|
|
31800
32351
|
return true;
|
|
31801
32352
|
return false;
|
|
31802
|
-
})); const
|
|
32353
|
+
})); const _io80 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31803
32354
|
if (["collections", "aiMetadata", "semanticSearch", "ameRemoteRendering"].some(prop => key === prop))
|
|
31804
32355
|
return true;
|
|
31805
32356
|
const value = input[key];
|
|
31806
32357
|
if (undefined === value)
|
|
31807
32358
|
return true;
|
|
31808
32359
|
return false;
|
|
31809
|
-
})); const
|
|
32360
|
+
})); const _io81 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31810
32361
|
if (["utils", "utilsAssetEditor", "utilsAssetPanel", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "downloadFiles", "supportPortal", "multiplexWebSockets", "systemHealth", "systemHealthIgnore"].some(prop => key === prop))
|
|
31811
32362
|
return true;
|
|
31812
32363
|
const value = input[key];
|
|
31813
32364
|
if (undefined === value)
|
|
31814
32365
|
return true;
|
|
31815
32366
|
return false;
|
|
31816
|
-
})); const
|
|
32367
|
+
})); const _io82 = (input, _exceptionable = true) => (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31817
32368
|
if (["events"].some(prop => key === prop))
|
|
31818
32369
|
return true;
|
|
31819
32370
|
const value = input[key];
|
|
31820
32371
|
if (undefined === value)
|
|
31821
32372
|
return true;
|
|
31822
32373
|
return false;
|
|
31823
|
-
})); const
|
|
32374
|
+
})); const _io83 = (input, _exceptionable = true) => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every((elem, _index45) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every((elem, _index46) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every((elem, _index47) => "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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31824
32375
|
if (["comment", "assigned", "unassigned", "publishSucceeded"].some(prop => key === prop))
|
|
31825
32376
|
return true;
|
|
31826
32377
|
const value = input[key];
|
|
31827
32378
|
if (undefined === value)
|
|
31828
32379
|
return true;
|
|
31829
32380
|
return false;
|
|
31830
|
-
})); const
|
|
32381
|
+
})); const _io84 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
31831
32382
|
const value = input[key];
|
|
31832
32383
|
if (undefined === value)
|
|
31833
32384
|
return true;
|
|
31834
|
-
return Array.isArray(value) && value.every((elem,
|
|
31835
|
-
}); const
|
|
32385
|
+
return Array.isArray(value) && value.every((elem, _index48) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
32386
|
+
}); const _io85 = (input, _exceptionable = true) => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io86(input.create, true && _exceptionable)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io87(input.duplicate, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31836
32387
|
if (["create", "duplicate"].some(prop => key === prop))
|
|
31837
32388
|
return true;
|
|
31838
32389
|
const value = input[key];
|
|
31839
32390
|
if (undefined === value)
|
|
31840
32391
|
return true;
|
|
31841
32392
|
return false;
|
|
31842
|
-
})); const
|
|
32393
|
+
})); const _io86 = (input, _exceptionable = true) => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31843
32394
|
if (["titlePrefix", "titleSuffix"].some(prop => key === prop))
|
|
31844
32395
|
return true;
|
|
31845
32396
|
const value = input[key];
|
|
31846
32397
|
if (undefined === value)
|
|
31847
32398
|
return true;
|
|
31848
32399
|
return false;
|
|
31849
|
-
})); const
|
|
32400
|
+
})); const _io87 = (input, _exceptionable = true) => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31850
32401
|
if (["titlePrefix", "titleSuffix"].some(prop => key === prop))
|
|
31851
32402
|
return true;
|
|
31852
32403
|
const value = input[key];
|
|
31853
32404
|
if (undefined === value)
|
|
31854
32405
|
return true;
|
|
31855
32406
|
return false;
|
|
31856
|
-
})); const
|
|
32407
|
+
})); const _io88 = (input, _exceptionable = true) => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every((elem, _index49) => "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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31857
32408
|
if (["stateFilter", "textFilter", "showEmpty", "selectedRecord", "subscribeSearchHits", "parseRegex"].some(prop => key === prop))
|
|
31858
32409
|
return true;
|
|
31859
32410
|
const value = input[key];
|
|
31860
32411
|
if (undefined === value)
|
|
31861
32412
|
return true;
|
|
31862
32413
|
return false;
|
|
31863
|
-
})); const
|
|
32414
|
+
})); const _io89 = (input, _exceptionable = true) => (undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31864
32415
|
if (["disableHotArea"].some(prop => key === prop))
|
|
31865
32416
|
return true;
|
|
31866
32417
|
const value = input[key];
|
|
31867
32418
|
if (undefined === value)
|
|
31868
32419
|
return true;
|
|
31869
32420
|
return false;
|
|
31870
|
-
})); const
|
|
32421
|
+
})); const _io90 = (input, _exceptionable = true) => (undefined === input.refreshInterval || "number" === typeof input.refreshInterval) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31871
32422
|
if (["refreshInterval"].some(prop => key === prop))
|
|
31872
32423
|
return true;
|
|
31873
32424
|
const value = input[key];
|
|
31874
32425
|
if (undefined === value)
|
|
31875
32426
|
return true;
|
|
31876
32427
|
return false;
|
|
31877
|
-
})); const
|
|
32428
|
+
})); const _io91 = (input, _exceptionable = true) => (undefined === input.layout || "string" === typeof input.layout) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31878
32429
|
if (["layout"].some(prop => key === prop))
|
|
31879
32430
|
return true;
|
|
31880
32431
|
const value = input[key];
|
|
31881
32432
|
if (undefined === value)
|
|
31882
32433
|
return true;
|
|
31883
32434
|
return false;
|
|
31884
|
-
})); const
|
|
31885
|
-
if (["
|
|
32435
|
+
})); const _io92 = (input, _exceptionable = true) => (undefined === input.ignoredWarnings || Array.isArray(input.ignoredWarnings) && input.ignoredWarnings.every((elem, _index50) => "string" === typeof elem)) && (undefined === input.ignoredErrors || Array.isArray(input.ignoredErrors) && input.ignoredErrors.every((elem, _index51) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
32436
|
+
if (["ignoredWarnings", "ignoredErrors"].some(prop => key === prop))
|
|
31886
32437
|
return true;
|
|
31887
32438
|
const value = input[key];
|
|
31888
32439
|
if (undefined === value)
|
|
31889
32440
|
return true;
|
|
31890
32441
|
return false;
|
|
31891
|
-
})); const
|
|
32442
|
+
})); const _io93 = (input, _exceptionable = true) => (undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate) && (undefined === input.autoUpdate || "boolean" === typeof input.autoUpdate) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31892
32443
|
if (["enableUpdate", "autoUpdate"].some(prop => key === prop))
|
|
31893
32444
|
return true;
|
|
31894
32445
|
const value = input[key];
|
|
31895
32446
|
if (undefined === value)
|
|
31896
32447
|
return true;
|
|
31897
32448
|
return false;
|
|
31898
|
-
})); const
|
|
32449
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
32450
|
+
if ("script" === input.type)
|
|
32451
|
+
return _io71(input, true && _exceptionable);
|
|
32452
|
+
else if ("rundown" === input.type)
|
|
32453
|
+
return _io72(input, true && _exceptionable);
|
|
32454
|
+
else
|
|
32455
|
+
return false;
|
|
32456
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
31899
32457
|
path: _path + ".autoLogoutTime",
|
|
31900
32458
|
expected: "(number | undefined)",
|
|
31901
32459
|
value: input.autoLogoutTime
|
|
@@ -31919,12 +32477,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31919
32477
|
path: _path + ".googleWhitelist",
|
|
31920
32478
|
expected: "(Array<__type> | undefined)",
|
|
31921
32479
|
value: input.googleWhitelist
|
|
31922
|
-
})) && input.googleWhitelist.map((elem,
|
|
31923
|
-
path: _path + ".googleWhitelist[" +
|
|
32480
|
+
})) && input.googleWhitelist.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
32481
|
+
path: _path + ".googleWhitelist[" + _index52 + "]",
|
|
31924
32482
|
expected: "__type.o2",
|
|
31925
32483
|
value: elem
|
|
31926
|
-
})) && _vo3(elem, _path + ".googleWhitelist[" +
|
|
31927
|
-
path: _path + ".googleWhitelist[" +
|
|
32484
|
+
})) && _vo3(elem, _path + ".googleWhitelist[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
32485
|
+
path: _path + ".googleWhitelist[" + _index52 + "]",
|
|
31928
32486
|
expected: "__type.o2",
|
|
31929
32487
|
value: elem
|
|
31930
32488
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31935,8 +32493,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31935
32493
|
path: _path + ".googleUserRoles",
|
|
31936
32494
|
expected: "(Array<string> | undefined)",
|
|
31937
32495
|
value: input.googleUserRoles
|
|
31938
|
-
})) && input.googleUserRoles.map((elem,
|
|
31939
|
-
path: _path + ".googleUserRoles[" +
|
|
32496
|
+
})) && input.googleUserRoles.map((elem, _index53) => "string" === typeof elem || _report(_exceptionable, {
|
|
32497
|
+
path: _path + ".googleUserRoles[" + _index53 + "]",
|
|
31940
32498
|
expected: "string",
|
|
31941
32499
|
value: elem
|
|
31942
32500
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31947,12 +32505,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31947
32505
|
path: _path + ".azureWhitelist",
|
|
31948
32506
|
expected: "(Array<__type>.o1 | undefined)",
|
|
31949
32507
|
value: input.azureWhitelist
|
|
31950
|
-
})) && input.azureWhitelist.map((elem,
|
|
31951
|
-
path: _path + ".azureWhitelist[" +
|
|
32508
|
+
})) && input.azureWhitelist.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
32509
|
+
path: _path + ".azureWhitelist[" + _index54 + "]",
|
|
31952
32510
|
expected: "__type.o3",
|
|
31953
32511
|
value: elem
|
|
31954
|
-
})) && _vo4(elem, _path + ".azureWhitelist[" +
|
|
31955
|
-
path: _path + ".azureWhitelist[" +
|
|
32512
|
+
})) && _vo4(elem, _path + ".azureWhitelist[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
32513
|
+
path: _path + ".azureWhitelist[" + _index54 + "]",
|
|
31956
32514
|
expected: "__type.o3",
|
|
31957
32515
|
value: elem
|
|
31958
32516
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31963,8 +32521,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31963
32521
|
path: _path + ".azureUserRoles",
|
|
31964
32522
|
expected: "(Array<string> | undefined)",
|
|
31965
32523
|
value: input.azureUserRoles
|
|
31966
|
-
})) && input.azureUserRoles.map((elem,
|
|
31967
|
-
path: _path + ".azureUserRoles[" +
|
|
32524
|
+
})) && input.azureUserRoles.map((elem, _index55) => "string" === typeof elem || _report(_exceptionable, {
|
|
32525
|
+
path: _path + ".azureUserRoles[" + _index55 + "]",
|
|
31968
32526
|
expected: "string",
|
|
31969
32527
|
value: elem
|
|
31970
32528
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32015,16 +32573,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32015
32573
|
path: _path + ".exclusiveTagGroups",
|
|
32016
32574
|
expected: "(Array<Array<string>> | undefined)",
|
|
32017
32575
|
value: input.exclusiveTagGroups
|
|
32018
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
32019
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
32576
|
+
})) && input.exclusiveTagGroups.map((elem, _index56) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
32577
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "]",
|
|
32020
32578
|
expected: "Array<string>",
|
|
32021
32579
|
value: elem
|
|
32022
|
-
})) && elem.map((elem,
|
|
32023
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
32580
|
+
})) && elem.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
32581
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "][" + _index57 + "]",
|
|
32024
32582
|
expected: "string",
|
|
32025
32583
|
value: elem
|
|
32026
32584
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
32027
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
32585
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "]",
|
|
32028
32586
|
expected: "Array<string>",
|
|
32029
32587
|
value: elem
|
|
32030
32588
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32143,12 +32701,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32143
32701
|
path: _path + ".commands",
|
|
32144
32702
|
expected: "(Array<__type>.o9 | undefined)",
|
|
32145
32703
|
value: input.commands
|
|
32146
|
-
})) && input.commands.map((elem,
|
|
32147
|
-
path: _path + ".commands[" +
|
|
32704
|
+
})) && input.commands.map((elem, _index58) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
32705
|
+
path: _path + ".commands[" + _index58 + "]",
|
|
32148
32706
|
expected: "__type.o49",
|
|
32149
32707
|
value: elem
|
|
32150
|
-
})) && _vo60(elem, _path + ".commands[" +
|
|
32151
|
-
path: _path + ".commands[" +
|
|
32708
|
+
})) && _vo60(elem, _path + ".commands[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
32709
|
+
path: _path + ".commands[" + _index58 + "]",
|
|
32152
32710
|
expected: "__type.o49",
|
|
32153
32711
|
value: elem
|
|
32154
32712
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32159,8 +32717,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32159
32717
|
path: _path + ".predefinedTags",
|
|
32160
32718
|
expected: "(Array<string> | undefined)",
|
|
32161
32719
|
value: input.predefinedTags
|
|
32162
|
-
})) && input.predefinedTags.map((elem,
|
|
32163
|
-
path: _path + ".predefinedTags[" +
|
|
32720
|
+
})) && input.predefinedTags.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
32721
|
+
path: _path + ".predefinedTags[" + _index59 + "]",
|
|
32164
32722
|
expected: "string",
|
|
32165
32723
|
value: elem
|
|
32166
32724
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32187,12 +32745,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32187
32745
|
path: _path + ".hiddenPreviews",
|
|
32188
32746
|
expected: "(Array<__type>.o10 | undefined)",
|
|
32189
32747
|
value: input.hiddenPreviews
|
|
32190
|
-
})) && input.hiddenPreviews.map((elem,
|
|
32191
|
-
path: _path + ".hiddenPreviews[" +
|
|
32748
|
+
})) && input.hiddenPreviews.map((elem, _index60) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
32749
|
+
path: _path + ".hiddenPreviews[" + _index60 + "]",
|
|
32192
32750
|
expected: "__type.o60",
|
|
32193
32751
|
value: elem
|
|
32194
|
-
})) &&
|
|
32195
|
-
path: _path + ".hiddenPreviews[" +
|
|
32752
|
+
})) && _vo74(elem, _path + ".hiddenPreviews[" + _index60 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
32753
|
+
path: _path + ".hiddenPreviews[" + _index60 + "]",
|
|
32196
32754
|
expected: "__type.o60",
|
|
32197
32755
|
value: elem
|
|
32198
32756
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32203,7 +32761,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32203
32761
|
path: _path + ".plugins",
|
|
32204
32762
|
expected: "(__type.o61 | undefined)",
|
|
32205
32763
|
value: input.plugins
|
|
32206
|
-
})) &&
|
|
32764
|
+
})) && _vo75(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
32207
32765
|
path: _path + ".plugins",
|
|
32208
32766
|
expected: "(__type.o61 | undefined)",
|
|
32209
32767
|
value: input.plugins
|
|
@@ -32217,27 +32775,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32217
32775
|
value: input.debug
|
|
32218
32776
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
32219
32777
|
path: _path + ".featurePreview",
|
|
32220
|
-
expected: "(__type.
|
|
32778
|
+
expected: "(__type.o66 | undefined)",
|
|
32221
32779
|
value: input.featurePreview
|
|
32222
|
-
})) &&
|
|
32780
|
+
})) && _vo80(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
32223
32781
|
path: _path + ".featurePreview",
|
|
32224
|
-
expected: "(__type.
|
|
32782
|
+
expected: "(__type.o66 | undefined)",
|
|
32225
32783
|
value: input.featurePreview
|
|
32226
32784
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
32227
32785
|
path: _path + ".flags",
|
|
32228
|
-
expected: "(__type.
|
|
32786
|
+
expected: "(__type.o67 | undefined)",
|
|
32229
32787
|
value: input.flags
|
|
32230
|
-
})) &&
|
|
32788
|
+
})) && _vo81(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
32231
32789
|
path: _path + ".flags",
|
|
32232
|
-
expected: "(__type.
|
|
32790
|
+
expected: "(__type.o67 | undefined)",
|
|
32233
32791
|
value: input.flags
|
|
32234
32792
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
32235
32793
|
path: _path + ".notifications",
|
|
32236
|
-
expected: "(__type.
|
|
32794
|
+
expected: "(__type.o68 | undefined)",
|
|
32237
32795
|
value: input.notifications
|
|
32238
|
-
})) &&
|
|
32796
|
+
})) && _vo82(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
32239
32797
|
path: _path + ".notifications",
|
|
32240
|
-
expected: "(__type.
|
|
32798
|
+
expected: "(__type.o68 | undefined)",
|
|
32241
32799
|
value: input.notifications
|
|
32242
32800
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
32243
32801
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -32245,59 +32803,59 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32245
32803
|
value: input.suppressDeleteAlert
|
|
32246
32804
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
32247
32805
|
path: _path + ".clone",
|
|
32248
|
-
expected: "(__type.
|
|
32806
|
+
expected: "(__type.o71 | undefined)",
|
|
32249
32807
|
value: input.clone
|
|
32250
|
-
})) &&
|
|
32808
|
+
})) && _vo85(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
32251
32809
|
path: _path + ".clone",
|
|
32252
|
-
expected: "(__type.
|
|
32810
|
+
expected: "(__type.o71 | undefined)",
|
|
32253
32811
|
value: input.clone
|
|
32254
32812
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
32255
32813
|
path: _path + ".utilsAssetEditorPanel",
|
|
32256
|
-
expected: "(__type.
|
|
32814
|
+
expected: "(__type.o74 | undefined)",
|
|
32257
32815
|
value: input.utilsAssetEditorPanel
|
|
32258
|
-
})) &&
|
|
32816
|
+
})) && _vo88(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
32259
32817
|
path: _path + ".utilsAssetEditorPanel",
|
|
32260
|
-
expected: "(__type.
|
|
32818
|
+
expected: "(__type.o74 | undefined)",
|
|
32261
32819
|
value: input.utilsAssetEditorPanel
|
|
32262
32820
|
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
32263
32821
|
path: _path + ".display",
|
|
32264
|
-
expected: "(__type.
|
|
32822
|
+
expected: "(__type.o75 | undefined)",
|
|
32265
32823
|
value: input.display
|
|
32266
|
-
})) &&
|
|
32824
|
+
})) && _vo89(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
32267
32825
|
path: _path + ".display",
|
|
32268
|
-
expected: "(__type.
|
|
32826
|
+
expected: "(__type.o75 | undefined)",
|
|
32269
32827
|
value: input.display
|
|
32270
32828
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
32271
32829
|
path: _path + ".bookmarks",
|
|
32272
|
-
expected: "(__type.
|
|
32830
|
+
expected: "(__type.o76 | undefined)",
|
|
32273
32831
|
value: input.bookmarks
|
|
32274
|
-
})) &&
|
|
32832
|
+
})) && _vo90(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
32275
32833
|
path: _path + ".bookmarks",
|
|
32276
|
-
expected: "(__type.
|
|
32834
|
+
expected: "(__type.o76 | undefined)",
|
|
32277
32835
|
value: input.bookmarks
|
|
32278
32836
|
}), undefined === input.shotbox || ("object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) || _report(_exceptionable, {
|
|
32279
32837
|
path: _path + ".shotbox",
|
|
32280
|
-
expected: "(__type.
|
|
32838
|
+
expected: "(__type.o77 | undefined)",
|
|
32281
32839
|
value: input.shotbox
|
|
32282
|
-
})) &&
|
|
32840
|
+
})) && _vo91(input.shotbox, _path + ".shotbox", true && _exceptionable) || _report(_exceptionable, {
|
|
32283
32841
|
path: _path + ".shotbox",
|
|
32284
|
-
expected: "(__type.
|
|
32842
|
+
expected: "(__type.o77 | undefined)",
|
|
32285
32843
|
value: input.shotbox
|
|
32286
32844
|
}), undefined === input.performance || ("object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) || _report(_exceptionable, {
|
|
32287
32845
|
path: _path + ".performance",
|
|
32288
|
-
expected: "(__type.
|
|
32846
|
+
expected: "(__type.o78 | undefined)",
|
|
32289
32847
|
value: input.performance
|
|
32290
|
-
})) &&
|
|
32848
|
+
})) && _vo92(input.performance, _path + ".performance", true && _exceptionable) || _report(_exceptionable, {
|
|
32291
32849
|
path: _path + ".performance",
|
|
32292
|
-
expected: "(__type.
|
|
32850
|
+
expected: "(__type.o78 | undefined)",
|
|
32293
32851
|
value: input.performance
|
|
32294
32852
|
}), undefined === input.app || ("object" === typeof input.app && null !== input.app && false === Array.isArray(input.app) || _report(_exceptionable, {
|
|
32295
32853
|
path: _path + ".app",
|
|
32296
|
-
expected: "(__type.
|
|
32854
|
+
expected: "(__type.o79 | undefined)",
|
|
32297
32855
|
value: input.app
|
|
32298
|
-
})) &&
|
|
32856
|
+
})) && _vo93(input.app, _path + ".app", true && _exceptionable) || _report(_exceptionable, {
|
|
32299
32857
|
path: _path + ".app",
|
|
32300
|
-
expected: "(__type.
|
|
32858
|
+
expected: "(__type.o79 | undefined)",
|
|
32301
32859
|
value: input.app
|
|
32302
32860
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
32303
32861
|
if (["autoLogoutTime", "permission", "graphics", "googleWhitelist", "googleUserRoles", "azureWhitelist", "azureUserRoles", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel", "display", "bookmarks", "shotbox", "performance", "app"].some(prop => key === prop))
|
|
@@ -32649,8 +33207,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32649
33207
|
path: _path + ".sortOrder",
|
|
32650
33208
|
expected: "(Array<string> | undefined)",
|
|
32651
33209
|
value: input.sortOrder
|
|
32652
|
-
})) && input.sortOrder.map((elem,
|
|
32653
|
-
path: _path + ".sortOrder[" +
|
|
33210
|
+
})) && input.sortOrder.map((elem, _index61) => "string" === typeof elem || _report(_exceptionable, {
|
|
33211
|
+
path: _path + ".sortOrder[" + _index61 + "]",
|
|
32654
33212
|
expected: "string",
|
|
32655
33213
|
value: elem
|
|
32656
33214
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32677,8 +33235,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32677
33235
|
path: _path + ".include",
|
|
32678
33236
|
expected: "(Array<string> | undefined)",
|
|
32679
33237
|
value: input.include
|
|
32680
|
-
})) && input.include.map((elem,
|
|
32681
|
-
path: _path + ".include[" +
|
|
33238
|
+
})) && input.include.map((elem, _index62) => "string" === typeof elem || _report(_exceptionable, {
|
|
33239
|
+
path: _path + ".include[" + _index62 + "]",
|
|
32682
33240
|
expected: "string",
|
|
32683
33241
|
value: elem
|
|
32684
33242
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32689,8 +33247,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32689
33247
|
path: _path + ".exclude",
|
|
32690
33248
|
expected: "(Array<string> | undefined)",
|
|
32691
33249
|
value: input.exclude
|
|
32692
|
-
})) && input.exclude.map((elem,
|
|
32693
|
-
path: _path + ".exclude[" +
|
|
33250
|
+
})) && input.exclude.map((elem, _index63) => "string" === typeof elem || _report(_exceptionable, {
|
|
33251
|
+
path: _path + ".exclude[" + _index63 + "]",
|
|
32694
33252
|
expected: "string",
|
|
32695
33253
|
value: elem
|
|
32696
33254
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32717,8 +33275,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32717
33275
|
path: _path + ".include",
|
|
32718
33276
|
expected: "(Array<string> | undefined)",
|
|
32719
33277
|
value: input.include
|
|
32720
|
-
})) && input.include.map((elem,
|
|
32721
|
-
path: _path + ".include[" +
|
|
33278
|
+
})) && input.include.map((elem, _index64) => "string" === typeof elem || _report(_exceptionable, {
|
|
33279
|
+
path: _path + ".include[" + _index64 + "]",
|
|
32722
33280
|
expected: "string",
|
|
32723
33281
|
value: elem
|
|
32724
33282
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32729,8 +33287,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32729
33287
|
path: _path + ".exclude",
|
|
32730
33288
|
expected: "(Array<string> | undefined)",
|
|
32731
33289
|
value: input.exclude
|
|
32732
|
-
})) && input.exclude.map((elem,
|
|
32733
|
-
path: _path + ".exclude[" +
|
|
33290
|
+
})) && input.exclude.map((elem, _index65) => "string" === typeof elem || _report(_exceptionable, {
|
|
33291
|
+
path: _path + ".exclude[" + _index65 + "]",
|
|
32734
33292
|
expected: "string",
|
|
32735
33293
|
value: elem
|
|
32736
33294
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32757,8 +33315,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32757
33315
|
path: _path + ".include",
|
|
32758
33316
|
expected: "(Array<string> | undefined)",
|
|
32759
33317
|
value: input.include
|
|
32760
|
-
})) && input.include.map((elem,
|
|
32761
|
-
path: _path + ".include[" +
|
|
33318
|
+
})) && input.include.map((elem, _index66) => "string" === typeof elem || _report(_exceptionable, {
|
|
33319
|
+
path: _path + ".include[" + _index66 + "]",
|
|
32762
33320
|
expected: "string",
|
|
32763
33321
|
value: elem
|
|
32764
33322
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32769,8 +33327,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32769
33327
|
path: _path + ".exclude",
|
|
32770
33328
|
expected: "(Array<string> | undefined)",
|
|
32771
33329
|
value: input.exclude
|
|
32772
|
-
})) && input.exclude.map((elem,
|
|
32773
|
-
path: _path + ".exclude[" +
|
|
33330
|
+
})) && input.exclude.map((elem, _index67) => "string" === typeof elem || _report(_exceptionable, {
|
|
33331
|
+
path: _path + ".exclude[" + _index67 + "]",
|
|
32774
33332
|
expected: "string",
|
|
32775
33333
|
value: elem
|
|
32776
33334
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32797,8 +33355,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32797
33355
|
path: _path + ".include",
|
|
32798
33356
|
expected: "(Array<string> | undefined)",
|
|
32799
33357
|
value: input.include
|
|
32800
|
-
})) && input.include.map((elem,
|
|
32801
|
-
path: _path + ".include[" +
|
|
33358
|
+
})) && input.include.map((elem, _index68) => "string" === typeof elem || _report(_exceptionable, {
|
|
33359
|
+
path: _path + ".include[" + _index68 + "]",
|
|
32802
33360
|
expected: "string",
|
|
32803
33361
|
value: elem
|
|
32804
33362
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32809,8 +33367,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32809
33367
|
path: _path + ".exclude",
|
|
32810
33368
|
expected: "(Array<string> | undefined)",
|
|
32811
33369
|
value: input.exclude
|
|
32812
|
-
})) && input.exclude.map((elem,
|
|
32813
|
-
path: _path + ".exclude[" +
|
|
33370
|
+
})) && input.exclude.map((elem, _index69) => "string" === typeof elem || _report(_exceptionable, {
|
|
33371
|
+
path: _path + ".exclude[" + _index69 + "]",
|
|
32814
33372
|
expected: "string",
|
|
32815
33373
|
value: elem
|
|
32816
33374
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32965,16 +33523,20 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32965
33523
|
path: _path + ".createMenu",
|
|
32966
33524
|
expected: "(__type.o19 | undefined)",
|
|
32967
33525
|
value: input.createMenu
|
|
33526
|
+
}), undefined === input.contentMaxWidth || "number" === typeof input.contentMaxWidth || _report(_exceptionable, {
|
|
33527
|
+
path: _path + ".contentMaxWidth",
|
|
33528
|
+
expected: "(number | undefined)",
|
|
33529
|
+
value: input.contentMaxWidth
|
|
32968
33530
|
}), undefined === input.colorTags || (Array.isArray(input.colorTags) || _report(_exceptionable, {
|
|
32969
33531
|
path: _path + ".colorTags",
|
|
32970
33532
|
expected: "(Array<PromotedTag> | undefined)",
|
|
32971
33533
|
value: input.colorTags
|
|
32972
|
-
})) && input.colorTags.map((elem,
|
|
32973
|
-
path: _path + ".colorTags[" +
|
|
33534
|
+
})) && input.colorTags.map((elem, _index70) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
33535
|
+
path: _path + ".colorTags[" + _index70 + "]",
|
|
32974
33536
|
expected: "PromotedTag",
|
|
32975
33537
|
value: elem
|
|
32976
|
-
})) && _vo24(elem, _path + ".colorTags[" +
|
|
32977
|
-
path: _path + ".colorTags[" +
|
|
33538
|
+
})) && _vo24(elem, _path + ".colorTags[" + _index70 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
33539
|
+
path: _path + ".colorTags[" + _index70 + "]",
|
|
32978
33540
|
expected: "PromotedTag",
|
|
32979
33541
|
value: elem
|
|
32980
33542
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33001,12 +33563,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33001
33563
|
path: _path + ".colorHistory",
|
|
33002
33564
|
expected: "(Array<__type>.o2 | undefined)",
|
|
33003
33565
|
value: input.colorHistory
|
|
33004
|
-
})) && input.colorHistory.map((elem,
|
|
33005
|
-
path: _path + ".colorHistory[" +
|
|
33566
|
+
})) && input.colorHistory.map((elem, _index71) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
33567
|
+
path: _path + ".colorHistory[" + _index71 + "]",
|
|
33006
33568
|
expected: "__type.o22",
|
|
33007
33569
|
value: elem
|
|
33008
|
-
})) && _vo27(elem, _path + ".colorHistory[" +
|
|
33009
|
-
path: _path + ".colorHistory[" +
|
|
33570
|
+
})) && _vo27(elem, _path + ".colorHistory[" + _index71 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
33571
|
+
path: _path + ".colorHistory[" + _index71 + "]",
|
|
33010
33572
|
expected: "__type.o22",
|
|
33011
33573
|
value: elem
|
|
33012
33574
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33014,7 +33576,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33014
33576
|
expected: "(Array<__type>.o2 | undefined)",
|
|
33015
33577
|
value: input.colorHistory
|
|
33016
33578
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
33017
|
-
if (["createMenu", "colorTags", "readType", "readRate", "collapsedNodes", "colorHistory"].some(prop => key === prop))
|
|
33579
|
+
if (["createMenu", "contentMaxWidth", "colorTags", "readType", "readRate", "collapsedNodes", "colorHistory"].some(prop => key === prop))
|
|
33018
33580
|
return true;
|
|
33019
33581
|
const value = input[key];
|
|
33020
33582
|
if (undefined === value)
|
|
@@ -33029,7 +33591,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33029
33591
|
"Please remove the property next time."
|
|
33030
33592
|
].join("\n")
|
|
33031
33593
|
});
|
|
33032
|
-
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "
|
|
33594
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "title" === input.sortBy || "index" === input.sortBy || _report(_exceptionable, {
|
|
33033
33595
|
path: _path + ".sortBy",
|
|
33034
33596
|
expected: "(\"index\" | \"title\" | undefined)",
|
|
33035
33597
|
value: input.sortBy
|
|
@@ -33154,8 +33716,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33154
33716
|
path: _path + ".favorites",
|
|
33155
33717
|
expected: "(Array<string> | undefined)",
|
|
33156
33718
|
value: input.favorites
|
|
33157
|
-
})) && input.favorites.map((elem,
|
|
33158
|
-
path: _path + ".favorites[" +
|
|
33719
|
+
})) && input.favorites.map((elem, _index72) => "string" === typeof elem || _report(_exceptionable, {
|
|
33720
|
+
path: _path + ".favorites[" + _index72 + "]",
|
|
33159
33721
|
expected: "string",
|
|
33160
33722
|
value: elem
|
|
33161
33723
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33309,31 +33871,31 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33309
33871
|
path: _path + ".sequence",
|
|
33310
33872
|
expected: "(Array<string | [string, unknown]> | null | string | undefined)",
|
|
33311
33873
|
value: input.sequence
|
|
33312
|
-
})) && input.sequence.map((elem,
|
|
33313
|
-
path: _path + ".sequence[" +
|
|
33874
|
+
})) && input.sequence.map((elem, _index73) => (null !== elem || _report(_exceptionable, {
|
|
33875
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33314
33876
|
expected: "([string, unknown] | string)",
|
|
33315
33877
|
value: elem
|
|
33316
33878
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
33317
|
-
path: _path + ".sequence[" +
|
|
33879
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33318
33880
|
expected: "([string, unknown] | string)",
|
|
33319
33881
|
value: elem
|
|
33320
33882
|
})) && ("string" === typeof elem || (Array.isArray(elem) || _report(_exceptionable, {
|
|
33321
|
-
path: _path + ".sequence[" +
|
|
33883
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33322
33884
|
expected: "([string, unknown] | string)",
|
|
33323
33885
|
value: elem
|
|
33324
33886
|
})) && ((elem.length === 2 || _report(_exceptionable, {
|
|
33325
|
-
path: _path + ".sequence[" +
|
|
33887
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33326
33888
|
expected: "[string, any]",
|
|
33327
33889
|
value: elem
|
|
33328
33890
|
})) && [
|
|
33329
33891
|
"string" === typeof elem[0] || _report(_exceptionable, {
|
|
33330
|
-
path: _path + ".sequence[" +
|
|
33892
|
+
path: _path + ".sequence[" + _index73 + "][0]",
|
|
33331
33893
|
expected: "string",
|
|
33332
33894
|
value: elem[0]
|
|
33333
33895
|
}),
|
|
33334
33896
|
true
|
|
33335
33897
|
].every(flag => flag)) || _report(_exceptionable, {
|
|
33336
|
-
path: _path + ".sequence[" +
|
|
33898
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33337
33899
|
expected: "([string, unknown] | string)",
|
|
33338
33900
|
value: elem
|
|
33339
33901
|
}))).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33409,12 +33971,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33409
33971
|
path: _path + ".displayAspectRatioPresets",
|
|
33410
33972
|
expected: "(Array<__type>.o3 | undefined)",
|
|
33411
33973
|
value: input.displayAspectRatioPresets
|
|
33412
|
-
})) && input.displayAspectRatioPresets.map((elem,
|
|
33413
|
-
path: _path + ".displayAspectRatioPresets[" +
|
|
33974
|
+
})) && input.displayAspectRatioPresets.map((elem, _index74) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
33975
|
+
path: _path + ".displayAspectRatioPresets[" + _index74 + "]",
|
|
33414
33976
|
expected: "__type.o28",
|
|
33415
33977
|
value: elem
|
|
33416
|
-
})) && _vo38(elem, _path + ".displayAspectRatioPresets[" +
|
|
33417
|
-
path: _path + ".displayAspectRatioPresets[" +
|
|
33978
|
+
})) && _vo38(elem, _path + ".displayAspectRatioPresets[" + _index74 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
33979
|
+
path: _path + ".displayAspectRatioPresets[" + _index74 + "]",
|
|
33418
33980
|
expected: "__type.o28",
|
|
33419
33981
|
value: elem
|
|
33420
33982
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33473,8 +34035,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33473
34035
|
path: _path + ".playbackRates",
|
|
33474
34036
|
expected: "(Array<number> | undefined)",
|
|
33475
34037
|
value: input.playbackRates
|
|
33476
|
-
})) && input.playbackRates.map((elem,
|
|
33477
|
-
path: _path + ".playbackRates[" +
|
|
34038
|
+
})) && input.playbackRates.map((elem, _index75) => "number" === typeof elem || _report(_exceptionable, {
|
|
34039
|
+
path: _path + ".playbackRates[" + _index75 + "]",
|
|
33478
34040
|
expected: "number",
|
|
33479
34041
|
value: elem
|
|
33480
34042
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33501,12 +34063,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33501
34063
|
path: _path + ".guides",
|
|
33502
34064
|
expected: "(Array<__type>.o6 | undefined)",
|
|
33503
34065
|
value: input.guides
|
|
33504
|
-
})) && input.guides.map((elem,
|
|
33505
|
-
path: _path + ".guides[" +
|
|
34066
|
+
})) && input.guides.map((elem, _index76) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
34067
|
+
path: _path + ".guides[" + _index76 + "]",
|
|
33506
34068
|
expected: "__type.o34",
|
|
33507
34069
|
value: elem
|
|
33508
|
-
})) && _vo44(elem, _path + ".guides[" +
|
|
33509
|
-
path: _path + ".guides[" +
|
|
34070
|
+
})) && _vo44(elem, _path + ".guides[" + _index76 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34071
|
+
path: _path + ".guides[" + _index76 + "]",
|
|
33510
34072
|
expected: "__type.o34",
|
|
33511
34073
|
value: elem
|
|
33512
34074
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33657,12 +34219,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33657
34219
|
path: _path + ".suggestions",
|
|
33658
34220
|
expected: "(Array<__type>.o4 | undefined)",
|
|
33659
34221
|
value: input.suggestions
|
|
33660
|
-
})) && input.suggestions.map((elem,
|
|
33661
|
-
path: _path + ".suggestions[" +
|
|
34222
|
+
})) && input.suggestions.map((elem, _index77) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
34223
|
+
path: _path + ".suggestions[" + _index77 + "]",
|
|
33662
34224
|
expected: "__type.o32",
|
|
33663
34225
|
value: elem
|
|
33664
|
-
})) && _vo42(elem, _path + ".suggestions[" +
|
|
33665
|
-
path: _path + ".suggestions[" +
|
|
34226
|
+
})) && _vo42(elem, _path + ".suggestions[" + _index77 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34227
|
+
path: _path + ".suggestions[" + _index77 + "]",
|
|
33666
34228
|
expected: "__type.o32",
|
|
33667
34229
|
value: elem
|
|
33668
34230
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33673,12 +34235,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33673
34235
|
path: _path + ".colors",
|
|
33674
34236
|
expected: "(Array<__type>.o5 | undefined)",
|
|
33675
34237
|
value: input.colors
|
|
33676
|
-
})) && input.colors.map((elem,
|
|
33677
|
-
path: _path + ".colors[" +
|
|
34238
|
+
})) && input.colors.map((elem, _index78) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
34239
|
+
path: _path + ".colors[" + _index78 + "]",
|
|
33678
34240
|
expected: "__type.o33",
|
|
33679
34241
|
value: elem
|
|
33680
|
-
})) && _vo43(elem, _path + ".colors[" +
|
|
33681
|
-
path: _path + ".colors[" +
|
|
34242
|
+
})) && _vo43(elem, _path + ".colors[" + _index78 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34243
|
+
path: _path + ".colors[" + _index78 + "]",
|
|
33682
34244
|
expected: "__type.o33",
|
|
33683
34245
|
value: elem
|
|
33684
34246
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33689,8 +34251,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33689
34251
|
path: _path + ".overridableProperties",
|
|
33690
34252
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
33691
34253
|
value: input.overridableProperties
|
|
33692
|
-
})) && input.overridableProperties.map((elem,
|
|
33693
|
-
path: _path + ".overridableProperties[" +
|
|
34254
|
+
})) && input.overridableProperties.map((elem, _index79) => null === elem || true === _vv80.has(elem) || _report(_exceptionable, {
|
|
34255
|
+
path: _path + ".overridableProperties[" + _index79 + "]",
|
|
33694
34256
|
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)",
|
|
33695
34257
|
value: elem
|
|
33696
34258
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33885,12 +34447,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33885
34447
|
path: _path + ".text",
|
|
33886
34448
|
expected: "(Array<__type>.o7 | undefined)",
|
|
33887
34449
|
value: input.text
|
|
33888
|
-
})) && input.text.map((elem,
|
|
33889
|
-
path: _path + ".text[" +
|
|
34450
|
+
})) && input.text.map((elem, _index81) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
34451
|
+
path: _path + ".text[" + _index81 + "]",
|
|
33890
34452
|
expected: "__type.o39",
|
|
33891
34453
|
value: elem
|
|
33892
|
-
})) && _vo49(elem, _path + ".text[" +
|
|
33893
|
-
path: _path + ".text[" +
|
|
34454
|
+
})) && _vo49(elem, _path + ".text[" + _index81 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34455
|
+
path: _path + ".text[" + _index81 + "]",
|
|
33894
34456
|
expected: "__type.o39",
|
|
33895
34457
|
value: elem
|
|
33896
34458
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33961,8 +34523,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33961
34523
|
path: _path + ".args",
|
|
33962
34524
|
expected: "(Array<string> | undefined)",
|
|
33963
34525
|
value: input.args
|
|
33964
|
-
})) && input.args.map((elem,
|
|
33965
|
-
path: _path + ".args[" +
|
|
34526
|
+
})) && input.args.map((elem, _index82) => "string" === typeof elem || _report(_exceptionable, {
|
|
34527
|
+
path: _path + ".args[" + _index82 + "]",
|
|
33966
34528
|
expected: "string",
|
|
33967
34529
|
value: elem
|
|
33968
34530
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34125,12 +34687,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34125
34687
|
path: _path + ".presets",
|
|
34126
34688
|
expected: "(Array<AudioMappingPreset> | undefined)",
|
|
34127
34689
|
value: input.presets
|
|
34128
|
-
})) && input.presets.map((elem,
|
|
34129
|
-
path: _path + ".presets[" +
|
|
34690
|
+
})) && input.presets.map((elem, _index83) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
34691
|
+
path: _path + ".presets[" + _index83 + "]",
|
|
34130
34692
|
expected: "AudioMappingPreset",
|
|
34131
34693
|
value: elem
|
|
34132
|
-
})) && _vo56(elem, _path + ".presets[" +
|
|
34133
|
-
path: _path + ".presets[" +
|
|
34694
|
+
})) && _vo56(elem, _path + ".presets[" + _index83 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34695
|
+
path: _path + ".presets[" + _index83 + "]",
|
|
34134
34696
|
expected: "AudioMappingPreset",
|
|
34135
34697
|
value: elem
|
|
34136
34698
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34165,16 +34727,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34165
34727
|
path: _path + ".mapping",
|
|
34166
34728
|
expected: "(Array<Array<number>> | undefined)",
|
|
34167
34729
|
value: input.mapping
|
|
34168
|
-
})) && input.mapping.map((elem,
|
|
34169
|
-
path: _path + ".mapping[" +
|
|
34730
|
+
})) && input.mapping.map((elem, _index84) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
34731
|
+
path: _path + ".mapping[" + _index84 + "]",
|
|
34170
34732
|
expected: "Array<number>",
|
|
34171
34733
|
value: elem
|
|
34172
|
-
})) && elem.map((elem,
|
|
34173
|
-
path: _path + ".mapping[" +
|
|
34734
|
+
})) && elem.map((elem, _index85) => "number" === typeof elem || _report(_exceptionable, {
|
|
34735
|
+
path: _path + ".mapping[" + _index84 + "][" + _index85 + "]",
|
|
34174
34736
|
expected: "number",
|
|
34175
34737
|
value: elem
|
|
34176
34738
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
34177
|
-
path: _path + ".mapping[" +
|
|
34739
|
+
path: _path + ".mapping[" + _index84 + "]",
|
|
34178
34740
|
expected: "Array<number>",
|
|
34179
34741
|
value: elem
|
|
34180
34742
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34185,8 +34747,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34185
34747
|
path: _path + ".mute",
|
|
34186
34748
|
expected: "(Array<boolean> | undefined)",
|
|
34187
34749
|
value: input.mute
|
|
34188
|
-
})) && input.mute.map((elem,
|
|
34189
|
-
path: _path + ".mute[" +
|
|
34750
|
+
})) && input.mute.map((elem, _index86) => "boolean" === typeof elem || _report(_exceptionable, {
|
|
34751
|
+
path: _path + ".mute[" + _index86 + "]",
|
|
34190
34752
|
expected: "boolean",
|
|
34191
34753
|
value: elem
|
|
34192
34754
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34229,12 +34791,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34229
34791
|
path: _path + ".presets",
|
|
34230
34792
|
expected: "(Array<__type>.o8 | undefined)",
|
|
34231
34793
|
value: input.presets
|
|
34232
|
-
})) && input.presets.map((elem,
|
|
34233
|
-
path: _path + ".presets[" +
|
|
34794
|
+
})) && input.presets.map((elem, _index87) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
34795
|
+
path: _path + ".presets[" + _index87 + "]",
|
|
34234
34796
|
expected: "__type.o47",
|
|
34235
34797
|
value: elem
|
|
34236
|
-
})) && _vo58(elem, _path + ".presets[" +
|
|
34237
|
-
path: _path + ".presets[" +
|
|
34798
|
+
})) && _vo58(elem, _path + ".presets[" + _index87 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34799
|
+
path: _path + ".presets[" + _index87 + "]",
|
|
34238
34800
|
expected: "__type.o47",
|
|
34239
34801
|
value: elem
|
|
34240
34802
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34345,8 +34907,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34345
34907
|
path: _path + ".args",
|
|
34346
34908
|
expected: "(Array<string> | undefined)",
|
|
34347
34909
|
value: input.args
|
|
34348
|
-
})) && input.args.map((elem,
|
|
34349
|
-
path: _path + ".args[" +
|
|
34910
|
+
})) && input.args.map((elem, _index88) => "string" === typeof elem || _report(_exceptionable, {
|
|
34911
|
+
path: _path + ".args[" + _index88 + "]",
|
|
34350
34912
|
expected: "string",
|
|
34351
34913
|
value: elem
|
|
34352
34914
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34549,7 +35111,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34549
35111
|
path: _path + ".search",
|
|
34550
35112
|
expected: "(__type.o57 | undefined)",
|
|
34551
35113
|
value: input.search
|
|
34552
|
-
}), undefined === input.sortMode || true ===
|
|
35114
|
+
}), undefined === input.sortMode || true === _vv89.has(input.sortMode) || _report(_exceptionable, {
|
|
34553
35115
|
path: _path + ".sortMode",
|
|
34554
35116
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
34555
35117
|
value: input.sortMode
|
|
@@ -34617,16 +35179,200 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34617
35179
|
path: _path + ".fontFamilies",
|
|
34618
35180
|
expected: "(Array<string> | undefined)",
|
|
34619
35181
|
value: input.fontFamilies
|
|
34620
|
-
})) && input.fontFamilies.map((elem,
|
|
34621
|
-
path: _path + ".fontFamilies[" +
|
|
35182
|
+
})) && input.fontFamilies.map((elem, _index90) => "string" === typeof elem || _report(_exceptionable, {
|
|
35183
|
+
path: _path + ".fontFamilies[" + _index90 + "]",
|
|
34622
35184
|
expected: "string",
|
|
34623
35185
|
value: elem
|
|
34624
35186
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
34625
35187
|
path: _path + ".fontFamilies",
|
|
34626
35188
|
expected: "(Array<string> | undefined)",
|
|
34627
35189
|
value: input.fontFamilies
|
|
35190
|
+
}), undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
35191
|
+
path: _path + ".presets",
|
|
35192
|
+
expected: "(Array<PrintOptions> | undefined)",
|
|
35193
|
+
value: input.presets
|
|
35194
|
+
})) && input.presets.map((elem, _index91) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
35195
|
+
path: _path + ".presets[" + _index91 + "]",
|
|
35196
|
+
expected: "(PrintRundownOptions | PrintScriptOptions)",
|
|
35197
|
+
value: elem
|
|
35198
|
+
})) && _vu0(elem, _path + ".presets[" + _index91 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
35199
|
+
path: _path + ".presets[" + _index91 + "]",
|
|
35200
|
+
expected: "(PrintRundownOptions | PrintScriptOptions)",
|
|
35201
|
+
value: elem
|
|
35202
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35203
|
+
path: _path + ".presets",
|
|
35204
|
+
expected: "(Array<PrintOptions> | undefined)",
|
|
35205
|
+
value: input.presets
|
|
34628
35206
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
34629
|
-
if (["fontFamilies"].some(prop => key === prop))
|
|
35207
|
+
if (["fontFamilies", "presets"].some(prop => key === prop))
|
|
35208
|
+
return true;
|
|
35209
|
+
const value = input[key];
|
|
35210
|
+
if (undefined === value)
|
|
35211
|
+
return true;
|
|
35212
|
+
return _report(_exceptionable, {
|
|
35213
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35214
|
+
expected: "undefined",
|
|
35215
|
+
value: value,
|
|
35216
|
+
description: [
|
|
35217
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
35218
|
+
"",
|
|
35219
|
+
"Please remove the property next time."
|
|
35220
|
+
].join("\n")
|
|
35221
|
+
});
|
|
35222
|
+
}).every(flag => flag))].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => ["script" === input.type || _report(_exceptionable, {
|
|
35223
|
+
path: _path + ".type",
|
|
35224
|
+
expected: "\"script\"",
|
|
35225
|
+
value: input.type
|
|
35226
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
35227
|
+
path: _path + ".title",
|
|
35228
|
+
expected: "string",
|
|
35229
|
+
value: input.title
|
|
35230
|
+
}), "number" === typeof input.horizontalMargin || _report(_exceptionable, {
|
|
35231
|
+
path: _path + ".horizontalMargin",
|
|
35232
|
+
expected: "number",
|
|
35233
|
+
value: input.horizontalMargin
|
|
35234
|
+
}), "A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize || _report(_exceptionable, {
|
|
35235
|
+
path: _path + ".pageSize",
|
|
35236
|
+
expected: "(\"A3\" | \"A4\" | \"A5\")",
|
|
35237
|
+
value: input.pageSize
|
|
35238
|
+
}), "landscape" === input.orientation || "portrait" === input.orientation || _report(_exceptionable, {
|
|
35239
|
+
path: _path + ".orientation",
|
|
35240
|
+
expected: "(\"landscape\" | \"portrait\")",
|
|
35241
|
+
value: input.orientation
|
|
35242
|
+
}), "number" === typeof input.fontSize || _report(_exceptionable, {
|
|
35243
|
+
path: _path + ".fontSize",
|
|
35244
|
+
expected: "number",
|
|
35245
|
+
value: input.fontSize
|
|
35246
|
+
}), undefined === input.fontFamily || "string" === typeof input.fontFamily || _report(_exceptionable, {
|
|
35247
|
+
path: _path + ".fontFamily",
|
|
35248
|
+
expected: "(string | undefined)",
|
|
35249
|
+
value: input.fontFamily
|
|
35250
|
+
}), (Array.isArray(input.hide) || _report(_exceptionable, {
|
|
35251
|
+
path: _path + ".hide",
|
|
35252
|
+
expected: "Array<PrintOptionalScriptNodes>",
|
|
35253
|
+
value: input.hide
|
|
35254
|
+
})) && input.hide.map((elem, _index92) => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem || _report(_exceptionable, {
|
|
35255
|
+
path: _path + ".hide[" + _index92 + "]",
|
|
35256
|
+
expected: "(\"comment\" | \"event\" | \"event-data\" | \"heading\" | \"horizontalrule\" | \"list\" | \"paragraph\" | \"quote\")",
|
|
35257
|
+
value: elem
|
|
35258
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35259
|
+
path: _path + ".hide",
|
|
35260
|
+
expected: "Array<PrintOptionalScriptNodes>",
|
|
35261
|
+
value: input.hide
|
|
35262
|
+
}), 7 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35263
|
+
if (["type", "title", "horizontalMargin", "pageSize", "orientation", "fontSize", "fontFamily", "hide"].some(prop => key === prop))
|
|
35264
|
+
return true;
|
|
35265
|
+
const value = input[key];
|
|
35266
|
+
if (undefined === value)
|
|
35267
|
+
return true;
|
|
35268
|
+
return _report(_exceptionable, {
|
|
35269
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35270
|
+
expected: "undefined",
|
|
35271
|
+
value: value,
|
|
35272
|
+
description: [
|
|
35273
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
35274
|
+
"",
|
|
35275
|
+
"Please remove the property next time."
|
|
35276
|
+
].join("\n")
|
|
35277
|
+
});
|
|
35278
|
+
}).every(flag => flag))].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => ["rundown" === input.type || _report(_exceptionable, {
|
|
35279
|
+
path: _path + ".type",
|
|
35280
|
+
expected: "\"rundown\"",
|
|
35281
|
+
value: input.type
|
|
35282
|
+
}), (Array.isArray(input.columns) || _report(_exceptionable, {
|
|
35283
|
+
path: _path + ".columns",
|
|
35284
|
+
expected: "Array<PrintRundownColumn>",
|
|
35285
|
+
value: input.columns
|
|
35286
|
+
})) && input.columns.map((elem, _index93) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
35287
|
+
path: _path + ".columns[" + _index93 + "]",
|
|
35288
|
+
expected: "PrintRundownColumn",
|
|
35289
|
+
value: elem
|
|
35290
|
+
})) && _vo73(elem, _path + ".columns[" + _index93 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
35291
|
+
path: _path + ".columns[" + _index93 + "]",
|
|
35292
|
+
expected: "PrintRundownColumn",
|
|
35293
|
+
value: elem
|
|
35294
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35295
|
+
path: _path + ".columns",
|
|
35296
|
+
expected: "Array<PrintRundownColumn>",
|
|
35297
|
+
value: input.columns
|
|
35298
|
+
}), undefined === input.rangeStart || "number" === typeof input.rangeStart || _report(_exceptionable, {
|
|
35299
|
+
path: _path + ".rangeStart",
|
|
35300
|
+
expected: "(number | undefined)",
|
|
35301
|
+
value: input.rangeStart
|
|
35302
|
+
}), undefined === input.rangeEnd || "number" === typeof input.rangeEnd || _report(_exceptionable, {
|
|
35303
|
+
path: _path + ".rangeEnd",
|
|
35304
|
+
expected: "(number | undefined)",
|
|
35305
|
+
value: input.rangeEnd
|
|
35306
|
+
}), (Array.isArray(input.hide) || _report(_exceptionable, {
|
|
35307
|
+
path: _path + ".hide",
|
|
35308
|
+
expected: "Array<\"event\" | \"comment\" | \"heading\" | \"list\" | \"quote\" | \"paragraph\" | \"horizontalrule\">",
|
|
35309
|
+
value: input.hide
|
|
35310
|
+
})) && input.hide.map((elem, _index94) => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem || _report(_exceptionable, {
|
|
35311
|
+
path: _path + ".hide[" + _index94 + "]",
|
|
35312
|
+
expected: "(\"comment\" | \"event\" | \"heading\" | \"horizontalrule\" | \"list\" | \"paragraph\" | \"quote\")",
|
|
35313
|
+
value: elem
|
|
35314
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35315
|
+
path: _path + ".hide",
|
|
35316
|
+
expected: "Array<\"event\" | \"comment\" | \"heading\" | \"list\" | \"quote\" | \"paragraph\" | \"horizontalrule\">",
|
|
35317
|
+
value: input.hide
|
|
35318
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
35319
|
+
path: _path + ".title",
|
|
35320
|
+
expected: "string",
|
|
35321
|
+
value: input.title
|
|
35322
|
+
}), "number" === typeof input.horizontalMargin || _report(_exceptionable, {
|
|
35323
|
+
path: _path + ".horizontalMargin",
|
|
35324
|
+
expected: "number",
|
|
35325
|
+
value: input.horizontalMargin
|
|
35326
|
+
}), "A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize || _report(_exceptionable, {
|
|
35327
|
+
path: _path + ".pageSize",
|
|
35328
|
+
expected: "(\"A3\" | \"A4\" | \"A5\")",
|
|
35329
|
+
value: input.pageSize
|
|
35330
|
+
}), "landscape" === input.orientation || "portrait" === input.orientation || _report(_exceptionable, {
|
|
35331
|
+
path: _path + ".orientation",
|
|
35332
|
+
expected: "(\"landscape\" | \"portrait\")",
|
|
35333
|
+
value: input.orientation
|
|
35334
|
+
}), "number" === typeof input.fontSize || _report(_exceptionable, {
|
|
35335
|
+
path: _path + ".fontSize",
|
|
35336
|
+
expected: "number",
|
|
35337
|
+
value: input.fontSize
|
|
35338
|
+
}), undefined === input.fontFamily || "string" === typeof input.fontFamily || _report(_exceptionable, {
|
|
35339
|
+
path: _path + ".fontFamily",
|
|
35340
|
+
expected: "(string | undefined)",
|
|
35341
|
+
value: input.fontFamily
|
|
35342
|
+
}), 8 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35343
|
+
if (["type", "columns", "rangeStart", "rangeEnd", "hide", "title", "horizontalMargin", "pageSize", "orientation", "fontSize", "fontFamily"].some(prop => key === prop))
|
|
35344
|
+
return true;
|
|
35345
|
+
const value = input[key];
|
|
35346
|
+
if (undefined === value)
|
|
35347
|
+
return true;
|
|
35348
|
+
return _report(_exceptionable, {
|
|
35349
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35350
|
+
expected: "undefined",
|
|
35351
|
+
value: value,
|
|
35352
|
+
description: [
|
|
35353
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
35354
|
+
"",
|
|
35355
|
+
"Please remove the property next time."
|
|
35356
|
+
].join("\n")
|
|
35357
|
+
});
|
|
35358
|
+
}).every(flag => flag))].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, {
|
|
35359
|
+
path: _path + ".key",
|
|
35360
|
+
expected: "(\"accDuration\" | \"duration\" | \"id\" | \"position\" | \"time\" | \"title\" | \"type\")",
|
|
35361
|
+
value: input.key
|
|
35362
|
+
}), "string" === typeof input.label || _report(_exceptionable, {
|
|
35363
|
+
path: _path + ".label",
|
|
35364
|
+
expected: "string",
|
|
35365
|
+
value: input.label
|
|
35366
|
+
}), "string" === typeof input.width || _report(_exceptionable, {
|
|
35367
|
+
path: _path + ".width",
|
|
35368
|
+
expected: "string",
|
|
35369
|
+
value: input.width
|
|
35370
|
+
}), "right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign || _report(_exceptionable, {
|
|
35371
|
+
path: _path + ".textAlign",
|
|
35372
|
+
expected: "(\"center\" | \"left\" | \"right\")",
|
|
35373
|
+
value: input.textAlign
|
|
35374
|
+
}), 4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35375
|
+
if (["key", "label", "width", "textAlign"].some(prop => key === prop))
|
|
34630
35376
|
return true;
|
|
34631
35377
|
const value = input[key];
|
|
34632
35378
|
if (undefined === value)
|
|
@@ -34641,7 +35387,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34641
35387
|
"Please remove the property next time."
|
|
34642
35388
|
].join("\n")
|
|
34643
35389
|
});
|
|
34644
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35390
|
+
}).every(flag => flag))].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
34645
35391
|
path: _path + ".id",
|
|
34646
35392
|
expected: "(string | undefined)",
|
|
34647
35393
|
value: input.id
|
|
@@ -34665,24 +35411,32 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34665
35411
|
"Please remove the property next time."
|
|
34666
35412
|
].join("\n")
|
|
34667
35413
|
});
|
|
34668
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35414
|
+
}).every(flag => flag))].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, {
|
|
34669
35415
|
path: _path + ".adobe",
|
|
34670
35416
|
expected: "(__type.o62 | undefined)",
|
|
34671
35417
|
value: input.adobe
|
|
34672
|
-
})) &&
|
|
35418
|
+
})) && _vo76(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
34673
35419
|
path: _path + ".adobe",
|
|
34674
35420
|
expected: "(__type.o62 | undefined)",
|
|
34675
35421
|
value: input.adobe
|
|
35422
|
+
}), undefined === input.ograf || ("object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) || _report(_exceptionable, {
|
|
35423
|
+
path: _path + ".ograf",
|
|
35424
|
+
expected: "(__type.o64 | undefined)",
|
|
35425
|
+
value: input.ograf
|
|
35426
|
+
})) && _vo78(input.ograf, _path + ".ograf", true && _exceptionable) || _report(_exceptionable, {
|
|
35427
|
+
path: _path + ".ograf",
|
|
35428
|
+
expected: "(__type.o64 | undefined)",
|
|
35429
|
+
value: input.ograf
|
|
34676
35430
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
34677
35431
|
path: _path + ".rive",
|
|
34678
|
-
expected: "(__type.
|
|
35432
|
+
expected: "(__type.o65 | undefined)",
|
|
34679
35433
|
value: input.rive
|
|
34680
|
-
})) &&
|
|
35434
|
+
})) && _vo79(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
34681
35435
|
path: _path + ".rive",
|
|
34682
|
-
expected: "(__type.
|
|
35436
|
+
expected: "(__type.o65 | undefined)",
|
|
34683
35437
|
value: input.rive
|
|
34684
35438
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
34685
|
-
if (["adobe", "rive"].some(prop => key === prop))
|
|
35439
|
+
if (["adobe", "ograf", "rive"].some(prop => key === prop))
|
|
34686
35440
|
return true;
|
|
34687
35441
|
const value = input[key];
|
|
34688
35442
|
if (undefined === value)
|
|
@@ -34697,7 +35451,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34697
35451
|
"Please remove the property next time."
|
|
34698
35452
|
].join("\n")
|
|
34699
35453
|
});
|
|
34700
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35454
|
+
}).every(flag => flag))].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.videoBin || "string" === typeof input.videoBin || _report(_exceptionable, {
|
|
34701
35455
|
path: _path + ".videoBin",
|
|
34702
35456
|
expected: "(string | undefined)",
|
|
34703
35457
|
value: input.videoBin
|
|
@@ -34729,6 +35483,18 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34729
35483
|
path: _path + ".renderPresetPath",
|
|
34730
35484
|
expected: "(string | undefined)",
|
|
34731
35485
|
value: input.renderPresetPath
|
|
35486
|
+
}), undefined === input.renderPresets || (Array.isArray(input.renderPresets) || _report(_exceptionable, {
|
|
35487
|
+
path: _path + ".renderPresets",
|
|
35488
|
+
expected: "(Array<string> | undefined)",
|
|
35489
|
+
value: input.renderPresets
|
|
35490
|
+
})) && input.renderPresets.map((elem, _index95) => "string" === typeof elem || _report(_exceptionable, {
|
|
35491
|
+
path: _path + ".renderPresets[" + _index95 + "]",
|
|
35492
|
+
expected: "string",
|
|
35493
|
+
value: elem
|
|
35494
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35495
|
+
path: _path + ".renderPresets",
|
|
35496
|
+
expected: "(Array<string> | undefined)",
|
|
35497
|
+
value: input.renderPresets
|
|
34732
35498
|
}), undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset || _report(_exceptionable, {
|
|
34733
35499
|
path: _path + ".videoRenderPreset",
|
|
34734
35500
|
expected: "(string | undefined)",
|
|
@@ -34757,12 +35523,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34757
35523
|
path: _path + ".bodymovin",
|
|
34758
35524
|
expected: "(__type.o63 | undefined)",
|
|
34759
35525
|
value: input.bodymovin
|
|
34760
|
-
})) &&
|
|
35526
|
+
})) && _vo77(input.bodymovin, _path + ".bodymovin", true && _exceptionable) || _report(_exceptionable, {
|
|
34761
35527
|
path: _path + ".bodymovin",
|
|
34762
35528
|
expected: "(__type.o63 | undefined)",
|
|
34763
35529
|
value: input.bodymovin
|
|
34764
35530
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
34765
|
-
if (["videoBin", "imageBin", "audioBin", "timelineBin", "clipBin", "downloadPath", "renderPath", "renderPresetPath", "videoRenderPreset", "imageRenderPreset", "audioRenderPreset", "forceRender", "useProxies", "deleteIntermediateFiles", "bodymovin"].some(prop => key === prop))
|
|
35531
|
+
if (["videoBin", "imageBin", "audioBin", "timelineBin", "clipBin", "downloadPath", "renderPath", "renderPresetPath", "renderPresets", "videoRenderPreset", "imageRenderPreset", "audioRenderPreset", "forceRender", "useProxies", "deleteIntermediateFiles", "bodymovin"].some(prop => key === prop))
|
|
34766
35532
|
return true;
|
|
34767
35533
|
const value = input[key];
|
|
34768
35534
|
if (undefined === value)
|
|
@@ -34777,7 +35543,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34777
35543
|
"Please remove the property next time."
|
|
34778
35544
|
].join("\n")
|
|
34779
35545
|
});
|
|
34780
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35546
|
+
}).every(flag => flag))].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
34781
35547
|
path: _path + ".template",
|
|
34782
35548
|
expected: "(string | undefined)",
|
|
34783
35549
|
value: input.template
|
|
@@ -34797,7 +35563,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34797
35563
|
"Please remove the property next time."
|
|
34798
35564
|
].join("\n")
|
|
34799
35565
|
});
|
|
34800
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35566
|
+
}).every(flag => flag))].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
34801
35567
|
path: _path + ".template",
|
|
34802
35568
|
expected: "(string | undefined)",
|
|
34803
35569
|
value: input.template
|
|
@@ -34817,7 +35583,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34817
35583
|
"Please remove the property next time."
|
|
34818
35584
|
].join("\n")
|
|
34819
35585
|
});
|
|
34820
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35586
|
+
}).every(flag => flag))].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
35587
|
+
path: _path + ".template",
|
|
35588
|
+
expected: "(string | undefined)",
|
|
35589
|
+
value: input.template
|
|
35590
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35591
|
+
if (["template"].some(prop => key === prop))
|
|
35592
|
+
return true;
|
|
35593
|
+
const value = input[key];
|
|
35594
|
+
if (undefined === value)
|
|
35595
|
+
return true;
|
|
35596
|
+
return _report(_exceptionable, {
|
|
35597
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35598
|
+
expected: "undefined",
|
|
35599
|
+
value: value,
|
|
35600
|
+
description: [
|
|
35601
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
35602
|
+
"",
|
|
35603
|
+
"Please remove the property next time."
|
|
35604
|
+
].join("\n")
|
|
35605
|
+
});
|
|
35606
|
+
}).every(flag => flag))].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
34821
35607
|
path: _path + ".collections",
|
|
34822
35608
|
expected: "(boolean | undefined)",
|
|
34823
35609
|
value: input.collections
|
|
@@ -34849,7 +35635,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34849
35635
|
"Please remove the property next time."
|
|
34850
35636
|
].join("\n")
|
|
34851
35637
|
});
|
|
34852
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35638
|
+
}).every(flag => flag))].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
34853
35639
|
path: _path + ".utils",
|
|
34854
35640
|
expected: "(boolean | undefined)",
|
|
34855
35641
|
value: input.utils
|
|
@@ -34953,13 +35739,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34953
35739
|
"Please remove the property next time."
|
|
34954
35740
|
].join("\n")
|
|
34955
35741
|
});
|
|
34956
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35742
|
+
}).every(flag => flag))].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, {
|
|
34957
35743
|
path: _path + ".events",
|
|
34958
|
-
expected: "(__type.
|
|
35744
|
+
expected: "(__type.o69 | undefined)",
|
|
34959
35745
|
value: input.events
|
|
34960
|
-
})) &&
|
|
35746
|
+
})) && _vo83(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
34961
35747
|
path: _path + ".events",
|
|
34962
|
-
expected: "(__type.
|
|
35748
|
+
expected: "(__type.o69 | undefined)",
|
|
34963
35749
|
value: input.events
|
|
34964
35750
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
34965
35751
|
if (["events"].some(prop => key === prop))
|
|
@@ -34977,12 +35763,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34977
35763
|
"Please remove the property next time."
|
|
34978
35764
|
].join("\n")
|
|
34979
35765
|
});
|
|
34980
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35766
|
+
}).every(flag => flag))].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
34981
35767
|
path: _path + ".comment",
|
|
34982
35768
|
expected: "(Array<NotificationReason> | undefined)",
|
|
34983
35769
|
value: input.comment
|
|
34984
|
-
})) && input.comment.map((elem,
|
|
34985
|
-
path: _path + ".comment[" +
|
|
35770
|
+
})) && input.comment.map((elem, _index96) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
35771
|
+
path: _path + ".comment[" + _index96 + "]",
|
|
34986
35772
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
34987
35773
|
value: elem
|
|
34988
35774
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34993,8 +35779,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34993
35779
|
path: _path + ".assigned",
|
|
34994
35780
|
expected: "(Array<NotificationReason> | undefined)",
|
|
34995
35781
|
value: input.assigned
|
|
34996
|
-
})) && input.assigned.map((elem,
|
|
34997
|
-
path: _path + ".assigned[" +
|
|
35782
|
+
})) && input.assigned.map((elem, _index97) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
35783
|
+
path: _path + ".assigned[" + _index97 + "]",
|
|
34998
35784
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
34999
35785
|
value: elem
|
|
35000
35786
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -35005,8 +35791,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35005
35791
|
path: _path + ".unassigned",
|
|
35006
35792
|
expected: "(Array<NotificationReason> | undefined)",
|
|
35007
35793
|
value: input.unassigned
|
|
35008
|
-
})) && input.unassigned.map((elem,
|
|
35009
|
-
path: _path + ".unassigned[" +
|
|
35794
|
+
})) && input.unassigned.map((elem, _index98) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
35795
|
+
path: _path + ".unassigned[" + _index98 + "]",
|
|
35010
35796
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
35011
35797
|
value: elem
|
|
35012
35798
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -35015,11 +35801,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35015
35801
|
value: input.unassigned
|
|
35016
35802
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
35017
35803
|
path: _path + ".publishSucceeded",
|
|
35018
|
-
expected: "(__type.
|
|
35804
|
+
expected: "(__type.o70 | undefined)",
|
|
35019
35805
|
value: input.publishSucceeded
|
|
35020
|
-
})) &&
|
|
35806
|
+
})) && _vo84(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
35021
35807
|
path: _path + ".publishSucceeded",
|
|
35022
|
-
expected: "(__type.
|
|
35808
|
+
expected: "(__type.o70 | undefined)",
|
|
35023
35809
|
value: input.publishSucceeded
|
|
35024
35810
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35025
35811
|
if (["comment", "assigned", "unassigned", "publishSucceeded"].some(prop => key === prop))
|
|
@@ -35037,7 +35823,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35037
35823
|
"Please remove the property next time."
|
|
35038
35824
|
].join("\n")
|
|
35039
35825
|
});
|
|
35040
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35826
|
+
}).every(flag => flag))].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
35041
35827
|
const value = input[key];
|
|
35042
35828
|
if (undefined === value)
|
|
35043
35829
|
return true;
|
|
@@ -35045,8 +35831,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35045
35831
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35046
35832
|
expected: "Array<NotificationReason>",
|
|
35047
35833
|
value: value
|
|
35048
|
-
})) && value.map((elem,
|
|
35049
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
35834
|
+
})) && value.map((elem, _index99) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
35835
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index99 + "]",
|
|
35050
35836
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
35051
35837
|
value: elem
|
|
35052
35838
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -35054,21 +35840,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35054
35840
|
expected: "Array<NotificationReason>",
|
|
35055
35841
|
value: value
|
|
35056
35842
|
});
|
|
35057
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
35843
|
+
}).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, {
|
|
35058
35844
|
path: _path + ".create",
|
|
35059
|
-
expected: "(__type.
|
|
35845
|
+
expected: "(__type.o72 | undefined)",
|
|
35060
35846
|
value: input.create
|
|
35061
|
-
})) &&
|
|
35847
|
+
})) && _vo86(input.create, _path + ".create", true && _exceptionable) || _report(_exceptionable, {
|
|
35062
35848
|
path: _path + ".create",
|
|
35063
|
-
expected: "(__type.
|
|
35849
|
+
expected: "(__type.o72 | undefined)",
|
|
35064
35850
|
value: input.create
|
|
35065
35851
|
}), undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
35066
35852
|
path: _path + ".duplicate",
|
|
35067
|
-
expected: "(__type.
|
|
35853
|
+
expected: "(__type.o73 | undefined)",
|
|
35068
35854
|
value: input.duplicate
|
|
35069
|
-
})) &&
|
|
35855
|
+
})) && _vo87(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
35070
35856
|
path: _path + ".duplicate",
|
|
35071
|
-
expected: "(__type.
|
|
35857
|
+
expected: "(__type.o73 | undefined)",
|
|
35072
35858
|
value: input.duplicate
|
|
35073
35859
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35074
35860
|
if (["create", "duplicate"].some(prop => key === prop))
|
|
@@ -35086,7 +35872,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35086
35872
|
"Please remove the property next time."
|
|
35087
35873
|
].join("\n")
|
|
35088
35874
|
});
|
|
35089
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35875
|
+
}).every(flag => flag))].every(flag => flag); const _vo86 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
35090
35876
|
path: _path + ".titlePrefix",
|
|
35091
35877
|
expected: "(string | undefined)",
|
|
35092
35878
|
value: input.titlePrefix
|
|
@@ -35110,7 +35896,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35110
35896
|
"Please remove the property next time."
|
|
35111
35897
|
].join("\n")
|
|
35112
35898
|
});
|
|
35113
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35899
|
+
}).every(flag => flag))].every(flag => flag); const _vo87 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
35114
35900
|
path: _path + ".titlePrefix",
|
|
35115
35901
|
expected: "(string | undefined)",
|
|
35116
35902
|
value: input.titlePrefix
|
|
@@ -35134,12 +35920,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35134
35920
|
"Please remove the property next time."
|
|
35135
35921
|
].join("\n")
|
|
35136
35922
|
});
|
|
35137
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35923
|
+
}).every(flag => flag))].every(flag => flag); const _vo88 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
35138
35924
|
path: _path + ".stateFilter",
|
|
35139
35925
|
expected: "(Array<number> | undefined)",
|
|
35140
35926
|
value: input.stateFilter
|
|
35141
|
-
})) && input.stateFilter.map((elem,
|
|
35142
|
-
path: _path + ".stateFilter[" +
|
|
35927
|
+
})) && input.stateFilter.map((elem, _index100) => "number" === typeof elem || _report(_exceptionable, {
|
|
35928
|
+
path: _path + ".stateFilter[" + _index100 + "]",
|
|
35143
35929
|
expected: "number",
|
|
35144
35930
|
value: elem
|
|
35145
35931
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -35182,7 +35968,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35182
35968
|
"Please remove the property next time."
|
|
35183
35969
|
].join("\n")
|
|
35184
35970
|
});
|
|
35185
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35971
|
+
}).every(flag => flag))].every(flag => flag); const _vo89 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
35186
35972
|
path: _path + ".disableHotArea",
|
|
35187
35973
|
expected: "(boolean | undefined)",
|
|
35188
35974
|
value: input.disableHotArea
|
|
@@ -35202,7 +35988,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35202
35988
|
"Please remove the property next time."
|
|
35203
35989
|
].join("\n")
|
|
35204
35990
|
});
|
|
35205
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35991
|
+
}).every(flag => flag))].every(flag => flag); const _vo90 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
35206
35992
|
path: _path + ".refreshInterval",
|
|
35207
35993
|
expected: "(number | undefined)",
|
|
35208
35994
|
value: input.refreshInterval
|
|
@@ -35222,7 +36008,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35222
36008
|
"Please remove the property next time."
|
|
35223
36009
|
].join("\n")
|
|
35224
36010
|
});
|
|
35225
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
36011
|
+
}).every(flag => flag))].every(flag => flag); const _vo91 = (input, _path, _exceptionable = true) => [undefined === input.layout || "string" === typeof input.layout || _report(_exceptionable, {
|
|
35226
36012
|
path: _path + ".layout",
|
|
35227
36013
|
expected: "(string | undefined)",
|
|
35228
36014
|
value: input.layout
|
|
@@ -35242,20 +36028,32 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35242
36028
|
"Please remove the property next time."
|
|
35243
36029
|
].join("\n")
|
|
35244
36030
|
});
|
|
35245
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35246
|
-
path: _path + ".
|
|
36031
|
+
}).every(flag => flag))].every(flag => flag); const _vo92 = (input, _path, _exceptionable = true) => [undefined === input.ignoredWarnings || (Array.isArray(input.ignoredWarnings) || _report(_exceptionable, {
|
|
36032
|
+
path: _path + ".ignoredWarnings",
|
|
36033
|
+
expected: "(Array<string> | undefined)",
|
|
36034
|
+
value: input.ignoredWarnings
|
|
36035
|
+
})) && input.ignoredWarnings.map((elem, _index101) => "string" === typeof elem || _report(_exceptionable, {
|
|
36036
|
+
path: _path + ".ignoredWarnings[" + _index101 + "]",
|
|
36037
|
+
expected: "string",
|
|
36038
|
+
value: elem
|
|
36039
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
36040
|
+
path: _path + ".ignoredWarnings",
|
|
35247
36041
|
expected: "(Array<string> | undefined)",
|
|
35248
|
-
value: input.
|
|
35249
|
-
})
|
|
35250
|
-
path: _path + ".
|
|
36042
|
+
value: input.ignoredWarnings
|
|
36043
|
+
}), undefined === input.ignoredErrors || (Array.isArray(input.ignoredErrors) || _report(_exceptionable, {
|
|
36044
|
+
path: _path + ".ignoredErrors",
|
|
36045
|
+
expected: "(Array<string> | undefined)",
|
|
36046
|
+
value: input.ignoredErrors
|
|
36047
|
+
})) && input.ignoredErrors.map((elem, _index102) => "string" === typeof elem || _report(_exceptionable, {
|
|
36048
|
+
path: _path + ".ignoredErrors[" + _index102 + "]",
|
|
35251
36049
|
expected: "string",
|
|
35252
36050
|
value: elem
|
|
35253
36051
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
35254
|
-
path: _path + ".
|
|
36052
|
+
path: _path + ".ignoredErrors",
|
|
35255
36053
|
expected: "(Array<string> | undefined)",
|
|
35256
|
-
value: input.
|
|
36054
|
+
value: input.ignoredErrors
|
|
35257
36055
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35258
|
-
if (["
|
|
36056
|
+
if (["ignoredWarnings", "ignoredErrors"].some(prop => key === prop))
|
|
35259
36057
|
return true;
|
|
35260
36058
|
const value = input[key];
|
|
35261
36059
|
if (undefined === value)
|
|
@@ -35270,7 +36068,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35270
36068
|
"Please remove the property next time."
|
|
35271
36069
|
].join("\n")
|
|
35272
36070
|
});
|
|
35273
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
36071
|
+
}).every(flag => flag))].every(flag => flag); const _vo93 = (input, _path, _exceptionable = true) => [undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate || _report(_exceptionable, {
|
|
35274
36072
|
path: _path + ".enableUpdate",
|
|
35275
36073
|
expected: "(boolean | undefined)",
|
|
35276
36074
|
value: input.enableUpdate
|
|
@@ -35294,7 +36092,18 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35294
36092
|
"Please remove the property next time."
|
|
35295
36093
|
].join("\n")
|
|
35296
36094
|
});
|
|
35297
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
36095
|
+
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
36096
|
+
if ("script" === input.type)
|
|
36097
|
+
return _vo71(input, _path, true && _exceptionable);
|
|
36098
|
+
else if ("rundown" === input.type)
|
|
36099
|
+
return _vo72(input, _path, true && _exceptionable);
|
|
36100
|
+
else
|
|
36101
|
+
return _report(_exceptionable, {
|
|
36102
|
+
path: _path,
|
|
36103
|
+
expected: "(PrintScriptOptions | PrintRundownOptions)",
|
|
36104
|
+
value: input
|
|
36105
|
+
});
|
|
36106
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
35298
36107
|
if (false === __is(input)) {
|
|
35299
36108
|
errors = [];
|
|
35300
36109
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -35709,6 +36518,627 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35709
36518
|
};
|
|
35710
36519
|
}; })()(input);
|
|
35711
36520
|
}
|
|
36521
|
+
case ":storage": {
|
|
36522
|
+
return (() => { const _io0 = (input, _exceptionable = true) => "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, _index1) => "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) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
36523
|
+
if (["zone", "hostname", "port", "location", "cache", "allows", "capacity", "rxBytesSecMax", "txBytesSecMax", "rxBytesSecLimit", "txBytesSecLimit"].some(prop => key === prop))
|
|
36524
|
+
return true;
|
|
36525
|
+
const value = input[key];
|
|
36526
|
+
if (undefined === value)
|
|
36527
|
+
return true;
|
|
36528
|
+
return false;
|
|
36529
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.zone || _report(_exceptionable, {
|
|
36530
|
+
path: _path + ".zone",
|
|
36531
|
+
expected: "string",
|
|
36532
|
+
value: input.zone
|
|
36533
|
+
}), null === input.hostname || "string" === typeof input.hostname || _report(_exceptionable, {
|
|
36534
|
+
path: _path + ".hostname",
|
|
36535
|
+
expected: "(null | string)",
|
|
36536
|
+
value: input.hostname
|
|
36537
|
+
}), null === input.port || undefined === input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
36538
|
+
path: _path + ".port",
|
|
36539
|
+
expected: "(null | number | undefined)",
|
|
36540
|
+
value: input.port
|
|
36541
|
+
}), undefined === input.location || "string" === typeof input.location || _report(_exceptionable, {
|
|
36542
|
+
path: _path + ".location",
|
|
36543
|
+
expected: "(string | undefined)",
|
|
36544
|
+
value: input.location
|
|
36545
|
+
}), null === input.cache || undefined === input.cache || "boolean" === typeof input.cache || _report(_exceptionable, {
|
|
36546
|
+
path: _path + ".cache",
|
|
36547
|
+
expected: "(boolean | null | undefined)",
|
|
36548
|
+
value: input.cache
|
|
36549
|
+
}), undefined === input.allows || (Array.isArray(input.allows) || _report(_exceptionable, {
|
|
36550
|
+
path: _path + ".allows",
|
|
36551
|
+
expected: "(Array<string> | undefined)",
|
|
36552
|
+
value: input.allows
|
|
36553
|
+
})) && input.allows.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
36554
|
+
path: _path + ".allows[" + _index2 + "]",
|
|
36555
|
+
expected: "string",
|
|
36556
|
+
value: elem
|
|
36557
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
36558
|
+
path: _path + ".allows",
|
|
36559
|
+
expected: "(Array<string> | undefined)",
|
|
36560
|
+
value: input.allows
|
|
36561
|
+
}), null === input.capacity || undefined === input.capacity || "number" === typeof input.capacity || _report(_exceptionable, {
|
|
36562
|
+
path: _path + ".capacity",
|
|
36563
|
+
expected: "(null | number | undefined)",
|
|
36564
|
+
value: input.capacity
|
|
36565
|
+
}), null === input.rxBytesSecMax || undefined === input.rxBytesSecMax || "number" === typeof input.rxBytesSecMax || _report(_exceptionable, {
|
|
36566
|
+
path: _path + ".rxBytesSecMax",
|
|
36567
|
+
expected: "(null | number | undefined)",
|
|
36568
|
+
value: input.rxBytesSecMax
|
|
36569
|
+
}), null === input.txBytesSecMax || undefined === input.txBytesSecMax || "number" === typeof input.txBytesSecMax || _report(_exceptionable, {
|
|
36570
|
+
path: _path + ".txBytesSecMax",
|
|
36571
|
+
expected: "(null | number | undefined)",
|
|
36572
|
+
value: input.txBytesSecMax
|
|
36573
|
+
}), null === input.rxBytesSecLimit || undefined === input.rxBytesSecLimit || "number" === typeof input.rxBytesSecLimit || _report(_exceptionable, {
|
|
36574
|
+
path: _path + ".rxBytesSecLimit",
|
|
36575
|
+
expected: "(null | number | undefined)",
|
|
36576
|
+
value: input.rxBytesSecLimit
|
|
36577
|
+
}), null === input.txBytesSecLimit || undefined === input.txBytesSecLimit || "number" === typeof input.txBytesSecLimit || _report(_exceptionable, {
|
|
36578
|
+
path: _path + ".txBytesSecLimit",
|
|
36579
|
+
expected: "(null | number | undefined)",
|
|
36580
|
+
value: input.txBytesSecLimit
|
|
36581
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36582
|
+
if (["zone", "hostname", "port", "location", "cache", "allows", "capacity", "rxBytesSecMax", "txBytesSecMax", "rxBytesSecLimit", "txBytesSecLimit"].some(prop => key === prop))
|
|
36583
|
+
return true;
|
|
36584
|
+
const value = input[key];
|
|
36585
|
+
if (undefined === value)
|
|
36586
|
+
return true;
|
|
36587
|
+
return _report(_exceptionable, {
|
|
36588
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36589
|
+
expected: "undefined",
|
|
36590
|
+
value: value,
|
|
36591
|
+
description: [
|
|
36592
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36593
|
+
"",
|
|
36594
|
+
"Please remove the property next time."
|
|
36595
|
+
].join("\n")
|
|
36596
|
+
});
|
|
36597
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return input => {
|
|
36598
|
+
if (false === __is(input)) {
|
|
36599
|
+
errors = [];
|
|
36600
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
36601
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
36602
|
+
path: _path + "",
|
|
36603
|
+
expected: "StorageDomainRecord",
|
|
36604
|
+
value: input
|
|
36605
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
36606
|
+
path: _path + "",
|
|
36607
|
+
expected: "StorageDomainRecord",
|
|
36608
|
+
value: input
|
|
36609
|
+
}))(input, "$input", true);
|
|
36610
|
+
const success = 0 === errors.length;
|
|
36611
|
+
return success ? {
|
|
36612
|
+
success,
|
|
36613
|
+
data: input
|
|
36614
|
+
} : {
|
|
36615
|
+
success,
|
|
36616
|
+
errors,
|
|
36617
|
+
data: input
|
|
36618
|
+
};
|
|
36619
|
+
}
|
|
36620
|
+
return {
|
|
36621
|
+
success: true,
|
|
36622
|
+
data: input
|
|
36623
|
+
};
|
|
36624
|
+
}; })()(input);
|
|
36625
|
+
}
|
|
36626
|
+
case ":storage.stats": {
|
|
36627
|
+
return (() => { const _io0 = (input, _exceptionable = true) => "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, true && _exceptionable)) && ("object" === typeof input.http && null !== input.http && _io2(input.http, true && _exceptionable)) && ("object" === typeof input.io && null !== input.io && _io3(input.io, true && _exceptionable)) && (undefined === input.fs || "object" === typeof input.fs && null !== input.fs && false === Array.isArray(input.fs) && _io7(input.fs, true && _exceptionable)) && (undefined === input.s3 || "object" === typeof input.s3 && null !== input.s3 && false === Array.isArray(input.s3) && _io8(input.s3, true && _exceptionable)) && (14 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
36628
|
+
if (["id", "location", "timestamp", "type", "zone", "origin", "free", "size", "available", "cache", "capacity", "limiter", "http", "io", "fs", "s3"].some(prop => key === prop))
|
|
36629
|
+
return true;
|
|
36630
|
+
const value = input[key];
|
|
36631
|
+
if (undefined === value)
|
|
36632
|
+
return true;
|
|
36633
|
+
return false;
|
|
36634
|
+
})); const _io1 = (input, _exceptionable = true) => (undefined === input.readBytesPerSecond || "number" === typeof input.readBytesPerSecond) && (undefined === input.writeBytesPerSecond || "number" === typeof input.writeBytesPerSecond) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
36635
|
+
if (["readBytesPerSecond", "writeBytesPerSecond"].some(prop => key === prop))
|
|
36636
|
+
return true;
|
|
36637
|
+
const value = input[key];
|
|
36638
|
+
if (undefined === value)
|
|
36639
|
+
return true;
|
|
36640
|
+
return false;
|
|
36641
|
+
})); const _io2 = (input, _exceptionable = true) => "number" === typeof input.downstreamConnected && "number" === typeof input.upstreamConnected && "number" === typeof input.pending && "number" === typeof input.completed && "number" === typeof input.failed && (5 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
36642
|
+
if (["downstreamConnected", "upstreamConnected", "pending", "completed", "failed"].some(prop => key === prop))
|
|
36643
|
+
return true;
|
|
36644
|
+
const value = input[key];
|
|
36645
|
+
if (undefined === value)
|
|
36646
|
+
return true;
|
|
36647
|
+
return false;
|
|
36648
|
+
})); const _io3 = (input, _exceptionable = true) => "object" === typeof input.read && null !== input.read && _io4(input.read, true && _exceptionable) && ("object" === typeof input.write && null !== input.write && _io6(input.write, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
36649
|
+
if (["read", "write"].some(prop => key === prop))
|
|
36650
|
+
return true;
|
|
36651
|
+
const value = input[key];
|
|
36652
|
+
if (undefined === value)
|
|
36653
|
+
return true;
|
|
36654
|
+
return false;
|
|
36655
|
+
})); const _io4 = (input, _exceptionable = true) => "number" === typeof input.bytesPerSecond && "number" === typeof input.pending && ("object" === typeof input.queues && null !== input.queues && _io5(input.queues, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
36656
|
+
if (["bytesPerSecond", "pending", "queues"].some(prop => key === prop))
|
|
36657
|
+
return true;
|
|
36658
|
+
const value = input[key];
|
|
36659
|
+
if (undefined === value)
|
|
36660
|
+
return true;
|
|
36661
|
+
return false;
|
|
36662
|
+
})); const _io5 = (input, _exceptionable = true) => "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 && (7 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
36663
|
+
if (["highest", "higher", "high", "normal", "low", "lower", "lowest"].some(prop => key === prop))
|
|
36664
|
+
return true;
|
|
36665
|
+
const value = input[key];
|
|
36666
|
+
if (undefined === value)
|
|
36667
|
+
return true;
|
|
36668
|
+
return false;
|
|
36669
|
+
})); const _io6 = (input, _exceptionable = true) => "number" === typeof input.bytesPerSecond && "number" === typeof input.pending && ("object" === typeof input.queues && null !== input.queues && _io5(input.queues, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
36670
|
+
if (["bytesPerSecond", "pending", "queues"].some(prop => key === prop))
|
|
36671
|
+
return true;
|
|
36672
|
+
const value = input[key];
|
|
36673
|
+
if (undefined === value)
|
|
36674
|
+
return true;
|
|
36675
|
+
return false;
|
|
36676
|
+
})); const _io7 = (input, _exceptionable = true) => (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 => {
|
|
36677
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
36678
|
+
return true;
|
|
36679
|
+
const value = input[key];
|
|
36680
|
+
if (undefined === value)
|
|
36681
|
+
return true;
|
|
36682
|
+
return true;
|
|
36683
|
+
}); const _io8 = (input, _exceptionable = true) => (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 => {
|
|
36684
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
36685
|
+
return true;
|
|
36686
|
+
const value = input[key];
|
|
36687
|
+
if (undefined === value)
|
|
36688
|
+
return true;
|
|
36689
|
+
return true;
|
|
36690
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
36691
|
+
path: _path + ".id",
|
|
36692
|
+
expected: "string",
|
|
36693
|
+
value: input.id
|
|
36694
|
+
}), "string" === typeof input.location || _report(_exceptionable, {
|
|
36695
|
+
path: _path + ".location",
|
|
36696
|
+
expected: "string",
|
|
36697
|
+
value: input.location
|
|
36698
|
+
}), "string" === typeof input.timestamp || _report(_exceptionable, {
|
|
36699
|
+
path: _path + ".timestamp",
|
|
36700
|
+
expected: "string",
|
|
36701
|
+
value: input.timestamp
|
|
36702
|
+
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
36703
|
+
path: _path + ".type",
|
|
36704
|
+
expected: "string",
|
|
36705
|
+
value: input.type
|
|
36706
|
+
}), "string" === typeof input.zone || _report(_exceptionable, {
|
|
36707
|
+
path: _path + ".zone",
|
|
36708
|
+
expected: "string",
|
|
36709
|
+
value: input.zone
|
|
36710
|
+
}), "string" === typeof input.origin || _report(_exceptionable, {
|
|
36711
|
+
path: _path + ".origin",
|
|
36712
|
+
expected: "string",
|
|
36713
|
+
value: input.origin
|
|
36714
|
+
}), null === input.free || "number" === typeof input.free || _report(_exceptionable, {
|
|
36715
|
+
path: _path + ".free",
|
|
36716
|
+
expected: "(null | number)",
|
|
36717
|
+
value: input.free
|
|
36718
|
+
}), null === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
36719
|
+
path: _path + ".size",
|
|
36720
|
+
expected: "(null | number)",
|
|
36721
|
+
value: input.size
|
|
36722
|
+
}), null === input.available || "number" === typeof input.available || _report(_exceptionable, {
|
|
36723
|
+
path: _path + ".available",
|
|
36724
|
+
expected: "(null | number)",
|
|
36725
|
+
value: input.available
|
|
36726
|
+
}), null === input.cache || "boolean" === typeof input.cache || _report(_exceptionable, {
|
|
36727
|
+
path: _path + ".cache",
|
|
36728
|
+
expected: "(boolean | null)",
|
|
36729
|
+
value: input.cache
|
|
36730
|
+
}), null === input.capacity || "number" === typeof input.capacity || _report(_exceptionable, {
|
|
36731
|
+
path: _path + ".capacity",
|
|
36732
|
+
expected: "(null | number)",
|
|
36733
|
+
value: input.capacity
|
|
36734
|
+
}), ("object" === typeof input.limiter && null !== input.limiter && false === Array.isArray(input.limiter) || _report(_exceptionable, {
|
|
36735
|
+
path: _path + ".limiter",
|
|
36736
|
+
expected: "__type",
|
|
36737
|
+
value: input.limiter
|
|
36738
|
+
})) && _vo1(input.limiter, _path + ".limiter", true && _exceptionable) || _report(_exceptionable, {
|
|
36739
|
+
path: _path + ".limiter",
|
|
36740
|
+
expected: "__type",
|
|
36741
|
+
value: input.limiter
|
|
36742
|
+
}), ("object" === typeof input.http && null !== input.http || _report(_exceptionable, {
|
|
36743
|
+
path: _path + ".http",
|
|
36744
|
+
expected: "__type.o1",
|
|
36745
|
+
value: input.http
|
|
36746
|
+
})) && _vo2(input.http, _path + ".http", true && _exceptionable) || _report(_exceptionable, {
|
|
36747
|
+
path: _path + ".http",
|
|
36748
|
+
expected: "__type.o1",
|
|
36749
|
+
value: input.http
|
|
36750
|
+
}), ("object" === typeof input.io && null !== input.io || _report(_exceptionable, {
|
|
36751
|
+
path: _path + ".io",
|
|
36752
|
+
expected: "__type.o2",
|
|
36753
|
+
value: input.io
|
|
36754
|
+
})) && _vo3(input.io, _path + ".io", true && _exceptionable) || _report(_exceptionable, {
|
|
36755
|
+
path: _path + ".io",
|
|
36756
|
+
expected: "__type.o2",
|
|
36757
|
+
value: input.io
|
|
36758
|
+
}), undefined === input.fs || ("object" === typeof input.fs && null !== input.fs && false === Array.isArray(input.fs) || _report(_exceptionable, {
|
|
36759
|
+
path: _path + ".fs",
|
|
36760
|
+
expected: "(StorageFsStats | undefined)",
|
|
36761
|
+
value: input.fs
|
|
36762
|
+
})) && _vo7(input.fs, _path + ".fs", true && _exceptionable) || _report(_exceptionable, {
|
|
36763
|
+
path: _path + ".fs",
|
|
36764
|
+
expected: "(StorageFsStats | undefined)",
|
|
36765
|
+
value: input.fs
|
|
36766
|
+
}), undefined === input.s3 || ("object" === typeof input.s3 && null !== input.s3 && false === Array.isArray(input.s3) || _report(_exceptionable, {
|
|
36767
|
+
path: _path + ".s3",
|
|
36768
|
+
expected: "(StorageS3Stats | undefined)",
|
|
36769
|
+
value: input.s3
|
|
36770
|
+
})) && _vo8(input.s3, _path + ".s3", true && _exceptionable) || _report(_exceptionable, {
|
|
36771
|
+
path: _path + ".s3",
|
|
36772
|
+
expected: "(StorageS3Stats | undefined)",
|
|
36773
|
+
value: input.s3
|
|
36774
|
+
}), 14 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36775
|
+
if (["id", "location", "timestamp", "type", "zone", "origin", "free", "size", "available", "cache", "capacity", "limiter", "http", "io", "fs", "s3"].some(prop => key === prop))
|
|
36776
|
+
return true;
|
|
36777
|
+
const value = input[key];
|
|
36778
|
+
if (undefined === value)
|
|
36779
|
+
return true;
|
|
36780
|
+
return _report(_exceptionable, {
|
|
36781
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36782
|
+
expected: "undefined",
|
|
36783
|
+
value: value,
|
|
36784
|
+
description: [
|
|
36785
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36786
|
+
"",
|
|
36787
|
+
"Please remove the property next time."
|
|
36788
|
+
].join("\n")
|
|
36789
|
+
});
|
|
36790
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.readBytesPerSecond || "number" === typeof input.readBytesPerSecond || _report(_exceptionable, {
|
|
36791
|
+
path: _path + ".readBytesPerSecond",
|
|
36792
|
+
expected: "(number | undefined)",
|
|
36793
|
+
value: input.readBytesPerSecond
|
|
36794
|
+
}), undefined === input.writeBytesPerSecond || "number" === typeof input.writeBytesPerSecond || _report(_exceptionable, {
|
|
36795
|
+
path: _path + ".writeBytesPerSecond",
|
|
36796
|
+
expected: "(number | undefined)",
|
|
36797
|
+
value: input.writeBytesPerSecond
|
|
36798
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36799
|
+
if (["readBytesPerSecond", "writeBytesPerSecond"].some(prop => key === prop))
|
|
36800
|
+
return true;
|
|
36801
|
+
const value = input[key];
|
|
36802
|
+
if (undefined === value)
|
|
36803
|
+
return true;
|
|
36804
|
+
return _report(_exceptionable, {
|
|
36805
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36806
|
+
expected: "undefined",
|
|
36807
|
+
value: value,
|
|
36808
|
+
description: [
|
|
36809
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36810
|
+
"",
|
|
36811
|
+
"Please remove the property next time."
|
|
36812
|
+
].join("\n")
|
|
36813
|
+
});
|
|
36814
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["number" === typeof input.downstreamConnected || _report(_exceptionable, {
|
|
36815
|
+
path: _path + ".downstreamConnected",
|
|
36816
|
+
expected: "number",
|
|
36817
|
+
value: input.downstreamConnected
|
|
36818
|
+
}), "number" === typeof input.upstreamConnected || _report(_exceptionable, {
|
|
36819
|
+
path: _path + ".upstreamConnected",
|
|
36820
|
+
expected: "number",
|
|
36821
|
+
value: input.upstreamConnected
|
|
36822
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
36823
|
+
path: _path + ".pending",
|
|
36824
|
+
expected: "number",
|
|
36825
|
+
value: input.pending
|
|
36826
|
+
}), "number" === typeof input.completed || _report(_exceptionable, {
|
|
36827
|
+
path: _path + ".completed",
|
|
36828
|
+
expected: "number",
|
|
36829
|
+
value: input.completed
|
|
36830
|
+
}), "number" === typeof input.failed || _report(_exceptionable, {
|
|
36831
|
+
path: _path + ".failed",
|
|
36832
|
+
expected: "number",
|
|
36833
|
+
value: input.failed
|
|
36834
|
+
}), 5 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36835
|
+
if (["downstreamConnected", "upstreamConnected", "pending", "completed", "failed"].some(prop => key === prop))
|
|
36836
|
+
return true;
|
|
36837
|
+
const value = input[key];
|
|
36838
|
+
if (undefined === value)
|
|
36839
|
+
return true;
|
|
36840
|
+
return _report(_exceptionable, {
|
|
36841
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36842
|
+
expected: "undefined",
|
|
36843
|
+
value: value,
|
|
36844
|
+
description: [
|
|
36845
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36846
|
+
"",
|
|
36847
|
+
"Please remove the property next time."
|
|
36848
|
+
].join("\n")
|
|
36849
|
+
});
|
|
36850
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.read && null !== input.read || _report(_exceptionable, {
|
|
36851
|
+
path: _path + ".read",
|
|
36852
|
+
expected: "__type.o3",
|
|
36853
|
+
value: input.read
|
|
36854
|
+
})) && _vo4(input.read, _path + ".read", true && _exceptionable) || _report(_exceptionable, {
|
|
36855
|
+
path: _path + ".read",
|
|
36856
|
+
expected: "__type.o3",
|
|
36857
|
+
value: input.read
|
|
36858
|
+
}), ("object" === typeof input.write && null !== input.write || _report(_exceptionable, {
|
|
36859
|
+
path: _path + ".write",
|
|
36860
|
+
expected: "__type.o4",
|
|
36861
|
+
value: input.write
|
|
36862
|
+
})) && _vo6(input.write, _path + ".write", true && _exceptionable) || _report(_exceptionable, {
|
|
36863
|
+
path: _path + ".write",
|
|
36864
|
+
expected: "__type.o4",
|
|
36865
|
+
value: input.write
|
|
36866
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36867
|
+
if (["read", "write"].some(prop => key === prop))
|
|
36868
|
+
return true;
|
|
36869
|
+
const value = input[key];
|
|
36870
|
+
if (undefined === value)
|
|
36871
|
+
return true;
|
|
36872
|
+
return _report(_exceptionable, {
|
|
36873
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36874
|
+
expected: "undefined",
|
|
36875
|
+
value: value,
|
|
36876
|
+
description: [
|
|
36877
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36878
|
+
"",
|
|
36879
|
+
"Please remove the property next time."
|
|
36880
|
+
].join("\n")
|
|
36881
|
+
});
|
|
36882
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["number" === typeof input.bytesPerSecond || _report(_exceptionable, {
|
|
36883
|
+
path: _path + ".bytesPerSecond",
|
|
36884
|
+
expected: "number",
|
|
36885
|
+
value: input.bytesPerSecond
|
|
36886
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
36887
|
+
path: _path + ".pending",
|
|
36888
|
+
expected: "number",
|
|
36889
|
+
value: input.pending
|
|
36890
|
+
}), ("object" === typeof input.queues && null !== input.queues || _report(_exceptionable, {
|
|
36891
|
+
path: _path + ".queues",
|
|
36892
|
+
expected: "StorageIoQueues",
|
|
36893
|
+
value: input.queues
|
|
36894
|
+
})) && _vo5(input.queues, _path + ".queues", true && _exceptionable) || _report(_exceptionable, {
|
|
36895
|
+
path: _path + ".queues",
|
|
36896
|
+
expected: "StorageIoQueues",
|
|
36897
|
+
value: input.queues
|
|
36898
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36899
|
+
if (["bytesPerSecond", "pending", "queues"].some(prop => key === prop))
|
|
36900
|
+
return true;
|
|
36901
|
+
const value = input[key];
|
|
36902
|
+
if (undefined === value)
|
|
36903
|
+
return true;
|
|
36904
|
+
return _report(_exceptionable, {
|
|
36905
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36906
|
+
expected: "undefined",
|
|
36907
|
+
value: value,
|
|
36908
|
+
description: [
|
|
36909
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36910
|
+
"",
|
|
36911
|
+
"Please remove the property next time."
|
|
36912
|
+
].join("\n")
|
|
36913
|
+
});
|
|
36914
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.highest || _report(_exceptionable, {
|
|
36915
|
+
path: _path + ".highest",
|
|
36916
|
+
expected: "number",
|
|
36917
|
+
value: input.highest
|
|
36918
|
+
}), "number" === typeof input.higher || _report(_exceptionable, {
|
|
36919
|
+
path: _path + ".higher",
|
|
36920
|
+
expected: "number",
|
|
36921
|
+
value: input.higher
|
|
36922
|
+
}), "number" === typeof input.high || _report(_exceptionable, {
|
|
36923
|
+
path: _path + ".high",
|
|
36924
|
+
expected: "number",
|
|
36925
|
+
value: input.high
|
|
36926
|
+
}), "number" === typeof input.normal || _report(_exceptionable, {
|
|
36927
|
+
path: _path + ".normal",
|
|
36928
|
+
expected: "number",
|
|
36929
|
+
value: input.normal
|
|
36930
|
+
}), "number" === typeof input.low || _report(_exceptionable, {
|
|
36931
|
+
path: _path + ".low",
|
|
36932
|
+
expected: "number",
|
|
36933
|
+
value: input.low
|
|
36934
|
+
}), "number" === typeof input.lower || _report(_exceptionable, {
|
|
36935
|
+
path: _path + ".lower",
|
|
36936
|
+
expected: "number",
|
|
36937
|
+
value: input.lower
|
|
36938
|
+
}), "number" === typeof input.lowest || _report(_exceptionable, {
|
|
36939
|
+
path: _path + ".lowest",
|
|
36940
|
+
expected: "number",
|
|
36941
|
+
value: input.lowest
|
|
36942
|
+
}), 7 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36943
|
+
if (["highest", "higher", "high", "normal", "low", "lower", "lowest"].some(prop => key === prop))
|
|
36944
|
+
return true;
|
|
36945
|
+
const value = input[key];
|
|
36946
|
+
if (undefined === value)
|
|
36947
|
+
return true;
|
|
36948
|
+
return _report(_exceptionable, {
|
|
36949
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36950
|
+
expected: "undefined",
|
|
36951
|
+
value: value,
|
|
36952
|
+
description: [
|
|
36953
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36954
|
+
"",
|
|
36955
|
+
"Please remove the property next time."
|
|
36956
|
+
].join("\n")
|
|
36957
|
+
});
|
|
36958
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["number" === typeof input.bytesPerSecond || _report(_exceptionable, {
|
|
36959
|
+
path: _path + ".bytesPerSecond",
|
|
36960
|
+
expected: "number",
|
|
36961
|
+
value: input.bytesPerSecond
|
|
36962
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
36963
|
+
path: _path + ".pending",
|
|
36964
|
+
expected: "number",
|
|
36965
|
+
value: input.pending
|
|
36966
|
+
}), ("object" === typeof input.queues && null !== input.queues || _report(_exceptionable, {
|
|
36967
|
+
path: _path + ".queues",
|
|
36968
|
+
expected: "StorageIoQueues",
|
|
36969
|
+
value: input.queues
|
|
36970
|
+
})) && _vo5(input.queues, _path + ".queues", true && _exceptionable) || _report(_exceptionable, {
|
|
36971
|
+
path: _path + ".queues",
|
|
36972
|
+
expected: "StorageIoQueues",
|
|
36973
|
+
value: input.queues
|
|
36974
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36975
|
+
if (["bytesPerSecond", "pending", "queues"].some(prop => key === prop))
|
|
36976
|
+
return true;
|
|
36977
|
+
const value = input[key];
|
|
36978
|
+
if (undefined === value)
|
|
36979
|
+
return true;
|
|
36980
|
+
return _report(_exceptionable, {
|
|
36981
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36982
|
+
expected: "undefined",
|
|
36983
|
+
value: value,
|
|
36984
|
+
description: [
|
|
36985
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36986
|
+
"",
|
|
36987
|
+
"Please remove the property next time."
|
|
36988
|
+
].join("\n")
|
|
36989
|
+
});
|
|
36990
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
36991
|
+
path: _path + ".concurrency",
|
|
36992
|
+
expected: "(number | undefined)",
|
|
36993
|
+
value: input.concurrency
|
|
36994
|
+
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
36995
|
+
path: _path + ".path",
|
|
36996
|
+
expected: "(string | undefined)",
|
|
36997
|
+
value: input.path
|
|
36998
|
+
}), null === input.snapshot || undefined === input.snapshot || "number" === typeof input.snapshot || _report(_exceptionable, {
|
|
36999
|
+
path: _path + ".snapshot",
|
|
37000
|
+
expected: "(null | number | undefined)",
|
|
37001
|
+
value: input.snapshot
|
|
37002
|
+
}), undefined === input.available || "number" === typeof input.available || _report(_exceptionable, {
|
|
37003
|
+
path: _path + ".available",
|
|
37004
|
+
expected: "(number | undefined)",
|
|
37005
|
+
value: input.available
|
|
37006
|
+
}), undefined === input.free || "number" === typeof input.free || _report(_exceptionable, {
|
|
37007
|
+
path: _path + ".free",
|
|
37008
|
+
expected: "(number | undefined)",
|
|
37009
|
+
value: input.free
|
|
37010
|
+
}), undefined === input.used || "number" === typeof input.used || _report(_exceptionable, {
|
|
37011
|
+
path: _path + ".used",
|
|
37012
|
+
expected: "(number | undefined)",
|
|
37013
|
+
value: input.used
|
|
37014
|
+
}), undefined === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
37015
|
+
path: _path + ".size",
|
|
37016
|
+
expected: "(number | undefined)",
|
|
37017
|
+
value: input.size
|
|
37018
|
+
}), undefined === input.state || "string" === typeof input.state || _report(_exceptionable, {
|
|
37019
|
+
path: _path + ".state",
|
|
37020
|
+
expected: "(string | undefined)",
|
|
37021
|
+
value: input.state
|
|
37022
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
37023
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
37024
|
+
return true;
|
|
37025
|
+
const value = input[key];
|
|
37026
|
+
if (undefined === value)
|
|
37027
|
+
return true;
|
|
37028
|
+
return true;
|
|
37029
|
+
}).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.bucket || "string" === typeof input.bucket || _report(_exceptionable, {
|
|
37030
|
+
path: _path + ".bucket",
|
|
37031
|
+
expected: "(string | undefined)",
|
|
37032
|
+
value: input.bucket
|
|
37033
|
+
}), undefined === input.region || "string" === typeof input.region || _report(_exceptionable, {
|
|
37034
|
+
path: _path + ".region",
|
|
37035
|
+
expected: "(string | undefined)",
|
|
37036
|
+
value: input.region
|
|
37037
|
+
}), undefined === input.endpoint || "string" === typeof input.endpoint || _report(_exceptionable, {
|
|
37038
|
+
path: _path + ".endpoint",
|
|
37039
|
+
expected: "(string | undefined)",
|
|
37040
|
+
value: input.endpoint
|
|
37041
|
+
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
37042
|
+
path: _path + ".path",
|
|
37043
|
+
expected: "(string | undefined)",
|
|
37044
|
+
value: input.path
|
|
37045
|
+
}), undefined === input.storageClass || "string" === typeof input.storageClass || _report(_exceptionable, {
|
|
37046
|
+
path: _path + ".storageClass",
|
|
37047
|
+
expected: "(string | undefined)",
|
|
37048
|
+
value: input.storageClass
|
|
37049
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
37050
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
37051
|
+
return true;
|
|
37052
|
+
const value = input[key];
|
|
37053
|
+
if (undefined === value)
|
|
37054
|
+
return true;
|
|
37055
|
+
return true;
|
|
37056
|
+
}).every(flag => flag)].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return input => {
|
|
37057
|
+
if (false === __is(input)) {
|
|
37058
|
+
errors = [];
|
|
37059
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
37060
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
37061
|
+
path: _path + "",
|
|
37062
|
+
expected: "StorageStatsDomainRecord",
|
|
37063
|
+
value: input
|
|
37064
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
37065
|
+
path: _path + "",
|
|
37066
|
+
expected: "StorageStatsDomainRecord",
|
|
37067
|
+
value: input
|
|
37068
|
+
}))(input, "$input", true);
|
|
37069
|
+
const success = 0 === errors.length;
|
|
37070
|
+
return success ? {
|
|
37071
|
+
success,
|
|
37072
|
+
data: input
|
|
37073
|
+
} : {
|
|
37074
|
+
success,
|
|
37075
|
+
errors,
|
|
37076
|
+
data: input
|
|
37077
|
+
};
|
|
37078
|
+
}
|
|
37079
|
+
return {
|
|
37080
|
+
success: true,
|
|
37081
|
+
data: input
|
|
37082
|
+
};
|
|
37083
|
+
}; })()(input);
|
|
37084
|
+
}
|
|
37085
|
+
case ":storage-zone": {
|
|
37086
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.priority || "number" === typeof input.priority) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
37087
|
+
if (["priority"].some(prop => key === prop))
|
|
37088
|
+
return true;
|
|
37089
|
+
const value = input[key];
|
|
37090
|
+
if (undefined === value)
|
|
37091
|
+
return true;
|
|
37092
|
+
return false;
|
|
37093
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.priority || "number" === typeof input.priority || _report(_exceptionable, {
|
|
37094
|
+
path: _path + ".priority",
|
|
37095
|
+
expected: "(number | undefined)",
|
|
37096
|
+
value: input.priority
|
|
37097
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
37098
|
+
if (["priority"].some(prop => key === prop))
|
|
37099
|
+
return true;
|
|
37100
|
+
const value = input[key];
|
|
37101
|
+
if (undefined === value)
|
|
37102
|
+
return true;
|
|
37103
|
+
return _report(_exceptionable, {
|
|
37104
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
37105
|
+
expected: "undefined",
|
|
37106
|
+
value: value,
|
|
37107
|
+
description: [
|
|
37108
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
37109
|
+
"",
|
|
37110
|
+
"Please remove the property next time."
|
|
37111
|
+
].join("\n")
|
|
37112
|
+
});
|
|
37113
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
37114
|
+
if (false === __is(input)) {
|
|
37115
|
+
errors = [];
|
|
37116
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
37117
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
37118
|
+
path: _path + "",
|
|
37119
|
+
expected: "StorageZoneDomainRecord",
|
|
37120
|
+
value: input
|
|
37121
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
37122
|
+
path: _path + "",
|
|
37123
|
+
expected: "StorageZoneDomainRecord",
|
|
37124
|
+
value: input
|
|
37125
|
+
}))(input, "$input", true);
|
|
37126
|
+
const success = 0 === errors.length;
|
|
37127
|
+
return success ? {
|
|
37128
|
+
success,
|
|
37129
|
+
data: input
|
|
37130
|
+
} : {
|
|
37131
|
+
success,
|
|
37132
|
+
errors,
|
|
37133
|
+
data: input
|
|
37134
|
+
};
|
|
37135
|
+
}
|
|
37136
|
+
return {
|
|
37137
|
+
success: true,
|
|
37138
|
+
data: input
|
|
37139
|
+
};
|
|
37140
|
+
}; })()(input);
|
|
37141
|
+
}
|
|
35712
37142
|
case ":storyboard": {
|
|
35713
37143
|
return (() => { const _io0 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
35714
37144
|
const value = input[key];
|
|
@@ -37039,8 +38469,67 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
37039
38469
|
if (undefined === value)
|
|
37040
38470
|
return true;
|
|
37041
38471
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value, true && _exceptionable);
|
|
37042
|
-
}); const _io2 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
37043
|
-
if (["path"].some(prop => key === prop))
|
|
38472
|
+
}); const _io2 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties, true && _exceptionable)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io5(input.items, true && _exceptionable)) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io9(input.render, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38473
|
+
if (["path", "type", "label", "defaultValue", "widget", "properties", "items", "render"].some(prop => key === prop))
|
|
38474
|
+
return true;
|
|
38475
|
+
const value = input[key];
|
|
38476
|
+
if (undefined === value)
|
|
38477
|
+
return true;
|
|
38478
|
+
return false;
|
|
38479
|
+
})); const _io3 = (input, _exceptionable = true) => "string" === typeof input.type && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38480
|
+
if (["type"].some(prop => key === prop))
|
|
38481
|
+
return true;
|
|
38482
|
+
const value = input[key];
|
|
38483
|
+
if (undefined === value)
|
|
38484
|
+
return true;
|
|
38485
|
+
return false;
|
|
38486
|
+
})); const _io4 = (input, _exceptionable = true) => 0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38487
|
+
const value = input[key];
|
|
38488
|
+
if (undefined === value)
|
|
38489
|
+
return true;
|
|
38490
|
+
return false;
|
|
38491
|
+
}); const _io5 = (input, _exceptionable = true) => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38492
|
+
if (["properties"].some(prop => key === prop))
|
|
38493
|
+
return true;
|
|
38494
|
+
const value = input[key];
|
|
38495
|
+
if (undefined === value)
|
|
38496
|
+
return true;
|
|
38497
|
+
return false;
|
|
38498
|
+
})); const _io6 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
38499
|
+
const value = input[key];
|
|
38500
|
+
if (undefined === value)
|
|
38501
|
+
return true;
|
|
38502
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value, true && _exceptionable);
|
|
38503
|
+
}); const _io7 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io7(input.items, true && _exceptionable)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38504
|
+
if (["path", "type", "label", "defaultValue", "widget", "items", "properties"].some(prop => key === prop))
|
|
38505
|
+
return true;
|
|
38506
|
+
const value = input[key];
|
|
38507
|
+
if (undefined === value)
|
|
38508
|
+
return true;
|
|
38509
|
+
return false;
|
|
38510
|
+
})); const _io8 = (input, _exceptionable = true) => "string" === typeof input.type && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38511
|
+
if (["type"].some(prop => key === prop))
|
|
38512
|
+
return true;
|
|
38513
|
+
const value = input[key];
|
|
38514
|
+
if (undefined === value)
|
|
38515
|
+
return true;
|
|
38516
|
+
return false;
|
|
38517
|
+
})); const _io9 = (input, _exceptionable = true) => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io10(input.profile, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38518
|
+
if (["type", "profile"].some(prop => key === prop))
|
|
38519
|
+
return true;
|
|
38520
|
+
const value = input[key];
|
|
38521
|
+
if (undefined === value)
|
|
38522
|
+
return true;
|
|
38523
|
+
return false;
|
|
38524
|
+
})); const _io10 = (input, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io11(input.video, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38525
|
+
if (["format", "video"].some(prop => key === prop))
|
|
38526
|
+
return true;
|
|
38527
|
+
const value = input[key];
|
|
38528
|
+
if (undefined === value)
|
|
38529
|
+
return true;
|
|
38530
|
+
return false;
|
|
38531
|
+
})); const _io11 = (input, _exceptionable = true) => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38532
|
+
if (["width", "height", "fit"].some(prop => key === prop))
|
|
37044
38533
|
return true;
|
|
37045
38534
|
const value = input[key];
|
|
37046
38535
|
if (undefined === value)
|
|
@@ -37111,8 +38600,283 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
37111
38600
|
path: _path + ".path",
|
|
37112
38601
|
expected: "(string | undefined)",
|
|
37113
38602
|
value: input.path
|
|
38603
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
38604
|
+
path: _path + ".type",
|
|
38605
|
+
expected: "(string | undefined)",
|
|
38606
|
+
value: input.type
|
|
38607
|
+
}), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
38608
|
+
path: _path + ".label",
|
|
38609
|
+
expected: "(string | undefined)",
|
|
38610
|
+
value: input.label
|
|
38611
|
+
}), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
|
|
38612
|
+
path: _path + ".defaultValue",
|
|
38613
|
+
expected: "(string | undefined)",
|
|
38614
|
+
value: input.defaultValue
|
|
38615
|
+
}), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
|
|
38616
|
+
path: _path + ".widget",
|
|
38617
|
+
expected: "(__type | undefined)",
|
|
38618
|
+
value: input.widget
|
|
38619
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
38620
|
+
path: _path + ".widget",
|
|
38621
|
+
expected: "(__type | undefined)",
|
|
38622
|
+
value: input.widget
|
|
38623
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
38624
|
+
path: _path + ".properties",
|
|
38625
|
+
expected: "(object | undefined)",
|
|
38626
|
+
value: input.properties
|
|
38627
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
38628
|
+
path: _path + ".properties",
|
|
38629
|
+
expected: "(object | undefined)",
|
|
38630
|
+
value: input.properties
|
|
38631
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
38632
|
+
path: _path + ".items",
|
|
38633
|
+
expected: "(__type.o1 | undefined)",
|
|
38634
|
+
value: input.items
|
|
38635
|
+
})) && _vo5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
38636
|
+
path: _path + ".items",
|
|
38637
|
+
expected: "(__type.o1 | undefined)",
|
|
38638
|
+
value: input.items
|
|
38639
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
38640
|
+
path: _path + ".render",
|
|
38641
|
+
expected: "(__type.o3 | undefined)",
|
|
38642
|
+
value: input.render
|
|
38643
|
+
})) && _vo9(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
38644
|
+
path: _path + ".render",
|
|
38645
|
+
expected: "(__type.o3 | undefined)",
|
|
38646
|
+
value: input.render
|
|
37114
38647
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
37115
|
-
if (["path"].some(prop => key === prop))
|
|
38648
|
+
if (["path", "type", "label", "defaultValue", "widget", "properties", "items", "render"].some(prop => key === prop))
|
|
38649
|
+
return true;
|
|
38650
|
+
const value = input[key];
|
|
38651
|
+
if (undefined === value)
|
|
38652
|
+
return true;
|
|
38653
|
+
return _report(_exceptionable, {
|
|
38654
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38655
|
+
expected: "undefined",
|
|
38656
|
+
value: value,
|
|
38657
|
+
description: [
|
|
38658
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38659
|
+
"",
|
|
38660
|
+
"Please remove the property next time."
|
|
38661
|
+
].join("\n")
|
|
38662
|
+
});
|
|
38663
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
38664
|
+
path: _path + ".type",
|
|
38665
|
+
expected: "string",
|
|
38666
|
+
value: input.type
|
|
38667
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38668
|
+
if (["type"].some(prop => key === prop))
|
|
38669
|
+
return true;
|
|
38670
|
+
const value = input[key];
|
|
38671
|
+
if (undefined === value)
|
|
38672
|
+
return true;
|
|
38673
|
+
return _report(_exceptionable, {
|
|
38674
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38675
|
+
expected: "undefined",
|
|
38676
|
+
value: value,
|
|
38677
|
+
description: [
|
|
38678
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38679
|
+
"",
|
|
38680
|
+
"Please remove the property next time."
|
|
38681
|
+
].join("\n")
|
|
38682
|
+
});
|
|
38683
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38684
|
+
const value = input[key];
|
|
38685
|
+
if (undefined === value)
|
|
38686
|
+
return true;
|
|
38687
|
+
return _report(_exceptionable, {
|
|
38688
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38689
|
+
expected: "undefined",
|
|
38690
|
+
value: value,
|
|
38691
|
+
description: [
|
|
38692
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38693
|
+
"",
|
|
38694
|
+
"Please remove the property next time."
|
|
38695
|
+
].join("\n")
|
|
38696
|
+
});
|
|
38697
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
38698
|
+
path: _path + ".properties",
|
|
38699
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
38700
|
+
value: input.properties
|
|
38701
|
+
})) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
38702
|
+
path: _path + ".properties",
|
|
38703
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
38704
|
+
value: input.properties
|
|
38705
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38706
|
+
if (["properties"].some(prop => key === prop))
|
|
38707
|
+
return true;
|
|
38708
|
+
const value = input[key];
|
|
38709
|
+
if (undefined === value)
|
|
38710
|
+
return true;
|
|
38711
|
+
return _report(_exceptionable, {
|
|
38712
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38713
|
+
expected: "undefined",
|
|
38714
|
+
value: value,
|
|
38715
|
+
description: [
|
|
38716
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38717
|
+
"",
|
|
38718
|
+
"Please remove the property next time."
|
|
38719
|
+
].join("\n")
|
|
38720
|
+
});
|
|
38721
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
38722
|
+
const value = input[key];
|
|
38723
|
+
if (undefined === value)
|
|
38724
|
+
return true;
|
|
38725
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
38726
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38727
|
+
expected: "TemplatePropertySchema",
|
|
38728
|
+
value: value
|
|
38729
|
+
})) && _vo7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
38730
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38731
|
+
expected: "TemplatePropertySchema",
|
|
38732
|
+
value: value
|
|
38733
|
+
});
|
|
38734
|
+
}).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
38735
|
+
path: _path + ".path",
|
|
38736
|
+
expected: "(string | undefined)",
|
|
38737
|
+
value: input.path
|
|
38738
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
38739
|
+
path: _path + ".type",
|
|
38740
|
+
expected: "(string | undefined)",
|
|
38741
|
+
value: input.type
|
|
38742
|
+
}), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
38743
|
+
path: _path + ".label",
|
|
38744
|
+
expected: "(string | undefined)",
|
|
38745
|
+
value: input.label
|
|
38746
|
+
}), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
|
|
38747
|
+
path: _path + ".defaultValue",
|
|
38748
|
+
expected: "(string | undefined)",
|
|
38749
|
+
value: input.defaultValue
|
|
38750
|
+
}), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
|
|
38751
|
+
path: _path + ".widget",
|
|
38752
|
+
expected: "(__type.o2 | undefined)",
|
|
38753
|
+
value: input.widget
|
|
38754
|
+
})) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
38755
|
+
path: _path + ".widget",
|
|
38756
|
+
expected: "(__type.o2 | undefined)",
|
|
38757
|
+
value: input.widget
|
|
38758
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
38759
|
+
path: _path + ".items",
|
|
38760
|
+
expected: "(TemplatePropertySchema | undefined)",
|
|
38761
|
+
value: input.items
|
|
38762
|
+
})) && _vo7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
38763
|
+
path: _path + ".items",
|
|
38764
|
+
expected: "(TemplatePropertySchema | undefined)",
|
|
38765
|
+
value: input.items
|
|
38766
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
38767
|
+
path: _path + ".properties",
|
|
38768
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
38769
|
+
value: input.properties
|
|
38770
|
+
})) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
38771
|
+
path: _path + ".properties",
|
|
38772
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
38773
|
+
value: input.properties
|
|
38774
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38775
|
+
if (["path", "type", "label", "defaultValue", "widget", "items", "properties"].some(prop => key === prop))
|
|
38776
|
+
return true;
|
|
38777
|
+
const value = input[key];
|
|
38778
|
+
if (undefined === value)
|
|
38779
|
+
return true;
|
|
38780
|
+
return _report(_exceptionable, {
|
|
38781
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38782
|
+
expected: "undefined",
|
|
38783
|
+
value: value,
|
|
38784
|
+
description: [
|
|
38785
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38786
|
+
"",
|
|
38787
|
+
"Please remove the property next time."
|
|
38788
|
+
].join("\n")
|
|
38789
|
+
});
|
|
38790
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
38791
|
+
path: _path + ".type",
|
|
38792
|
+
expected: "string",
|
|
38793
|
+
value: input.type
|
|
38794
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38795
|
+
if (["type"].some(prop => key === prop))
|
|
38796
|
+
return true;
|
|
38797
|
+
const value = input[key];
|
|
38798
|
+
if (undefined === value)
|
|
38799
|
+
return true;
|
|
38800
|
+
return _report(_exceptionable, {
|
|
38801
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38802
|
+
expected: "undefined",
|
|
38803
|
+
value: value,
|
|
38804
|
+
description: [
|
|
38805
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38806
|
+
"",
|
|
38807
|
+
"Please remove the property next time."
|
|
38808
|
+
].join("\n")
|
|
38809
|
+
});
|
|
38810
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
|
|
38811
|
+
path: _path + ".type",
|
|
38812
|
+
expected: "\"image\"",
|
|
38813
|
+
value: input.type
|
|
38814
|
+
}), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
|
|
38815
|
+
path: _path + ".profile",
|
|
38816
|
+
expected: "(__type.o4 | undefined)",
|
|
38817
|
+
value: input.profile
|
|
38818
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
38819
|
+
path: _path + ".profile",
|
|
38820
|
+
expected: "(__type.o4 | undefined)",
|
|
38821
|
+
value: input.profile
|
|
38822
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38823
|
+
if (["type", "profile"].some(prop => key === prop))
|
|
38824
|
+
return true;
|
|
38825
|
+
const value = input[key];
|
|
38826
|
+
if (undefined === value)
|
|
38827
|
+
return true;
|
|
38828
|
+
return _report(_exceptionable, {
|
|
38829
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38830
|
+
expected: "undefined",
|
|
38831
|
+
value: value,
|
|
38832
|
+
description: [
|
|
38833
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38834
|
+
"",
|
|
38835
|
+
"Please remove the property next time."
|
|
38836
|
+
].join("\n")
|
|
38837
|
+
});
|
|
38838
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
|
|
38839
|
+
path: _path + ".format",
|
|
38840
|
+
expected: "(string | undefined)",
|
|
38841
|
+
value: input.format
|
|
38842
|
+
}), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
|
|
38843
|
+
path: _path + ".video",
|
|
38844
|
+
expected: "(__type.o5 | undefined)",
|
|
38845
|
+
value: input.video
|
|
38846
|
+
})) && _vo11(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
38847
|
+
path: _path + ".video",
|
|
38848
|
+
expected: "(__type.o5 | undefined)",
|
|
38849
|
+
value: input.video
|
|
38850
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38851
|
+
if (["format", "video"].some(prop => key === prop))
|
|
38852
|
+
return true;
|
|
38853
|
+
const value = input[key];
|
|
38854
|
+
if (undefined === value)
|
|
38855
|
+
return true;
|
|
38856
|
+
return _report(_exceptionable, {
|
|
38857
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38858
|
+
expected: "undefined",
|
|
38859
|
+
value: value,
|
|
38860
|
+
description: [
|
|
38861
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38862
|
+
"",
|
|
38863
|
+
"Please remove the property next time."
|
|
38864
|
+
].join("\n")
|
|
38865
|
+
});
|
|
38866
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
|
|
38867
|
+
path: _path + ".width",
|
|
38868
|
+
expected: "number",
|
|
38869
|
+
value: input.width
|
|
38870
|
+
}), "number" === typeof input.height || _report(_exceptionable, {
|
|
38871
|
+
path: _path + ".height",
|
|
38872
|
+
expected: "number",
|
|
38873
|
+
value: input.height
|
|
38874
|
+
}), "cover" === input.fit || _report(_exceptionable, {
|
|
38875
|
+
path: _path + ".fit",
|
|
38876
|
+
expected: "\"cover\"",
|
|
38877
|
+
value: input.fit
|
|
38878
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38879
|
+
if (["width", "height", "fit"].some(prop => key === prop))
|
|
37116
38880
|
return true;
|
|
37117
38881
|
const value = input[key];
|
|
37118
38882
|
if (undefined === value)
|