@nxtedition/types 23.1.3 → 23.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/index.d.ts +2 -0
- package/dist/common/index.js +2 -0
- package/dist/common/json-schema.d.ts +95 -0
- package/dist/common/json-schema.js +1 -0
- package/dist/common/nxtpression.d.ts +1 -1
- package/dist/common/print.d.ts +30 -0
- package/dist/common/print.js +1 -0
- package/dist/common/render-scene.d.ts +1 -0
- package/dist/common/settings.d.ts +11 -2
- package/dist/nxtpression.d.ts +337 -42
- package/dist/records/domains/connection/file/smb.d.ts +2 -0
- package/dist/records/domains/event.d.ts +6 -0
- package/dist/records/domains/gallery.d.ts +8 -0
- package/dist/records/domains/gallery.js +1 -0
- package/dist/records/domains/index.d.ts +5 -1
- package/dist/records/domains/index.js +2 -0
- package/dist/records/domains/role.d.ts +8 -0
- package/dist/records/domains/storage.d.ts +87 -0
- package/dist/records/domains/storage.js +1 -0
- package/dist/records/domains/template.d.ts +32 -0
- package/dist/records/exact/index.d.ts +6 -0
- package/dist/records/exact/monitor.d.ts +1 -0
- package/dist/records/validate/assert-guard.js +1549 -433
- package/dist/records/validate/assert.js +1557 -433
- package/dist/records/validate/is.js +85 -25
- package/dist/records/validate/schemas.d.ts +3 -10
- package/dist/records/validate/schemas.js +1241 -240
- package/dist/records/validate/stringify.js +137 -49
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +2087 -457
- package/dist/records/validate/validate.js +1414 -382
- package/package.json +1 -1
|
@@ -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,63 @@ 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
|
+
}
|
|
14407
14549
|
case ":file.replicate": {
|
|
14408
14550
|
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
14551
|
if (["replicas", "error"].some(prop => key === prop))
|
|
@@ -15196,6 +15338,94 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15196
15338
|
};
|
|
15197
15339
|
}; })()(input);
|
|
15198
15340
|
}
|
|
15341
|
+
case ":gallery": {
|
|
15342
|
+
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 => {
|
|
15343
|
+
if (["sources"].some(prop => key === prop))
|
|
15344
|
+
return true;
|
|
15345
|
+
const value = input[key];
|
|
15346
|
+
if (undefined === value)
|
|
15347
|
+
return true;
|
|
15348
|
+
return false;
|
|
15349
|
+
})); const _io1 = (input, _exceptionable = true) => (undefined === input.program || "string" === typeof input.program) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15350
|
+
if (["program"].some(prop => key === prop))
|
|
15351
|
+
return true;
|
|
15352
|
+
const value = input[key];
|
|
15353
|
+
if (undefined === value)
|
|
15354
|
+
return true;
|
|
15355
|
+
return false;
|
|
15356
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.sources || ("object" === typeof input.sources && null !== input.sources && false === Array.isArray(input.sources) || _report(_exceptionable, {
|
|
15357
|
+
path: _path + ".sources",
|
|
15358
|
+
expected: "(__type | undefined)",
|
|
15359
|
+
value: input.sources
|
|
15360
|
+
})) && _vo1(input.sources, _path + ".sources", true && _exceptionable) || _report(_exceptionable, {
|
|
15361
|
+
path: _path + ".sources",
|
|
15362
|
+
expected: "(__type | undefined)",
|
|
15363
|
+
value: input.sources
|
|
15364
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15365
|
+
if (["sources"].some(prop => key === prop))
|
|
15366
|
+
return true;
|
|
15367
|
+
const value = input[key];
|
|
15368
|
+
if (undefined === value)
|
|
15369
|
+
return true;
|
|
15370
|
+
return _report(_exceptionable, {
|
|
15371
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15372
|
+
expected: "undefined",
|
|
15373
|
+
value: value,
|
|
15374
|
+
description: [
|
|
15375
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15376
|
+
"",
|
|
15377
|
+
"Please remove the property next time."
|
|
15378
|
+
].join("\n")
|
|
15379
|
+
});
|
|
15380
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.program || "string" === typeof input.program || _report(_exceptionable, {
|
|
15381
|
+
path: _path + ".program",
|
|
15382
|
+
expected: "(string | undefined)",
|
|
15383
|
+
value: input.program
|
|
15384
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15385
|
+
if (["program"].some(prop => key === prop))
|
|
15386
|
+
return true;
|
|
15387
|
+
const value = input[key];
|
|
15388
|
+
if (undefined === value)
|
|
15389
|
+
return true;
|
|
15390
|
+
return _report(_exceptionable, {
|
|
15391
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15392
|
+
expected: "undefined",
|
|
15393
|
+
value: value,
|
|
15394
|
+
description: [
|
|
15395
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15396
|
+
"",
|
|
15397
|
+
"Please remove the property next time."
|
|
15398
|
+
].join("\n")
|
|
15399
|
+
});
|
|
15400
|
+
}).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 => {
|
|
15401
|
+
if (false === __is(input)) {
|
|
15402
|
+
errors = [];
|
|
15403
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
15404
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
15405
|
+
path: _path + "",
|
|
15406
|
+
expected: "GalleryDomainRecord",
|
|
15407
|
+
value: input
|
|
15408
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
15409
|
+
path: _path + "",
|
|
15410
|
+
expected: "GalleryDomainRecord",
|
|
15411
|
+
value: input
|
|
15412
|
+
}))(input, "$input", true);
|
|
15413
|
+
const success = 0 === errors.length;
|
|
15414
|
+
return success ? {
|
|
15415
|
+
success,
|
|
15416
|
+
data: input
|
|
15417
|
+
} : {
|
|
15418
|
+
success,
|
|
15419
|
+
errors,
|
|
15420
|
+
data: input
|
|
15421
|
+
};
|
|
15422
|
+
}
|
|
15423
|
+
return {
|
|
15424
|
+
success: true,
|
|
15425
|
+
data: input
|
|
15426
|
+
};
|
|
15427
|
+
}; })()(input);
|
|
15428
|
+
}
|
|
15199
15429
|
case ":general.title": {
|
|
15200
15430
|
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value || "string" === typeof input.value) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15201
15431
|
if (["value"].some(prop => key === prop))
|
|
@@ -15969,11 +16199,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15969
16199
|
if (undefined === value)
|
|
15970
16200
|
return true;
|
|
15971
16201
|
return false;
|
|
15972
|
-
})); const _io4 = (input, _exceptionable = true) =>
|
|
16202
|
+
})); const _io4 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
15973
16203
|
const value = input[key];
|
|
15974
16204
|
if (undefined === value)
|
|
15975
16205
|
return true;
|
|
15976
|
-
return
|
|
16206
|
+
return true;
|
|
15977
16207
|
}); 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
16208
|
if (["gallery", "tag"].some(prop => key === prop))
|
|
15979
16209
|
return true;
|
|
@@ -16119,11 +16349,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16119
16349
|
});
|
|
16120
16350
|
}).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
16351
|
path: _path + ".__context",
|
|
16122
|
-
expected: "
|
|
16352
|
+
expected: "Record<string, unknown>",
|
|
16123
16353
|
value: input.__context
|
|
16124
16354
|
})) && _vo4(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
16125
16355
|
path: _path + ".__context",
|
|
16126
|
-
expected: "
|
|
16356
|
+
expected: "Record<string, unknown>",
|
|
16127
16357
|
value: input.__context
|
|
16128
16358
|
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
16129
16359
|
path: _path + ".__returnValue",
|
|
@@ -16145,21 +16375,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16145
16375
|
"Please remove the property next time."
|
|
16146
16376
|
].join("\n")
|
|
16147
16377
|
});
|
|
16148
|
-
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [
|
|
16378
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16149
16379
|
const value = input[key];
|
|
16150
16380
|
if (undefined === value)
|
|
16151
16381
|
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, {
|
|
16382
|
+
return true;
|
|
16383
|
+
}).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
16384
|
path: _path + ".gallery",
|
|
16164
16385
|
expected: "(null | string | undefined)",
|
|
16165
16386
|
value: input.gallery
|
|
@@ -16403,8 +16624,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16403
16624
|
if (undefined === value)
|
|
16404
16625
|
return true;
|
|
16405
16626
|
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))
|
|
16627
|
+
})); 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 => {
|
|
16628
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
16408
16629
|
return true;
|
|
16409
16630
|
const value = input[key];
|
|
16410
16631
|
if (undefined === value)
|
|
@@ -17031,8 +17252,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17031
17252
|
path: _path + ".pan",
|
|
17032
17253
|
expected: "(Array<number> | undefined)",
|
|
17033
17254
|
value: input.pan
|
|
17255
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
17256
|
+
path: _path + ".diarization",
|
|
17257
|
+
expected: "(boolean | undefined)",
|
|
17258
|
+
value: input.diarization
|
|
17034
17259
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17035
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
17260
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
17036
17261
|
return true;
|
|
17037
17262
|
const value = input[key];
|
|
17038
17263
|
if (undefined === value)
|
|
@@ -18528,8 +18753,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18528
18753
|
if (undefined === value)
|
|
18529
18754
|
return true;
|
|
18530
18755
|
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))
|
|
18756
|
+
})); 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 => {
|
|
18757
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
18533
18758
|
return true;
|
|
18534
18759
|
const value = input[key];
|
|
18535
18760
|
if (undefined === value)
|
|
@@ -19169,8 +19394,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19169
19394
|
path: _path + ".pan",
|
|
19170
19395
|
expected: "(Array<number> | undefined)",
|
|
19171
19396
|
value: input.pan
|
|
19397
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
19398
|
+
path: _path + ".diarization",
|
|
19399
|
+
expected: "(boolean | undefined)",
|
|
19400
|
+
value: input.diarization
|
|
19172
19401
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
19173
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
19402
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
19174
19403
|
return true;
|
|
19175
19404
|
const value = input[key];
|
|
19176
19405
|
if (undefined === value)
|
|
@@ -21832,8 +22061,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21832
22061
|
if (undefined === value)
|
|
21833
22062
|
return true;
|
|
21834
22063
|
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))
|
|
22064
|
+
})); 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 => {
|
|
22065
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
21837
22066
|
return true;
|
|
21838
22067
|
const value = input[key];
|
|
21839
22068
|
if (undefined === value)
|
|
@@ -22764,8 +22993,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22764
22993
|
path: _path + ".pan",
|
|
22765
22994
|
expected: "(Array<number> | undefined)",
|
|
22766
22995
|
value: input.pan
|
|
22996
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
22997
|
+
path: _path + ".diarization",
|
|
22998
|
+
expected: "(boolean | undefined)",
|
|
22999
|
+
value: input.diarization
|
|
22767
23000
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
22768
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
23001
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
22769
23002
|
return true;
|
|
22770
23003
|
const value = input[key];
|
|
22771
23004
|
if (undefined === value)
|
|
@@ -24014,8 +24247,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24014
24247
|
if (undefined === value)
|
|
24015
24248
|
return true;
|
|
24016
24249
|
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))
|
|
24250
|
+
})); 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 => {
|
|
24251
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
24019
24252
|
return true;
|
|
24020
24253
|
const value = input[key];
|
|
24021
24254
|
if (undefined === value)
|
|
@@ -25078,8 +25311,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25078
25311
|
path: _path + ".pan",
|
|
25079
25312
|
expected: "(Array<number> | undefined)",
|
|
25080
25313
|
value: input.pan
|
|
25314
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
25315
|
+
path: _path + ".diarization",
|
|
25316
|
+
expected: "(boolean | undefined)",
|
|
25317
|
+
value: input.diarization
|
|
25081
25318
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25082
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
25319
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
25083
25320
|
return true;
|
|
25084
25321
|
const value = input[key];
|
|
25085
25322
|
if (undefined === value)
|
|
@@ -27013,8 +27250,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27013
27250
|
if (undefined === value)
|
|
27014
27251
|
return true;
|
|
27015
27252
|
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))
|
|
27253
|
+
})); 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 => {
|
|
27254
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
27018
27255
|
return true;
|
|
27019
27256
|
const value = input[key];
|
|
27020
27257
|
if (undefined === value)
|
|
@@ -27758,8 +27995,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27758
27995
|
path: _path + ".pan",
|
|
27759
27996
|
expected: "(Array<number> | undefined)",
|
|
27760
27997
|
value: input.pan
|
|
27998
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
27999
|
+
path: _path + ".diarization",
|
|
28000
|
+
expected: "(boolean | undefined)",
|
|
28001
|
+
value: input.diarization
|
|
27761
28002
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27762
|
-
if (["language", "pan"].some(prop => key === prop))
|
|
28003
|
+
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
27763
28004
|
return true;
|
|
27764
28005
|
const value = input[key];
|
|
27765
28006
|
if (undefined === value)
|
|
@@ -28582,6 +28823,154 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28582
28823
|
};
|
|
28583
28824
|
}; })()(input);
|
|
28584
28825
|
}
|
|
28826
|
+
case ":role": {
|
|
28827
|
+
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 => {
|
|
28828
|
+
if (["permissions"].some(prop => key === prop))
|
|
28829
|
+
return true;
|
|
28830
|
+
const value = input[key];
|
|
28831
|
+
if (undefined === value)
|
|
28832
|
+
return true;
|
|
28833
|
+
return false;
|
|
28834
|
+
})); const _io1 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
28835
|
+
const value = input[key];
|
|
28836
|
+
if (undefined === value)
|
|
28837
|
+
return true;
|
|
28838
|
+
return Array.isArray(value) && value.every((elem, _index1) => "string" === typeof elem);
|
|
28839
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.permissions || ("object" === typeof input.permissions && null !== input.permissions && false === Array.isArray(input.permissions) || _report(_exceptionable, {
|
|
28840
|
+
path: _path + ".permissions",
|
|
28841
|
+
expected: "(Record<string, Array<string>> | undefined)",
|
|
28842
|
+
value: input.permissions
|
|
28843
|
+
})) && _vo1(input.permissions, _path + ".permissions", true && _exceptionable) || _report(_exceptionable, {
|
|
28844
|
+
path: _path + ".permissions",
|
|
28845
|
+
expected: "(Record<string, Array<string>> | undefined)",
|
|
28846
|
+
value: input.permissions
|
|
28847
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28848
|
+
if (["permissions"].some(prop => key === prop))
|
|
28849
|
+
return true;
|
|
28850
|
+
const value = input[key];
|
|
28851
|
+
if (undefined === value)
|
|
28852
|
+
return true;
|
|
28853
|
+
return _report(_exceptionable, {
|
|
28854
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
28855
|
+
expected: "undefined",
|
|
28856
|
+
value: value,
|
|
28857
|
+
description: [
|
|
28858
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
28859
|
+
"",
|
|
28860
|
+
"Please remove the property next time."
|
|
28861
|
+
].join("\n")
|
|
28862
|
+
});
|
|
28863
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
28864
|
+
const value = input[key];
|
|
28865
|
+
if (undefined === value)
|
|
28866
|
+
return true;
|
|
28867
|
+
return (Array.isArray(value) || _report(_exceptionable, {
|
|
28868
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
28869
|
+
expected: "Array<string>",
|
|
28870
|
+
value: value
|
|
28871
|
+
})) && value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
28872
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index2 + "]",
|
|
28873
|
+
expected: "string",
|
|
28874
|
+
value: elem
|
|
28875
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
28876
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
28877
|
+
expected: "Array<string>",
|
|
28878
|
+
value: value
|
|
28879
|
+
});
|
|
28880
|
+
}).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 => {
|
|
28881
|
+
if (false === __is(input)) {
|
|
28882
|
+
errors = [];
|
|
28883
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
28884
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
28885
|
+
path: _path + "",
|
|
28886
|
+
expected: "RoleRecord",
|
|
28887
|
+
value: input
|
|
28888
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
28889
|
+
path: _path + "",
|
|
28890
|
+
expected: "RoleRecord",
|
|
28891
|
+
value: input
|
|
28892
|
+
}))(input, "$input", true);
|
|
28893
|
+
const success = 0 === errors.length;
|
|
28894
|
+
return success ? {
|
|
28895
|
+
success,
|
|
28896
|
+
data: input
|
|
28897
|
+
} : {
|
|
28898
|
+
success,
|
|
28899
|
+
errors,
|
|
28900
|
+
data: input
|
|
28901
|
+
};
|
|
28902
|
+
}
|
|
28903
|
+
return {
|
|
28904
|
+
success: true,
|
|
28905
|
+
data: input
|
|
28906
|
+
};
|
|
28907
|
+
}; })()(input);
|
|
28908
|
+
}
|
|
28909
|
+
case ":role.users?": {
|
|
28910
|
+
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 => {
|
|
28911
|
+
if (["value"].some(prop => key === prop))
|
|
28912
|
+
return true;
|
|
28913
|
+
const value = input[key];
|
|
28914
|
+
if (undefined === value)
|
|
28915
|
+
return true;
|
|
28916
|
+
return false;
|
|
28917
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
28918
|
+
path: _path + ".value",
|
|
28919
|
+
expected: "(Array<string> | undefined)",
|
|
28920
|
+
value: input.value
|
|
28921
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
28922
|
+
path: _path + ".value[" + _index2 + "]",
|
|
28923
|
+
expected: "string",
|
|
28924
|
+
value: elem
|
|
28925
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
28926
|
+
path: _path + ".value",
|
|
28927
|
+
expected: "(Array<string> | undefined)",
|
|
28928
|
+
value: input.value
|
|
28929
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28930
|
+
if (["value"].some(prop => key === prop))
|
|
28931
|
+
return true;
|
|
28932
|
+
const value = input[key];
|
|
28933
|
+
if (undefined === value)
|
|
28934
|
+
return true;
|
|
28935
|
+
return _report(_exceptionable, {
|
|
28936
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
28937
|
+
expected: "undefined",
|
|
28938
|
+
value: value,
|
|
28939
|
+
description: [
|
|
28940
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
28941
|
+
"",
|
|
28942
|
+
"Please remove the property next time."
|
|
28943
|
+
].join("\n")
|
|
28944
|
+
});
|
|
28945
|
+
}).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 => {
|
|
28946
|
+
if (false === __is(input)) {
|
|
28947
|
+
errors = [];
|
|
28948
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
28949
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
28950
|
+
path: _path + "",
|
|
28951
|
+
expected: "RoleUsersRecord",
|
|
28952
|
+
value: input
|
|
28953
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
28954
|
+
path: _path + "",
|
|
28955
|
+
expected: "RoleUsersRecord",
|
|
28956
|
+
value: input
|
|
28957
|
+
}))(input, "$input", true);
|
|
28958
|
+
const success = 0 === errors.length;
|
|
28959
|
+
return success ? {
|
|
28960
|
+
success,
|
|
28961
|
+
data: input
|
|
28962
|
+
} : {
|
|
28963
|
+
success,
|
|
28964
|
+
errors,
|
|
28965
|
+
data: input
|
|
28966
|
+
};
|
|
28967
|
+
}
|
|
28968
|
+
return {
|
|
28969
|
+
success: true,
|
|
28970
|
+
data: input
|
|
28971
|
+
};
|
|
28972
|
+
}; })()(input);
|
|
28973
|
+
}
|
|
28585
28974
|
case ":role.tags": {
|
|
28586
28975
|
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
28976
|
if (["value"].some(prop => key === prop))
|
|
@@ -29545,7 +29934,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29545
29934
|
if (undefined === value)
|
|
29546
29935
|
return true;
|
|
29547
29936
|
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 || "
|
|
29937
|
+
})); 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
29938
|
if (["type", "$", "version", "children", "direction", "format", "indent", "textFormat", "textStyle"].some(prop => key === prop))
|
|
29550
29939
|
return true;
|
|
29551
29940
|
const value = input[key];
|
|
@@ -29648,7 +30037,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29648
30037
|
path: _path + ".direction",
|
|
29649
30038
|
expected: "(\"ltr\" | \"rtl\" | null)",
|
|
29650
30039
|
value: input.direction
|
|
29651
|
-
}), "" === input.format || "
|
|
30040
|
+
}), "" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format || _report(_exceptionable, {
|
|
29652
30041
|
path: _path + ".format",
|
|
29653
30042
|
expected: "(\"\" | \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\")",
|
|
29654
30043
|
value: input.format
|
|
@@ -29930,7 +30319,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29930
30319
|
if (undefined === value)
|
|
29931
30320
|
return true;
|
|
29932
30321
|
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 || "
|
|
30322
|
+
})); 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
30323
|
if (["type", "$", "version", "children", "direction", "format", "indent", "textFormat", "textStyle"].some(prop => key === prop))
|
|
29935
30324
|
return true;
|
|
29936
30325
|
const value = input[key];
|
|
@@ -30045,7 +30434,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30045
30434
|
path: _path + ".direction",
|
|
30046
30435
|
expected: "(\"ltr\" | \"rtl\" | null)",
|
|
30047
30436
|
value: input.direction
|
|
30048
|
-
}), "" === input.format || "
|
|
30437
|
+
}), "" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format || _report(_exceptionable, {
|
|
30049
30438
|
path: _path + ".format",
|
|
30050
30439
|
expected: "(\"\" | \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\")",
|
|
30051
30440
|
value: input.format
|
|
@@ -31277,7 +31666,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31277
31666
|
}; })()(input);
|
|
31278
31667
|
}
|
|
31279
31668
|
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
|
|
31669
|
+
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
31670
|
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
31671
|
return true;
|
|
31283
31672
|
const value = input[key];
|
|
@@ -31431,14 +31820,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31431
31820
|
if (undefined === value)
|
|
31432
31821
|
return true;
|
|
31433
31822
|
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))
|
|
31823
|
+
})); 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 => {
|
|
31824
|
+
if (["createMenu", "contentMaxWidth", "colorTags", "readType", "readRate", "collapsedNodes", "colorHistory"].some(prop => key === prop))
|
|
31436
31825
|
return true;
|
|
31437
31826
|
const value = input[key];
|
|
31438
31827
|
if (undefined === value)
|
|
31439
31828
|
return true;
|
|
31440
31829
|
return false;
|
|
31441
|
-
})); const _io23 = (input, _exceptionable = true) => (undefined === input.sortBy || "
|
|
31830
|
+
})); 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
31831
|
if (["sortBy", "showPreview"].some(prop => key === prop))
|
|
31443
31832
|
return true;
|
|
31444
31833
|
const value = input[key];
|
|
@@ -31757,145 +32146,180 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31757
32146
|
if (undefined === value)
|
|
31758
32147
|
return true;
|
|
31759
32148
|
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))
|
|
32149
|
+
})); 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 => {
|
|
32150
|
+
if (["fontFamilies", "presets"].some(prop => key === prop))
|
|
31762
32151
|
return true;
|
|
31763
32152
|
const value = input[key];
|
|
31764
32153
|
if (undefined === value)
|
|
31765
32154
|
return true;
|
|
31766
32155
|
return false;
|
|
31767
|
-
})); const _io71 = (input, _exceptionable = true) =>
|
|
32156
|
+
})); 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 => {
|
|
32157
|
+
if (["type", "title", "horizontalMargin", "pageSize", "orientation", "fontSize", "fontFamily", "hide"].some(prop => key === prop))
|
|
32158
|
+
return true;
|
|
32159
|
+
const value = input[key];
|
|
32160
|
+
if (undefined === value)
|
|
32161
|
+
return true;
|
|
32162
|
+
return false;
|
|
32163
|
+
})); 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 => {
|
|
32164
|
+
if (["type", "columns", "rangeStart", "rangeEnd", "hide", "title", "horizontalMargin", "pageSize", "orientation", "fontSize", "fontFamily"].some(prop => key === prop))
|
|
32165
|
+
return true;
|
|
32166
|
+
const value = input[key];
|
|
32167
|
+
if (undefined === value)
|
|
32168
|
+
return true;
|
|
32169
|
+
return false;
|
|
32170
|
+
})); 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 => {
|
|
32171
|
+
if (["key", "label", "width", "textAlign"].some(prop => key === prop))
|
|
32172
|
+
return true;
|
|
32173
|
+
const value = input[key];
|
|
32174
|
+
if (undefined === value)
|
|
32175
|
+
return true;
|
|
32176
|
+
return false;
|
|
32177
|
+
})); 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
32178
|
if (["id", "folded"].some(prop => key === prop))
|
|
31769
32179
|
return true;
|
|
31770
32180
|
const value = input[key];
|
|
31771
32181
|
if (undefined === value)
|
|
31772
32182
|
return true;
|
|
31773
32183
|
return false;
|
|
31774
|
-
})); const
|
|
31775
|
-
if (["adobe", "rive"].some(prop => key === prop))
|
|
32184
|
+
})); 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 => {
|
|
32185
|
+
if (["adobe", "ograf", "rive"].some(prop => key === prop))
|
|
32186
|
+
return true;
|
|
32187
|
+
const value = input[key];
|
|
32188
|
+
if (undefined === value)
|
|
32189
|
+
return true;
|
|
32190
|
+
return false;
|
|
32191
|
+
})); 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 => {
|
|
32192
|
+
if (["videoBin", "imageBin", "audioBin", "timelineBin", "clipBin", "downloadPath", "renderPath", "renderPresetPath", "renderPresets", "videoRenderPreset", "imageRenderPreset", "audioRenderPreset", "forceRender", "useProxies", "deleteIntermediateFiles", "bodymovin"].some(prop => key === prop))
|
|
31776
32193
|
return true;
|
|
31777
32194
|
const value = input[key];
|
|
31778
32195
|
if (undefined === value)
|
|
31779
32196
|
return true;
|
|
31780
32197
|
return false;
|
|
31781
|
-
})); const
|
|
31782
|
-
if (["
|
|
32198
|
+
})); const _io77 = (input, _exceptionable = true) => (undefined === input.template || "string" === typeof input.template) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
32199
|
+
if (["template"].some(prop => key === prop))
|
|
31783
32200
|
return true;
|
|
31784
32201
|
const value = input[key];
|
|
31785
32202
|
if (undefined === value)
|
|
31786
32203
|
return true;
|
|
31787
32204
|
return false;
|
|
31788
|
-
})); const
|
|
32205
|
+
})); const _io78 = (input, _exceptionable = true) => (undefined === input.template || "string" === typeof input.template) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31789
32206
|
if (["template"].some(prop => key === prop))
|
|
31790
32207
|
return true;
|
|
31791
32208
|
const value = input[key];
|
|
31792
32209
|
if (undefined === value)
|
|
31793
32210
|
return true;
|
|
31794
32211
|
return false;
|
|
31795
|
-
})); const
|
|
32212
|
+
})); const _io79 = (input, _exceptionable = true) => (undefined === input.template || "string" === typeof input.template) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31796
32213
|
if (["template"].some(prop => key === prop))
|
|
31797
32214
|
return true;
|
|
31798
32215
|
const value = input[key];
|
|
31799
32216
|
if (undefined === value)
|
|
31800
32217
|
return true;
|
|
31801
32218
|
return false;
|
|
31802
|
-
})); const
|
|
32219
|
+
})); 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
32220
|
if (["collections", "aiMetadata", "semanticSearch", "ameRemoteRendering"].some(prop => key === prop))
|
|
31804
32221
|
return true;
|
|
31805
32222
|
const value = input[key];
|
|
31806
32223
|
if (undefined === value)
|
|
31807
32224
|
return true;
|
|
31808
32225
|
return false;
|
|
31809
|
-
})); const
|
|
32226
|
+
})); 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
32227
|
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
32228
|
return true;
|
|
31812
32229
|
const value = input[key];
|
|
31813
32230
|
if (undefined === value)
|
|
31814
32231
|
return true;
|
|
31815
32232
|
return false;
|
|
31816
|
-
})); const
|
|
32233
|
+
})); 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
32234
|
if (["events"].some(prop => key === prop))
|
|
31818
32235
|
return true;
|
|
31819
32236
|
const value = input[key];
|
|
31820
32237
|
if (undefined === value)
|
|
31821
32238
|
return true;
|
|
31822
32239
|
return false;
|
|
31823
|
-
})); const
|
|
32240
|
+
})); 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
32241
|
if (["comment", "assigned", "unassigned", "publishSucceeded"].some(prop => key === prop))
|
|
31825
32242
|
return true;
|
|
31826
32243
|
const value = input[key];
|
|
31827
32244
|
if (undefined === value)
|
|
31828
32245
|
return true;
|
|
31829
32246
|
return false;
|
|
31830
|
-
})); const
|
|
32247
|
+
})); const _io84 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
31831
32248
|
const value = input[key];
|
|
31832
32249
|
if (undefined === value)
|
|
31833
32250
|
return true;
|
|
31834
|
-
return Array.isArray(value) && value.every((elem,
|
|
31835
|
-
}); const
|
|
32251
|
+
return Array.isArray(value) && value.every((elem, _index48) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
32252
|
+
}); 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
32253
|
if (["create", "duplicate"].some(prop => key === prop))
|
|
31837
32254
|
return true;
|
|
31838
32255
|
const value = input[key];
|
|
31839
32256
|
if (undefined === value)
|
|
31840
32257
|
return true;
|
|
31841
32258
|
return false;
|
|
31842
|
-
})); const
|
|
32259
|
+
})); 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
32260
|
if (["titlePrefix", "titleSuffix"].some(prop => key === prop))
|
|
31844
32261
|
return true;
|
|
31845
32262
|
const value = input[key];
|
|
31846
32263
|
if (undefined === value)
|
|
31847
32264
|
return true;
|
|
31848
32265
|
return false;
|
|
31849
|
-
})); const
|
|
32266
|
+
})); 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
32267
|
if (["titlePrefix", "titleSuffix"].some(prop => key === prop))
|
|
31851
32268
|
return true;
|
|
31852
32269
|
const value = input[key];
|
|
31853
32270
|
if (undefined === value)
|
|
31854
32271
|
return true;
|
|
31855
32272
|
return false;
|
|
31856
|
-
})); const
|
|
32273
|
+
})); 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
32274
|
if (["stateFilter", "textFilter", "showEmpty", "selectedRecord", "subscribeSearchHits", "parseRegex"].some(prop => key === prop))
|
|
31858
32275
|
return true;
|
|
31859
32276
|
const value = input[key];
|
|
31860
32277
|
if (undefined === value)
|
|
31861
32278
|
return true;
|
|
31862
32279
|
return false;
|
|
31863
|
-
})); const
|
|
32280
|
+
})); const _io89 = (input, _exceptionable = true) => (undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31864
32281
|
if (["disableHotArea"].some(prop => key === prop))
|
|
31865
32282
|
return true;
|
|
31866
32283
|
const value = input[key];
|
|
31867
32284
|
if (undefined === value)
|
|
31868
32285
|
return true;
|
|
31869
32286
|
return false;
|
|
31870
|
-
})); const
|
|
32287
|
+
})); const _io90 = (input, _exceptionable = true) => (undefined === input.refreshInterval || "number" === typeof input.refreshInterval) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31871
32288
|
if (["refreshInterval"].some(prop => key === prop))
|
|
31872
32289
|
return true;
|
|
31873
32290
|
const value = input[key];
|
|
31874
32291
|
if (undefined === value)
|
|
31875
32292
|
return true;
|
|
31876
32293
|
return false;
|
|
31877
|
-
})); const
|
|
32294
|
+
})); const _io91 = (input, _exceptionable = true) => (undefined === input.layout || "string" === typeof input.layout) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
31878
32295
|
if (["layout"].some(prop => key === prop))
|
|
31879
32296
|
return true;
|
|
31880
32297
|
const value = input[key];
|
|
31881
32298
|
if (undefined === value)
|
|
31882
32299
|
return true;
|
|
31883
32300
|
return false;
|
|
31884
|
-
})); const
|
|
31885
|
-
if (["
|
|
32301
|
+
})); 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 => {
|
|
32302
|
+
if (["ignoredWarnings", "ignoredErrors"].some(prop => key === prop))
|
|
31886
32303
|
return true;
|
|
31887
32304
|
const value = input[key];
|
|
31888
32305
|
if (undefined === value)
|
|
31889
32306
|
return true;
|
|
31890
32307
|
return false;
|
|
31891
|
-
})); const
|
|
32308
|
+
})); 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
32309
|
if (["enableUpdate", "autoUpdate"].some(prop => key === prop))
|
|
31893
32310
|
return true;
|
|
31894
32311
|
const value = input[key];
|
|
31895
32312
|
if (undefined === value)
|
|
31896
32313
|
return true;
|
|
31897
32314
|
return false;
|
|
31898
|
-
})); const
|
|
32315
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
32316
|
+
if ("script" === input.type)
|
|
32317
|
+
return _io71(input, true && _exceptionable);
|
|
32318
|
+
else if ("rundown" === input.type)
|
|
32319
|
+
return _io72(input, true && _exceptionable);
|
|
32320
|
+
else
|
|
32321
|
+
return false;
|
|
32322
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
31899
32323
|
path: _path + ".autoLogoutTime",
|
|
31900
32324
|
expected: "(number | undefined)",
|
|
31901
32325
|
value: input.autoLogoutTime
|
|
@@ -31919,12 +32343,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31919
32343
|
path: _path + ".googleWhitelist",
|
|
31920
32344
|
expected: "(Array<__type> | undefined)",
|
|
31921
32345
|
value: input.googleWhitelist
|
|
31922
|
-
})) && input.googleWhitelist.map((elem,
|
|
31923
|
-
path: _path + ".googleWhitelist[" +
|
|
32346
|
+
})) && input.googleWhitelist.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
32347
|
+
path: _path + ".googleWhitelist[" + _index52 + "]",
|
|
31924
32348
|
expected: "__type.o2",
|
|
31925
32349
|
value: elem
|
|
31926
|
-
})) && _vo3(elem, _path + ".googleWhitelist[" +
|
|
31927
|
-
path: _path + ".googleWhitelist[" +
|
|
32350
|
+
})) && _vo3(elem, _path + ".googleWhitelist[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
32351
|
+
path: _path + ".googleWhitelist[" + _index52 + "]",
|
|
31928
32352
|
expected: "__type.o2",
|
|
31929
32353
|
value: elem
|
|
31930
32354
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31935,8 +32359,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31935
32359
|
path: _path + ".googleUserRoles",
|
|
31936
32360
|
expected: "(Array<string> | undefined)",
|
|
31937
32361
|
value: input.googleUserRoles
|
|
31938
|
-
})) && input.googleUserRoles.map((elem,
|
|
31939
|
-
path: _path + ".googleUserRoles[" +
|
|
32362
|
+
})) && input.googleUserRoles.map((elem, _index53) => "string" === typeof elem || _report(_exceptionable, {
|
|
32363
|
+
path: _path + ".googleUserRoles[" + _index53 + "]",
|
|
31940
32364
|
expected: "string",
|
|
31941
32365
|
value: elem
|
|
31942
32366
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31947,12 +32371,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31947
32371
|
path: _path + ".azureWhitelist",
|
|
31948
32372
|
expected: "(Array<__type>.o1 | undefined)",
|
|
31949
32373
|
value: input.azureWhitelist
|
|
31950
|
-
})) && input.azureWhitelist.map((elem,
|
|
31951
|
-
path: _path + ".azureWhitelist[" +
|
|
32374
|
+
})) && input.azureWhitelist.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
32375
|
+
path: _path + ".azureWhitelist[" + _index54 + "]",
|
|
31952
32376
|
expected: "__type.o3",
|
|
31953
32377
|
value: elem
|
|
31954
|
-
})) && _vo4(elem, _path + ".azureWhitelist[" +
|
|
31955
|
-
path: _path + ".azureWhitelist[" +
|
|
32378
|
+
})) && _vo4(elem, _path + ".azureWhitelist[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
32379
|
+
path: _path + ".azureWhitelist[" + _index54 + "]",
|
|
31956
32380
|
expected: "__type.o3",
|
|
31957
32381
|
value: elem
|
|
31958
32382
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31963,8 +32387,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31963
32387
|
path: _path + ".azureUserRoles",
|
|
31964
32388
|
expected: "(Array<string> | undefined)",
|
|
31965
32389
|
value: input.azureUserRoles
|
|
31966
|
-
})) && input.azureUserRoles.map((elem,
|
|
31967
|
-
path: _path + ".azureUserRoles[" +
|
|
32390
|
+
})) && input.azureUserRoles.map((elem, _index55) => "string" === typeof elem || _report(_exceptionable, {
|
|
32391
|
+
path: _path + ".azureUserRoles[" + _index55 + "]",
|
|
31968
32392
|
expected: "string",
|
|
31969
32393
|
value: elem
|
|
31970
32394
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32015,16 +32439,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32015
32439
|
path: _path + ".exclusiveTagGroups",
|
|
32016
32440
|
expected: "(Array<Array<string>> | undefined)",
|
|
32017
32441
|
value: input.exclusiveTagGroups
|
|
32018
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
32019
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
32442
|
+
})) && input.exclusiveTagGroups.map((elem, _index56) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
32443
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "]",
|
|
32020
32444
|
expected: "Array<string>",
|
|
32021
32445
|
value: elem
|
|
32022
|
-
})) && elem.map((elem,
|
|
32023
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
32446
|
+
})) && elem.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
32447
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "][" + _index57 + "]",
|
|
32024
32448
|
expected: "string",
|
|
32025
32449
|
value: elem
|
|
32026
32450
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
32027
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
32451
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "]",
|
|
32028
32452
|
expected: "Array<string>",
|
|
32029
32453
|
value: elem
|
|
32030
32454
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32143,12 +32567,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32143
32567
|
path: _path + ".commands",
|
|
32144
32568
|
expected: "(Array<__type>.o9 | undefined)",
|
|
32145
32569
|
value: input.commands
|
|
32146
|
-
})) && input.commands.map((elem,
|
|
32147
|
-
path: _path + ".commands[" +
|
|
32570
|
+
})) && input.commands.map((elem, _index58) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
32571
|
+
path: _path + ".commands[" + _index58 + "]",
|
|
32148
32572
|
expected: "__type.o49",
|
|
32149
32573
|
value: elem
|
|
32150
|
-
})) && _vo60(elem, _path + ".commands[" +
|
|
32151
|
-
path: _path + ".commands[" +
|
|
32574
|
+
})) && _vo60(elem, _path + ".commands[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
32575
|
+
path: _path + ".commands[" + _index58 + "]",
|
|
32152
32576
|
expected: "__type.o49",
|
|
32153
32577
|
value: elem
|
|
32154
32578
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32159,8 +32583,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32159
32583
|
path: _path + ".predefinedTags",
|
|
32160
32584
|
expected: "(Array<string> | undefined)",
|
|
32161
32585
|
value: input.predefinedTags
|
|
32162
|
-
})) && input.predefinedTags.map((elem,
|
|
32163
|
-
path: _path + ".predefinedTags[" +
|
|
32586
|
+
})) && input.predefinedTags.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
32587
|
+
path: _path + ".predefinedTags[" + _index59 + "]",
|
|
32164
32588
|
expected: "string",
|
|
32165
32589
|
value: elem
|
|
32166
32590
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32187,12 +32611,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32187
32611
|
path: _path + ".hiddenPreviews",
|
|
32188
32612
|
expected: "(Array<__type>.o10 | undefined)",
|
|
32189
32613
|
value: input.hiddenPreviews
|
|
32190
|
-
})) && input.hiddenPreviews.map((elem,
|
|
32191
|
-
path: _path + ".hiddenPreviews[" +
|
|
32614
|
+
})) && input.hiddenPreviews.map((elem, _index60) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
32615
|
+
path: _path + ".hiddenPreviews[" + _index60 + "]",
|
|
32192
32616
|
expected: "__type.o60",
|
|
32193
32617
|
value: elem
|
|
32194
|
-
})) &&
|
|
32195
|
-
path: _path + ".hiddenPreviews[" +
|
|
32618
|
+
})) && _vo74(elem, _path + ".hiddenPreviews[" + _index60 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
32619
|
+
path: _path + ".hiddenPreviews[" + _index60 + "]",
|
|
32196
32620
|
expected: "__type.o60",
|
|
32197
32621
|
value: elem
|
|
32198
32622
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32203,7 +32627,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32203
32627
|
path: _path + ".plugins",
|
|
32204
32628
|
expected: "(__type.o61 | undefined)",
|
|
32205
32629
|
value: input.plugins
|
|
32206
|
-
})) &&
|
|
32630
|
+
})) && _vo75(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
32207
32631
|
path: _path + ".plugins",
|
|
32208
32632
|
expected: "(__type.o61 | undefined)",
|
|
32209
32633
|
value: input.plugins
|
|
@@ -32217,27 +32641,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32217
32641
|
value: input.debug
|
|
32218
32642
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
32219
32643
|
path: _path + ".featurePreview",
|
|
32220
|
-
expected: "(__type.
|
|
32644
|
+
expected: "(__type.o66 | undefined)",
|
|
32221
32645
|
value: input.featurePreview
|
|
32222
|
-
})) &&
|
|
32646
|
+
})) && _vo80(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
32223
32647
|
path: _path + ".featurePreview",
|
|
32224
|
-
expected: "(__type.
|
|
32648
|
+
expected: "(__type.o66 | undefined)",
|
|
32225
32649
|
value: input.featurePreview
|
|
32226
32650
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
32227
32651
|
path: _path + ".flags",
|
|
32228
|
-
expected: "(__type.
|
|
32652
|
+
expected: "(__type.o67 | undefined)",
|
|
32229
32653
|
value: input.flags
|
|
32230
|
-
})) &&
|
|
32654
|
+
})) && _vo81(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
32231
32655
|
path: _path + ".flags",
|
|
32232
|
-
expected: "(__type.
|
|
32656
|
+
expected: "(__type.o67 | undefined)",
|
|
32233
32657
|
value: input.flags
|
|
32234
32658
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
32235
32659
|
path: _path + ".notifications",
|
|
32236
|
-
expected: "(__type.
|
|
32660
|
+
expected: "(__type.o68 | undefined)",
|
|
32237
32661
|
value: input.notifications
|
|
32238
|
-
})) &&
|
|
32662
|
+
})) && _vo82(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
32239
32663
|
path: _path + ".notifications",
|
|
32240
|
-
expected: "(__type.
|
|
32664
|
+
expected: "(__type.o68 | undefined)",
|
|
32241
32665
|
value: input.notifications
|
|
32242
32666
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
32243
32667
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -32245,59 +32669,59 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32245
32669
|
value: input.suppressDeleteAlert
|
|
32246
32670
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
32247
32671
|
path: _path + ".clone",
|
|
32248
|
-
expected: "(__type.
|
|
32672
|
+
expected: "(__type.o71 | undefined)",
|
|
32249
32673
|
value: input.clone
|
|
32250
|
-
})) &&
|
|
32674
|
+
})) && _vo85(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
32251
32675
|
path: _path + ".clone",
|
|
32252
|
-
expected: "(__type.
|
|
32676
|
+
expected: "(__type.o71 | undefined)",
|
|
32253
32677
|
value: input.clone
|
|
32254
32678
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
32255
32679
|
path: _path + ".utilsAssetEditorPanel",
|
|
32256
|
-
expected: "(__type.
|
|
32680
|
+
expected: "(__type.o74 | undefined)",
|
|
32257
32681
|
value: input.utilsAssetEditorPanel
|
|
32258
|
-
})) &&
|
|
32682
|
+
})) && _vo88(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
32259
32683
|
path: _path + ".utilsAssetEditorPanel",
|
|
32260
|
-
expected: "(__type.
|
|
32684
|
+
expected: "(__type.o74 | undefined)",
|
|
32261
32685
|
value: input.utilsAssetEditorPanel
|
|
32262
32686
|
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
32263
32687
|
path: _path + ".display",
|
|
32264
|
-
expected: "(__type.
|
|
32688
|
+
expected: "(__type.o75 | undefined)",
|
|
32265
32689
|
value: input.display
|
|
32266
|
-
})) &&
|
|
32690
|
+
})) && _vo89(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
32267
32691
|
path: _path + ".display",
|
|
32268
|
-
expected: "(__type.
|
|
32692
|
+
expected: "(__type.o75 | undefined)",
|
|
32269
32693
|
value: input.display
|
|
32270
32694
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
32271
32695
|
path: _path + ".bookmarks",
|
|
32272
|
-
expected: "(__type.
|
|
32696
|
+
expected: "(__type.o76 | undefined)",
|
|
32273
32697
|
value: input.bookmarks
|
|
32274
|
-
})) &&
|
|
32698
|
+
})) && _vo90(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
32275
32699
|
path: _path + ".bookmarks",
|
|
32276
|
-
expected: "(__type.
|
|
32700
|
+
expected: "(__type.o76 | undefined)",
|
|
32277
32701
|
value: input.bookmarks
|
|
32278
32702
|
}), undefined === input.shotbox || ("object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) || _report(_exceptionable, {
|
|
32279
32703
|
path: _path + ".shotbox",
|
|
32280
|
-
expected: "(__type.
|
|
32704
|
+
expected: "(__type.o77 | undefined)",
|
|
32281
32705
|
value: input.shotbox
|
|
32282
|
-
})) &&
|
|
32706
|
+
})) && _vo91(input.shotbox, _path + ".shotbox", true && _exceptionable) || _report(_exceptionable, {
|
|
32283
32707
|
path: _path + ".shotbox",
|
|
32284
|
-
expected: "(__type.
|
|
32708
|
+
expected: "(__type.o77 | undefined)",
|
|
32285
32709
|
value: input.shotbox
|
|
32286
32710
|
}), undefined === input.performance || ("object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) || _report(_exceptionable, {
|
|
32287
32711
|
path: _path + ".performance",
|
|
32288
|
-
expected: "(__type.
|
|
32712
|
+
expected: "(__type.o78 | undefined)",
|
|
32289
32713
|
value: input.performance
|
|
32290
|
-
})) &&
|
|
32714
|
+
})) && _vo92(input.performance, _path + ".performance", true && _exceptionable) || _report(_exceptionable, {
|
|
32291
32715
|
path: _path + ".performance",
|
|
32292
|
-
expected: "(__type.
|
|
32716
|
+
expected: "(__type.o78 | undefined)",
|
|
32293
32717
|
value: input.performance
|
|
32294
32718
|
}), undefined === input.app || ("object" === typeof input.app && null !== input.app && false === Array.isArray(input.app) || _report(_exceptionable, {
|
|
32295
32719
|
path: _path + ".app",
|
|
32296
|
-
expected: "(__type.
|
|
32720
|
+
expected: "(__type.o79 | undefined)",
|
|
32297
32721
|
value: input.app
|
|
32298
|
-
})) &&
|
|
32722
|
+
})) && _vo93(input.app, _path + ".app", true && _exceptionable) || _report(_exceptionable, {
|
|
32299
32723
|
path: _path + ".app",
|
|
32300
|
-
expected: "(__type.
|
|
32724
|
+
expected: "(__type.o79 | undefined)",
|
|
32301
32725
|
value: input.app
|
|
32302
32726
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
32303
32727
|
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 +33073,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32649
33073
|
path: _path + ".sortOrder",
|
|
32650
33074
|
expected: "(Array<string> | undefined)",
|
|
32651
33075
|
value: input.sortOrder
|
|
32652
|
-
})) && input.sortOrder.map((elem,
|
|
32653
|
-
path: _path + ".sortOrder[" +
|
|
33076
|
+
})) && input.sortOrder.map((elem, _index61) => "string" === typeof elem || _report(_exceptionable, {
|
|
33077
|
+
path: _path + ".sortOrder[" + _index61 + "]",
|
|
32654
33078
|
expected: "string",
|
|
32655
33079
|
value: elem
|
|
32656
33080
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32677,8 +33101,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32677
33101
|
path: _path + ".include",
|
|
32678
33102
|
expected: "(Array<string> | undefined)",
|
|
32679
33103
|
value: input.include
|
|
32680
|
-
})) && input.include.map((elem,
|
|
32681
|
-
path: _path + ".include[" +
|
|
33104
|
+
})) && input.include.map((elem, _index62) => "string" === typeof elem || _report(_exceptionable, {
|
|
33105
|
+
path: _path + ".include[" + _index62 + "]",
|
|
32682
33106
|
expected: "string",
|
|
32683
33107
|
value: elem
|
|
32684
33108
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32689,8 +33113,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32689
33113
|
path: _path + ".exclude",
|
|
32690
33114
|
expected: "(Array<string> | undefined)",
|
|
32691
33115
|
value: input.exclude
|
|
32692
|
-
})) && input.exclude.map((elem,
|
|
32693
|
-
path: _path + ".exclude[" +
|
|
33116
|
+
})) && input.exclude.map((elem, _index63) => "string" === typeof elem || _report(_exceptionable, {
|
|
33117
|
+
path: _path + ".exclude[" + _index63 + "]",
|
|
32694
33118
|
expected: "string",
|
|
32695
33119
|
value: elem
|
|
32696
33120
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32717,8 +33141,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32717
33141
|
path: _path + ".include",
|
|
32718
33142
|
expected: "(Array<string> | undefined)",
|
|
32719
33143
|
value: input.include
|
|
32720
|
-
})) && input.include.map((elem,
|
|
32721
|
-
path: _path + ".include[" +
|
|
33144
|
+
})) && input.include.map((elem, _index64) => "string" === typeof elem || _report(_exceptionable, {
|
|
33145
|
+
path: _path + ".include[" + _index64 + "]",
|
|
32722
33146
|
expected: "string",
|
|
32723
33147
|
value: elem
|
|
32724
33148
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32729,8 +33153,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32729
33153
|
path: _path + ".exclude",
|
|
32730
33154
|
expected: "(Array<string> | undefined)",
|
|
32731
33155
|
value: input.exclude
|
|
32732
|
-
})) && input.exclude.map((elem,
|
|
32733
|
-
path: _path + ".exclude[" +
|
|
33156
|
+
})) && input.exclude.map((elem, _index65) => "string" === typeof elem || _report(_exceptionable, {
|
|
33157
|
+
path: _path + ".exclude[" + _index65 + "]",
|
|
32734
33158
|
expected: "string",
|
|
32735
33159
|
value: elem
|
|
32736
33160
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32757,8 +33181,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32757
33181
|
path: _path + ".include",
|
|
32758
33182
|
expected: "(Array<string> | undefined)",
|
|
32759
33183
|
value: input.include
|
|
32760
|
-
})) && input.include.map((elem,
|
|
32761
|
-
path: _path + ".include[" +
|
|
33184
|
+
})) && input.include.map((elem, _index66) => "string" === typeof elem || _report(_exceptionable, {
|
|
33185
|
+
path: _path + ".include[" + _index66 + "]",
|
|
32762
33186
|
expected: "string",
|
|
32763
33187
|
value: elem
|
|
32764
33188
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32769,8 +33193,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32769
33193
|
path: _path + ".exclude",
|
|
32770
33194
|
expected: "(Array<string> | undefined)",
|
|
32771
33195
|
value: input.exclude
|
|
32772
|
-
})) && input.exclude.map((elem,
|
|
32773
|
-
path: _path + ".exclude[" +
|
|
33196
|
+
})) && input.exclude.map((elem, _index67) => "string" === typeof elem || _report(_exceptionable, {
|
|
33197
|
+
path: _path + ".exclude[" + _index67 + "]",
|
|
32774
33198
|
expected: "string",
|
|
32775
33199
|
value: elem
|
|
32776
33200
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32797,8 +33221,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32797
33221
|
path: _path + ".include",
|
|
32798
33222
|
expected: "(Array<string> | undefined)",
|
|
32799
33223
|
value: input.include
|
|
32800
|
-
})) && input.include.map((elem,
|
|
32801
|
-
path: _path + ".include[" +
|
|
33224
|
+
})) && input.include.map((elem, _index68) => "string" === typeof elem || _report(_exceptionable, {
|
|
33225
|
+
path: _path + ".include[" + _index68 + "]",
|
|
32802
33226
|
expected: "string",
|
|
32803
33227
|
value: elem
|
|
32804
33228
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32809,8 +33233,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32809
33233
|
path: _path + ".exclude",
|
|
32810
33234
|
expected: "(Array<string> | undefined)",
|
|
32811
33235
|
value: input.exclude
|
|
32812
|
-
})) && input.exclude.map((elem,
|
|
32813
|
-
path: _path + ".exclude[" +
|
|
33236
|
+
})) && input.exclude.map((elem, _index69) => "string" === typeof elem || _report(_exceptionable, {
|
|
33237
|
+
path: _path + ".exclude[" + _index69 + "]",
|
|
32814
33238
|
expected: "string",
|
|
32815
33239
|
value: elem
|
|
32816
33240
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -32965,16 +33389,20 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
32965
33389
|
path: _path + ".createMenu",
|
|
32966
33390
|
expected: "(__type.o19 | undefined)",
|
|
32967
33391
|
value: input.createMenu
|
|
33392
|
+
}), undefined === input.contentMaxWidth || "number" === typeof input.contentMaxWidth || _report(_exceptionable, {
|
|
33393
|
+
path: _path + ".contentMaxWidth",
|
|
33394
|
+
expected: "(number | undefined)",
|
|
33395
|
+
value: input.contentMaxWidth
|
|
32968
33396
|
}), undefined === input.colorTags || (Array.isArray(input.colorTags) || _report(_exceptionable, {
|
|
32969
33397
|
path: _path + ".colorTags",
|
|
32970
33398
|
expected: "(Array<PromotedTag> | undefined)",
|
|
32971
33399
|
value: input.colorTags
|
|
32972
|
-
})) && input.colorTags.map((elem,
|
|
32973
|
-
path: _path + ".colorTags[" +
|
|
33400
|
+
})) && input.colorTags.map((elem, _index70) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
33401
|
+
path: _path + ".colorTags[" + _index70 + "]",
|
|
32974
33402
|
expected: "PromotedTag",
|
|
32975
33403
|
value: elem
|
|
32976
|
-
})) && _vo24(elem, _path + ".colorTags[" +
|
|
32977
|
-
path: _path + ".colorTags[" +
|
|
33404
|
+
})) && _vo24(elem, _path + ".colorTags[" + _index70 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
33405
|
+
path: _path + ".colorTags[" + _index70 + "]",
|
|
32978
33406
|
expected: "PromotedTag",
|
|
32979
33407
|
value: elem
|
|
32980
33408
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33001,12 +33429,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33001
33429
|
path: _path + ".colorHistory",
|
|
33002
33430
|
expected: "(Array<__type>.o2 | undefined)",
|
|
33003
33431
|
value: input.colorHistory
|
|
33004
|
-
})) && input.colorHistory.map((elem,
|
|
33005
|
-
path: _path + ".colorHistory[" +
|
|
33432
|
+
})) && input.colorHistory.map((elem, _index71) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
33433
|
+
path: _path + ".colorHistory[" + _index71 + "]",
|
|
33006
33434
|
expected: "__type.o22",
|
|
33007
33435
|
value: elem
|
|
33008
|
-
})) && _vo27(elem, _path + ".colorHistory[" +
|
|
33009
|
-
path: _path + ".colorHistory[" +
|
|
33436
|
+
})) && _vo27(elem, _path + ".colorHistory[" + _index71 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
33437
|
+
path: _path + ".colorHistory[" + _index71 + "]",
|
|
33010
33438
|
expected: "__type.o22",
|
|
33011
33439
|
value: elem
|
|
33012
33440
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33014,7 +33442,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33014
33442
|
expected: "(Array<__type>.o2 | undefined)",
|
|
33015
33443
|
value: input.colorHistory
|
|
33016
33444
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
33017
|
-
if (["createMenu", "colorTags", "readType", "readRate", "collapsedNodes", "colorHistory"].some(prop => key === prop))
|
|
33445
|
+
if (["createMenu", "contentMaxWidth", "colorTags", "readType", "readRate", "collapsedNodes", "colorHistory"].some(prop => key === prop))
|
|
33018
33446
|
return true;
|
|
33019
33447
|
const value = input[key];
|
|
33020
33448
|
if (undefined === value)
|
|
@@ -33029,7 +33457,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33029
33457
|
"Please remove the property next time."
|
|
33030
33458
|
].join("\n")
|
|
33031
33459
|
});
|
|
33032
|
-
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "
|
|
33460
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "title" === input.sortBy || "index" === input.sortBy || _report(_exceptionable, {
|
|
33033
33461
|
path: _path + ".sortBy",
|
|
33034
33462
|
expected: "(\"index\" | \"title\" | undefined)",
|
|
33035
33463
|
value: input.sortBy
|
|
@@ -33154,8 +33582,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33154
33582
|
path: _path + ".favorites",
|
|
33155
33583
|
expected: "(Array<string> | undefined)",
|
|
33156
33584
|
value: input.favorites
|
|
33157
|
-
})) && input.favorites.map((elem,
|
|
33158
|
-
path: _path + ".favorites[" +
|
|
33585
|
+
})) && input.favorites.map((elem, _index72) => "string" === typeof elem || _report(_exceptionable, {
|
|
33586
|
+
path: _path + ".favorites[" + _index72 + "]",
|
|
33159
33587
|
expected: "string",
|
|
33160
33588
|
value: elem
|
|
33161
33589
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33309,31 +33737,31 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33309
33737
|
path: _path + ".sequence",
|
|
33310
33738
|
expected: "(Array<string | [string, unknown]> | null | string | undefined)",
|
|
33311
33739
|
value: input.sequence
|
|
33312
|
-
})) && input.sequence.map((elem,
|
|
33313
|
-
path: _path + ".sequence[" +
|
|
33740
|
+
})) && input.sequence.map((elem, _index73) => (null !== elem || _report(_exceptionable, {
|
|
33741
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33314
33742
|
expected: "([string, unknown] | string)",
|
|
33315
33743
|
value: elem
|
|
33316
33744
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
33317
|
-
path: _path + ".sequence[" +
|
|
33745
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33318
33746
|
expected: "([string, unknown] | string)",
|
|
33319
33747
|
value: elem
|
|
33320
33748
|
})) && ("string" === typeof elem || (Array.isArray(elem) || _report(_exceptionable, {
|
|
33321
|
-
path: _path + ".sequence[" +
|
|
33749
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33322
33750
|
expected: "([string, unknown] | string)",
|
|
33323
33751
|
value: elem
|
|
33324
33752
|
})) && ((elem.length === 2 || _report(_exceptionable, {
|
|
33325
|
-
path: _path + ".sequence[" +
|
|
33753
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33326
33754
|
expected: "[string, any]",
|
|
33327
33755
|
value: elem
|
|
33328
33756
|
})) && [
|
|
33329
33757
|
"string" === typeof elem[0] || _report(_exceptionable, {
|
|
33330
|
-
path: _path + ".sequence[" +
|
|
33758
|
+
path: _path + ".sequence[" + _index73 + "][0]",
|
|
33331
33759
|
expected: "string",
|
|
33332
33760
|
value: elem[0]
|
|
33333
33761
|
}),
|
|
33334
33762
|
true
|
|
33335
33763
|
].every(flag => flag)) || _report(_exceptionable, {
|
|
33336
|
-
path: _path + ".sequence[" +
|
|
33764
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
33337
33765
|
expected: "([string, unknown] | string)",
|
|
33338
33766
|
value: elem
|
|
33339
33767
|
}))).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33409,12 +33837,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33409
33837
|
path: _path + ".displayAspectRatioPresets",
|
|
33410
33838
|
expected: "(Array<__type>.o3 | undefined)",
|
|
33411
33839
|
value: input.displayAspectRatioPresets
|
|
33412
|
-
})) && input.displayAspectRatioPresets.map((elem,
|
|
33413
|
-
path: _path + ".displayAspectRatioPresets[" +
|
|
33840
|
+
})) && input.displayAspectRatioPresets.map((elem, _index74) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
33841
|
+
path: _path + ".displayAspectRatioPresets[" + _index74 + "]",
|
|
33414
33842
|
expected: "__type.o28",
|
|
33415
33843
|
value: elem
|
|
33416
|
-
})) && _vo38(elem, _path + ".displayAspectRatioPresets[" +
|
|
33417
|
-
path: _path + ".displayAspectRatioPresets[" +
|
|
33844
|
+
})) && _vo38(elem, _path + ".displayAspectRatioPresets[" + _index74 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
33845
|
+
path: _path + ".displayAspectRatioPresets[" + _index74 + "]",
|
|
33418
33846
|
expected: "__type.o28",
|
|
33419
33847
|
value: elem
|
|
33420
33848
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33473,8 +33901,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33473
33901
|
path: _path + ".playbackRates",
|
|
33474
33902
|
expected: "(Array<number> | undefined)",
|
|
33475
33903
|
value: input.playbackRates
|
|
33476
|
-
})) && input.playbackRates.map((elem,
|
|
33477
|
-
path: _path + ".playbackRates[" +
|
|
33904
|
+
})) && input.playbackRates.map((elem, _index75) => "number" === typeof elem || _report(_exceptionable, {
|
|
33905
|
+
path: _path + ".playbackRates[" + _index75 + "]",
|
|
33478
33906
|
expected: "number",
|
|
33479
33907
|
value: elem
|
|
33480
33908
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33501,12 +33929,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33501
33929
|
path: _path + ".guides",
|
|
33502
33930
|
expected: "(Array<__type>.o6 | undefined)",
|
|
33503
33931
|
value: input.guides
|
|
33504
|
-
})) && input.guides.map((elem,
|
|
33505
|
-
path: _path + ".guides[" +
|
|
33932
|
+
})) && input.guides.map((elem, _index76) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
33933
|
+
path: _path + ".guides[" + _index76 + "]",
|
|
33506
33934
|
expected: "__type.o34",
|
|
33507
33935
|
value: elem
|
|
33508
|
-
})) && _vo44(elem, _path + ".guides[" +
|
|
33509
|
-
path: _path + ".guides[" +
|
|
33936
|
+
})) && _vo44(elem, _path + ".guides[" + _index76 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
33937
|
+
path: _path + ".guides[" + _index76 + "]",
|
|
33510
33938
|
expected: "__type.o34",
|
|
33511
33939
|
value: elem
|
|
33512
33940
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33657,12 +34085,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33657
34085
|
path: _path + ".suggestions",
|
|
33658
34086
|
expected: "(Array<__type>.o4 | undefined)",
|
|
33659
34087
|
value: input.suggestions
|
|
33660
|
-
})) && input.suggestions.map((elem,
|
|
33661
|
-
path: _path + ".suggestions[" +
|
|
34088
|
+
})) && input.suggestions.map((elem, _index77) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
34089
|
+
path: _path + ".suggestions[" + _index77 + "]",
|
|
33662
34090
|
expected: "__type.o32",
|
|
33663
34091
|
value: elem
|
|
33664
|
-
})) && _vo42(elem, _path + ".suggestions[" +
|
|
33665
|
-
path: _path + ".suggestions[" +
|
|
34092
|
+
})) && _vo42(elem, _path + ".suggestions[" + _index77 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34093
|
+
path: _path + ".suggestions[" + _index77 + "]",
|
|
33666
34094
|
expected: "__type.o32",
|
|
33667
34095
|
value: elem
|
|
33668
34096
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33673,12 +34101,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33673
34101
|
path: _path + ".colors",
|
|
33674
34102
|
expected: "(Array<__type>.o5 | undefined)",
|
|
33675
34103
|
value: input.colors
|
|
33676
|
-
})) && input.colors.map((elem,
|
|
33677
|
-
path: _path + ".colors[" +
|
|
34104
|
+
})) && input.colors.map((elem, _index78) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
34105
|
+
path: _path + ".colors[" + _index78 + "]",
|
|
33678
34106
|
expected: "__type.o33",
|
|
33679
34107
|
value: elem
|
|
33680
|
-
})) && _vo43(elem, _path + ".colors[" +
|
|
33681
|
-
path: _path + ".colors[" +
|
|
34108
|
+
})) && _vo43(elem, _path + ".colors[" + _index78 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34109
|
+
path: _path + ".colors[" + _index78 + "]",
|
|
33682
34110
|
expected: "__type.o33",
|
|
33683
34111
|
value: elem
|
|
33684
34112
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33689,8 +34117,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33689
34117
|
path: _path + ".overridableProperties",
|
|
33690
34118
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
33691
34119
|
value: input.overridableProperties
|
|
33692
|
-
})) && input.overridableProperties.map((elem,
|
|
33693
|
-
path: _path + ".overridableProperties[" +
|
|
34120
|
+
})) && input.overridableProperties.map((elem, _index79) => null === elem || true === _vv80.has(elem) || _report(_exceptionable, {
|
|
34121
|
+
path: _path + ".overridableProperties[" + _index79 + "]",
|
|
33694
34122
|
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
34123
|
value: elem
|
|
33696
34124
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33885,12 +34313,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33885
34313
|
path: _path + ".text",
|
|
33886
34314
|
expected: "(Array<__type>.o7 | undefined)",
|
|
33887
34315
|
value: input.text
|
|
33888
|
-
})) && input.text.map((elem,
|
|
33889
|
-
path: _path + ".text[" +
|
|
34316
|
+
})) && input.text.map((elem, _index81) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
34317
|
+
path: _path + ".text[" + _index81 + "]",
|
|
33890
34318
|
expected: "__type.o39",
|
|
33891
34319
|
value: elem
|
|
33892
|
-
})) && _vo49(elem, _path + ".text[" +
|
|
33893
|
-
path: _path + ".text[" +
|
|
34320
|
+
})) && _vo49(elem, _path + ".text[" + _index81 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34321
|
+
path: _path + ".text[" + _index81 + "]",
|
|
33894
34322
|
expected: "__type.o39",
|
|
33895
34323
|
value: elem
|
|
33896
34324
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -33961,8 +34389,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
33961
34389
|
path: _path + ".args",
|
|
33962
34390
|
expected: "(Array<string> | undefined)",
|
|
33963
34391
|
value: input.args
|
|
33964
|
-
})) && input.args.map((elem,
|
|
33965
|
-
path: _path + ".args[" +
|
|
34392
|
+
})) && input.args.map((elem, _index82) => "string" === typeof elem || _report(_exceptionable, {
|
|
34393
|
+
path: _path + ".args[" + _index82 + "]",
|
|
33966
34394
|
expected: "string",
|
|
33967
34395
|
value: elem
|
|
33968
34396
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34125,12 +34553,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34125
34553
|
path: _path + ".presets",
|
|
34126
34554
|
expected: "(Array<AudioMappingPreset> | undefined)",
|
|
34127
34555
|
value: input.presets
|
|
34128
|
-
})) && input.presets.map((elem,
|
|
34129
|
-
path: _path + ".presets[" +
|
|
34556
|
+
})) && input.presets.map((elem, _index83) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
34557
|
+
path: _path + ".presets[" + _index83 + "]",
|
|
34130
34558
|
expected: "AudioMappingPreset",
|
|
34131
34559
|
value: elem
|
|
34132
|
-
})) && _vo56(elem, _path + ".presets[" +
|
|
34133
|
-
path: _path + ".presets[" +
|
|
34560
|
+
})) && _vo56(elem, _path + ".presets[" + _index83 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34561
|
+
path: _path + ".presets[" + _index83 + "]",
|
|
34134
34562
|
expected: "AudioMappingPreset",
|
|
34135
34563
|
value: elem
|
|
34136
34564
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34165,16 +34593,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34165
34593
|
path: _path + ".mapping",
|
|
34166
34594
|
expected: "(Array<Array<number>> | undefined)",
|
|
34167
34595
|
value: input.mapping
|
|
34168
|
-
})) && input.mapping.map((elem,
|
|
34169
|
-
path: _path + ".mapping[" +
|
|
34596
|
+
})) && input.mapping.map((elem, _index84) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
34597
|
+
path: _path + ".mapping[" + _index84 + "]",
|
|
34170
34598
|
expected: "Array<number>",
|
|
34171
34599
|
value: elem
|
|
34172
|
-
})) && elem.map((elem,
|
|
34173
|
-
path: _path + ".mapping[" +
|
|
34600
|
+
})) && elem.map((elem, _index85) => "number" === typeof elem || _report(_exceptionable, {
|
|
34601
|
+
path: _path + ".mapping[" + _index84 + "][" + _index85 + "]",
|
|
34174
34602
|
expected: "number",
|
|
34175
34603
|
value: elem
|
|
34176
34604
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
34177
|
-
path: _path + ".mapping[" +
|
|
34605
|
+
path: _path + ".mapping[" + _index84 + "]",
|
|
34178
34606
|
expected: "Array<number>",
|
|
34179
34607
|
value: elem
|
|
34180
34608
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34185,8 +34613,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34185
34613
|
path: _path + ".mute",
|
|
34186
34614
|
expected: "(Array<boolean> | undefined)",
|
|
34187
34615
|
value: input.mute
|
|
34188
|
-
})) && input.mute.map((elem,
|
|
34189
|
-
path: _path + ".mute[" +
|
|
34616
|
+
})) && input.mute.map((elem, _index86) => "boolean" === typeof elem || _report(_exceptionable, {
|
|
34617
|
+
path: _path + ".mute[" + _index86 + "]",
|
|
34190
34618
|
expected: "boolean",
|
|
34191
34619
|
value: elem
|
|
34192
34620
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34229,12 +34657,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34229
34657
|
path: _path + ".presets",
|
|
34230
34658
|
expected: "(Array<__type>.o8 | undefined)",
|
|
34231
34659
|
value: input.presets
|
|
34232
|
-
})) && input.presets.map((elem,
|
|
34233
|
-
path: _path + ".presets[" +
|
|
34660
|
+
})) && input.presets.map((elem, _index87) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
34661
|
+
path: _path + ".presets[" + _index87 + "]",
|
|
34234
34662
|
expected: "__type.o47",
|
|
34235
34663
|
value: elem
|
|
34236
|
-
})) && _vo58(elem, _path + ".presets[" +
|
|
34237
|
-
path: _path + ".presets[" +
|
|
34664
|
+
})) && _vo58(elem, _path + ".presets[" + _index87 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
34665
|
+
path: _path + ".presets[" + _index87 + "]",
|
|
34238
34666
|
expected: "__type.o47",
|
|
34239
34667
|
value: elem
|
|
34240
34668
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34345,8 +34773,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34345
34773
|
path: _path + ".args",
|
|
34346
34774
|
expected: "(Array<string> | undefined)",
|
|
34347
34775
|
value: input.args
|
|
34348
|
-
})) && input.args.map((elem,
|
|
34349
|
-
path: _path + ".args[" +
|
|
34776
|
+
})) && input.args.map((elem, _index88) => "string" === typeof elem || _report(_exceptionable, {
|
|
34777
|
+
path: _path + ".args[" + _index88 + "]",
|
|
34350
34778
|
expected: "string",
|
|
34351
34779
|
value: elem
|
|
34352
34780
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34549,7 +34977,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34549
34977
|
path: _path + ".search",
|
|
34550
34978
|
expected: "(__type.o57 | undefined)",
|
|
34551
34979
|
value: input.search
|
|
34552
|
-
}), undefined === input.sortMode || true ===
|
|
34980
|
+
}), undefined === input.sortMode || true === _vv89.has(input.sortMode) || _report(_exceptionable, {
|
|
34553
34981
|
path: _path + ".sortMode",
|
|
34554
34982
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
34555
34983
|
value: input.sortMode
|
|
@@ -34617,16 +35045,200 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34617
35045
|
path: _path + ".fontFamilies",
|
|
34618
35046
|
expected: "(Array<string> | undefined)",
|
|
34619
35047
|
value: input.fontFamilies
|
|
34620
|
-
})) && input.fontFamilies.map((elem,
|
|
34621
|
-
path: _path + ".fontFamilies[" +
|
|
35048
|
+
})) && input.fontFamilies.map((elem, _index90) => "string" === typeof elem || _report(_exceptionable, {
|
|
35049
|
+
path: _path + ".fontFamilies[" + _index90 + "]",
|
|
34622
35050
|
expected: "string",
|
|
34623
35051
|
value: elem
|
|
34624
35052
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
34625
35053
|
path: _path + ".fontFamilies",
|
|
34626
35054
|
expected: "(Array<string> | undefined)",
|
|
34627
35055
|
value: input.fontFamilies
|
|
35056
|
+
}), undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
35057
|
+
path: _path + ".presets",
|
|
35058
|
+
expected: "(Array<PrintOptions> | undefined)",
|
|
35059
|
+
value: input.presets
|
|
35060
|
+
})) && input.presets.map((elem, _index91) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
35061
|
+
path: _path + ".presets[" + _index91 + "]",
|
|
35062
|
+
expected: "(PrintRundownOptions | PrintScriptOptions)",
|
|
35063
|
+
value: elem
|
|
35064
|
+
})) && _vu0(elem, _path + ".presets[" + _index91 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
35065
|
+
path: _path + ".presets[" + _index91 + "]",
|
|
35066
|
+
expected: "(PrintRundownOptions | PrintScriptOptions)",
|
|
35067
|
+
value: elem
|
|
35068
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35069
|
+
path: _path + ".presets",
|
|
35070
|
+
expected: "(Array<PrintOptions> | undefined)",
|
|
35071
|
+
value: input.presets
|
|
34628
35072
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
34629
|
-
if (["fontFamilies"].some(prop => key === prop))
|
|
35073
|
+
if (["fontFamilies", "presets"].some(prop => key === prop))
|
|
35074
|
+
return true;
|
|
35075
|
+
const value = input[key];
|
|
35076
|
+
if (undefined === value)
|
|
35077
|
+
return true;
|
|
35078
|
+
return _report(_exceptionable, {
|
|
35079
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35080
|
+
expected: "undefined",
|
|
35081
|
+
value: value,
|
|
35082
|
+
description: [
|
|
35083
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
35084
|
+
"",
|
|
35085
|
+
"Please remove the property next time."
|
|
35086
|
+
].join("\n")
|
|
35087
|
+
});
|
|
35088
|
+
}).every(flag => flag))].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => ["script" === input.type || _report(_exceptionable, {
|
|
35089
|
+
path: _path + ".type",
|
|
35090
|
+
expected: "\"script\"",
|
|
35091
|
+
value: input.type
|
|
35092
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
35093
|
+
path: _path + ".title",
|
|
35094
|
+
expected: "string",
|
|
35095
|
+
value: input.title
|
|
35096
|
+
}), "number" === typeof input.horizontalMargin || _report(_exceptionable, {
|
|
35097
|
+
path: _path + ".horizontalMargin",
|
|
35098
|
+
expected: "number",
|
|
35099
|
+
value: input.horizontalMargin
|
|
35100
|
+
}), "A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize || _report(_exceptionable, {
|
|
35101
|
+
path: _path + ".pageSize",
|
|
35102
|
+
expected: "(\"A3\" | \"A4\" | \"A5\")",
|
|
35103
|
+
value: input.pageSize
|
|
35104
|
+
}), "landscape" === input.orientation || "portrait" === input.orientation || _report(_exceptionable, {
|
|
35105
|
+
path: _path + ".orientation",
|
|
35106
|
+
expected: "(\"landscape\" | \"portrait\")",
|
|
35107
|
+
value: input.orientation
|
|
35108
|
+
}), "number" === typeof input.fontSize || _report(_exceptionable, {
|
|
35109
|
+
path: _path + ".fontSize",
|
|
35110
|
+
expected: "number",
|
|
35111
|
+
value: input.fontSize
|
|
35112
|
+
}), undefined === input.fontFamily || "string" === typeof input.fontFamily || _report(_exceptionable, {
|
|
35113
|
+
path: _path + ".fontFamily",
|
|
35114
|
+
expected: "(string | undefined)",
|
|
35115
|
+
value: input.fontFamily
|
|
35116
|
+
}), (Array.isArray(input.hide) || _report(_exceptionable, {
|
|
35117
|
+
path: _path + ".hide",
|
|
35118
|
+
expected: "Array<PrintOptionalScriptNodes>",
|
|
35119
|
+
value: input.hide
|
|
35120
|
+
})) && input.hide.map((elem, _index92) => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem || _report(_exceptionable, {
|
|
35121
|
+
path: _path + ".hide[" + _index92 + "]",
|
|
35122
|
+
expected: "(\"comment\" | \"event\" | \"event-data\" | \"heading\" | \"horizontalrule\" | \"list\" | \"paragraph\" | \"quote\")",
|
|
35123
|
+
value: elem
|
|
35124
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35125
|
+
path: _path + ".hide",
|
|
35126
|
+
expected: "Array<PrintOptionalScriptNodes>",
|
|
35127
|
+
value: input.hide
|
|
35128
|
+
}), 7 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35129
|
+
if (["type", "title", "horizontalMargin", "pageSize", "orientation", "fontSize", "fontFamily", "hide"].some(prop => key === prop))
|
|
35130
|
+
return true;
|
|
35131
|
+
const value = input[key];
|
|
35132
|
+
if (undefined === value)
|
|
35133
|
+
return true;
|
|
35134
|
+
return _report(_exceptionable, {
|
|
35135
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35136
|
+
expected: "undefined",
|
|
35137
|
+
value: value,
|
|
35138
|
+
description: [
|
|
35139
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
35140
|
+
"",
|
|
35141
|
+
"Please remove the property next time."
|
|
35142
|
+
].join("\n")
|
|
35143
|
+
});
|
|
35144
|
+
}).every(flag => flag))].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => ["rundown" === input.type || _report(_exceptionable, {
|
|
35145
|
+
path: _path + ".type",
|
|
35146
|
+
expected: "\"rundown\"",
|
|
35147
|
+
value: input.type
|
|
35148
|
+
}), (Array.isArray(input.columns) || _report(_exceptionable, {
|
|
35149
|
+
path: _path + ".columns",
|
|
35150
|
+
expected: "Array<PrintRundownColumn>",
|
|
35151
|
+
value: input.columns
|
|
35152
|
+
})) && input.columns.map((elem, _index93) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
35153
|
+
path: _path + ".columns[" + _index93 + "]",
|
|
35154
|
+
expected: "PrintRundownColumn",
|
|
35155
|
+
value: elem
|
|
35156
|
+
})) && _vo73(elem, _path + ".columns[" + _index93 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
35157
|
+
path: _path + ".columns[" + _index93 + "]",
|
|
35158
|
+
expected: "PrintRundownColumn",
|
|
35159
|
+
value: elem
|
|
35160
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35161
|
+
path: _path + ".columns",
|
|
35162
|
+
expected: "Array<PrintRundownColumn>",
|
|
35163
|
+
value: input.columns
|
|
35164
|
+
}), undefined === input.rangeStart || "number" === typeof input.rangeStart || _report(_exceptionable, {
|
|
35165
|
+
path: _path + ".rangeStart",
|
|
35166
|
+
expected: "(number | undefined)",
|
|
35167
|
+
value: input.rangeStart
|
|
35168
|
+
}), undefined === input.rangeEnd || "number" === typeof input.rangeEnd || _report(_exceptionable, {
|
|
35169
|
+
path: _path + ".rangeEnd",
|
|
35170
|
+
expected: "(number | undefined)",
|
|
35171
|
+
value: input.rangeEnd
|
|
35172
|
+
}), (Array.isArray(input.hide) || _report(_exceptionable, {
|
|
35173
|
+
path: _path + ".hide",
|
|
35174
|
+
expected: "Array<\"event\" | \"comment\" | \"heading\" | \"list\" | \"quote\" | \"paragraph\" | \"horizontalrule\">",
|
|
35175
|
+
value: input.hide
|
|
35176
|
+
})) && input.hide.map((elem, _index94) => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem || _report(_exceptionable, {
|
|
35177
|
+
path: _path + ".hide[" + _index94 + "]",
|
|
35178
|
+
expected: "(\"comment\" | \"event\" | \"heading\" | \"horizontalrule\" | \"list\" | \"paragraph\" | \"quote\")",
|
|
35179
|
+
value: elem
|
|
35180
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35181
|
+
path: _path + ".hide",
|
|
35182
|
+
expected: "Array<\"event\" | \"comment\" | \"heading\" | \"list\" | \"quote\" | \"paragraph\" | \"horizontalrule\">",
|
|
35183
|
+
value: input.hide
|
|
35184
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
35185
|
+
path: _path + ".title",
|
|
35186
|
+
expected: "string",
|
|
35187
|
+
value: input.title
|
|
35188
|
+
}), "number" === typeof input.horizontalMargin || _report(_exceptionable, {
|
|
35189
|
+
path: _path + ".horizontalMargin",
|
|
35190
|
+
expected: "number",
|
|
35191
|
+
value: input.horizontalMargin
|
|
35192
|
+
}), "A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize || _report(_exceptionable, {
|
|
35193
|
+
path: _path + ".pageSize",
|
|
35194
|
+
expected: "(\"A3\" | \"A4\" | \"A5\")",
|
|
35195
|
+
value: input.pageSize
|
|
35196
|
+
}), "landscape" === input.orientation || "portrait" === input.orientation || _report(_exceptionable, {
|
|
35197
|
+
path: _path + ".orientation",
|
|
35198
|
+
expected: "(\"landscape\" | \"portrait\")",
|
|
35199
|
+
value: input.orientation
|
|
35200
|
+
}), "number" === typeof input.fontSize || _report(_exceptionable, {
|
|
35201
|
+
path: _path + ".fontSize",
|
|
35202
|
+
expected: "number",
|
|
35203
|
+
value: input.fontSize
|
|
35204
|
+
}), undefined === input.fontFamily || "string" === typeof input.fontFamily || _report(_exceptionable, {
|
|
35205
|
+
path: _path + ".fontFamily",
|
|
35206
|
+
expected: "(string | undefined)",
|
|
35207
|
+
value: input.fontFamily
|
|
35208
|
+
}), 8 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35209
|
+
if (["type", "columns", "rangeStart", "rangeEnd", "hide", "title", "horizontalMargin", "pageSize", "orientation", "fontSize", "fontFamily"].some(prop => key === prop))
|
|
35210
|
+
return true;
|
|
35211
|
+
const value = input[key];
|
|
35212
|
+
if (undefined === value)
|
|
35213
|
+
return true;
|
|
35214
|
+
return _report(_exceptionable, {
|
|
35215
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35216
|
+
expected: "undefined",
|
|
35217
|
+
value: value,
|
|
35218
|
+
description: [
|
|
35219
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
35220
|
+
"",
|
|
35221
|
+
"Please remove the property next time."
|
|
35222
|
+
].join("\n")
|
|
35223
|
+
});
|
|
35224
|
+
}).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, {
|
|
35225
|
+
path: _path + ".key",
|
|
35226
|
+
expected: "(\"accDuration\" | \"duration\" | \"id\" | \"position\" | \"time\" | \"title\" | \"type\")",
|
|
35227
|
+
value: input.key
|
|
35228
|
+
}), "string" === typeof input.label || _report(_exceptionable, {
|
|
35229
|
+
path: _path + ".label",
|
|
35230
|
+
expected: "string",
|
|
35231
|
+
value: input.label
|
|
35232
|
+
}), "string" === typeof input.width || _report(_exceptionable, {
|
|
35233
|
+
path: _path + ".width",
|
|
35234
|
+
expected: "string",
|
|
35235
|
+
value: input.width
|
|
35236
|
+
}), "right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign || _report(_exceptionable, {
|
|
35237
|
+
path: _path + ".textAlign",
|
|
35238
|
+
expected: "(\"center\" | \"left\" | \"right\")",
|
|
35239
|
+
value: input.textAlign
|
|
35240
|
+
}), 4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35241
|
+
if (["key", "label", "width", "textAlign"].some(prop => key === prop))
|
|
34630
35242
|
return true;
|
|
34631
35243
|
const value = input[key];
|
|
34632
35244
|
if (undefined === value)
|
|
@@ -34641,7 +35253,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34641
35253
|
"Please remove the property next time."
|
|
34642
35254
|
].join("\n")
|
|
34643
35255
|
});
|
|
34644
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35256
|
+
}).every(flag => flag))].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
34645
35257
|
path: _path + ".id",
|
|
34646
35258
|
expected: "(string | undefined)",
|
|
34647
35259
|
value: input.id
|
|
@@ -34665,24 +35277,32 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34665
35277
|
"Please remove the property next time."
|
|
34666
35278
|
].join("\n")
|
|
34667
35279
|
});
|
|
34668
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35280
|
+
}).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
35281
|
path: _path + ".adobe",
|
|
34670
35282
|
expected: "(__type.o62 | undefined)",
|
|
34671
35283
|
value: input.adobe
|
|
34672
|
-
})) &&
|
|
35284
|
+
})) && _vo76(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
34673
35285
|
path: _path + ".adobe",
|
|
34674
35286
|
expected: "(__type.o62 | undefined)",
|
|
34675
35287
|
value: input.adobe
|
|
35288
|
+
}), undefined === input.ograf || ("object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) || _report(_exceptionable, {
|
|
35289
|
+
path: _path + ".ograf",
|
|
35290
|
+
expected: "(__type.o64 | undefined)",
|
|
35291
|
+
value: input.ograf
|
|
35292
|
+
})) && _vo78(input.ograf, _path + ".ograf", true && _exceptionable) || _report(_exceptionable, {
|
|
35293
|
+
path: _path + ".ograf",
|
|
35294
|
+
expected: "(__type.o64 | undefined)",
|
|
35295
|
+
value: input.ograf
|
|
34676
35296
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
34677
35297
|
path: _path + ".rive",
|
|
34678
|
-
expected: "(__type.
|
|
35298
|
+
expected: "(__type.o65 | undefined)",
|
|
34679
35299
|
value: input.rive
|
|
34680
|
-
})) &&
|
|
35300
|
+
})) && _vo79(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
34681
35301
|
path: _path + ".rive",
|
|
34682
|
-
expected: "(__type.
|
|
35302
|
+
expected: "(__type.o65 | undefined)",
|
|
34683
35303
|
value: input.rive
|
|
34684
35304
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
34685
|
-
if (["adobe", "rive"].some(prop => key === prop))
|
|
35305
|
+
if (["adobe", "ograf", "rive"].some(prop => key === prop))
|
|
34686
35306
|
return true;
|
|
34687
35307
|
const value = input[key];
|
|
34688
35308
|
if (undefined === value)
|
|
@@ -34697,7 +35317,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34697
35317
|
"Please remove the property next time."
|
|
34698
35318
|
].join("\n")
|
|
34699
35319
|
});
|
|
34700
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35320
|
+
}).every(flag => flag))].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.videoBin || "string" === typeof input.videoBin || _report(_exceptionable, {
|
|
34701
35321
|
path: _path + ".videoBin",
|
|
34702
35322
|
expected: "(string | undefined)",
|
|
34703
35323
|
value: input.videoBin
|
|
@@ -34729,6 +35349,18 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34729
35349
|
path: _path + ".renderPresetPath",
|
|
34730
35350
|
expected: "(string | undefined)",
|
|
34731
35351
|
value: input.renderPresetPath
|
|
35352
|
+
}), undefined === input.renderPresets || (Array.isArray(input.renderPresets) || _report(_exceptionable, {
|
|
35353
|
+
path: _path + ".renderPresets",
|
|
35354
|
+
expected: "(Array<string> | undefined)",
|
|
35355
|
+
value: input.renderPresets
|
|
35356
|
+
})) && input.renderPresets.map((elem, _index95) => "string" === typeof elem || _report(_exceptionable, {
|
|
35357
|
+
path: _path + ".renderPresets[" + _index95 + "]",
|
|
35358
|
+
expected: "string",
|
|
35359
|
+
value: elem
|
|
35360
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35361
|
+
path: _path + ".renderPresets",
|
|
35362
|
+
expected: "(Array<string> | undefined)",
|
|
35363
|
+
value: input.renderPresets
|
|
34732
35364
|
}), undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset || _report(_exceptionable, {
|
|
34733
35365
|
path: _path + ".videoRenderPreset",
|
|
34734
35366
|
expected: "(string | undefined)",
|
|
@@ -34757,12 +35389,32 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34757
35389
|
path: _path + ".bodymovin",
|
|
34758
35390
|
expected: "(__type.o63 | undefined)",
|
|
34759
35391
|
value: input.bodymovin
|
|
34760
|
-
})) &&
|
|
35392
|
+
})) && _vo77(input.bodymovin, _path + ".bodymovin", true && _exceptionable) || _report(_exceptionable, {
|
|
34761
35393
|
path: _path + ".bodymovin",
|
|
34762
35394
|
expected: "(__type.o63 | undefined)",
|
|
34763
35395
|
value: input.bodymovin
|
|
34764
35396
|
}), 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))
|
|
35397
|
+
if (["videoBin", "imageBin", "audioBin", "timelineBin", "clipBin", "downloadPath", "renderPath", "renderPresetPath", "renderPresets", "videoRenderPreset", "imageRenderPreset", "audioRenderPreset", "forceRender", "useProxies", "deleteIntermediateFiles", "bodymovin"].some(prop => key === prop))
|
|
35398
|
+
return true;
|
|
35399
|
+
const value = input[key];
|
|
35400
|
+
if (undefined === value)
|
|
35401
|
+
return true;
|
|
35402
|
+
return _report(_exceptionable, {
|
|
35403
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35404
|
+
expected: "undefined",
|
|
35405
|
+
value: value,
|
|
35406
|
+
description: [
|
|
35407
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
35408
|
+
"",
|
|
35409
|
+
"Please remove the property next time."
|
|
35410
|
+
].join("\n")
|
|
35411
|
+
});
|
|
35412
|
+
}).every(flag => flag))].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
35413
|
+
path: _path + ".template",
|
|
35414
|
+
expected: "(string | undefined)",
|
|
35415
|
+
value: input.template
|
|
35416
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35417
|
+
if (["template"].some(prop => key === prop))
|
|
34766
35418
|
return true;
|
|
34767
35419
|
const value = input[key];
|
|
34768
35420
|
if (undefined === value)
|
|
@@ -34777,7 +35429,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34777
35429
|
"Please remove the property next time."
|
|
34778
35430
|
].join("\n")
|
|
34779
35431
|
});
|
|
34780
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35432
|
+
}).every(flag => flag))].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
34781
35433
|
path: _path + ".template",
|
|
34782
35434
|
expected: "(string | undefined)",
|
|
34783
35435
|
value: input.template
|
|
@@ -34797,7 +35449,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34797
35449
|
"Please remove the property next time."
|
|
34798
35450
|
].join("\n")
|
|
34799
35451
|
});
|
|
34800
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35452
|
+
}).every(flag => flag))].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
34801
35453
|
path: _path + ".template",
|
|
34802
35454
|
expected: "(string | undefined)",
|
|
34803
35455
|
value: input.template
|
|
@@ -34817,7 +35469,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34817
35469
|
"Please remove the property next time."
|
|
34818
35470
|
].join("\n")
|
|
34819
35471
|
});
|
|
34820
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35472
|
+
}).every(flag => flag))].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
34821
35473
|
path: _path + ".collections",
|
|
34822
35474
|
expected: "(boolean | undefined)",
|
|
34823
35475
|
value: input.collections
|
|
@@ -34849,7 +35501,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34849
35501
|
"Please remove the property next time."
|
|
34850
35502
|
].join("\n")
|
|
34851
35503
|
});
|
|
34852
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35504
|
+
}).every(flag => flag))].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
34853
35505
|
path: _path + ".utils",
|
|
34854
35506
|
expected: "(boolean | undefined)",
|
|
34855
35507
|
value: input.utils
|
|
@@ -34953,13 +35605,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34953
35605
|
"Please remove the property next time."
|
|
34954
35606
|
].join("\n")
|
|
34955
35607
|
});
|
|
34956
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35608
|
+
}).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
35609
|
path: _path + ".events",
|
|
34958
|
-
expected: "(__type.
|
|
35610
|
+
expected: "(__type.o69 | undefined)",
|
|
34959
35611
|
value: input.events
|
|
34960
|
-
})) &&
|
|
35612
|
+
})) && _vo83(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
34961
35613
|
path: _path + ".events",
|
|
34962
|
-
expected: "(__type.
|
|
35614
|
+
expected: "(__type.o69 | undefined)",
|
|
34963
35615
|
value: input.events
|
|
34964
35616
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
34965
35617
|
if (["events"].some(prop => key === prop))
|
|
@@ -34977,12 +35629,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34977
35629
|
"Please remove the property next time."
|
|
34978
35630
|
].join("\n")
|
|
34979
35631
|
});
|
|
34980
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35632
|
+
}).every(flag => flag))].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
34981
35633
|
path: _path + ".comment",
|
|
34982
35634
|
expected: "(Array<NotificationReason> | undefined)",
|
|
34983
35635
|
value: input.comment
|
|
34984
|
-
})) && input.comment.map((elem,
|
|
34985
|
-
path: _path + ".comment[" +
|
|
35636
|
+
})) && input.comment.map((elem, _index96) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
35637
|
+
path: _path + ".comment[" + _index96 + "]",
|
|
34986
35638
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
34987
35639
|
value: elem
|
|
34988
35640
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -34993,8 +35645,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34993
35645
|
path: _path + ".assigned",
|
|
34994
35646
|
expected: "(Array<NotificationReason> | undefined)",
|
|
34995
35647
|
value: input.assigned
|
|
34996
|
-
})) && input.assigned.map((elem,
|
|
34997
|
-
path: _path + ".assigned[" +
|
|
35648
|
+
})) && input.assigned.map((elem, _index97) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
35649
|
+
path: _path + ".assigned[" + _index97 + "]",
|
|
34998
35650
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
34999
35651
|
value: elem
|
|
35000
35652
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -35005,8 +35657,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35005
35657
|
path: _path + ".unassigned",
|
|
35006
35658
|
expected: "(Array<NotificationReason> | undefined)",
|
|
35007
35659
|
value: input.unassigned
|
|
35008
|
-
})) && input.unassigned.map((elem,
|
|
35009
|
-
path: _path + ".unassigned[" +
|
|
35660
|
+
})) && input.unassigned.map((elem, _index98) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
35661
|
+
path: _path + ".unassigned[" + _index98 + "]",
|
|
35010
35662
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
35011
35663
|
value: elem
|
|
35012
35664
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -35015,11 +35667,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35015
35667
|
value: input.unassigned
|
|
35016
35668
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
35017
35669
|
path: _path + ".publishSucceeded",
|
|
35018
|
-
expected: "(__type.
|
|
35670
|
+
expected: "(__type.o70 | undefined)",
|
|
35019
35671
|
value: input.publishSucceeded
|
|
35020
|
-
})) &&
|
|
35672
|
+
})) && _vo84(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
35021
35673
|
path: _path + ".publishSucceeded",
|
|
35022
|
-
expected: "(__type.
|
|
35674
|
+
expected: "(__type.o70 | undefined)",
|
|
35023
35675
|
value: input.publishSucceeded
|
|
35024
35676
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35025
35677
|
if (["comment", "assigned", "unassigned", "publishSucceeded"].some(prop => key === prop))
|
|
@@ -35037,7 +35689,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35037
35689
|
"Please remove the property next time."
|
|
35038
35690
|
].join("\n")
|
|
35039
35691
|
});
|
|
35040
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35692
|
+
}).every(flag => flag))].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
35041
35693
|
const value = input[key];
|
|
35042
35694
|
if (undefined === value)
|
|
35043
35695
|
return true;
|
|
@@ -35045,8 +35697,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35045
35697
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
35046
35698
|
expected: "Array<NotificationReason>",
|
|
35047
35699
|
value: value
|
|
35048
|
-
})) && value.map((elem,
|
|
35049
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
35700
|
+
})) && value.map((elem, _index99) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
35701
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index99 + "]",
|
|
35050
35702
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
35051
35703
|
value: elem
|
|
35052
35704
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -35054,21 +35706,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35054
35706
|
expected: "Array<NotificationReason>",
|
|
35055
35707
|
value: value
|
|
35056
35708
|
});
|
|
35057
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
35709
|
+
}).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
35710
|
path: _path + ".create",
|
|
35059
|
-
expected: "(__type.
|
|
35711
|
+
expected: "(__type.o72 | undefined)",
|
|
35060
35712
|
value: input.create
|
|
35061
|
-
})) &&
|
|
35713
|
+
})) && _vo86(input.create, _path + ".create", true && _exceptionable) || _report(_exceptionable, {
|
|
35062
35714
|
path: _path + ".create",
|
|
35063
|
-
expected: "(__type.
|
|
35715
|
+
expected: "(__type.o72 | undefined)",
|
|
35064
35716
|
value: input.create
|
|
35065
35717
|
}), undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
35066
35718
|
path: _path + ".duplicate",
|
|
35067
|
-
expected: "(__type.
|
|
35719
|
+
expected: "(__type.o73 | undefined)",
|
|
35068
35720
|
value: input.duplicate
|
|
35069
|
-
})) &&
|
|
35721
|
+
})) && _vo87(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
35070
35722
|
path: _path + ".duplicate",
|
|
35071
|
-
expected: "(__type.
|
|
35723
|
+
expected: "(__type.o73 | undefined)",
|
|
35072
35724
|
value: input.duplicate
|
|
35073
35725
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35074
35726
|
if (["create", "duplicate"].some(prop => key === prop))
|
|
@@ -35086,7 +35738,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35086
35738
|
"Please remove the property next time."
|
|
35087
35739
|
].join("\n")
|
|
35088
35740
|
});
|
|
35089
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35741
|
+
}).every(flag => flag))].every(flag => flag); const _vo86 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
35090
35742
|
path: _path + ".titlePrefix",
|
|
35091
35743
|
expected: "(string | undefined)",
|
|
35092
35744
|
value: input.titlePrefix
|
|
@@ -35110,7 +35762,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35110
35762
|
"Please remove the property next time."
|
|
35111
35763
|
].join("\n")
|
|
35112
35764
|
});
|
|
35113
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35765
|
+
}).every(flag => flag))].every(flag => flag); const _vo87 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
35114
35766
|
path: _path + ".titlePrefix",
|
|
35115
35767
|
expected: "(string | undefined)",
|
|
35116
35768
|
value: input.titlePrefix
|
|
@@ -35134,12 +35786,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35134
35786
|
"Please remove the property next time."
|
|
35135
35787
|
].join("\n")
|
|
35136
35788
|
});
|
|
35137
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35789
|
+
}).every(flag => flag))].every(flag => flag); const _vo88 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
35138
35790
|
path: _path + ".stateFilter",
|
|
35139
35791
|
expected: "(Array<number> | undefined)",
|
|
35140
35792
|
value: input.stateFilter
|
|
35141
|
-
})) && input.stateFilter.map((elem,
|
|
35142
|
-
path: _path + ".stateFilter[" +
|
|
35793
|
+
})) && input.stateFilter.map((elem, _index100) => "number" === typeof elem || _report(_exceptionable, {
|
|
35794
|
+
path: _path + ".stateFilter[" + _index100 + "]",
|
|
35143
35795
|
expected: "number",
|
|
35144
35796
|
value: elem
|
|
35145
35797
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -35182,7 +35834,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35182
35834
|
"Please remove the property next time."
|
|
35183
35835
|
].join("\n")
|
|
35184
35836
|
});
|
|
35185
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35837
|
+
}).every(flag => flag))].every(flag => flag); const _vo89 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
35186
35838
|
path: _path + ".disableHotArea",
|
|
35187
35839
|
expected: "(boolean | undefined)",
|
|
35188
35840
|
value: input.disableHotArea
|
|
@@ -35202,7 +35854,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35202
35854
|
"Please remove the property next time."
|
|
35203
35855
|
].join("\n")
|
|
35204
35856
|
});
|
|
35205
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35857
|
+
}).every(flag => flag))].every(flag => flag); const _vo90 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
35206
35858
|
path: _path + ".refreshInterval",
|
|
35207
35859
|
expected: "(number | undefined)",
|
|
35208
35860
|
value: input.refreshInterval
|
|
@@ -35222,7 +35874,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35222
35874
|
"Please remove the property next time."
|
|
35223
35875
|
].join("\n")
|
|
35224
35876
|
});
|
|
35225
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35877
|
+
}).every(flag => flag))].every(flag => flag); const _vo91 = (input, _path, _exceptionable = true) => [undefined === input.layout || "string" === typeof input.layout || _report(_exceptionable, {
|
|
35226
35878
|
path: _path + ".layout",
|
|
35227
35879
|
expected: "(string | undefined)",
|
|
35228
35880
|
value: input.layout
|
|
@@ -35242,20 +35894,32 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35242
35894
|
"Please remove the property next time."
|
|
35243
35895
|
].join("\n")
|
|
35244
35896
|
});
|
|
35245
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35246
|
-
path: _path + ".
|
|
35897
|
+
}).every(flag => flag))].every(flag => flag); const _vo92 = (input, _path, _exceptionable = true) => [undefined === input.ignoredWarnings || (Array.isArray(input.ignoredWarnings) || _report(_exceptionable, {
|
|
35898
|
+
path: _path + ".ignoredWarnings",
|
|
35247
35899
|
expected: "(Array<string> | undefined)",
|
|
35248
|
-
value: input.
|
|
35249
|
-
})) && input.
|
|
35250
|
-
path: _path + ".
|
|
35900
|
+
value: input.ignoredWarnings
|
|
35901
|
+
})) && input.ignoredWarnings.map((elem, _index101) => "string" === typeof elem || _report(_exceptionable, {
|
|
35902
|
+
path: _path + ".ignoredWarnings[" + _index101 + "]",
|
|
35251
35903
|
expected: "string",
|
|
35252
35904
|
value: elem
|
|
35253
35905
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
35254
|
-
path: _path + ".
|
|
35906
|
+
path: _path + ".ignoredWarnings",
|
|
35255
35907
|
expected: "(Array<string> | undefined)",
|
|
35256
|
-
value: input.
|
|
35908
|
+
value: input.ignoredWarnings
|
|
35909
|
+
}), undefined === input.ignoredErrors || (Array.isArray(input.ignoredErrors) || _report(_exceptionable, {
|
|
35910
|
+
path: _path + ".ignoredErrors",
|
|
35911
|
+
expected: "(Array<string> | undefined)",
|
|
35912
|
+
value: input.ignoredErrors
|
|
35913
|
+
})) && input.ignoredErrors.map((elem, _index102) => "string" === typeof elem || _report(_exceptionable, {
|
|
35914
|
+
path: _path + ".ignoredErrors[" + _index102 + "]",
|
|
35915
|
+
expected: "string",
|
|
35916
|
+
value: elem
|
|
35917
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
35918
|
+
path: _path + ".ignoredErrors",
|
|
35919
|
+
expected: "(Array<string> | undefined)",
|
|
35920
|
+
value: input.ignoredErrors
|
|
35257
35921
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
35258
|
-
if (["
|
|
35922
|
+
if (["ignoredWarnings", "ignoredErrors"].some(prop => key === prop))
|
|
35259
35923
|
return true;
|
|
35260
35924
|
const value = input[key];
|
|
35261
35925
|
if (undefined === value)
|
|
@@ -35270,7 +35934,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35270
35934
|
"Please remove the property next time."
|
|
35271
35935
|
].join("\n")
|
|
35272
35936
|
});
|
|
35273
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35937
|
+
}).every(flag => flag))].every(flag => flag); const _vo93 = (input, _path, _exceptionable = true) => [undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate || _report(_exceptionable, {
|
|
35274
35938
|
path: _path + ".enableUpdate",
|
|
35275
35939
|
expected: "(boolean | undefined)",
|
|
35276
35940
|
value: input.enableUpdate
|
|
@@ -35294,7 +35958,18 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35294
35958
|
"Please remove the property next time."
|
|
35295
35959
|
].join("\n")
|
|
35296
35960
|
});
|
|
35297
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
35961
|
+
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
35962
|
+
if ("script" === input.type)
|
|
35963
|
+
return _vo71(input, _path, true && _exceptionable);
|
|
35964
|
+
else if ("rundown" === input.type)
|
|
35965
|
+
return _vo72(input, _path, true && _exceptionable);
|
|
35966
|
+
else
|
|
35967
|
+
return _report(_exceptionable, {
|
|
35968
|
+
path: _path,
|
|
35969
|
+
expected: "(PrintScriptOptions | PrintRundownOptions)",
|
|
35970
|
+
value: input
|
|
35971
|
+
});
|
|
35972
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
35298
35973
|
if (false === __is(input)) {
|
|
35299
35974
|
errors = [];
|
|
35300
35975
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -35709,6 +36384,627 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
35709
36384
|
};
|
|
35710
36385
|
}; })()(input);
|
|
35711
36386
|
}
|
|
36387
|
+
case ":storage": {
|
|
36388
|
+
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 => {
|
|
36389
|
+
if (["zone", "hostname", "port", "location", "cache", "allows", "capacity", "rxBytesSecMax", "txBytesSecMax", "rxBytesSecLimit", "txBytesSecLimit"].some(prop => key === prop))
|
|
36390
|
+
return true;
|
|
36391
|
+
const value = input[key];
|
|
36392
|
+
if (undefined === value)
|
|
36393
|
+
return true;
|
|
36394
|
+
return false;
|
|
36395
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.zone || _report(_exceptionable, {
|
|
36396
|
+
path: _path + ".zone",
|
|
36397
|
+
expected: "string",
|
|
36398
|
+
value: input.zone
|
|
36399
|
+
}), null === input.hostname || "string" === typeof input.hostname || _report(_exceptionable, {
|
|
36400
|
+
path: _path + ".hostname",
|
|
36401
|
+
expected: "(null | string)",
|
|
36402
|
+
value: input.hostname
|
|
36403
|
+
}), null === input.port || undefined === input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
36404
|
+
path: _path + ".port",
|
|
36405
|
+
expected: "(null | number | undefined)",
|
|
36406
|
+
value: input.port
|
|
36407
|
+
}), undefined === input.location || "string" === typeof input.location || _report(_exceptionable, {
|
|
36408
|
+
path: _path + ".location",
|
|
36409
|
+
expected: "(string | undefined)",
|
|
36410
|
+
value: input.location
|
|
36411
|
+
}), null === input.cache || undefined === input.cache || "boolean" === typeof input.cache || _report(_exceptionable, {
|
|
36412
|
+
path: _path + ".cache",
|
|
36413
|
+
expected: "(boolean | null | undefined)",
|
|
36414
|
+
value: input.cache
|
|
36415
|
+
}), undefined === input.allows || (Array.isArray(input.allows) || _report(_exceptionable, {
|
|
36416
|
+
path: _path + ".allows",
|
|
36417
|
+
expected: "(Array<string> | undefined)",
|
|
36418
|
+
value: input.allows
|
|
36419
|
+
})) && input.allows.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
36420
|
+
path: _path + ".allows[" + _index2 + "]",
|
|
36421
|
+
expected: "string",
|
|
36422
|
+
value: elem
|
|
36423
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
36424
|
+
path: _path + ".allows",
|
|
36425
|
+
expected: "(Array<string> | undefined)",
|
|
36426
|
+
value: input.allows
|
|
36427
|
+
}), null === input.capacity || undefined === input.capacity || "number" === typeof input.capacity || _report(_exceptionable, {
|
|
36428
|
+
path: _path + ".capacity",
|
|
36429
|
+
expected: "(null | number | undefined)",
|
|
36430
|
+
value: input.capacity
|
|
36431
|
+
}), null === input.rxBytesSecMax || undefined === input.rxBytesSecMax || "number" === typeof input.rxBytesSecMax || _report(_exceptionable, {
|
|
36432
|
+
path: _path + ".rxBytesSecMax",
|
|
36433
|
+
expected: "(null | number | undefined)",
|
|
36434
|
+
value: input.rxBytesSecMax
|
|
36435
|
+
}), null === input.txBytesSecMax || undefined === input.txBytesSecMax || "number" === typeof input.txBytesSecMax || _report(_exceptionable, {
|
|
36436
|
+
path: _path + ".txBytesSecMax",
|
|
36437
|
+
expected: "(null | number | undefined)",
|
|
36438
|
+
value: input.txBytesSecMax
|
|
36439
|
+
}), null === input.rxBytesSecLimit || undefined === input.rxBytesSecLimit || "number" === typeof input.rxBytesSecLimit || _report(_exceptionable, {
|
|
36440
|
+
path: _path + ".rxBytesSecLimit",
|
|
36441
|
+
expected: "(null | number | undefined)",
|
|
36442
|
+
value: input.rxBytesSecLimit
|
|
36443
|
+
}), null === input.txBytesSecLimit || undefined === input.txBytesSecLimit || "number" === typeof input.txBytesSecLimit || _report(_exceptionable, {
|
|
36444
|
+
path: _path + ".txBytesSecLimit",
|
|
36445
|
+
expected: "(null | number | undefined)",
|
|
36446
|
+
value: input.txBytesSecLimit
|
|
36447
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36448
|
+
if (["zone", "hostname", "port", "location", "cache", "allows", "capacity", "rxBytesSecMax", "txBytesSecMax", "rxBytesSecLimit", "txBytesSecLimit"].some(prop => key === prop))
|
|
36449
|
+
return true;
|
|
36450
|
+
const value = input[key];
|
|
36451
|
+
if (undefined === value)
|
|
36452
|
+
return true;
|
|
36453
|
+
return _report(_exceptionable, {
|
|
36454
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36455
|
+
expected: "undefined",
|
|
36456
|
+
value: value,
|
|
36457
|
+
description: [
|
|
36458
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36459
|
+
"",
|
|
36460
|
+
"Please remove the property next time."
|
|
36461
|
+
].join("\n")
|
|
36462
|
+
});
|
|
36463
|
+
}).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 => {
|
|
36464
|
+
if (false === __is(input)) {
|
|
36465
|
+
errors = [];
|
|
36466
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
36467
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
36468
|
+
path: _path + "",
|
|
36469
|
+
expected: "StorageDomainRecord",
|
|
36470
|
+
value: input
|
|
36471
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
36472
|
+
path: _path + "",
|
|
36473
|
+
expected: "StorageDomainRecord",
|
|
36474
|
+
value: input
|
|
36475
|
+
}))(input, "$input", true);
|
|
36476
|
+
const success = 0 === errors.length;
|
|
36477
|
+
return success ? {
|
|
36478
|
+
success,
|
|
36479
|
+
data: input
|
|
36480
|
+
} : {
|
|
36481
|
+
success,
|
|
36482
|
+
errors,
|
|
36483
|
+
data: input
|
|
36484
|
+
};
|
|
36485
|
+
}
|
|
36486
|
+
return {
|
|
36487
|
+
success: true,
|
|
36488
|
+
data: input
|
|
36489
|
+
};
|
|
36490
|
+
}; })()(input);
|
|
36491
|
+
}
|
|
36492
|
+
case ":storage.stats": {
|
|
36493
|
+
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 => {
|
|
36494
|
+
if (["id", "location", "timestamp", "type", "zone", "origin", "free", "size", "available", "cache", "capacity", "limiter", "http", "io", "fs", "s3"].some(prop => key === prop))
|
|
36495
|
+
return true;
|
|
36496
|
+
const value = input[key];
|
|
36497
|
+
if (undefined === value)
|
|
36498
|
+
return true;
|
|
36499
|
+
return false;
|
|
36500
|
+
})); 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 => {
|
|
36501
|
+
if (["readBytesPerSecond", "writeBytesPerSecond"].some(prop => key === prop))
|
|
36502
|
+
return true;
|
|
36503
|
+
const value = input[key];
|
|
36504
|
+
if (undefined === value)
|
|
36505
|
+
return true;
|
|
36506
|
+
return false;
|
|
36507
|
+
})); 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 => {
|
|
36508
|
+
if (["downstreamConnected", "upstreamConnected", "pending", "completed", "failed"].some(prop => key === prop))
|
|
36509
|
+
return true;
|
|
36510
|
+
const value = input[key];
|
|
36511
|
+
if (undefined === value)
|
|
36512
|
+
return true;
|
|
36513
|
+
return false;
|
|
36514
|
+
})); 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 => {
|
|
36515
|
+
if (["read", "write"].some(prop => key === prop))
|
|
36516
|
+
return true;
|
|
36517
|
+
const value = input[key];
|
|
36518
|
+
if (undefined === value)
|
|
36519
|
+
return true;
|
|
36520
|
+
return false;
|
|
36521
|
+
})); 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 => {
|
|
36522
|
+
if (["bytesPerSecond", "pending", "queues"].some(prop => key === prop))
|
|
36523
|
+
return true;
|
|
36524
|
+
const value = input[key];
|
|
36525
|
+
if (undefined === value)
|
|
36526
|
+
return true;
|
|
36527
|
+
return false;
|
|
36528
|
+
})); 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 => {
|
|
36529
|
+
if (["highest", "higher", "high", "normal", "low", "lower", "lowest"].some(prop => key === prop))
|
|
36530
|
+
return true;
|
|
36531
|
+
const value = input[key];
|
|
36532
|
+
if (undefined === value)
|
|
36533
|
+
return true;
|
|
36534
|
+
return false;
|
|
36535
|
+
})); 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 => {
|
|
36536
|
+
if (["bytesPerSecond", "pending", "queues"].some(prop => key === prop))
|
|
36537
|
+
return true;
|
|
36538
|
+
const value = input[key];
|
|
36539
|
+
if (undefined === value)
|
|
36540
|
+
return true;
|
|
36541
|
+
return false;
|
|
36542
|
+
})); 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 => {
|
|
36543
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
36544
|
+
return true;
|
|
36545
|
+
const value = input[key];
|
|
36546
|
+
if (undefined === value)
|
|
36547
|
+
return true;
|
|
36548
|
+
return true;
|
|
36549
|
+
}); 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 => {
|
|
36550
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
36551
|
+
return true;
|
|
36552
|
+
const value = input[key];
|
|
36553
|
+
if (undefined === value)
|
|
36554
|
+
return true;
|
|
36555
|
+
return true;
|
|
36556
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
36557
|
+
path: _path + ".id",
|
|
36558
|
+
expected: "string",
|
|
36559
|
+
value: input.id
|
|
36560
|
+
}), "string" === typeof input.location || _report(_exceptionable, {
|
|
36561
|
+
path: _path + ".location",
|
|
36562
|
+
expected: "string",
|
|
36563
|
+
value: input.location
|
|
36564
|
+
}), "string" === typeof input.timestamp || _report(_exceptionable, {
|
|
36565
|
+
path: _path + ".timestamp",
|
|
36566
|
+
expected: "string",
|
|
36567
|
+
value: input.timestamp
|
|
36568
|
+
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
36569
|
+
path: _path + ".type",
|
|
36570
|
+
expected: "string",
|
|
36571
|
+
value: input.type
|
|
36572
|
+
}), "string" === typeof input.zone || _report(_exceptionable, {
|
|
36573
|
+
path: _path + ".zone",
|
|
36574
|
+
expected: "string",
|
|
36575
|
+
value: input.zone
|
|
36576
|
+
}), "string" === typeof input.origin || _report(_exceptionable, {
|
|
36577
|
+
path: _path + ".origin",
|
|
36578
|
+
expected: "string",
|
|
36579
|
+
value: input.origin
|
|
36580
|
+
}), null === input.free || "number" === typeof input.free || _report(_exceptionable, {
|
|
36581
|
+
path: _path + ".free",
|
|
36582
|
+
expected: "(null | number)",
|
|
36583
|
+
value: input.free
|
|
36584
|
+
}), null === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
36585
|
+
path: _path + ".size",
|
|
36586
|
+
expected: "(null | number)",
|
|
36587
|
+
value: input.size
|
|
36588
|
+
}), null === input.available || "number" === typeof input.available || _report(_exceptionable, {
|
|
36589
|
+
path: _path + ".available",
|
|
36590
|
+
expected: "(null | number)",
|
|
36591
|
+
value: input.available
|
|
36592
|
+
}), null === input.cache || "boolean" === typeof input.cache || _report(_exceptionable, {
|
|
36593
|
+
path: _path + ".cache",
|
|
36594
|
+
expected: "(boolean | null)",
|
|
36595
|
+
value: input.cache
|
|
36596
|
+
}), null === input.capacity || "number" === typeof input.capacity || _report(_exceptionable, {
|
|
36597
|
+
path: _path + ".capacity",
|
|
36598
|
+
expected: "(null | number)",
|
|
36599
|
+
value: input.capacity
|
|
36600
|
+
}), ("object" === typeof input.limiter && null !== input.limiter && false === Array.isArray(input.limiter) || _report(_exceptionable, {
|
|
36601
|
+
path: _path + ".limiter",
|
|
36602
|
+
expected: "__type",
|
|
36603
|
+
value: input.limiter
|
|
36604
|
+
})) && _vo1(input.limiter, _path + ".limiter", true && _exceptionable) || _report(_exceptionable, {
|
|
36605
|
+
path: _path + ".limiter",
|
|
36606
|
+
expected: "__type",
|
|
36607
|
+
value: input.limiter
|
|
36608
|
+
}), ("object" === typeof input.http && null !== input.http || _report(_exceptionable, {
|
|
36609
|
+
path: _path + ".http",
|
|
36610
|
+
expected: "__type.o1",
|
|
36611
|
+
value: input.http
|
|
36612
|
+
})) && _vo2(input.http, _path + ".http", true && _exceptionable) || _report(_exceptionable, {
|
|
36613
|
+
path: _path + ".http",
|
|
36614
|
+
expected: "__type.o1",
|
|
36615
|
+
value: input.http
|
|
36616
|
+
}), ("object" === typeof input.io && null !== input.io || _report(_exceptionable, {
|
|
36617
|
+
path: _path + ".io",
|
|
36618
|
+
expected: "__type.o2",
|
|
36619
|
+
value: input.io
|
|
36620
|
+
})) && _vo3(input.io, _path + ".io", true && _exceptionable) || _report(_exceptionable, {
|
|
36621
|
+
path: _path + ".io",
|
|
36622
|
+
expected: "__type.o2",
|
|
36623
|
+
value: input.io
|
|
36624
|
+
}), undefined === input.fs || ("object" === typeof input.fs && null !== input.fs && false === Array.isArray(input.fs) || _report(_exceptionable, {
|
|
36625
|
+
path: _path + ".fs",
|
|
36626
|
+
expected: "(StorageFsStats | undefined)",
|
|
36627
|
+
value: input.fs
|
|
36628
|
+
})) && _vo7(input.fs, _path + ".fs", true && _exceptionable) || _report(_exceptionable, {
|
|
36629
|
+
path: _path + ".fs",
|
|
36630
|
+
expected: "(StorageFsStats | undefined)",
|
|
36631
|
+
value: input.fs
|
|
36632
|
+
}), undefined === input.s3 || ("object" === typeof input.s3 && null !== input.s3 && false === Array.isArray(input.s3) || _report(_exceptionable, {
|
|
36633
|
+
path: _path + ".s3",
|
|
36634
|
+
expected: "(StorageS3Stats | undefined)",
|
|
36635
|
+
value: input.s3
|
|
36636
|
+
})) && _vo8(input.s3, _path + ".s3", true && _exceptionable) || _report(_exceptionable, {
|
|
36637
|
+
path: _path + ".s3",
|
|
36638
|
+
expected: "(StorageS3Stats | undefined)",
|
|
36639
|
+
value: input.s3
|
|
36640
|
+
}), 14 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36641
|
+
if (["id", "location", "timestamp", "type", "zone", "origin", "free", "size", "available", "cache", "capacity", "limiter", "http", "io", "fs", "s3"].some(prop => key === prop))
|
|
36642
|
+
return true;
|
|
36643
|
+
const value = input[key];
|
|
36644
|
+
if (undefined === value)
|
|
36645
|
+
return true;
|
|
36646
|
+
return _report(_exceptionable, {
|
|
36647
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36648
|
+
expected: "undefined",
|
|
36649
|
+
value: value,
|
|
36650
|
+
description: [
|
|
36651
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36652
|
+
"",
|
|
36653
|
+
"Please remove the property next time."
|
|
36654
|
+
].join("\n")
|
|
36655
|
+
});
|
|
36656
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.readBytesPerSecond || "number" === typeof input.readBytesPerSecond || _report(_exceptionable, {
|
|
36657
|
+
path: _path + ".readBytesPerSecond",
|
|
36658
|
+
expected: "(number | undefined)",
|
|
36659
|
+
value: input.readBytesPerSecond
|
|
36660
|
+
}), undefined === input.writeBytesPerSecond || "number" === typeof input.writeBytesPerSecond || _report(_exceptionable, {
|
|
36661
|
+
path: _path + ".writeBytesPerSecond",
|
|
36662
|
+
expected: "(number | undefined)",
|
|
36663
|
+
value: input.writeBytesPerSecond
|
|
36664
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36665
|
+
if (["readBytesPerSecond", "writeBytesPerSecond"].some(prop => key === prop))
|
|
36666
|
+
return true;
|
|
36667
|
+
const value = input[key];
|
|
36668
|
+
if (undefined === value)
|
|
36669
|
+
return true;
|
|
36670
|
+
return _report(_exceptionable, {
|
|
36671
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36672
|
+
expected: "undefined",
|
|
36673
|
+
value: value,
|
|
36674
|
+
description: [
|
|
36675
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36676
|
+
"",
|
|
36677
|
+
"Please remove the property next time."
|
|
36678
|
+
].join("\n")
|
|
36679
|
+
});
|
|
36680
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["number" === typeof input.downstreamConnected || _report(_exceptionable, {
|
|
36681
|
+
path: _path + ".downstreamConnected",
|
|
36682
|
+
expected: "number",
|
|
36683
|
+
value: input.downstreamConnected
|
|
36684
|
+
}), "number" === typeof input.upstreamConnected || _report(_exceptionable, {
|
|
36685
|
+
path: _path + ".upstreamConnected",
|
|
36686
|
+
expected: "number",
|
|
36687
|
+
value: input.upstreamConnected
|
|
36688
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
36689
|
+
path: _path + ".pending",
|
|
36690
|
+
expected: "number",
|
|
36691
|
+
value: input.pending
|
|
36692
|
+
}), "number" === typeof input.completed || _report(_exceptionable, {
|
|
36693
|
+
path: _path + ".completed",
|
|
36694
|
+
expected: "number",
|
|
36695
|
+
value: input.completed
|
|
36696
|
+
}), "number" === typeof input.failed || _report(_exceptionable, {
|
|
36697
|
+
path: _path + ".failed",
|
|
36698
|
+
expected: "number",
|
|
36699
|
+
value: input.failed
|
|
36700
|
+
}), 5 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36701
|
+
if (["downstreamConnected", "upstreamConnected", "pending", "completed", "failed"].some(prop => key === prop))
|
|
36702
|
+
return true;
|
|
36703
|
+
const value = input[key];
|
|
36704
|
+
if (undefined === value)
|
|
36705
|
+
return true;
|
|
36706
|
+
return _report(_exceptionable, {
|
|
36707
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36708
|
+
expected: "undefined",
|
|
36709
|
+
value: value,
|
|
36710
|
+
description: [
|
|
36711
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36712
|
+
"",
|
|
36713
|
+
"Please remove the property next time."
|
|
36714
|
+
].join("\n")
|
|
36715
|
+
});
|
|
36716
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.read && null !== input.read || _report(_exceptionable, {
|
|
36717
|
+
path: _path + ".read",
|
|
36718
|
+
expected: "__type.o3",
|
|
36719
|
+
value: input.read
|
|
36720
|
+
})) && _vo4(input.read, _path + ".read", true && _exceptionable) || _report(_exceptionable, {
|
|
36721
|
+
path: _path + ".read",
|
|
36722
|
+
expected: "__type.o3",
|
|
36723
|
+
value: input.read
|
|
36724
|
+
}), ("object" === typeof input.write && null !== input.write || _report(_exceptionable, {
|
|
36725
|
+
path: _path + ".write",
|
|
36726
|
+
expected: "__type.o4",
|
|
36727
|
+
value: input.write
|
|
36728
|
+
})) && _vo6(input.write, _path + ".write", true && _exceptionable) || _report(_exceptionable, {
|
|
36729
|
+
path: _path + ".write",
|
|
36730
|
+
expected: "__type.o4",
|
|
36731
|
+
value: input.write
|
|
36732
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36733
|
+
if (["read", "write"].some(prop => key === prop))
|
|
36734
|
+
return true;
|
|
36735
|
+
const value = input[key];
|
|
36736
|
+
if (undefined === value)
|
|
36737
|
+
return true;
|
|
36738
|
+
return _report(_exceptionable, {
|
|
36739
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36740
|
+
expected: "undefined",
|
|
36741
|
+
value: value,
|
|
36742
|
+
description: [
|
|
36743
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36744
|
+
"",
|
|
36745
|
+
"Please remove the property next time."
|
|
36746
|
+
].join("\n")
|
|
36747
|
+
});
|
|
36748
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["number" === typeof input.bytesPerSecond || _report(_exceptionable, {
|
|
36749
|
+
path: _path + ".bytesPerSecond",
|
|
36750
|
+
expected: "number",
|
|
36751
|
+
value: input.bytesPerSecond
|
|
36752
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
36753
|
+
path: _path + ".pending",
|
|
36754
|
+
expected: "number",
|
|
36755
|
+
value: input.pending
|
|
36756
|
+
}), ("object" === typeof input.queues && null !== input.queues || _report(_exceptionable, {
|
|
36757
|
+
path: _path + ".queues",
|
|
36758
|
+
expected: "StorageIoQueues",
|
|
36759
|
+
value: input.queues
|
|
36760
|
+
})) && _vo5(input.queues, _path + ".queues", true && _exceptionable) || _report(_exceptionable, {
|
|
36761
|
+
path: _path + ".queues",
|
|
36762
|
+
expected: "StorageIoQueues",
|
|
36763
|
+
value: input.queues
|
|
36764
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36765
|
+
if (["bytesPerSecond", "pending", "queues"].some(prop => key === prop))
|
|
36766
|
+
return true;
|
|
36767
|
+
const value = input[key];
|
|
36768
|
+
if (undefined === value)
|
|
36769
|
+
return true;
|
|
36770
|
+
return _report(_exceptionable, {
|
|
36771
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36772
|
+
expected: "undefined",
|
|
36773
|
+
value: value,
|
|
36774
|
+
description: [
|
|
36775
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36776
|
+
"",
|
|
36777
|
+
"Please remove the property next time."
|
|
36778
|
+
].join("\n")
|
|
36779
|
+
});
|
|
36780
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.highest || _report(_exceptionable, {
|
|
36781
|
+
path: _path + ".highest",
|
|
36782
|
+
expected: "number",
|
|
36783
|
+
value: input.highest
|
|
36784
|
+
}), "number" === typeof input.higher || _report(_exceptionable, {
|
|
36785
|
+
path: _path + ".higher",
|
|
36786
|
+
expected: "number",
|
|
36787
|
+
value: input.higher
|
|
36788
|
+
}), "number" === typeof input.high || _report(_exceptionable, {
|
|
36789
|
+
path: _path + ".high",
|
|
36790
|
+
expected: "number",
|
|
36791
|
+
value: input.high
|
|
36792
|
+
}), "number" === typeof input.normal || _report(_exceptionable, {
|
|
36793
|
+
path: _path + ".normal",
|
|
36794
|
+
expected: "number",
|
|
36795
|
+
value: input.normal
|
|
36796
|
+
}), "number" === typeof input.low || _report(_exceptionable, {
|
|
36797
|
+
path: _path + ".low",
|
|
36798
|
+
expected: "number",
|
|
36799
|
+
value: input.low
|
|
36800
|
+
}), "number" === typeof input.lower || _report(_exceptionable, {
|
|
36801
|
+
path: _path + ".lower",
|
|
36802
|
+
expected: "number",
|
|
36803
|
+
value: input.lower
|
|
36804
|
+
}), "number" === typeof input.lowest || _report(_exceptionable, {
|
|
36805
|
+
path: _path + ".lowest",
|
|
36806
|
+
expected: "number",
|
|
36807
|
+
value: input.lowest
|
|
36808
|
+
}), 7 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36809
|
+
if (["highest", "higher", "high", "normal", "low", "lower", "lowest"].some(prop => key === prop))
|
|
36810
|
+
return true;
|
|
36811
|
+
const value = input[key];
|
|
36812
|
+
if (undefined === value)
|
|
36813
|
+
return true;
|
|
36814
|
+
return _report(_exceptionable, {
|
|
36815
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36816
|
+
expected: "undefined",
|
|
36817
|
+
value: value,
|
|
36818
|
+
description: [
|
|
36819
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36820
|
+
"",
|
|
36821
|
+
"Please remove the property next time."
|
|
36822
|
+
].join("\n")
|
|
36823
|
+
});
|
|
36824
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["number" === typeof input.bytesPerSecond || _report(_exceptionable, {
|
|
36825
|
+
path: _path + ".bytesPerSecond",
|
|
36826
|
+
expected: "number",
|
|
36827
|
+
value: input.bytesPerSecond
|
|
36828
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
36829
|
+
path: _path + ".pending",
|
|
36830
|
+
expected: "number",
|
|
36831
|
+
value: input.pending
|
|
36832
|
+
}), ("object" === typeof input.queues && null !== input.queues || _report(_exceptionable, {
|
|
36833
|
+
path: _path + ".queues",
|
|
36834
|
+
expected: "StorageIoQueues",
|
|
36835
|
+
value: input.queues
|
|
36836
|
+
})) && _vo5(input.queues, _path + ".queues", true && _exceptionable) || _report(_exceptionable, {
|
|
36837
|
+
path: _path + ".queues",
|
|
36838
|
+
expected: "StorageIoQueues",
|
|
36839
|
+
value: input.queues
|
|
36840
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36841
|
+
if (["bytesPerSecond", "pending", "queues"].some(prop => key === prop))
|
|
36842
|
+
return true;
|
|
36843
|
+
const value = input[key];
|
|
36844
|
+
if (undefined === value)
|
|
36845
|
+
return true;
|
|
36846
|
+
return _report(_exceptionable, {
|
|
36847
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36848
|
+
expected: "undefined",
|
|
36849
|
+
value: value,
|
|
36850
|
+
description: [
|
|
36851
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36852
|
+
"",
|
|
36853
|
+
"Please remove the property next time."
|
|
36854
|
+
].join("\n")
|
|
36855
|
+
});
|
|
36856
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
36857
|
+
path: _path + ".concurrency",
|
|
36858
|
+
expected: "(number | undefined)",
|
|
36859
|
+
value: input.concurrency
|
|
36860
|
+
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
36861
|
+
path: _path + ".path",
|
|
36862
|
+
expected: "(string | undefined)",
|
|
36863
|
+
value: input.path
|
|
36864
|
+
}), null === input.snapshot || undefined === input.snapshot || "number" === typeof input.snapshot || _report(_exceptionable, {
|
|
36865
|
+
path: _path + ".snapshot",
|
|
36866
|
+
expected: "(null | number | undefined)",
|
|
36867
|
+
value: input.snapshot
|
|
36868
|
+
}), undefined === input.available || "number" === typeof input.available || _report(_exceptionable, {
|
|
36869
|
+
path: _path + ".available",
|
|
36870
|
+
expected: "(number | undefined)",
|
|
36871
|
+
value: input.available
|
|
36872
|
+
}), undefined === input.free || "number" === typeof input.free || _report(_exceptionable, {
|
|
36873
|
+
path: _path + ".free",
|
|
36874
|
+
expected: "(number | undefined)",
|
|
36875
|
+
value: input.free
|
|
36876
|
+
}), undefined === input.used || "number" === typeof input.used || _report(_exceptionable, {
|
|
36877
|
+
path: _path + ".used",
|
|
36878
|
+
expected: "(number | undefined)",
|
|
36879
|
+
value: input.used
|
|
36880
|
+
}), undefined === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
36881
|
+
path: _path + ".size",
|
|
36882
|
+
expected: "(number | undefined)",
|
|
36883
|
+
value: input.size
|
|
36884
|
+
}), undefined === input.state || "string" === typeof input.state || _report(_exceptionable, {
|
|
36885
|
+
path: _path + ".state",
|
|
36886
|
+
expected: "(string | undefined)",
|
|
36887
|
+
value: input.state
|
|
36888
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
36889
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
36890
|
+
return true;
|
|
36891
|
+
const value = input[key];
|
|
36892
|
+
if (undefined === value)
|
|
36893
|
+
return true;
|
|
36894
|
+
return true;
|
|
36895
|
+
}).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.bucket || "string" === typeof input.bucket || _report(_exceptionable, {
|
|
36896
|
+
path: _path + ".bucket",
|
|
36897
|
+
expected: "(string | undefined)",
|
|
36898
|
+
value: input.bucket
|
|
36899
|
+
}), undefined === input.region || "string" === typeof input.region || _report(_exceptionable, {
|
|
36900
|
+
path: _path + ".region",
|
|
36901
|
+
expected: "(string | undefined)",
|
|
36902
|
+
value: input.region
|
|
36903
|
+
}), undefined === input.endpoint || "string" === typeof input.endpoint || _report(_exceptionable, {
|
|
36904
|
+
path: _path + ".endpoint",
|
|
36905
|
+
expected: "(string | undefined)",
|
|
36906
|
+
value: input.endpoint
|
|
36907
|
+
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
36908
|
+
path: _path + ".path",
|
|
36909
|
+
expected: "(string | undefined)",
|
|
36910
|
+
value: input.path
|
|
36911
|
+
}), undefined === input.storageClass || "string" === typeof input.storageClass || _report(_exceptionable, {
|
|
36912
|
+
path: _path + ".storageClass",
|
|
36913
|
+
expected: "(string | undefined)",
|
|
36914
|
+
value: input.storageClass
|
|
36915
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
36916
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
36917
|
+
return true;
|
|
36918
|
+
const value = input[key];
|
|
36919
|
+
if (undefined === value)
|
|
36920
|
+
return true;
|
|
36921
|
+
return true;
|
|
36922
|
+
}).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 => {
|
|
36923
|
+
if (false === __is(input)) {
|
|
36924
|
+
errors = [];
|
|
36925
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
36926
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
36927
|
+
path: _path + "",
|
|
36928
|
+
expected: "StorageStatsDomainRecord",
|
|
36929
|
+
value: input
|
|
36930
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
36931
|
+
path: _path + "",
|
|
36932
|
+
expected: "StorageStatsDomainRecord",
|
|
36933
|
+
value: input
|
|
36934
|
+
}))(input, "$input", true);
|
|
36935
|
+
const success = 0 === errors.length;
|
|
36936
|
+
return success ? {
|
|
36937
|
+
success,
|
|
36938
|
+
data: input
|
|
36939
|
+
} : {
|
|
36940
|
+
success,
|
|
36941
|
+
errors,
|
|
36942
|
+
data: input
|
|
36943
|
+
};
|
|
36944
|
+
}
|
|
36945
|
+
return {
|
|
36946
|
+
success: true,
|
|
36947
|
+
data: input
|
|
36948
|
+
};
|
|
36949
|
+
}; })()(input);
|
|
36950
|
+
}
|
|
36951
|
+
case ":storage-zone": {
|
|
36952
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.priority || "number" === typeof input.priority) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
36953
|
+
if (["priority"].some(prop => key === prop))
|
|
36954
|
+
return true;
|
|
36955
|
+
const value = input[key];
|
|
36956
|
+
if (undefined === value)
|
|
36957
|
+
return true;
|
|
36958
|
+
return false;
|
|
36959
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.priority || "number" === typeof input.priority || _report(_exceptionable, {
|
|
36960
|
+
path: _path + ".priority",
|
|
36961
|
+
expected: "(number | undefined)",
|
|
36962
|
+
value: input.priority
|
|
36963
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36964
|
+
if (["priority"].some(prop => key === prop))
|
|
36965
|
+
return true;
|
|
36966
|
+
const value = input[key];
|
|
36967
|
+
if (undefined === value)
|
|
36968
|
+
return true;
|
|
36969
|
+
return _report(_exceptionable, {
|
|
36970
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
36971
|
+
expected: "undefined",
|
|
36972
|
+
value: value,
|
|
36973
|
+
description: [
|
|
36974
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
36975
|
+
"",
|
|
36976
|
+
"Please remove the property next time."
|
|
36977
|
+
].join("\n")
|
|
36978
|
+
});
|
|
36979
|
+
}).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 => {
|
|
36980
|
+
if (false === __is(input)) {
|
|
36981
|
+
errors = [];
|
|
36982
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
36983
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
36984
|
+
path: _path + "",
|
|
36985
|
+
expected: "StorageZoneDomainRecord",
|
|
36986
|
+
value: input
|
|
36987
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
36988
|
+
path: _path + "",
|
|
36989
|
+
expected: "StorageZoneDomainRecord",
|
|
36990
|
+
value: input
|
|
36991
|
+
}))(input, "$input", true);
|
|
36992
|
+
const success = 0 === errors.length;
|
|
36993
|
+
return success ? {
|
|
36994
|
+
success,
|
|
36995
|
+
data: input
|
|
36996
|
+
} : {
|
|
36997
|
+
success,
|
|
36998
|
+
errors,
|
|
36999
|
+
data: input
|
|
37000
|
+
};
|
|
37001
|
+
}
|
|
37002
|
+
return {
|
|
37003
|
+
success: true,
|
|
37004
|
+
data: input
|
|
37005
|
+
};
|
|
37006
|
+
}; })()(input);
|
|
37007
|
+
}
|
|
35712
37008
|
case ":storyboard": {
|
|
35713
37009
|
return (() => { const _io0 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
35714
37010
|
const value = input[key];
|
|
@@ -37039,8 +38335,67 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
37039
38335
|
if (undefined === value)
|
|
37040
38336
|
return true;
|
|
37041
38337
|
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))
|
|
38338
|
+
}); 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 => {
|
|
38339
|
+
if (["path", "type", "label", "defaultValue", "widget", "properties", "items", "render"].some(prop => key === prop))
|
|
38340
|
+
return true;
|
|
38341
|
+
const value = input[key];
|
|
38342
|
+
if (undefined === value)
|
|
38343
|
+
return true;
|
|
38344
|
+
return false;
|
|
38345
|
+
})); const _io3 = (input, _exceptionable = true) => "string" === typeof input.type && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38346
|
+
if (["type"].some(prop => key === prop))
|
|
38347
|
+
return true;
|
|
38348
|
+
const value = input[key];
|
|
38349
|
+
if (undefined === value)
|
|
38350
|
+
return true;
|
|
38351
|
+
return false;
|
|
38352
|
+
})); const _io4 = (input, _exceptionable = true) => 0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38353
|
+
const value = input[key];
|
|
38354
|
+
if (undefined === value)
|
|
38355
|
+
return true;
|
|
38356
|
+
return false;
|
|
38357
|
+
}); 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 => {
|
|
38358
|
+
if (["properties"].some(prop => key === prop))
|
|
38359
|
+
return true;
|
|
38360
|
+
const value = input[key];
|
|
38361
|
+
if (undefined === value)
|
|
38362
|
+
return true;
|
|
38363
|
+
return false;
|
|
38364
|
+
})); const _io6 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
38365
|
+
const value = input[key];
|
|
38366
|
+
if (undefined === value)
|
|
38367
|
+
return true;
|
|
38368
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value, true && _exceptionable);
|
|
38369
|
+
}); 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 => {
|
|
38370
|
+
if (["path", "type", "label", "defaultValue", "widget", "items", "properties"].some(prop => key === prop))
|
|
38371
|
+
return true;
|
|
38372
|
+
const value = input[key];
|
|
38373
|
+
if (undefined === value)
|
|
38374
|
+
return true;
|
|
38375
|
+
return false;
|
|
38376
|
+
})); const _io8 = (input, _exceptionable = true) => "string" === typeof input.type && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
38377
|
+
if (["type"].some(prop => key === prop))
|
|
38378
|
+
return true;
|
|
38379
|
+
const value = input[key];
|
|
38380
|
+
if (undefined === value)
|
|
38381
|
+
return true;
|
|
38382
|
+
return false;
|
|
38383
|
+
})); 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 => {
|
|
38384
|
+
if (["type", "profile"].some(prop => key === prop))
|
|
38385
|
+
return true;
|
|
38386
|
+
const value = input[key];
|
|
38387
|
+
if (undefined === value)
|
|
38388
|
+
return true;
|
|
38389
|
+
return false;
|
|
38390
|
+
})); 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 => {
|
|
38391
|
+
if (["format", "video"].some(prop => key === prop))
|
|
38392
|
+
return true;
|
|
38393
|
+
const value = input[key];
|
|
38394
|
+
if (undefined === value)
|
|
38395
|
+
return true;
|
|
38396
|
+
return false;
|
|
38397
|
+
})); 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 => {
|
|
38398
|
+
if (["width", "height", "fit"].some(prop => key === prop))
|
|
37044
38399
|
return true;
|
|
37045
38400
|
const value = input[key];
|
|
37046
38401
|
if (undefined === value)
|
|
@@ -37111,8 +38466,283 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
37111
38466
|
path: _path + ".path",
|
|
37112
38467
|
expected: "(string | undefined)",
|
|
37113
38468
|
value: input.path
|
|
38469
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
38470
|
+
path: _path + ".type",
|
|
38471
|
+
expected: "(string | undefined)",
|
|
38472
|
+
value: input.type
|
|
38473
|
+
}), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
38474
|
+
path: _path + ".label",
|
|
38475
|
+
expected: "(string | undefined)",
|
|
38476
|
+
value: input.label
|
|
38477
|
+
}), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
|
|
38478
|
+
path: _path + ".defaultValue",
|
|
38479
|
+
expected: "(string | undefined)",
|
|
38480
|
+
value: input.defaultValue
|
|
38481
|
+
}), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
|
|
38482
|
+
path: _path + ".widget",
|
|
38483
|
+
expected: "(__type | undefined)",
|
|
38484
|
+
value: input.widget
|
|
38485
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
38486
|
+
path: _path + ".widget",
|
|
38487
|
+
expected: "(__type | undefined)",
|
|
38488
|
+
value: input.widget
|
|
38489
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
38490
|
+
path: _path + ".properties",
|
|
38491
|
+
expected: "(object | undefined)",
|
|
38492
|
+
value: input.properties
|
|
38493
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
38494
|
+
path: _path + ".properties",
|
|
38495
|
+
expected: "(object | undefined)",
|
|
38496
|
+
value: input.properties
|
|
38497
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
38498
|
+
path: _path + ".items",
|
|
38499
|
+
expected: "(__type.o1 | undefined)",
|
|
38500
|
+
value: input.items
|
|
38501
|
+
})) && _vo5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
38502
|
+
path: _path + ".items",
|
|
38503
|
+
expected: "(__type.o1 | undefined)",
|
|
38504
|
+
value: input.items
|
|
38505
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
38506
|
+
path: _path + ".render",
|
|
38507
|
+
expected: "(__type.o3 | undefined)",
|
|
38508
|
+
value: input.render
|
|
38509
|
+
})) && _vo9(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
38510
|
+
path: _path + ".render",
|
|
38511
|
+
expected: "(__type.o3 | undefined)",
|
|
38512
|
+
value: input.render
|
|
37114
38513
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
37115
|
-
if (["path"].some(prop => key === prop))
|
|
38514
|
+
if (["path", "type", "label", "defaultValue", "widget", "properties", "items", "render"].some(prop => key === prop))
|
|
38515
|
+
return true;
|
|
38516
|
+
const value = input[key];
|
|
38517
|
+
if (undefined === value)
|
|
38518
|
+
return true;
|
|
38519
|
+
return _report(_exceptionable, {
|
|
38520
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38521
|
+
expected: "undefined",
|
|
38522
|
+
value: value,
|
|
38523
|
+
description: [
|
|
38524
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38525
|
+
"",
|
|
38526
|
+
"Please remove the property next time."
|
|
38527
|
+
].join("\n")
|
|
38528
|
+
});
|
|
38529
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
38530
|
+
path: _path + ".type",
|
|
38531
|
+
expected: "string",
|
|
38532
|
+
value: input.type
|
|
38533
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38534
|
+
if (["type"].some(prop => key === prop))
|
|
38535
|
+
return true;
|
|
38536
|
+
const value = input[key];
|
|
38537
|
+
if (undefined === value)
|
|
38538
|
+
return true;
|
|
38539
|
+
return _report(_exceptionable, {
|
|
38540
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38541
|
+
expected: "undefined",
|
|
38542
|
+
value: value,
|
|
38543
|
+
description: [
|
|
38544
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38545
|
+
"",
|
|
38546
|
+
"Please remove the property next time."
|
|
38547
|
+
].join("\n")
|
|
38548
|
+
});
|
|
38549
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38550
|
+
const value = input[key];
|
|
38551
|
+
if (undefined === value)
|
|
38552
|
+
return true;
|
|
38553
|
+
return _report(_exceptionable, {
|
|
38554
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38555
|
+
expected: "undefined",
|
|
38556
|
+
value: value,
|
|
38557
|
+
description: [
|
|
38558
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38559
|
+
"",
|
|
38560
|
+
"Please remove the property next time."
|
|
38561
|
+
].join("\n")
|
|
38562
|
+
});
|
|
38563
|
+
}).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, {
|
|
38564
|
+
path: _path + ".properties",
|
|
38565
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
38566
|
+
value: input.properties
|
|
38567
|
+
})) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
38568
|
+
path: _path + ".properties",
|
|
38569
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
38570
|
+
value: input.properties
|
|
38571
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38572
|
+
if (["properties"].some(prop => key === prop))
|
|
38573
|
+
return true;
|
|
38574
|
+
const value = input[key];
|
|
38575
|
+
if (undefined === value)
|
|
38576
|
+
return true;
|
|
38577
|
+
return _report(_exceptionable, {
|
|
38578
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38579
|
+
expected: "undefined",
|
|
38580
|
+
value: value,
|
|
38581
|
+
description: [
|
|
38582
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38583
|
+
"",
|
|
38584
|
+
"Please remove the property next time."
|
|
38585
|
+
].join("\n")
|
|
38586
|
+
});
|
|
38587
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
38588
|
+
const value = input[key];
|
|
38589
|
+
if (undefined === value)
|
|
38590
|
+
return true;
|
|
38591
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
38592
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38593
|
+
expected: "TemplatePropertySchema",
|
|
38594
|
+
value: value
|
|
38595
|
+
})) && _vo7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
38596
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38597
|
+
expected: "TemplatePropertySchema",
|
|
38598
|
+
value: value
|
|
38599
|
+
});
|
|
38600
|
+
}).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
38601
|
+
path: _path + ".path",
|
|
38602
|
+
expected: "(string | undefined)",
|
|
38603
|
+
value: input.path
|
|
38604
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
38605
|
+
path: _path + ".type",
|
|
38606
|
+
expected: "(string | undefined)",
|
|
38607
|
+
value: input.type
|
|
38608
|
+
}), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
38609
|
+
path: _path + ".label",
|
|
38610
|
+
expected: "(string | undefined)",
|
|
38611
|
+
value: input.label
|
|
38612
|
+
}), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
|
|
38613
|
+
path: _path + ".defaultValue",
|
|
38614
|
+
expected: "(string | undefined)",
|
|
38615
|
+
value: input.defaultValue
|
|
38616
|
+
}), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
|
|
38617
|
+
path: _path + ".widget",
|
|
38618
|
+
expected: "(__type.o2 | undefined)",
|
|
38619
|
+
value: input.widget
|
|
38620
|
+
})) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
38621
|
+
path: _path + ".widget",
|
|
38622
|
+
expected: "(__type.o2 | undefined)",
|
|
38623
|
+
value: input.widget
|
|
38624
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
38625
|
+
path: _path + ".items",
|
|
38626
|
+
expected: "(TemplatePropertySchema | undefined)",
|
|
38627
|
+
value: input.items
|
|
38628
|
+
})) && _vo7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
38629
|
+
path: _path + ".items",
|
|
38630
|
+
expected: "(TemplatePropertySchema | undefined)",
|
|
38631
|
+
value: input.items
|
|
38632
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
38633
|
+
path: _path + ".properties",
|
|
38634
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
38635
|
+
value: input.properties
|
|
38636
|
+
})) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
38637
|
+
path: _path + ".properties",
|
|
38638
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
38639
|
+
value: input.properties
|
|
38640
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38641
|
+
if (["path", "type", "label", "defaultValue", "widget", "items", "properties"].some(prop => key === prop))
|
|
38642
|
+
return true;
|
|
38643
|
+
const value = input[key];
|
|
38644
|
+
if (undefined === value)
|
|
38645
|
+
return true;
|
|
38646
|
+
return _report(_exceptionable, {
|
|
38647
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38648
|
+
expected: "undefined",
|
|
38649
|
+
value: value,
|
|
38650
|
+
description: [
|
|
38651
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38652
|
+
"",
|
|
38653
|
+
"Please remove the property next time."
|
|
38654
|
+
].join("\n")
|
|
38655
|
+
});
|
|
38656
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
38657
|
+
path: _path + ".type",
|
|
38658
|
+
expected: "string",
|
|
38659
|
+
value: input.type
|
|
38660
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38661
|
+
if (["type"].some(prop => key === prop))
|
|
38662
|
+
return true;
|
|
38663
|
+
const value = input[key];
|
|
38664
|
+
if (undefined === value)
|
|
38665
|
+
return true;
|
|
38666
|
+
return _report(_exceptionable, {
|
|
38667
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38668
|
+
expected: "undefined",
|
|
38669
|
+
value: value,
|
|
38670
|
+
description: [
|
|
38671
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38672
|
+
"",
|
|
38673
|
+
"Please remove the property next time."
|
|
38674
|
+
].join("\n")
|
|
38675
|
+
});
|
|
38676
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
|
|
38677
|
+
path: _path + ".type",
|
|
38678
|
+
expected: "\"image\"",
|
|
38679
|
+
value: input.type
|
|
38680
|
+
}), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
|
|
38681
|
+
path: _path + ".profile",
|
|
38682
|
+
expected: "(__type.o4 | undefined)",
|
|
38683
|
+
value: input.profile
|
|
38684
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
38685
|
+
path: _path + ".profile",
|
|
38686
|
+
expected: "(__type.o4 | undefined)",
|
|
38687
|
+
value: input.profile
|
|
38688
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38689
|
+
if (["type", "profile"].some(prop => key === prop))
|
|
38690
|
+
return true;
|
|
38691
|
+
const value = input[key];
|
|
38692
|
+
if (undefined === value)
|
|
38693
|
+
return true;
|
|
38694
|
+
return _report(_exceptionable, {
|
|
38695
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38696
|
+
expected: "undefined",
|
|
38697
|
+
value: value,
|
|
38698
|
+
description: [
|
|
38699
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38700
|
+
"",
|
|
38701
|
+
"Please remove the property next time."
|
|
38702
|
+
].join("\n")
|
|
38703
|
+
});
|
|
38704
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
|
|
38705
|
+
path: _path + ".format",
|
|
38706
|
+
expected: "(string | undefined)",
|
|
38707
|
+
value: input.format
|
|
38708
|
+
}), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
|
|
38709
|
+
path: _path + ".video",
|
|
38710
|
+
expected: "(__type.o5 | undefined)",
|
|
38711
|
+
value: input.video
|
|
38712
|
+
})) && _vo11(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
38713
|
+
path: _path + ".video",
|
|
38714
|
+
expected: "(__type.o5 | undefined)",
|
|
38715
|
+
value: input.video
|
|
38716
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38717
|
+
if (["format", "video"].some(prop => key === prop))
|
|
38718
|
+
return true;
|
|
38719
|
+
const value = input[key];
|
|
38720
|
+
if (undefined === value)
|
|
38721
|
+
return true;
|
|
38722
|
+
return _report(_exceptionable, {
|
|
38723
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
38724
|
+
expected: "undefined",
|
|
38725
|
+
value: value,
|
|
38726
|
+
description: [
|
|
38727
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
38728
|
+
"",
|
|
38729
|
+
"Please remove the property next time."
|
|
38730
|
+
].join("\n")
|
|
38731
|
+
});
|
|
38732
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
|
|
38733
|
+
path: _path + ".width",
|
|
38734
|
+
expected: "number",
|
|
38735
|
+
value: input.width
|
|
38736
|
+
}), "number" === typeof input.height || _report(_exceptionable, {
|
|
38737
|
+
path: _path + ".height",
|
|
38738
|
+
expected: "number",
|
|
38739
|
+
value: input.height
|
|
38740
|
+
}), "cover" === input.fit || _report(_exceptionable, {
|
|
38741
|
+
path: _path + ".fit",
|
|
38742
|
+
expected: "\"cover\"",
|
|
38743
|
+
value: input.fit
|
|
38744
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
38745
|
+
if (["width", "height", "fit"].some(prop => key === prop))
|
|
37116
38746
|
return true;
|
|
37117
38747
|
const value = input[key];
|
|
37118
38748
|
if (undefined === value)
|