@nxtedition/types 23.1.7 → 23.1.9
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/render-scene.d.ts +2 -0
- package/dist/common/settings.d.ts +4 -1
- package/dist/nxtpression.d.ts +27 -25
- package/dist/records/domains/event.d.ts +2 -1
- package/dist/records/domains/file.d.ts +7 -0
- package/dist/records/domains/media.d.ts +8 -0
- package/dist/records/domains/publish/report.js +12 -2
- package/dist/records/domains/render.d.ts +3 -0
- package/dist/records/domains/template.d.ts +2 -22
- package/dist/records/validate/assert-guard.js +1672 -602
- package/dist/records/validate/assert.js +1653 -582
- package/dist/records/validate/is.js +78 -24
- package/dist/records/validate/schemas.js +1157 -378
- package/dist/records/validate/stringify.js +160 -34
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +20098 -19056
- package/dist/records/validate/validate.js +1491 -599
- package/package.json +1 -1
|
@@ -8766,148 +8766,47 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8766
8766
|
}
|
|
8767
8767
|
}; })()(input);
|
|
8768
8768
|
}
|
|
8769
|
-
case ":
|
|
8770
|
-
return (() => { const _io0 = input => (
|
|
8771
|
-
|
|
8772
|
-
|
|
8773
|
-
|
|
8774
|
-
value
|
|
8775
|
-
}
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
value
|
|
8780
|
-
}
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
value
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
expected: "(string | undefined)",
|
|
8789
|
-
value: input.position
|
|
8790
|
-
}, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8791
|
-
method: "typia.assertGuard",
|
|
8792
|
-
path: _path + ".text",
|
|
8793
|
-
expected: "(string | undefined)",
|
|
8794
|
-
value: input.text
|
|
8795
|
-
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8796
|
-
method: "typia.assertGuard",
|
|
8797
|
-
path: _path + ".lang",
|
|
8798
|
-
expected: "(string | undefined)",
|
|
8799
|
-
value: input.lang
|
|
8800
|
-
}, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8801
|
-
method: "typia.assertGuard",
|
|
8802
|
-
path: _path + ".style",
|
|
8803
|
-
expected: "(string | undefined)",
|
|
8804
|
-
value: input.style
|
|
8805
|
-
}, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8806
|
-
method: "typia.assertGuard",
|
|
8807
|
-
path: _path + ".styleOverrides",
|
|
8808
|
-
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
8809
|
-
value: input.styleOverrides
|
|
8810
|
-
}, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8811
|
-
method: "typia.assertGuard",
|
|
8812
|
-
path: _path + ".styleOverrides",
|
|
8813
|
-
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
8814
|
-
value: input.styleOverrides
|
|
8815
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8816
|
-
method: "typia.assertGuard",
|
|
8817
|
-
path: _path + ".marginL",
|
|
8818
|
-
expected: "(string | undefined)",
|
|
8819
|
-
value: input.marginL
|
|
8820
|
-
}, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8821
|
-
method: "typia.assertGuard",
|
|
8822
|
-
path: _path + ".marginR",
|
|
8823
|
-
expected: "(string | undefined)",
|
|
8824
|
-
value: input.marginR
|
|
8825
|
-
}, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8826
|
-
method: "typia.assertGuard",
|
|
8827
|
-
path: _path + ".marginV",
|
|
8828
|
-
expected: "(string | undefined)",
|
|
8829
|
-
value: input.marginV
|
|
8830
|
-
}, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8831
|
-
method: "typia.assertGuard",
|
|
8832
|
-
path: _path + ".alignment",
|
|
8833
|
-
expected: "(string | undefined)",
|
|
8834
|
-
value: input.alignment
|
|
8835
|
-
}, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8836
|
-
method: "typia.assertGuard",
|
|
8837
|
-
path: _path + ".fontname",
|
|
8838
|
-
expected: "(string | undefined)",
|
|
8839
|
-
value: input.fontname
|
|
8840
|
-
}, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8841
|
-
method: "typia.assertGuard",
|
|
8842
|
-
path: _path + ".fontsize",
|
|
8843
|
-
expected: "(string | undefined)",
|
|
8844
|
-
value: input.fontsize
|
|
8845
|
-
}, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8846
|
-
method: "typia.assertGuard",
|
|
8847
|
-
path: _path + ".primaryColour",
|
|
8848
|
-
expected: "(string | undefined)",
|
|
8849
|
-
value: input.primaryColour
|
|
8850
|
-
}, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8851
|
-
method: "typia.assertGuard",
|
|
8852
|
-
path: _path + ".secondaryColour",
|
|
8853
|
-
expected: "(string | undefined)",
|
|
8854
|
-
value: input.secondaryColour
|
|
8855
|
-
}, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8856
|
-
method: "typia.assertGuard",
|
|
8857
|
-
path: _path + ".outlineColour",
|
|
8858
|
-
expected: "(string | undefined)",
|
|
8859
|
-
value: input.outlineColour
|
|
8860
|
-
}, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8861
|
-
method: "typia.assertGuard",
|
|
8862
|
-
path: _path + ".backColour",
|
|
8863
|
-
expected: "(string | undefined)",
|
|
8864
|
-
value: input.backColour
|
|
8865
|
-
}, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8866
|
-
method: "typia.assertGuard",
|
|
8867
|
-
path: _path + ".bold",
|
|
8868
|
-
expected: "(string | undefined)",
|
|
8869
|
-
value: input.bold
|
|
8870
|
-
}, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8769
|
+
case ":template": {
|
|
8770
|
+
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
|
|
8771
|
+
const value = input[key];
|
|
8772
|
+
if (undefined === value)
|
|
8773
|
+
return true;
|
|
8774
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
8775
|
+
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (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) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (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) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
|
|
8776
|
+
const value = input[key];
|
|
8777
|
+
if (undefined === value)
|
|
8778
|
+
return true;
|
|
8779
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
8780
|
+
}); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
8781
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
8782
|
+
return true;
|
|
8783
|
+
const value = input[key];
|
|
8784
|
+
if (undefined === value)
|
|
8785
|
+
return true;
|
|
8786
|
+
return true;
|
|
8787
|
+
}); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8871
8788
|
method: "typia.assertGuard",
|
|
8872
|
-
path: _path + ".
|
|
8789
|
+
path: _path + ".source",
|
|
8873
8790
|
expected: "(string | undefined)",
|
|
8874
|
-
value: input.
|
|
8875
|
-
}, _errorFactory)) && (undefined === input.
|
|
8791
|
+
value: input.source
|
|
8792
|
+
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8876
8793
|
method: "typia.assertGuard",
|
|
8877
|
-
path: _path + ".
|
|
8794
|
+
path: _path + ".controller",
|
|
8878
8795
|
expected: "(string | undefined)",
|
|
8879
|
-
value: input.
|
|
8880
|
-
}, _errorFactory)) && (undefined === input.
|
|
8796
|
+
value: input.controller
|
|
8797
|
+
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8881
8798
|
method: "typia.assertGuard",
|
|
8882
|
-
path: _path + ".
|
|
8799
|
+
path: _path + ".type",
|
|
8883
8800
|
expected: "(string | undefined)",
|
|
8884
|
-
value: input.
|
|
8885
|
-
}, _errorFactory))
|
|
8886
|
-
if (false === __is(input)) {
|
|
8887
|
-
_errorFactory = errorFactory;
|
|
8888
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8889
|
-
method: "typia.assertGuard",
|
|
8890
|
-
path: _path + "",
|
|
8891
|
-
expected: "EventRecord",
|
|
8892
|
-
value: input
|
|
8893
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8894
|
-
method: "typia.assertGuard",
|
|
8895
|
-
path: _path + "",
|
|
8896
|
-
expected: "EventRecord",
|
|
8897
|
-
value: input
|
|
8898
|
-
}, _errorFactory))(input, "$input", true);
|
|
8899
|
-
}
|
|
8900
|
-
}; })()(input);
|
|
8901
|
-
}
|
|
8902
|
-
case ":event._template?": {
|
|
8903
|
-
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8801
|
+
value: input.type
|
|
8802
|
+
}, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8904
8803
|
method: "typia.assertGuard",
|
|
8905
8804
|
path: _path + ".mixin",
|
|
8906
8805
|
expected: "(Array<string> | undefined)",
|
|
8907
8806
|
value: input.mixin
|
|
8908
|
-
}, _errorFactory)) && input.mixin.every((elem,
|
|
8807
|
+
}, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8909
8808
|
method: "typia.assertGuard",
|
|
8910
|
-
path: _path + ".mixin[" +
|
|
8809
|
+
path: _path + ".mixin[" + _index6 + "]",
|
|
8911
8810
|
expected: "string",
|
|
8912
8811
|
value: elem
|
|
8913
8812
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -8918,108 +8817,1015 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8918
8817
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8919
8818
|
method: "typia.assertGuard",
|
|
8920
8819
|
path: _path + ".properties",
|
|
8921
|
-
expected: "(
|
|
8820
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
8922
8821
|
value: input.properties
|
|
8923
8822
|
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8924
8823
|
method: "typia.assertGuard",
|
|
8925
8824
|
path: _path + ".properties",
|
|
8926
|
-
expected: "(
|
|
8825
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
8927
8826
|
value: input.properties
|
|
8928
|
-
}, _errorFactory))
|
|
8929
|
-
method: "typia.assertGuard",
|
|
8930
|
-
path: _path + ".layout",
|
|
8931
|
-
expected: "(__type | undefined)",
|
|
8932
|
-
value: input.layout
|
|
8933
|
-
}, _errorFactory)) && _ao2(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8934
|
-
method: "typia.assertGuard",
|
|
8935
|
-
path: _path + ".layout",
|
|
8936
|
-
expected: "(__type | undefined)",
|
|
8937
|
-
value: input.layout
|
|
8938
|
-
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8939
|
-
method: "typia.assertGuard",
|
|
8940
|
-
path: _path + ".controller",
|
|
8941
|
-
expected: "(string | undefined)",
|
|
8942
|
-
value: input.controller
|
|
8943
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => true; const _ao2 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8944
|
-
method: "typia.assertGuard",
|
|
8945
|
-
path: _path + ".title",
|
|
8946
|
-
expected: "(string | undefined)",
|
|
8947
|
-
value: input.title
|
|
8948
|
-
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
8949
|
-
if (false === __is(input)) {
|
|
8950
|
-
_errorFactory = errorFactory;
|
|
8951
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8952
|
-
method: "typia.assertGuard",
|
|
8953
|
-
path: _path + "",
|
|
8954
|
-
expected: "EventTemplateRecord",
|
|
8955
|
-
value: input
|
|
8956
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8957
|
-
method: "typia.assertGuard",
|
|
8958
|
-
path: _path + "",
|
|
8959
|
-
expected: "EventTemplateRecord",
|
|
8960
|
-
value: input
|
|
8961
|
-
}, _errorFactory))(input, "$input", true);
|
|
8962
|
-
}
|
|
8963
|
-
}; })()(input);
|
|
8964
|
-
}
|
|
8965
|
-
case ":event.overlay?": {
|
|
8966
|
-
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
8967
|
-
const value = input[key];
|
|
8968
|
-
if (undefined === value)
|
|
8969
|
-
return true;
|
|
8970
|
-
return "object" === typeof value && null !== value && _io1(value);
|
|
8971
|
-
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
8972
|
-
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8973
|
-
return true;
|
|
8974
|
-
const value = input[key];
|
|
8975
|
-
if (undefined === value)
|
|
8976
|
-
return true;
|
|
8977
|
-
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
|
|
8978
|
-
}); const _io3 = input => Object.keys(input).every(key => {
|
|
8979
|
-
const value = input[key];
|
|
8980
|
-
if (undefined === value)
|
|
8981
|
-
return true;
|
|
8982
|
-
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
|
|
8983
|
-
}); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
8827
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
8984
8828
|
const value = input[key];
|
|
8985
8829
|
if (undefined === value)
|
|
8986
8830
|
return true;
|
|
8987
|
-
return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8831
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8988
8832
|
method: "typia.assertGuard",
|
|
8989
8833
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8990
|
-
expected: "
|
|
8834
|
+
expected: "TemplateProperty",
|
|
8991
8835
|
value: value
|
|
8992
|
-
}, _errorFactory)) &&
|
|
8836
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8993
8837
|
method: "typia.assertGuard",
|
|
8994
8838
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8995
|
-
expected: "
|
|
8839
|
+
expected: "TemplateProperty",
|
|
8996
8840
|
value: value
|
|
8997
8841
|
}, _errorFactory);
|
|
8998
|
-
}); const
|
|
8842
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8999
8843
|
method: "typia.assertGuard",
|
|
9000
|
-
path: _path + ".
|
|
9001
|
-
expected: "
|
|
9002
|
-
value: input.
|
|
9003
|
-
}, _errorFactory)) &&
|
|
8844
|
+
path: _path + ".path",
|
|
8845
|
+
expected: "(string | undefined)",
|
|
8846
|
+
value: input.path
|
|
8847
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9004
8848
|
method: "typia.assertGuard",
|
|
9005
|
-
path: _path + ".
|
|
9006
|
-
expected: "
|
|
9007
|
-
value: input.
|
|
9008
|
-
}, _errorFactory)
|
|
8849
|
+
path: _path + ".render",
|
|
8850
|
+
expected: "(__type | undefined)",
|
|
8851
|
+
value: input.render
|
|
8852
|
+
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9009
8853
|
method: "typia.assertGuard",
|
|
9010
|
-
path: _path + ".
|
|
9011
|
-
expected: "(
|
|
9012
|
-
value: input.
|
|
9013
|
-
}, _errorFactory)) && (undefined === input.
|
|
8854
|
+
path: _path + ".render",
|
|
8855
|
+
expected: "(__type | undefined)",
|
|
8856
|
+
value: input.render
|
|
8857
|
+
}, _errorFactory)) && (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 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9014
8858
|
method: "typia.assertGuard",
|
|
9015
|
-
path: _path + ".
|
|
9016
|
-
expected: "(boolean | string | undefined)",
|
|
9017
|
-
value: input.
|
|
9018
|
-
}, _errorFactory)) && (undefined === input.
|
|
8859
|
+
path: _path + ".type",
|
|
8860
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
8861
|
+
value: input.type
|
|
8862
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9019
8863
|
method: "typia.assertGuard",
|
|
9020
|
-
path: _path + ".
|
|
8864
|
+
path: _path + ".title",
|
|
9021
8865
|
expected: "(string | undefined)",
|
|
9022
|
-
value: input.
|
|
8866
|
+
value: input.title
|
|
8867
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8868
|
+
method: "typia.assertGuard",
|
|
8869
|
+
path: _path + ".description",
|
|
8870
|
+
expected: "(string | undefined)",
|
|
8871
|
+
value: input.description
|
|
8872
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8873
|
+
method: "typia.assertGuard",
|
|
8874
|
+
path: _path + ".required",
|
|
8875
|
+
expected: "(boolean | undefined)",
|
|
8876
|
+
value: input.required
|
|
8877
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8878
|
+
method: "typia.assertGuard",
|
|
8879
|
+
path: _path + ".oneOf",
|
|
8880
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8881
|
+
value: input.oneOf
|
|
8882
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8883
|
+
method: "typia.assertGuard",
|
|
8884
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
8885
|
+
expected: "SchemaProperty<unknown>",
|
|
8886
|
+
value: elem
|
|
8887
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8888
|
+
method: "typia.assertGuard",
|
|
8889
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
8890
|
+
expected: "SchemaProperty<unknown>",
|
|
8891
|
+
value: elem
|
|
8892
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8893
|
+
method: "typia.assertGuard",
|
|
8894
|
+
path: _path + ".oneOf",
|
|
8895
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8896
|
+
value: input.oneOf
|
|
8897
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8898
|
+
method: "typia.assertGuard",
|
|
8899
|
+
path: _path + ".anyOf",
|
|
8900
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8901
|
+
value: input.anyOf
|
|
8902
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8903
|
+
method: "typia.assertGuard",
|
|
8904
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
8905
|
+
expected: "SchemaProperty<unknown>",
|
|
8906
|
+
value: elem
|
|
8907
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8908
|
+
method: "typia.assertGuard",
|
|
8909
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
8910
|
+
expected: "SchemaProperty<unknown>",
|
|
8911
|
+
value: elem
|
|
8912
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8913
|
+
method: "typia.assertGuard",
|
|
8914
|
+
path: _path + ".anyOf",
|
|
8915
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8916
|
+
value: input.anyOf
|
|
8917
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8918
|
+
method: "typia.assertGuard",
|
|
8919
|
+
path: _path + "[\"enum\"]",
|
|
8920
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
8921
|
+
value: input["enum"]
|
|
8922
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8923
|
+
method: "typia.assertGuard",
|
|
8924
|
+
path: _path + ".minItems",
|
|
8925
|
+
expected: "(number | undefined)",
|
|
8926
|
+
value: input.minItems
|
|
8927
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8928
|
+
method: "typia.assertGuard",
|
|
8929
|
+
path: _path + ".maxItems",
|
|
8930
|
+
expected: "(number | undefined)",
|
|
8931
|
+
value: input.maxItems
|
|
8932
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8933
|
+
method: "typia.assertGuard",
|
|
8934
|
+
path: _path + ".items",
|
|
8935
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
8936
|
+
value: input.items
|
|
8937
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8938
|
+
method: "typia.assertGuard",
|
|
8939
|
+
path: _path + ".items",
|
|
8940
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
8941
|
+
value: input.items
|
|
8942
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8943
|
+
method: "typia.assertGuard",
|
|
8944
|
+
path: _path + ".properties",
|
|
8945
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
8946
|
+
value: input.properties
|
|
8947
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8948
|
+
method: "typia.assertGuard",
|
|
8949
|
+
path: _path + ".properties",
|
|
8950
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
8951
|
+
value: input.properties
|
|
8952
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8953
|
+
method: "typia.assertGuard",
|
|
8954
|
+
path: _path + ".widget",
|
|
8955
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
8956
|
+
value: input.widget
|
|
8957
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8958
|
+
method: "typia.assertGuard",
|
|
8959
|
+
path: _path + ".widget",
|
|
8960
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
8961
|
+
value: input.widget
|
|
8962
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8963
|
+
method: "typia.assertGuard",
|
|
8964
|
+
path: _path + ".widget",
|
|
8965
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
8966
|
+
value: input.widget
|
|
8967
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8968
|
+
method: "typia.assertGuard",
|
|
8969
|
+
path: _path + ".placeholder",
|
|
8970
|
+
expected: "(string | undefined)",
|
|
8971
|
+
value: input.placeholder
|
|
8972
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8973
|
+
method: "typia.assertGuard",
|
|
8974
|
+
path: _path + ".helpText",
|
|
8975
|
+
expected: "(string | undefined)",
|
|
8976
|
+
value: input.helpText
|
|
8977
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8978
|
+
method: "typia.assertGuard",
|
|
8979
|
+
path: _path + ".invalid",
|
|
8980
|
+
expected: "(boolean | undefined)",
|
|
8981
|
+
value: input.invalid
|
|
8982
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8983
|
+
method: "typia.assertGuard",
|
|
8984
|
+
path: _path + ".type",
|
|
8985
|
+
expected: "\"image\"",
|
|
8986
|
+
value: input.type
|
|
8987
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8988
|
+
method: "typia.assertGuard",
|
|
8989
|
+
path: _path + ".profile",
|
|
8990
|
+
expected: "(__type.o1 | undefined)",
|
|
8991
|
+
value: input.profile
|
|
8992
|
+
}, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8993
|
+
method: "typia.assertGuard",
|
|
8994
|
+
path: _path + ".profile",
|
|
8995
|
+
expected: "(__type.o1 | undefined)",
|
|
8996
|
+
value: input.profile
|
|
8997
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8998
|
+
method: "typia.assertGuard",
|
|
8999
|
+
path: _path + ".format",
|
|
9000
|
+
expected: "(string | undefined)",
|
|
9001
|
+
value: input.format
|
|
9002
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9003
|
+
method: "typia.assertGuard",
|
|
9004
|
+
path: _path + ".video",
|
|
9005
|
+
expected: "(__type.o2 | undefined)",
|
|
9006
|
+
value: input.video
|
|
9007
|
+
}, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9008
|
+
method: "typia.assertGuard",
|
|
9009
|
+
path: _path + ".video",
|
|
9010
|
+
expected: "(__type.o2 | undefined)",
|
|
9011
|
+
value: input.video
|
|
9012
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9013
|
+
method: "typia.assertGuard",
|
|
9014
|
+
path: _path + ".width",
|
|
9015
|
+
expected: "number",
|
|
9016
|
+
value: input.width
|
|
9017
|
+
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9018
|
+
method: "typia.assertGuard",
|
|
9019
|
+
path: _path + ".height",
|
|
9020
|
+
expected: "number",
|
|
9021
|
+
value: input.height
|
|
9022
|
+
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9023
|
+
method: "typia.assertGuard",
|
|
9024
|
+
path: _path + ".fit",
|
|
9025
|
+
expected: "\"cover\"",
|
|
9026
|
+
value: input.fit
|
|
9027
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (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 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9028
|
+
method: "typia.assertGuard",
|
|
9029
|
+
path: _path + ".type",
|
|
9030
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
9031
|
+
value: input.type
|
|
9032
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9033
|
+
method: "typia.assertGuard",
|
|
9034
|
+
path: _path + ".title",
|
|
9035
|
+
expected: "(string | undefined)",
|
|
9036
|
+
value: input.title
|
|
9037
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9038
|
+
method: "typia.assertGuard",
|
|
9039
|
+
path: _path + ".description",
|
|
9040
|
+
expected: "(string | undefined)",
|
|
9041
|
+
value: input.description
|
|
9042
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9043
|
+
method: "typia.assertGuard",
|
|
9044
|
+
path: _path + ".required",
|
|
9045
|
+
expected: "(boolean | undefined)",
|
|
9046
|
+
value: input.required
|
|
9047
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9048
|
+
method: "typia.assertGuard",
|
|
9049
|
+
path: _path + ".oneOf",
|
|
9050
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9051
|
+
value: input.oneOf
|
|
9052
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9053
|
+
method: "typia.assertGuard",
|
|
9054
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9055
|
+
expected: "SchemaProperty<unknown>",
|
|
9056
|
+
value: elem
|
|
9057
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9058
|
+
method: "typia.assertGuard",
|
|
9059
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9060
|
+
expected: "SchemaProperty<unknown>",
|
|
9061
|
+
value: elem
|
|
9062
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9063
|
+
method: "typia.assertGuard",
|
|
9064
|
+
path: _path + ".oneOf",
|
|
9065
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9066
|
+
value: input.oneOf
|
|
9067
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9068
|
+
method: "typia.assertGuard",
|
|
9069
|
+
path: _path + ".anyOf",
|
|
9070
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9071
|
+
value: input.anyOf
|
|
9072
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9073
|
+
method: "typia.assertGuard",
|
|
9074
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9075
|
+
expected: "SchemaProperty<unknown>",
|
|
9076
|
+
value: elem
|
|
9077
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9078
|
+
method: "typia.assertGuard",
|
|
9079
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9080
|
+
expected: "SchemaProperty<unknown>",
|
|
9081
|
+
value: elem
|
|
9082
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9083
|
+
method: "typia.assertGuard",
|
|
9084
|
+
path: _path + ".anyOf",
|
|
9085
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9086
|
+
value: input.anyOf
|
|
9087
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9088
|
+
method: "typia.assertGuard",
|
|
9089
|
+
path: _path + "[\"enum\"]",
|
|
9090
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
9091
|
+
value: input["enum"]
|
|
9092
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9093
|
+
method: "typia.assertGuard",
|
|
9094
|
+
path: _path + ".minItems",
|
|
9095
|
+
expected: "(number | undefined)",
|
|
9096
|
+
value: input.minItems
|
|
9097
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9098
|
+
method: "typia.assertGuard",
|
|
9099
|
+
path: _path + ".maxItems",
|
|
9100
|
+
expected: "(number | undefined)",
|
|
9101
|
+
value: input.maxItems
|
|
9102
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9103
|
+
method: "typia.assertGuard",
|
|
9104
|
+
path: _path + ".items",
|
|
9105
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9106
|
+
value: input.items
|
|
9107
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9108
|
+
method: "typia.assertGuard",
|
|
9109
|
+
path: _path + ".items",
|
|
9110
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9111
|
+
value: input.items
|
|
9112
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9113
|
+
method: "typia.assertGuard",
|
|
9114
|
+
path: _path + ".properties",
|
|
9115
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9116
|
+
value: input.properties
|
|
9117
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9118
|
+
method: "typia.assertGuard",
|
|
9119
|
+
path: _path + ".properties",
|
|
9120
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9121
|
+
value: input.properties
|
|
9122
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9123
|
+
method: "typia.assertGuard",
|
|
9124
|
+
path: _path + ".widget",
|
|
9125
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9126
|
+
value: input.widget
|
|
9127
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9128
|
+
method: "typia.assertGuard",
|
|
9129
|
+
path: _path + ".widget",
|
|
9130
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9131
|
+
value: input.widget
|
|
9132
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9133
|
+
method: "typia.assertGuard",
|
|
9134
|
+
path: _path + ".widget",
|
|
9135
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9136
|
+
value: input.widget
|
|
9137
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9138
|
+
method: "typia.assertGuard",
|
|
9139
|
+
path: _path + ".placeholder",
|
|
9140
|
+
expected: "(string | undefined)",
|
|
9141
|
+
value: input.placeholder
|
|
9142
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9143
|
+
method: "typia.assertGuard",
|
|
9144
|
+
path: _path + ".helpText",
|
|
9145
|
+
expected: "(string | undefined)",
|
|
9146
|
+
value: input.helpText
|
|
9147
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9148
|
+
method: "typia.assertGuard",
|
|
9149
|
+
path: _path + ".invalid",
|
|
9150
|
+
expected: "(boolean | undefined)",
|
|
9151
|
+
value: input.invalid
|
|
9152
|
+
}, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9153
|
+
const value = input[key];
|
|
9154
|
+
if (undefined === value)
|
|
9155
|
+
return true;
|
|
9156
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9157
|
+
method: "typia.assertGuard",
|
|
9158
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9159
|
+
expected: "SchemaProperty<unknown>",
|
|
9160
|
+
value: value
|
|
9161
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9162
|
+
method: "typia.assertGuard",
|
|
9163
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9164
|
+
expected: "SchemaProperty<unknown>",
|
|
9165
|
+
value: value
|
|
9166
|
+
}, _errorFactory);
|
|
9167
|
+
}); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9168
|
+
method: "typia.assertGuard",
|
|
9169
|
+
path: _path + ".type",
|
|
9170
|
+
expected: "(string | undefined)",
|
|
9171
|
+
value: input.type
|
|
9172
|
+
}, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9173
|
+
method: "typia.assertGuard",
|
|
9174
|
+
path: _path + ".readOnly",
|
|
9175
|
+
expected: "(boolean | undefined)",
|
|
9176
|
+
value: input.readOnly
|
|
9177
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9178
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9179
|
+
return true;
|
|
9180
|
+
const value = input[key];
|
|
9181
|
+
if (undefined === value)
|
|
9182
|
+
return true;
|
|
9183
|
+
return true;
|
|
9184
|
+
})); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9185
|
+
if (false === __is(input)) {
|
|
9186
|
+
_errorFactory = errorFactory;
|
|
9187
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9188
|
+
method: "typia.assertGuard",
|
|
9189
|
+
path: _path + "",
|
|
9190
|
+
expected: "TemplateRecord",
|
|
9191
|
+
value: input
|
|
9192
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9193
|
+
method: "typia.assertGuard",
|
|
9194
|
+
path: _path + "",
|
|
9195
|
+
expected: "TemplateRecord",
|
|
9196
|
+
value: input
|
|
9197
|
+
}, _errorFactory))(input, "$input", true);
|
|
9198
|
+
}
|
|
9199
|
+
}; })()(input);
|
|
9200
|
+
}
|
|
9201
|
+
case ":event": {
|
|
9202
|
+
return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.position || "string" === typeof input.position) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io1(input.styleOverrides)); const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut); const _ao0 = (input, _path, _exceptionable = true) => (null === input.start || undefined === input.start || "number" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9203
|
+
method: "typia.assertGuard",
|
|
9204
|
+
path: _path + ".start",
|
|
9205
|
+
expected: "(null | number | undefined)",
|
|
9206
|
+
value: input.start
|
|
9207
|
+
}, _errorFactory)) && (null === input.end || undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9208
|
+
method: "typia.assertGuard",
|
|
9209
|
+
path: _path + ".end",
|
|
9210
|
+
expected: "(null | number | undefined)",
|
|
9211
|
+
value: input.end
|
|
9212
|
+
}, _errorFactory)) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9213
|
+
method: "typia.assertGuard",
|
|
9214
|
+
path: _path + ".duration",
|
|
9215
|
+
expected: "(null | number | undefined)",
|
|
9216
|
+
value: input.duration
|
|
9217
|
+
}, _errorFactory)) && (undefined === input.position || "string" === typeof input.position || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9218
|
+
method: "typia.assertGuard",
|
|
9219
|
+
path: _path + ".position",
|
|
9220
|
+
expected: "(string | undefined)",
|
|
9221
|
+
value: input.position
|
|
9222
|
+
}, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9223
|
+
method: "typia.assertGuard",
|
|
9224
|
+
path: _path + ".text",
|
|
9225
|
+
expected: "(string | undefined)",
|
|
9226
|
+
value: input.text
|
|
9227
|
+
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9228
|
+
method: "typia.assertGuard",
|
|
9229
|
+
path: _path + ".lang",
|
|
9230
|
+
expected: "(string | undefined)",
|
|
9231
|
+
value: input.lang
|
|
9232
|
+
}, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9233
|
+
method: "typia.assertGuard",
|
|
9234
|
+
path: _path + ".style",
|
|
9235
|
+
expected: "(string | undefined)",
|
|
9236
|
+
value: input.style
|
|
9237
|
+
}, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9238
|
+
method: "typia.assertGuard",
|
|
9239
|
+
path: _path + ".styleOverrides",
|
|
9240
|
+
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
9241
|
+
value: input.styleOverrides
|
|
9242
|
+
}, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9243
|
+
method: "typia.assertGuard",
|
|
9244
|
+
path: _path + ".styleOverrides",
|
|
9245
|
+
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
9246
|
+
value: input.styleOverrides
|
|
9247
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9248
|
+
method: "typia.assertGuard",
|
|
9249
|
+
path: _path + ".marginL",
|
|
9250
|
+
expected: "(string | undefined)",
|
|
9251
|
+
value: input.marginL
|
|
9252
|
+
}, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9253
|
+
method: "typia.assertGuard",
|
|
9254
|
+
path: _path + ".marginR",
|
|
9255
|
+
expected: "(string | undefined)",
|
|
9256
|
+
value: input.marginR
|
|
9257
|
+
}, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9258
|
+
method: "typia.assertGuard",
|
|
9259
|
+
path: _path + ".marginV",
|
|
9260
|
+
expected: "(string | undefined)",
|
|
9261
|
+
value: input.marginV
|
|
9262
|
+
}, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9263
|
+
method: "typia.assertGuard",
|
|
9264
|
+
path: _path + ".alignment",
|
|
9265
|
+
expected: "(string | undefined)",
|
|
9266
|
+
value: input.alignment
|
|
9267
|
+
}, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9268
|
+
method: "typia.assertGuard",
|
|
9269
|
+
path: _path + ".fontname",
|
|
9270
|
+
expected: "(string | undefined)",
|
|
9271
|
+
value: input.fontname
|
|
9272
|
+
}, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9273
|
+
method: "typia.assertGuard",
|
|
9274
|
+
path: _path + ".fontsize",
|
|
9275
|
+
expected: "(string | undefined)",
|
|
9276
|
+
value: input.fontsize
|
|
9277
|
+
}, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9278
|
+
method: "typia.assertGuard",
|
|
9279
|
+
path: _path + ".primaryColour",
|
|
9280
|
+
expected: "(string | undefined)",
|
|
9281
|
+
value: input.primaryColour
|
|
9282
|
+
}, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9283
|
+
method: "typia.assertGuard",
|
|
9284
|
+
path: _path + ".secondaryColour",
|
|
9285
|
+
expected: "(string | undefined)",
|
|
9286
|
+
value: input.secondaryColour
|
|
9287
|
+
}, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9288
|
+
method: "typia.assertGuard",
|
|
9289
|
+
path: _path + ".outlineColour",
|
|
9290
|
+
expected: "(string | undefined)",
|
|
9291
|
+
value: input.outlineColour
|
|
9292
|
+
}, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9293
|
+
method: "typia.assertGuard",
|
|
9294
|
+
path: _path + ".backColour",
|
|
9295
|
+
expected: "(string | undefined)",
|
|
9296
|
+
value: input.backColour
|
|
9297
|
+
}, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9298
|
+
method: "typia.assertGuard",
|
|
9299
|
+
path: _path + ".bold",
|
|
9300
|
+
expected: "(string | undefined)",
|
|
9301
|
+
value: input.bold
|
|
9302
|
+
}, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9303
|
+
method: "typia.assertGuard",
|
|
9304
|
+
path: _path + ".italic",
|
|
9305
|
+
expected: "(string | undefined)",
|
|
9306
|
+
value: input.italic
|
|
9307
|
+
}, _errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9308
|
+
method: "typia.assertGuard",
|
|
9309
|
+
path: _path + ".underline",
|
|
9310
|
+
expected: "(string | undefined)",
|
|
9311
|
+
value: input.underline
|
|
9312
|
+
}, _errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9313
|
+
method: "typia.assertGuard",
|
|
9314
|
+
path: _path + ".strikeOut",
|
|
9315
|
+
expected: "(string | undefined)",
|
|
9316
|
+
value: input.strikeOut
|
|
9317
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9318
|
+
if (false === __is(input)) {
|
|
9319
|
+
_errorFactory = errorFactory;
|
|
9320
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9321
|
+
method: "typia.assertGuard",
|
|
9322
|
+
path: _path + "",
|
|
9323
|
+
expected: "EventRecord",
|
|
9324
|
+
value: input
|
|
9325
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9326
|
+
method: "typia.assertGuard",
|
|
9327
|
+
path: _path + "",
|
|
9328
|
+
expected: "EventRecord",
|
|
9329
|
+
value: input
|
|
9330
|
+
}, _errorFactory))(input, "$input", true);
|
|
9331
|
+
}
|
|
9332
|
+
}; })()(input);
|
|
9333
|
+
}
|
|
9334
|
+
case ":event._template?": {
|
|
9335
|
+
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
|
|
9336
|
+
const value = input[key];
|
|
9337
|
+
if (undefined === value)
|
|
9338
|
+
return true;
|
|
9339
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
9340
|
+
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (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) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (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) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
|
|
9341
|
+
const value = input[key];
|
|
9342
|
+
if (undefined === value)
|
|
9343
|
+
return true;
|
|
9344
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
9345
|
+
}); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
9346
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9347
|
+
return true;
|
|
9348
|
+
const value = input[key];
|
|
9349
|
+
if (undefined === value)
|
|
9350
|
+
return true;
|
|
9351
|
+
return true;
|
|
9352
|
+
}); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9353
|
+
method: "typia.assertGuard",
|
|
9354
|
+
path: _path + ".mixin",
|
|
9355
|
+
expected: "(Array<string> | undefined)",
|
|
9356
|
+
value: input.mixin
|
|
9357
|
+
}, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9358
|
+
method: "typia.assertGuard",
|
|
9359
|
+
path: _path + ".mixin[" + _index6 + "]",
|
|
9360
|
+
expected: "string",
|
|
9361
|
+
value: elem
|
|
9362
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9363
|
+
method: "typia.assertGuard",
|
|
9364
|
+
path: _path + ".mixin",
|
|
9365
|
+
expected: "(Array<string> | undefined)",
|
|
9366
|
+
value: input.mixin
|
|
9367
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9368
|
+
method: "typia.assertGuard",
|
|
9369
|
+
path: _path + ".properties",
|
|
9370
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9371
|
+
value: input.properties
|
|
9372
|
+
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9373
|
+
method: "typia.assertGuard",
|
|
9374
|
+
path: _path + ".properties",
|
|
9375
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9376
|
+
value: input.properties
|
|
9377
|
+
}, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9378
|
+
method: "typia.assertGuard",
|
|
9379
|
+
path: _path + ".layout",
|
|
9380
|
+
expected: "(__type.o3 | undefined)",
|
|
9381
|
+
value: input.layout
|
|
9382
|
+
}, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9383
|
+
method: "typia.assertGuard",
|
|
9384
|
+
path: _path + ".layout",
|
|
9385
|
+
expected: "(__type.o3 | undefined)",
|
|
9386
|
+
value: input.layout
|
|
9387
|
+
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9388
|
+
method: "typia.assertGuard",
|
|
9389
|
+
path: _path + ".controller",
|
|
9390
|
+
expected: "(string | undefined)",
|
|
9391
|
+
value: input.controller
|
|
9392
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9393
|
+
const value = input[key];
|
|
9394
|
+
if (undefined === value)
|
|
9395
|
+
return true;
|
|
9396
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9397
|
+
method: "typia.assertGuard",
|
|
9398
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9399
|
+
expected: "TemplateProperty",
|
|
9400
|
+
value: value
|
|
9401
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9402
|
+
method: "typia.assertGuard",
|
|
9403
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9404
|
+
expected: "TemplateProperty",
|
|
9405
|
+
value: value
|
|
9406
|
+
}, _errorFactory);
|
|
9407
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9408
|
+
method: "typia.assertGuard",
|
|
9409
|
+
path: _path + ".path",
|
|
9410
|
+
expected: "(string | undefined)",
|
|
9411
|
+
value: input.path
|
|
9412
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9413
|
+
method: "typia.assertGuard",
|
|
9414
|
+
path: _path + ".render",
|
|
9415
|
+
expected: "(__type | undefined)",
|
|
9416
|
+
value: input.render
|
|
9417
|
+
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9418
|
+
method: "typia.assertGuard",
|
|
9419
|
+
path: _path + ".render",
|
|
9420
|
+
expected: "(__type | undefined)",
|
|
9421
|
+
value: input.render
|
|
9422
|
+
}, _errorFactory)) && (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 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9423
|
+
method: "typia.assertGuard",
|
|
9424
|
+
path: _path + ".type",
|
|
9425
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
9426
|
+
value: input.type
|
|
9427
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9428
|
+
method: "typia.assertGuard",
|
|
9429
|
+
path: _path + ".title",
|
|
9430
|
+
expected: "(string | undefined)",
|
|
9431
|
+
value: input.title
|
|
9432
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9433
|
+
method: "typia.assertGuard",
|
|
9434
|
+
path: _path + ".description",
|
|
9435
|
+
expected: "(string | undefined)",
|
|
9436
|
+
value: input.description
|
|
9437
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9438
|
+
method: "typia.assertGuard",
|
|
9439
|
+
path: _path + ".required",
|
|
9440
|
+
expected: "(boolean | undefined)",
|
|
9441
|
+
value: input.required
|
|
9442
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9443
|
+
method: "typia.assertGuard",
|
|
9444
|
+
path: _path + ".oneOf",
|
|
9445
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9446
|
+
value: input.oneOf
|
|
9447
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9448
|
+
method: "typia.assertGuard",
|
|
9449
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
9450
|
+
expected: "SchemaProperty<unknown>",
|
|
9451
|
+
value: elem
|
|
9452
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9453
|
+
method: "typia.assertGuard",
|
|
9454
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
9455
|
+
expected: "SchemaProperty<unknown>",
|
|
9456
|
+
value: elem
|
|
9457
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9458
|
+
method: "typia.assertGuard",
|
|
9459
|
+
path: _path + ".oneOf",
|
|
9460
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9461
|
+
value: input.oneOf
|
|
9462
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9463
|
+
method: "typia.assertGuard",
|
|
9464
|
+
path: _path + ".anyOf",
|
|
9465
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9466
|
+
value: input.anyOf
|
|
9467
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9468
|
+
method: "typia.assertGuard",
|
|
9469
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
9470
|
+
expected: "SchemaProperty<unknown>",
|
|
9471
|
+
value: elem
|
|
9472
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9473
|
+
method: "typia.assertGuard",
|
|
9474
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
9475
|
+
expected: "SchemaProperty<unknown>",
|
|
9476
|
+
value: elem
|
|
9477
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9478
|
+
method: "typia.assertGuard",
|
|
9479
|
+
path: _path + ".anyOf",
|
|
9480
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9481
|
+
value: input.anyOf
|
|
9482
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9483
|
+
method: "typia.assertGuard",
|
|
9484
|
+
path: _path + "[\"enum\"]",
|
|
9485
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
9486
|
+
value: input["enum"]
|
|
9487
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9488
|
+
method: "typia.assertGuard",
|
|
9489
|
+
path: _path + ".minItems",
|
|
9490
|
+
expected: "(number | undefined)",
|
|
9491
|
+
value: input.minItems
|
|
9492
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9493
|
+
method: "typia.assertGuard",
|
|
9494
|
+
path: _path + ".maxItems",
|
|
9495
|
+
expected: "(number | undefined)",
|
|
9496
|
+
value: input.maxItems
|
|
9497
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9498
|
+
method: "typia.assertGuard",
|
|
9499
|
+
path: _path + ".items",
|
|
9500
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9501
|
+
value: input.items
|
|
9502
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9503
|
+
method: "typia.assertGuard",
|
|
9504
|
+
path: _path + ".items",
|
|
9505
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9506
|
+
value: input.items
|
|
9507
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9508
|
+
method: "typia.assertGuard",
|
|
9509
|
+
path: _path + ".properties",
|
|
9510
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9511
|
+
value: input.properties
|
|
9512
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9513
|
+
method: "typia.assertGuard",
|
|
9514
|
+
path: _path + ".properties",
|
|
9515
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9516
|
+
value: input.properties
|
|
9517
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9518
|
+
method: "typia.assertGuard",
|
|
9519
|
+
path: _path + ".widget",
|
|
9520
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9521
|
+
value: input.widget
|
|
9522
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9523
|
+
method: "typia.assertGuard",
|
|
9524
|
+
path: _path + ".widget",
|
|
9525
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9526
|
+
value: input.widget
|
|
9527
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9528
|
+
method: "typia.assertGuard",
|
|
9529
|
+
path: _path + ".widget",
|
|
9530
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9531
|
+
value: input.widget
|
|
9532
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9533
|
+
method: "typia.assertGuard",
|
|
9534
|
+
path: _path + ".placeholder",
|
|
9535
|
+
expected: "(string | undefined)",
|
|
9536
|
+
value: input.placeholder
|
|
9537
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9538
|
+
method: "typia.assertGuard",
|
|
9539
|
+
path: _path + ".helpText",
|
|
9540
|
+
expected: "(string | undefined)",
|
|
9541
|
+
value: input.helpText
|
|
9542
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9543
|
+
method: "typia.assertGuard",
|
|
9544
|
+
path: _path + ".invalid",
|
|
9545
|
+
expected: "(boolean | undefined)",
|
|
9546
|
+
value: input.invalid
|
|
9547
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9548
|
+
method: "typia.assertGuard",
|
|
9549
|
+
path: _path + ".type",
|
|
9550
|
+
expected: "\"image\"",
|
|
9551
|
+
value: input.type
|
|
9552
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9553
|
+
method: "typia.assertGuard",
|
|
9554
|
+
path: _path + ".profile",
|
|
9555
|
+
expected: "(__type.o1 | undefined)",
|
|
9556
|
+
value: input.profile
|
|
9557
|
+
}, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9558
|
+
method: "typia.assertGuard",
|
|
9559
|
+
path: _path + ".profile",
|
|
9560
|
+
expected: "(__type.o1 | undefined)",
|
|
9561
|
+
value: input.profile
|
|
9562
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9563
|
+
method: "typia.assertGuard",
|
|
9564
|
+
path: _path + ".format",
|
|
9565
|
+
expected: "(string | undefined)",
|
|
9566
|
+
value: input.format
|
|
9567
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9568
|
+
method: "typia.assertGuard",
|
|
9569
|
+
path: _path + ".video",
|
|
9570
|
+
expected: "(__type.o2 | undefined)",
|
|
9571
|
+
value: input.video
|
|
9572
|
+
}, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9573
|
+
method: "typia.assertGuard",
|
|
9574
|
+
path: _path + ".video",
|
|
9575
|
+
expected: "(__type.o2 | undefined)",
|
|
9576
|
+
value: input.video
|
|
9577
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9578
|
+
method: "typia.assertGuard",
|
|
9579
|
+
path: _path + ".width",
|
|
9580
|
+
expected: "number",
|
|
9581
|
+
value: input.width
|
|
9582
|
+
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9583
|
+
method: "typia.assertGuard",
|
|
9584
|
+
path: _path + ".height",
|
|
9585
|
+
expected: "number",
|
|
9586
|
+
value: input.height
|
|
9587
|
+
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9588
|
+
method: "typia.assertGuard",
|
|
9589
|
+
path: _path + ".fit",
|
|
9590
|
+
expected: "\"cover\"",
|
|
9591
|
+
value: input.fit
|
|
9592
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (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 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9593
|
+
method: "typia.assertGuard",
|
|
9594
|
+
path: _path + ".type",
|
|
9595
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
9596
|
+
value: input.type
|
|
9597
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9598
|
+
method: "typia.assertGuard",
|
|
9599
|
+
path: _path + ".title",
|
|
9600
|
+
expected: "(string | undefined)",
|
|
9601
|
+
value: input.title
|
|
9602
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9603
|
+
method: "typia.assertGuard",
|
|
9604
|
+
path: _path + ".description",
|
|
9605
|
+
expected: "(string | undefined)",
|
|
9606
|
+
value: input.description
|
|
9607
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9608
|
+
method: "typia.assertGuard",
|
|
9609
|
+
path: _path + ".required",
|
|
9610
|
+
expected: "(boolean | undefined)",
|
|
9611
|
+
value: input.required
|
|
9612
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9613
|
+
method: "typia.assertGuard",
|
|
9614
|
+
path: _path + ".oneOf",
|
|
9615
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9616
|
+
value: input.oneOf
|
|
9617
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9618
|
+
method: "typia.assertGuard",
|
|
9619
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9620
|
+
expected: "SchemaProperty<unknown>",
|
|
9621
|
+
value: elem
|
|
9622
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9623
|
+
method: "typia.assertGuard",
|
|
9624
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9625
|
+
expected: "SchemaProperty<unknown>",
|
|
9626
|
+
value: elem
|
|
9627
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9628
|
+
method: "typia.assertGuard",
|
|
9629
|
+
path: _path + ".oneOf",
|
|
9630
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9631
|
+
value: input.oneOf
|
|
9632
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9633
|
+
method: "typia.assertGuard",
|
|
9634
|
+
path: _path + ".anyOf",
|
|
9635
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9636
|
+
value: input.anyOf
|
|
9637
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9638
|
+
method: "typia.assertGuard",
|
|
9639
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9640
|
+
expected: "SchemaProperty<unknown>",
|
|
9641
|
+
value: elem
|
|
9642
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9643
|
+
method: "typia.assertGuard",
|
|
9644
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9645
|
+
expected: "SchemaProperty<unknown>",
|
|
9646
|
+
value: elem
|
|
9647
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9648
|
+
method: "typia.assertGuard",
|
|
9649
|
+
path: _path + ".anyOf",
|
|
9650
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9651
|
+
value: input.anyOf
|
|
9652
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9653
|
+
method: "typia.assertGuard",
|
|
9654
|
+
path: _path + "[\"enum\"]",
|
|
9655
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
9656
|
+
value: input["enum"]
|
|
9657
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9658
|
+
method: "typia.assertGuard",
|
|
9659
|
+
path: _path + ".minItems",
|
|
9660
|
+
expected: "(number | undefined)",
|
|
9661
|
+
value: input.minItems
|
|
9662
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9663
|
+
method: "typia.assertGuard",
|
|
9664
|
+
path: _path + ".maxItems",
|
|
9665
|
+
expected: "(number | undefined)",
|
|
9666
|
+
value: input.maxItems
|
|
9667
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9668
|
+
method: "typia.assertGuard",
|
|
9669
|
+
path: _path + ".items",
|
|
9670
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9671
|
+
value: input.items
|
|
9672
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9673
|
+
method: "typia.assertGuard",
|
|
9674
|
+
path: _path + ".items",
|
|
9675
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9676
|
+
value: input.items
|
|
9677
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9678
|
+
method: "typia.assertGuard",
|
|
9679
|
+
path: _path + ".properties",
|
|
9680
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9681
|
+
value: input.properties
|
|
9682
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9683
|
+
method: "typia.assertGuard",
|
|
9684
|
+
path: _path + ".properties",
|
|
9685
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9686
|
+
value: input.properties
|
|
9687
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9688
|
+
method: "typia.assertGuard",
|
|
9689
|
+
path: _path + ".widget",
|
|
9690
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9691
|
+
value: input.widget
|
|
9692
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9693
|
+
method: "typia.assertGuard",
|
|
9694
|
+
path: _path + ".widget",
|
|
9695
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9696
|
+
value: input.widget
|
|
9697
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9698
|
+
method: "typia.assertGuard",
|
|
9699
|
+
path: _path + ".widget",
|
|
9700
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9701
|
+
value: input.widget
|
|
9702
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9703
|
+
method: "typia.assertGuard",
|
|
9704
|
+
path: _path + ".placeholder",
|
|
9705
|
+
expected: "(string | undefined)",
|
|
9706
|
+
value: input.placeholder
|
|
9707
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9708
|
+
method: "typia.assertGuard",
|
|
9709
|
+
path: _path + ".helpText",
|
|
9710
|
+
expected: "(string | undefined)",
|
|
9711
|
+
value: input.helpText
|
|
9712
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9713
|
+
method: "typia.assertGuard",
|
|
9714
|
+
path: _path + ".invalid",
|
|
9715
|
+
expected: "(boolean | undefined)",
|
|
9716
|
+
value: input.invalid
|
|
9717
|
+
}, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9718
|
+
const value = input[key];
|
|
9719
|
+
if (undefined === value)
|
|
9720
|
+
return true;
|
|
9721
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9722
|
+
method: "typia.assertGuard",
|
|
9723
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9724
|
+
expected: "SchemaProperty<unknown>",
|
|
9725
|
+
value: value
|
|
9726
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9727
|
+
method: "typia.assertGuard",
|
|
9728
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9729
|
+
expected: "SchemaProperty<unknown>",
|
|
9730
|
+
value: value
|
|
9731
|
+
}, _errorFactory);
|
|
9732
|
+
}); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9733
|
+
method: "typia.assertGuard",
|
|
9734
|
+
path: _path + ".type",
|
|
9735
|
+
expected: "(string | undefined)",
|
|
9736
|
+
value: input.type
|
|
9737
|
+
}, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9738
|
+
method: "typia.assertGuard",
|
|
9739
|
+
path: _path + ".readOnly",
|
|
9740
|
+
expected: "(boolean | undefined)",
|
|
9741
|
+
value: input.readOnly
|
|
9742
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9743
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9744
|
+
return true;
|
|
9745
|
+
const value = input[key];
|
|
9746
|
+
if (undefined === value)
|
|
9747
|
+
return true;
|
|
9748
|
+
return true;
|
|
9749
|
+
})); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9750
|
+
method: "typia.assertGuard",
|
|
9751
|
+
path: _path + ".title",
|
|
9752
|
+
expected: "(string | undefined)",
|
|
9753
|
+
value: input.title
|
|
9754
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9755
|
+
if (false === __is(input)) {
|
|
9756
|
+
_errorFactory = errorFactory;
|
|
9757
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9758
|
+
method: "typia.assertGuard",
|
|
9759
|
+
path: _path + "",
|
|
9760
|
+
expected: "EventTemplateRecord",
|
|
9761
|
+
value: input
|
|
9762
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9763
|
+
method: "typia.assertGuard",
|
|
9764
|
+
path: _path + "",
|
|
9765
|
+
expected: "EventTemplateRecord",
|
|
9766
|
+
value: input
|
|
9767
|
+
}, _errorFactory))(input, "$input", true);
|
|
9768
|
+
}
|
|
9769
|
+
}; })()(input);
|
|
9770
|
+
}
|
|
9771
|
+
case ":event.overlay?": {
|
|
9772
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
9773
|
+
const value = input[key];
|
|
9774
|
+
if (undefined === value)
|
|
9775
|
+
return true;
|
|
9776
|
+
return "object" === typeof value && null !== value && _io1(value);
|
|
9777
|
+
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
9778
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9779
|
+
return true;
|
|
9780
|
+
const value = input[key];
|
|
9781
|
+
if (undefined === value)
|
|
9782
|
+
return true;
|
|
9783
|
+
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
|
|
9784
|
+
}); const _io3 = input => Object.keys(input).every(key => {
|
|
9785
|
+
const value = input[key];
|
|
9786
|
+
if (undefined === value)
|
|
9787
|
+
return true;
|
|
9788
|
+
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
|
|
9789
|
+
}); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9790
|
+
const value = input[key];
|
|
9791
|
+
if (undefined === value)
|
|
9792
|
+
return true;
|
|
9793
|
+
return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9794
|
+
method: "typia.assertGuard",
|
|
9795
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9796
|
+
expected: "__type",
|
|
9797
|
+
value: value
|
|
9798
|
+
}, _errorFactory)) && _ao1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9799
|
+
method: "typia.assertGuard",
|
|
9800
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9801
|
+
expected: "__type",
|
|
9802
|
+
value: value
|
|
9803
|
+
}, _errorFactory);
|
|
9804
|
+
}); const _ao1 = (input, _path, _exceptionable = true) => ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9805
|
+
method: "typia.assertGuard",
|
|
9806
|
+
path: _path + ".data",
|
|
9807
|
+
expected: "EventPropsRecord",
|
|
9808
|
+
value: input.data
|
|
9809
|
+
}, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9810
|
+
method: "typia.assertGuard",
|
|
9811
|
+
path: _path + ".data",
|
|
9812
|
+
expected: "EventPropsRecord",
|
|
9813
|
+
value: input.data
|
|
9814
|
+
}, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9815
|
+
method: "typia.assertGuard",
|
|
9816
|
+
path: _path + ".source",
|
|
9817
|
+
expected: "(string | undefined)",
|
|
9818
|
+
value: input.source
|
|
9819
|
+
}, _errorFactory)) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9820
|
+
method: "typia.assertGuard",
|
|
9821
|
+
path: _path + ".cueCard",
|
|
9822
|
+
expected: "(boolean | string | undefined)",
|
|
9823
|
+
value: input.cueCard
|
|
9824
|
+
}, _errorFactory)) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9825
|
+
method: "typia.assertGuard",
|
|
9826
|
+
path: _path + ".printRundownColor",
|
|
9827
|
+
expected: "(string | undefined)",
|
|
9828
|
+
value: input.printRundownColor
|
|
9023
9829
|
}, _errorFactory)) && (undefined === input.startTime || "number" === typeof input.startTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9024
9830
|
method: "typia.assertGuard",
|
|
9025
9831
|
path: _path + ".startTime",
|
|
@@ -9047,140 +9853,514 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9047
9853
|
value: input.shotboxGroup
|
|
9048
9854
|
}, _errorFactory))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9049
9855
|
method: "typia.assertGuard",
|
|
9050
|
-
path: _path + ".shotboxVisible",
|
|
9051
|
-
expected: "(boolean | undefined)",
|
|
9052
|
-
value: input.shotboxVisible
|
|
9053
|
-
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9054
|
-
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9055
|
-
return true;
|
|
9056
|
-
const value = input[key];
|
|
9057
|
-
if (undefined === value)
|
|
9058
|
-
return true;
|
|
9059
|
-
return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9060
|
-
method: "typia.assertGuard",
|
|
9061
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9062
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9063
|
-
value: value
|
|
9064
|
-
}, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9065
|
-
method: "typia.assertGuard",
|
|
9066
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9067
|
-
expected: "Array<JsonValue>",
|
|
9068
|
-
value: value
|
|
9069
|
-
}, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9070
|
-
method: "typia.assertGuard",
|
|
9071
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9072
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9073
|
-
value: value
|
|
9074
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9075
|
-
method: "typia.assertGuard",
|
|
9076
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9077
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9078
|
-
value: value
|
|
9079
|
-
}, _errorFactory));
|
|
9080
|
-
})); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9856
|
+
path: _path + ".shotboxVisible",
|
|
9857
|
+
expected: "(boolean | undefined)",
|
|
9858
|
+
value: input.shotboxVisible
|
|
9859
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9860
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9861
|
+
return true;
|
|
9862
|
+
const value = input[key];
|
|
9863
|
+
if (undefined === value)
|
|
9864
|
+
return true;
|
|
9865
|
+
return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9866
|
+
method: "typia.assertGuard",
|
|
9867
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9868
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9869
|
+
value: value
|
|
9870
|
+
}, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9871
|
+
method: "typia.assertGuard",
|
|
9872
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9873
|
+
expected: "Array<JsonValue>",
|
|
9874
|
+
value: value
|
|
9875
|
+
}, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9876
|
+
method: "typia.assertGuard",
|
|
9877
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9878
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9879
|
+
value: value
|
|
9880
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9881
|
+
method: "typia.assertGuard",
|
|
9882
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9883
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9884
|
+
value: value
|
|
9885
|
+
}, _errorFactory));
|
|
9886
|
+
})); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9887
|
+
const value = input[key];
|
|
9888
|
+
if (undefined === value)
|
|
9889
|
+
return true;
|
|
9890
|
+
return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9891
|
+
method: "typia.assertGuard",
|
|
9892
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9893
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9894
|
+
value: value
|
|
9895
|
+
}, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9896
|
+
method: "typia.assertGuard",
|
|
9897
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9898
|
+
expected: "Array<JsonValue>",
|
|
9899
|
+
value: value
|
|
9900
|
+
}, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9901
|
+
method: "typia.assertGuard",
|
|
9902
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9903
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9904
|
+
value: value
|
|
9905
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9906
|
+
method: "typia.assertGuard",
|
|
9907
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9908
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9909
|
+
value: value
|
|
9910
|
+
}, _errorFactory));
|
|
9911
|
+
}); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index4) => (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9912
|
+
method: "typia.assertGuard",
|
|
9913
|
+
path: _path + "[" + _index4 + "]",
|
|
9914
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9915
|
+
value: elem
|
|
9916
|
+
}, _errorFactory)) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_aa0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9917
|
+
method: "typia.assertGuard",
|
|
9918
|
+
path: _path + "[" + _index4 + "]",
|
|
9919
|
+
expected: "Array<JsonValue>",
|
|
9920
|
+
value: elem
|
|
9921
|
+
}, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _ao3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9922
|
+
method: "typia.assertGuard",
|
|
9923
|
+
path: _path + "[" + _index4 + "]",
|
|
9924
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9925
|
+
value: elem
|
|
9926
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9927
|
+
method: "typia.assertGuard",
|
|
9928
|
+
path: _path + "[" + _index4 + "]",
|
|
9929
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9930
|
+
value: elem
|
|
9931
|
+
}, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9932
|
+
if (false === __is(input)) {
|
|
9933
|
+
_errorFactory = errorFactory;
|
|
9934
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9935
|
+
method: "typia.assertGuard",
|
|
9936
|
+
path: _path + "",
|
|
9937
|
+
expected: "EventOverlayRecord",
|
|
9938
|
+
value: input
|
|
9939
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9940
|
+
method: "typia.assertGuard",
|
|
9941
|
+
path: _path + "",
|
|
9942
|
+
expected: "EventOverlayRecord",
|
|
9943
|
+
value: input
|
|
9944
|
+
}, _errorFactory))(input, "$input", true);
|
|
9945
|
+
}
|
|
9946
|
+
}; })()(input);
|
|
9947
|
+
}
|
|
9948
|
+
case ":event.template?": {
|
|
9949
|
+
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
|
|
9950
|
+
const value = input[key];
|
|
9951
|
+
if (undefined === value)
|
|
9952
|
+
return true;
|
|
9953
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
9954
|
+
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (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) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (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) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
|
|
9955
|
+
const value = input[key];
|
|
9956
|
+
if (undefined === value)
|
|
9957
|
+
return true;
|
|
9958
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
9959
|
+
}); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
9960
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9961
|
+
return true;
|
|
9962
|
+
const value = input[key];
|
|
9963
|
+
if (undefined === value)
|
|
9964
|
+
return true;
|
|
9965
|
+
return true;
|
|
9966
|
+
}); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9967
|
+
method: "typia.assertGuard",
|
|
9968
|
+
path: _path + ".mixin",
|
|
9969
|
+
expected: "(Array<string> | undefined)",
|
|
9970
|
+
value: input.mixin
|
|
9971
|
+
}, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9972
|
+
method: "typia.assertGuard",
|
|
9973
|
+
path: _path + ".mixin[" + _index6 + "]",
|
|
9974
|
+
expected: "string",
|
|
9975
|
+
value: elem
|
|
9976
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9977
|
+
method: "typia.assertGuard",
|
|
9978
|
+
path: _path + ".mixin",
|
|
9979
|
+
expected: "(Array<string> | undefined)",
|
|
9980
|
+
value: input.mixin
|
|
9981
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9982
|
+
method: "typia.assertGuard",
|
|
9983
|
+
path: _path + ".properties",
|
|
9984
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9985
|
+
value: input.properties
|
|
9986
|
+
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9987
|
+
method: "typia.assertGuard",
|
|
9988
|
+
path: _path + ".properties",
|
|
9989
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9990
|
+
value: input.properties
|
|
9991
|
+
}, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9992
|
+
method: "typia.assertGuard",
|
|
9993
|
+
path: _path + ".layout",
|
|
9994
|
+
expected: "(__type.o3 | undefined)",
|
|
9995
|
+
value: input.layout
|
|
9996
|
+
}, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9997
|
+
method: "typia.assertGuard",
|
|
9998
|
+
path: _path + ".layout",
|
|
9999
|
+
expected: "(__type.o3 | undefined)",
|
|
10000
|
+
value: input.layout
|
|
10001
|
+
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10002
|
+
method: "typia.assertGuard",
|
|
10003
|
+
path: _path + ".controller",
|
|
10004
|
+
expected: "(string | undefined)",
|
|
10005
|
+
value: input.controller
|
|
10006
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9081
10007
|
const value = input[key];
|
|
9082
10008
|
if (undefined === value)
|
|
9083
10009
|
return true;
|
|
9084
|
-
return (
|
|
9085
|
-
method: "typia.assertGuard",
|
|
9086
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9087
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9088
|
-
value: value
|
|
9089
|
-
}, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9090
|
-
method: "typia.assertGuard",
|
|
9091
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9092
|
-
expected: "Array<JsonValue>",
|
|
9093
|
-
value: value
|
|
9094
|
-
}, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10010
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9095
10011
|
method: "typia.assertGuard",
|
|
9096
10012
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9097
|
-
expected: "
|
|
10013
|
+
expected: "TemplateProperty",
|
|
9098
10014
|
value: value
|
|
9099
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10015
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9100
10016
|
method: "typia.assertGuard",
|
|
9101
10017
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9102
|
-
expected: "
|
|
10018
|
+
expected: "TemplateProperty",
|
|
9103
10019
|
value: value
|
|
9104
|
-
}, _errorFactory)
|
|
9105
|
-
}); const
|
|
10020
|
+
}, _errorFactory);
|
|
10021
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9106
10022
|
method: "typia.assertGuard",
|
|
9107
|
-
path: _path + "
|
|
9108
|
-
expected: "(
|
|
10023
|
+
path: _path + ".path",
|
|
10024
|
+
expected: "(string | undefined)",
|
|
10025
|
+
value: input.path
|
|
10026
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10027
|
+
method: "typia.assertGuard",
|
|
10028
|
+
path: _path + ".render",
|
|
10029
|
+
expected: "(__type | undefined)",
|
|
10030
|
+
value: input.render
|
|
10031
|
+
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10032
|
+
method: "typia.assertGuard",
|
|
10033
|
+
path: _path + ".render",
|
|
10034
|
+
expected: "(__type | undefined)",
|
|
10035
|
+
value: input.render
|
|
10036
|
+
}, _errorFactory)) && (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 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10037
|
+
method: "typia.assertGuard",
|
|
10038
|
+
path: _path + ".type",
|
|
10039
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
10040
|
+
value: input.type
|
|
10041
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10042
|
+
method: "typia.assertGuard",
|
|
10043
|
+
path: _path + ".title",
|
|
10044
|
+
expected: "(string | undefined)",
|
|
10045
|
+
value: input.title
|
|
10046
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10047
|
+
method: "typia.assertGuard",
|
|
10048
|
+
path: _path + ".description",
|
|
10049
|
+
expected: "(string | undefined)",
|
|
10050
|
+
value: input.description
|
|
10051
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10052
|
+
method: "typia.assertGuard",
|
|
10053
|
+
path: _path + ".required",
|
|
10054
|
+
expected: "(boolean | undefined)",
|
|
10055
|
+
value: input.required
|
|
10056
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10057
|
+
method: "typia.assertGuard",
|
|
10058
|
+
path: _path + ".oneOf",
|
|
10059
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10060
|
+
value: input.oneOf
|
|
10061
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10062
|
+
method: "typia.assertGuard",
|
|
10063
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
10064
|
+
expected: "SchemaProperty<unknown>",
|
|
9109
10065
|
value: elem
|
|
9110
|
-
}, _errorFactory)) && (
|
|
10066
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9111
10067
|
method: "typia.assertGuard",
|
|
9112
|
-
path: _path + "[" +
|
|
9113
|
-
expected: "
|
|
10068
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
10069
|
+
expected: "SchemaProperty<unknown>",
|
|
10070
|
+
value: elem
|
|
10071
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10072
|
+
method: "typia.assertGuard",
|
|
10073
|
+
path: _path + ".oneOf",
|
|
10074
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10075
|
+
value: input.oneOf
|
|
10076
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10077
|
+
method: "typia.assertGuard",
|
|
10078
|
+
path: _path + ".anyOf",
|
|
10079
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10080
|
+
value: input.anyOf
|
|
10081
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10082
|
+
method: "typia.assertGuard",
|
|
10083
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
10084
|
+
expected: "SchemaProperty<unknown>",
|
|
10085
|
+
value: elem
|
|
10086
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10087
|
+
method: "typia.assertGuard",
|
|
10088
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
10089
|
+
expected: "SchemaProperty<unknown>",
|
|
10090
|
+
value: elem
|
|
10091
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10092
|
+
method: "typia.assertGuard",
|
|
10093
|
+
path: _path + ".anyOf",
|
|
10094
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10095
|
+
value: input.anyOf
|
|
10096
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10097
|
+
method: "typia.assertGuard",
|
|
10098
|
+
path: _path + "[\"enum\"]",
|
|
10099
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
10100
|
+
value: input["enum"]
|
|
10101
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10102
|
+
method: "typia.assertGuard",
|
|
10103
|
+
path: _path + ".minItems",
|
|
10104
|
+
expected: "(number | undefined)",
|
|
10105
|
+
value: input.minItems
|
|
10106
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10107
|
+
method: "typia.assertGuard",
|
|
10108
|
+
path: _path + ".maxItems",
|
|
10109
|
+
expected: "(number | undefined)",
|
|
10110
|
+
value: input.maxItems
|
|
10111
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10112
|
+
method: "typia.assertGuard",
|
|
10113
|
+
path: _path + ".items",
|
|
10114
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10115
|
+
value: input.items
|
|
10116
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10117
|
+
method: "typia.assertGuard",
|
|
10118
|
+
path: _path + ".items",
|
|
10119
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10120
|
+
value: input.items
|
|
10121
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10122
|
+
method: "typia.assertGuard",
|
|
10123
|
+
path: _path + ".properties",
|
|
10124
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
10125
|
+
value: input.properties
|
|
10126
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10127
|
+
method: "typia.assertGuard",
|
|
10128
|
+
path: _path + ".properties",
|
|
10129
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
10130
|
+
value: input.properties
|
|
10131
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10132
|
+
method: "typia.assertGuard",
|
|
10133
|
+
path: _path + ".widget",
|
|
10134
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10135
|
+
value: input.widget
|
|
10136
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10137
|
+
method: "typia.assertGuard",
|
|
10138
|
+
path: _path + ".widget",
|
|
10139
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10140
|
+
value: input.widget
|
|
10141
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10142
|
+
method: "typia.assertGuard",
|
|
10143
|
+
path: _path + ".widget",
|
|
10144
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10145
|
+
value: input.widget
|
|
10146
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10147
|
+
method: "typia.assertGuard",
|
|
10148
|
+
path: _path + ".placeholder",
|
|
10149
|
+
expected: "(string | undefined)",
|
|
10150
|
+
value: input.placeholder
|
|
10151
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10152
|
+
method: "typia.assertGuard",
|
|
10153
|
+
path: _path + ".helpText",
|
|
10154
|
+
expected: "(string | undefined)",
|
|
10155
|
+
value: input.helpText
|
|
10156
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10157
|
+
method: "typia.assertGuard",
|
|
10158
|
+
path: _path + ".invalid",
|
|
10159
|
+
expected: "(boolean | undefined)",
|
|
10160
|
+
value: input.invalid
|
|
10161
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10162
|
+
method: "typia.assertGuard",
|
|
10163
|
+
path: _path + ".type",
|
|
10164
|
+
expected: "\"image\"",
|
|
10165
|
+
value: input.type
|
|
10166
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10167
|
+
method: "typia.assertGuard",
|
|
10168
|
+
path: _path + ".profile",
|
|
10169
|
+
expected: "(__type.o1 | undefined)",
|
|
10170
|
+
value: input.profile
|
|
10171
|
+
}, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10172
|
+
method: "typia.assertGuard",
|
|
10173
|
+
path: _path + ".profile",
|
|
10174
|
+
expected: "(__type.o1 | undefined)",
|
|
10175
|
+
value: input.profile
|
|
10176
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10177
|
+
method: "typia.assertGuard",
|
|
10178
|
+
path: _path + ".format",
|
|
10179
|
+
expected: "(string | undefined)",
|
|
10180
|
+
value: input.format
|
|
10181
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10182
|
+
method: "typia.assertGuard",
|
|
10183
|
+
path: _path + ".video",
|
|
10184
|
+
expected: "(__type.o2 | undefined)",
|
|
10185
|
+
value: input.video
|
|
10186
|
+
}, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10187
|
+
method: "typia.assertGuard",
|
|
10188
|
+
path: _path + ".video",
|
|
10189
|
+
expected: "(__type.o2 | undefined)",
|
|
10190
|
+
value: input.video
|
|
10191
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10192
|
+
method: "typia.assertGuard",
|
|
10193
|
+
path: _path + ".width",
|
|
10194
|
+
expected: "number",
|
|
10195
|
+
value: input.width
|
|
10196
|
+
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10197
|
+
method: "typia.assertGuard",
|
|
10198
|
+
path: _path + ".height",
|
|
10199
|
+
expected: "number",
|
|
10200
|
+
value: input.height
|
|
10201
|
+
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10202
|
+
method: "typia.assertGuard",
|
|
10203
|
+
path: _path + ".fit",
|
|
10204
|
+
expected: "\"cover\"",
|
|
10205
|
+
value: input.fit
|
|
10206
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (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 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10207
|
+
method: "typia.assertGuard",
|
|
10208
|
+
path: _path + ".type",
|
|
10209
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
10210
|
+
value: input.type
|
|
10211
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10212
|
+
method: "typia.assertGuard",
|
|
10213
|
+
path: _path + ".title",
|
|
10214
|
+
expected: "(string | undefined)",
|
|
10215
|
+
value: input.title
|
|
10216
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10217
|
+
method: "typia.assertGuard",
|
|
10218
|
+
path: _path + ".description",
|
|
10219
|
+
expected: "(string | undefined)",
|
|
10220
|
+
value: input.description
|
|
10221
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10222
|
+
method: "typia.assertGuard",
|
|
10223
|
+
path: _path + ".required",
|
|
10224
|
+
expected: "(boolean | undefined)",
|
|
10225
|
+
value: input.required
|
|
10226
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10227
|
+
method: "typia.assertGuard",
|
|
10228
|
+
path: _path + ".oneOf",
|
|
10229
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10230
|
+
value: input.oneOf
|
|
10231
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10232
|
+
method: "typia.assertGuard",
|
|
10233
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
10234
|
+
expected: "SchemaProperty<unknown>",
|
|
9114
10235
|
value: elem
|
|
9115
|
-
}, _errorFactory))
|
|
10236
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9116
10237
|
method: "typia.assertGuard",
|
|
9117
|
-
path: _path + "[" +
|
|
9118
|
-
expected: "
|
|
10238
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
10239
|
+
expected: "SchemaProperty<unknown>",
|
|
9119
10240
|
value: elem
|
|
9120
10241
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9121
10242
|
method: "typia.assertGuard",
|
|
9122
|
-
path: _path + "
|
|
9123
|
-
expected: "(Array<
|
|
9124
|
-
value:
|
|
9125
|
-
}, _errorFactory))
|
|
9126
|
-
if (false === __is(input)) {
|
|
9127
|
-
_errorFactory = errorFactory;
|
|
9128
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9129
|
-
method: "typia.assertGuard",
|
|
9130
|
-
path: _path + "",
|
|
9131
|
-
expected: "EventOverlayRecord",
|
|
9132
|
-
value: input
|
|
9133
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9134
|
-
method: "typia.assertGuard",
|
|
9135
|
-
path: _path + "",
|
|
9136
|
-
expected: "EventOverlayRecord",
|
|
9137
|
-
value: input
|
|
9138
|
-
}, _errorFactory))(input, "$input", true);
|
|
9139
|
-
}
|
|
9140
|
-
}; })()(input);
|
|
9141
|
-
}
|
|
9142
|
-
case ":event.template?": {
|
|
9143
|
-
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10243
|
+
path: _path + ".oneOf",
|
|
10244
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10245
|
+
value: input.oneOf
|
|
10246
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9144
10247
|
method: "typia.assertGuard",
|
|
9145
|
-
path: _path + ".
|
|
9146
|
-
expected: "(Array<
|
|
9147
|
-
value: input.
|
|
9148
|
-
}, _errorFactory)) && input.
|
|
10248
|
+
path: _path + ".anyOf",
|
|
10249
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10250
|
+
value: input.anyOf
|
|
10251
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9149
10252
|
method: "typia.assertGuard",
|
|
9150
|
-
path: _path + ".
|
|
9151
|
-
expected: "
|
|
10253
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
10254
|
+
expected: "SchemaProperty<unknown>",
|
|
10255
|
+
value: elem
|
|
10256
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10257
|
+
method: "typia.assertGuard",
|
|
10258
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
10259
|
+
expected: "SchemaProperty<unknown>",
|
|
9152
10260
|
value: elem
|
|
9153
10261
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9154
10262
|
method: "typia.assertGuard",
|
|
9155
|
-
path: _path + ".
|
|
9156
|
-
expected: "(Array<
|
|
9157
|
-
value: input.
|
|
10263
|
+
path: _path + ".anyOf",
|
|
10264
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10265
|
+
value: input.anyOf
|
|
10266
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10267
|
+
method: "typia.assertGuard",
|
|
10268
|
+
path: _path + "[\"enum\"]",
|
|
10269
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
10270
|
+
value: input["enum"]
|
|
10271
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10272
|
+
method: "typia.assertGuard",
|
|
10273
|
+
path: _path + ".minItems",
|
|
10274
|
+
expected: "(number | undefined)",
|
|
10275
|
+
value: input.minItems
|
|
10276
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10277
|
+
method: "typia.assertGuard",
|
|
10278
|
+
path: _path + ".maxItems",
|
|
10279
|
+
expected: "(number | undefined)",
|
|
10280
|
+
value: input.maxItems
|
|
10281
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10282
|
+
method: "typia.assertGuard",
|
|
10283
|
+
path: _path + ".items",
|
|
10284
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10285
|
+
value: input.items
|
|
10286
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10287
|
+
method: "typia.assertGuard",
|
|
10288
|
+
path: _path + ".items",
|
|
10289
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10290
|
+
value: input.items
|
|
9158
10291
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9159
10292
|
method: "typia.assertGuard",
|
|
9160
10293
|
path: _path + ".properties",
|
|
9161
|
-
expected: "(
|
|
10294
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9162
10295
|
value: input.properties
|
|
9163
|
-
}, _errorFactory)) &&
|
|
10296
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9164
10297
|
method: "typia.assertGuard",
|
|
9165
10298
|
path: _path + ".properties",
|
|
9166
|
-
expected: "(
|
|
10299
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9167
10300
|
value: input.properties
|
|
9168
|
-
}, _errorFactory)) &&
|
|
10301
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9169
10302
|
method: "typia.assertGuard",
|
|
9170
|
-
path: _path + ".
|
|
9171
|
-
expected: "(
|
|
9172
|
-
value: input.
|
|
9173
|
-
}, _errorFactory)) &&
|
|
10303
|
+
path: _path + ".widget",
|
|
10304
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10305
|
+
value: input.widget
|
|
10306
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9174
10307
|
method: "typia.assertGuard",
|
|
9175
|
-
path: _path + ".
|
|
9176
|
-
expected: "(
|
|
9177
|
-
value: input.
|
|
9178
|
-
}, _errorFactory)) && (
|
|
10308
|
+
path: _path + ".widget",
|
|
10309
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10310
|
+
value: input.widget
|
|
10311
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9179
10312
|
method: "typia.assertGuard",
|
|
9180
|
-
path: _path + ".
|
|
10313
|
+
path: _path + ".widget",
|
|
10314
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10315
|
+
value: input.widget
|
|
10316
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10317
|
+
method: "typia.assertGuard",
|
|
10318
|
+
path: _path + ".placeholder",
|
|
9181
10319
|
expected: "(string | undefined)",
|
|
9182
|
-
value: input.
|
|
9183
|
-
}, _errorFactory))
|
|
10320
|
+
value: input.placeholder
|
|
10321
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10322
|
+
method: "typia.assertGuard",
|
|
10323
|
+
path: _path + ".helpText",
|
|
10324
|
+
expected: "(string | undefined)",
|
|
10325
|
+
value: input.helpText
|
|
10326
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10327
|
+
method: "typia.assertGuard",
|
|
10328
|
+
path: _path + ".invalid",
|
|
10329
|
+
expected: "(boolean | undefined)",
|
|
10330
|
+
value: input.invalid
|
|
10331
|
+
}, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10332
|
+
const value = input[key];
|
|
10333
|
+
if (undefined === value)
|
|
10334
|
+
return true;
|
|
10335
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10336
|
+
method: "typia.assertGuard",
|
|
10337
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10338
|
+
expected: "SchemaProperty<unknown>",
|
|
10339
|
+
value: value
|
|
10340
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10341
|
+
method: "typia.assertGuard",
|
|
10342
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10343
|
+
expected: "SchemaProperty<unknown>",
|
|
10344
|
+
value: value
|
|
10345
|
+
}, _errorFactory);
|
|
10346
|
+
}); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10347
|
+
method: "typia.assertGuard",
|
|
10348
|
+
path: _path + ".type",
|
|
10349
|
+
expected: "(string | undefined)",
|
|
10350
|
+
value: input.type
|
|
10351
|
+
}, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10352
|
+
method: "typia.assertGuard",
|
|
10353
|
+
path: _path + ".readOnly",
|
|
10354
|
+
expected: "(boolean | undefined)",
|
|
10355
|
+
value: input.readOnly
|
|
10356
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
10357
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
10358
|
+
return true;
|
|
10359
|
+
const value = input[key];
|
|
10360
|
+
if (undefined === value)
|
|
10361
|
+
return true;
|
|
10362
|
+
return true;
|
|
10363
|
+
})); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9184
10364
|
method: "typia.assertGuard",
|
|
9185
10365
|
path: _path + ".title",
|
|
9186
10366
|
expected: "(string | undefined)",
|
|
@@ -10133,6 +11313,39 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10133
11313
|
}
|
|
10134
11314
|
}; })()(input);
|
|
10135
11315
|
}
|
|
11316
|
+
case ":file.methods?": {
|
|
11317
|
+
return (() => { const _io0 = input => undefined === input.stop || "object" === typeof input.stop && null !== input.stop && _io1(input.stop); const _io1 = input => "string" === typeof input.rpcId && true; const _ao0 = (input, _path, _exceptionable = true) => undefined === input.stop || ("object" === typeof input.stop && null !== input.stop || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11318
|
+
method: "typia.assertGuard",
|
|
11319
|
+
path: _path + ".stop",
|
|
11320
|
+
expected: "(__type | undefined)",
|
|
11321
|
+
value: input.stop
|
|
11322
|
+
}, _errorFactory)) && _ao1(input.stop, _path + ".stop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11323
|
+
method: "typia.assertGuard",
|
|
11324
|
+
path: _path + ".stop",
|
|
11325
|
+
expected: "(__type | undefined)",
|
|
11326
|
+
value: input.stop
|
|
11327
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.rpcId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11328
|
+
method: "typia.assertGuard",
|
|
11329
|
+
path: _path + ".rpcId",
|
|
11330
|
+
expected: "string",
|
|
11331
|
+
value: input.rpcId
|
|
11332
|
+
}, _errorFactory)) && true; const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
11333
|
+
if (false === __is(input)) {
|
|
11334
|
+
_errorFactory = errorFactory;
|
|
11335
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
11336
|
+
method: "typia.assertGuard",
|
|
11337
|
+
path: _path + "",
|
|
11338
|
+
expected: "FileDomainMethodsRecord",
|
|
11339
|
+
value: input
|
|
11340
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
11341
|
+
method: "typia.assertGuard",
|
|
11342
|
+
path: _path + "",
|
|
11343
|
+
expected: "FileDomainMethodsRecord",
|
|
11344
|
+
value: input
|
|
11345
|
+
}, _errorFactory))(input, "$input", true);
|
|
11346
|
+
}
|
|
11347
|
+
}; })()(input);
|
|
11348
|
+
}
|
|
10136
11349
|
case ":folder.items": {
|
|
10137
11350
|
return (() => { const _io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10138
11351
|
method: "typia.assertGuard",
|
|
@@ -10881,7 +12094,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10881
12094
|
}; })()(input);
|
|
10882
12095
|
}
|
|
10883
12096
|
case ":media.source": {
|
|
10884
|
-
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io3(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io6(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io14(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io2 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io3 = input => Object.keys(input).every(key => {
|
|
12097
|
+
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io3(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io6(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io14(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); const _io2 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io3 = input => Object.keys(input).every(key => {
|
|
10885
12098
|
const value = input[key];
|
|
10886
12099
|
if (undefined === value)
|
|
10887
12100
|
return true;
|
|
@@ -11051,6 +12264,16 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11051
12264
|
path: _path + ".manifest",
|
|
11052
12265
|
expected: "(null | string | undefined)",
|
|
11053
12266
|
value: input.manifest
|
|
12267
|
+
}, _errorFactory)) && (undefined === input.timecode || "number" === typeof input.timecode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12268
|
+
method: "typia.assertGuard",
|
|
12269
|
+
path: _path + ".timecode",
|
|
12270
|
+
expected: "(number | undefined)",
|
|
12271
|
+
value: input.timecode
|
|
12272
|
+
}, _errorFactory)) && (undefined === input.timezone || "string" === typeof input.timezone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12273
|
+
method: "typia.assertGuard",
|
|
12274
|
+
path: _path + ".timezone",
|
|
12275
|
+
expected: "(string | undefined)",
|
|
12276
|
+
value: input.timezone
|
|
11054
12277
|
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11055
12278
|
method: "typia.assertGuard",
|
|
11056
12279
|
path: _path + ".alpha",
|
|
@@ -11783,7 +13006,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11783
13006
|
if (undefined === value)
|
|
11784
13007
|
return true;
|
|
11785
13008
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
|
|
11786
|
-
}); const _io1 = input => undefined === input.patch || Array.isArray(input.patch) && input.patch.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io2 = input => "add" === input.op && "string" === typeof input.path && true; const _io3 = input => "remove" === input.op && "string" === typeof input.path; const _io4 = input => "replace" === input.op && "string" === typeof input.path && true; const _io5 = input => "move" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io6 = input => "copy" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io7 = input => "test" === input.op && "string" === typeof input.path && true; const
|
|
13009
|
+
}); const _io1 = input => (undefined === input.patch || Array.isArray(input.patch) && input.patch.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))) && (undefined === input.speakerLabels || "object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) && _io8(input.speakerLabels)) && (undefined === input.speakerRemaps || "object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) && _io9(input.speakerRemaps)); const _io2 = input => "add" === input.op && "string" === typeof input.path && true; const _io3 = input => "remove" === input.op && "string" === typeof input.path; const _io4 = input => "replace" === input.op && "string" === typeof input.path && true; const _io5 = input => "move" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io6 = input => "copy" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io7 = input => "test" === input.op && "string" === typeof input.path && true; const _io8 = input => Object.keys(input).every(key => {
|
|
13010
|
+
const value = input[key];
|
|
13011
|
+
if (undefined === value)
|
|
13012
|
+
return true;
|
|
13013
|
+
return "string" === typeof value;
|
|
13014
|
+
}); const _io9 = input => Object.keys(input).every(key => {
|
|
13015
|
+
const value = input[key];
|
|
13016
|
+
if (undefined === value)
|
|
13017
|
+
return true;
|
|
13018
|
+
return "string" === typeof value;
|
|
13019
|
+
}); const _iu0 = input => (() => {
|
|
11787
13020
|
if ("add" === input.op)
|
|
11788
13021
|
return _io2(input);
|
|
11789
13022
|
else if ("remove" === input.op)
|
|
@@ -11813,7 +13046,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11813
13046
|
expected: "MediaTranscriptChangesRecordValue",
|
|
11814
13047
|
value: value
|
|
11815
13048
|
}, _errorFactory);
|
|
11816
|
-
}); const _ao1 = (input, _path, _exceptionable = true) => undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13049
|
+
}); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11817
13050
|
method: "typia.assertGuard",
|
|
11818
13051
|
path: _path + ".patch",
|
|
11819
13052
|
expected: "(Array<Operation> | undefined)",
|
|
@@ -11833,7 +13066,27 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11833
13066
|
path: _path + ".patch",
|
|
11834
13067
|
expected: "(Array<Operation> | undefined)",
|
|
11835
13068
|
value: input.patch
|
|
11836
|
-
}, _errorFactory)
|
|
13069
|
+
}, _errorFactory)) && (undefined === input.speakerLabels || ("object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13070
|
+
method: "typia.assertGuard",
|
|
13071
|
+
path: _path + ".speakerLabels",
|
|
13072
|
+
expected: "(__type | undefined)",
|
|
13073
|
+
value: input.speakerLabels
|
|
13074
|
+
}, _errorFactory)) && _ao8(input.speakerLabels, _path + ".speakerLabels", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13075
|
+
method: "typia.assertGuard",
|
|
13076
|
+
path: _path + ".speakerLabels",
|
|
13077
|
+
expected: "(__type | undefined)",
|
|
13078
|
+
value: input.speakerLabels
|
|
13079
|
+
}, _errorFactory)) && (undefined === input.speakerRemaps || ("object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13080
|
+
method: "typia.assertGuard",
|
|
13081
|
+
path: _path + ".speakerRemaps",
|
|
13082
|
+
expected: "(__type.o1 | undefined)",
|
|
13083
|
+
value: input.speakerRemaps
|
|
13084
|
+
}, _errorFactory)) && _ao9(input.speakerRemaps, _path + ".speakerRemaps", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13085
|
+
method: "typia.assertGuard",
|
|
13086
|
+
path: _path + ".speakerRemaps",
|
|
13087
|
+
expected: "(__type.o1 | undefined)",
|
|
13088
|
+
value: input.speakerRemaps
|
|
13089
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => ("add" === input.op || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11837
13090
|
method: "typia.assertGuard",
|
|
11838
13091
|
path: _path + ".op",
|
|
11839
13092
|
expected: "\"add\"",
|
|
@@ -11903,7 +13156,27 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11903
13156
|
path: _path + ".path",
|
|
11904
13157
|
expected: "string",
|
|
11905
13158
|
value: input.path
|
|
11906
|
-
}, _errorFactory)) && true; const
|
|
13159
|
+
}, _errorFactory)) && true; const _ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
13160
|
+
const value = input[key];
|
|
13161
|
+
if (undefined === value)
|
|
13162
|
+
return true;
|
|
13163
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13164
|
+
method: "typia.assertGuard",
|
|
13165
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13166
|
+
expected: "string",
|
|
13167
|
+
value: value
|
|
13168
|
+
}, _errorFactory);
|
|
13169
|
+
}); const _ao9 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
13170
|
+
const value = input[key];
|
|
13171
|
+
if (undefined === value)
|
|
13172
|
+
return true;
|
|
13173
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13174
|
+
method: "typia.assertGuard",
|
|
13175
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13176
|
+
expected: "string",
|
|
13177
|
+
value: value
|
|
13178
|
+
}, _errorFactory);
|
|
13179
|
+
}); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
11907
13180
|
if ("add" === input.op)
|
|
11908
13181
|
return _ao2(input, _path, true && _exceptionable);
|
|
11909
13182
|
else if ("remove" === input.op)
|
|
@@ -12256,7 +13529,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12256
13529
|
if (undefined === value)
|
|
12257
13530
|
return true;
|
|
12258
13531
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
|
|
12259
|
-
}); const _io1 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io2(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io15(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io2 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io3(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io3 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io4 = input => Object.keys(input).every(key => {
|
|
13532
|
+
}); const _io1 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io2(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io15(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io2 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io3(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); const _io3 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io4 = input => Object.keys(input).every(key => {
|
|
12260
13533
|
const value = input[key];
|
|
12261
13534
|
if (undefined === value)
|
|
12262
13535
|
return true;
|
|
@@ -12441,6 +13714,16 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12441
13714
|
path: _path + ".manifest",
|
|
12442
13715
|
expected: "(null | string | undefined)",
|
|
12443
13716
|
value: input.manifest
|
|
13717
|
+
}, _errorFactory)) && (undefined === input.timecode || "number" === typeof input.timecode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13718
|
+
method: "typia.assertGuard",
|
|
13719
|
+
path: _path + ".timecode",
|
|
13720
|
+
expected: "(number | undefined)",
|
|
13721
|
+
value: input.timecode
|
|
13722
|
+
}, _errorFactory)) && (undefined === input.timezone || "string" === typeof input.timezone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13723
|
+
method: "typia.assertGuard",
|
|
13724
|
+
path: _path + ".timezone",
|
|
13725
|
+
expected: "(string | undefined)",
|
|
13726
|
+
value: input.timezone
|
|
12444
13727
|
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12445
13728
|
method: "typia.assertGuard",
|
|
12446
13729
|
path: _path + ".alpha",
|
|
@@ -15505,7 +16788,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
15505
16788
|
}; })()(input);
|
|
15506
16789
|
}
|
|
15507
16790
|
case ":publish": {
|
|
15508
|
-
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io17(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io16(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io4(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io4 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io5 = input => Object.keys(input).every(key => {
|
|
16791
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io17(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io16(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io4(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); const _io4 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io5 = input => Object.keys(input).every(key => {
|
|
15509
16792
|
const value = input[key];
|
|
15510
16793
|
if (undefined === value)
|
|
15511
16794
|
return true;
|
|
@@ -15830,6 +17113,16 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
15830
17113
|
path: _path + ".manifest",
|
|
15831
17114
|
expected: "(null | string | undefined)",
|
|
15832
17115
|
value: input.manifest
|
|
17116
|
+
}, _errorFactory)) && (undefined === input.timecode || "number" === typeof input.timecode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17117
|
+
method: "typia.assertGuard",
|
|
17118
|
+
path: _path + ".timecode",
|
|
17119
|
+
expected: "(number | undefined)",
|
|
17120
|
+
value: input.timecode
|
|
17121
|
+
}, _errorFactory)) && (undefined === input.timezone || "string" === typeof input.timezone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17122
|
+
method: "typia.assertGuard",
|
|
17123
|
+
path: _path + ".timezone",
|
|
17124
|
+
expected: "(string | undefined)",
|
|
17125
|
+
value: input.timezone
|
|
15833
17126
|
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15834
17127
|
method: "typia.assertGuard",
|
|
15835
17128
|
path: _path + ".alpha",
|
|
@@ -17514,7 +18807,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
17514
18807
|
if (undefined === value)
|
|
17515
18808
|
return true;
|
|
17516
18809
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
17517
|
-
}); const _io8 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io24(input.profile)); const _io9 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io10(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io12(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io15(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io23(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io10 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io11(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io11 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io12 = input => Object.keys(input).every(key => {
|
|
18810
|
+
}); const _io8 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io24(input.profile)); const _io9 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io10(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io12(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io15(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io23(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io10 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io11(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); const _io11 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io12 = input => Object.keys(input).every(key => {
|
|
17518
18811
|
const value = input[key];
|
|
17519
18812
|
if (undefined === value)
|
|
17520
18813
|
return true;
|
|
@@ -17944,6 +19237,16 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
17944
19237
|
path: _path + ".manifest",
|
|
17945
19238
|
expected: "(null | string | undefined)",
|
|
17946
19239
|
value: input.manifest
|
|
19240
|
+
}, _errorFactory)) && (undefined === input.timecode || "number" === typeof input.timecode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
19241
|
+
method: "typia.assertGuard",
|
|
19242
|
+
path: _path + ".timecode",
|
|
19243
|
+
expected: "(number | undefined)",
|
|
19244
|
+
value: input.timecode
|
|
19245
|
+
}, _errorFactory)) && (undefined === input.timezone || "string" === typeof input.timezone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
19246
|
+
method: "typia.assertGuard",
|
|
19247
|
+
path: _path + ".timezone",
|
|
19248
|
+
expected: "(string | undefined)",
|
|
19249
|
+
value: input.timezone
|
|
17947
19250
|
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17948
19251
|
method: "typia.assertGuard",
|
|
17949
19252
|
path: _path + ".alpha",
|
|
@@ -19196,7 +20499,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
19196
20499
|
}; })()(input);
|
|
19197
20500
|
}
|
|
19198
20501
|
case ":render.stats?": {
|
|
19199
|
-
return (() => { const _io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every(elem => "string" === typeof elem)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag) && (null === input.available || undefined === input.available || "boolean" === typeof input.available) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "number" === typeof input.cpuComputeAvailable) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "number" === typeof input.cpuMemoryAvailable) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "number" === typeof input.gpuComputeAvailable) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "number" === typeof input.gpuMemoryAvailable) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "number" === typeof input.gpuQueueAvailable) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue || "number" === typeof input.gpuDecoderValue) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "number" === typeof input.netTransferAvailable) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory) && (null === input.activeCount || undefined === input.activeCount || "number" === typeof input.activeCount) && (null === input.totalCount || undefined === input.totalCount || "number" === typeof input.totalCount) && (null === input.gpuStat || undefined === input.gpuStat || "object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) && _io2(input.gpuStat)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && _io3(input.cpuStat)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && _io8(input.netStat)) && true && (undefined === input.taskset || "string" === typeof input.taskset) && (null === input.end || undefined === input.end || "number" === typeof input.end); const _io1 = input => Object.keys(input).every(key => {
|
|
20502
|
+
return (() => { const _io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every(elem => "string" === typeof elem)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag) && (null === input.available || undefined === input.available || "boolean" === typeof input.available) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "number" === typeof input.cpuComputeAvailable) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "number" === typeof input.cpuMemoryAvailable) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "number" === typeof input.gpuComputeAvailable) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "number" === typeof input.gpuMemoryAvailable) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "number" === typeof input.gpuQueueAvailable) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue || "number" === typeof input.gpuDecoderValue) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "number" === typeof input.netTransferAvailable) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory) && (null === input.activeCount || undefined === input.activeCount || "number" === typeof input.activeCount) && (null === input.totalCount || undefined === input.totalCount || "number" === typeof input.totalCount) && (null === input.gpuStat || undefined === input.gpuStat || "object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) && _io2(input.gpuStat)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && _io3(input.cpuStat)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && _io8(input.netStat)) && true && (undefined === input.taskset || "string" === typeof input.taskset) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration); const _io1 = input => Object.keys(input).every(key => {
|
|
19200
20503
|
const value = input[key];
|
|
19201
20504
|
if (undefined === value)
|
|
19202
20505
|
return true;
|
|
@@ -19561,6 +20864,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
19561
20864
|
path: _path + ".end",
|
|
19562
20865
|
expected: "(null | number | undefined)",
|
|
19563
20866
|
value: input.end
|
|
20867
|
+
}, _errorFactory)) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
20868
|
+
method: "typia.assertGuard",
|
|
20869
|
+
path: _path + ".duration",
|
|
20870
|
+
expected: "(null | number | undefined)",
|
|
20871
|
+
value: input.duration
|
|
19564
20872
|
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
19565
20873
|
const value = input[key];
|
|
19566
20874
|
if (undefined === value)
|
|
@@ -19684,7 +20992,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
19684
20992
|
}; })()(input);
|
|
19685
20993
|
}
|
|
19686
20994
|
case ":render.query?": {
|
|
19687
|
-
return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && _io1(input.description)); const _io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && _io17(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io16(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io4(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io4 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io5 = input => Object.keys(input).every(key => {
|
|
20995
|
+
return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && _io1(input.description)); const _io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && _io17(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io16(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io4(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); const _io4 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io5 = input => Object.keys(input).every(key => {
|
|
19688
20996
|
const value = input[key];
|
|
19689
20997
|
if (undefined === value)
|
|
19690
20998
|
return true;
|
|
@@ -19899,6 +21207,16 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
19899
21207
|
path: _path + ".manifest",
|
|
19900
21208
|
expected: "(null | string | undefined)",
|
|
19901
21209
|
value: input.manifest
|
|
21210
|
+
}, _errorFactory)) && (undefined === input.timecode || "number" === typeof input.timecode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
21211
|
+
method: "typia.assertGuard",
|
|
21212
|
+
path: _path + ".timecode",
|
|
21213
|
+
expected: "(number | undefined)",
|
|
21214
|
+
value: input.timecode
|
|
21215
|
+
}, _errorFactory)) && (undefined === input.timezone || "string" === typeof input.timezone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
21216
|
+
method: "typia.assertGuard",
|
|
21217
|
+
path: _path + ".timezone",
|
|
21218
|
+
expected: "(string | undefined)",
|
|
21219
|
+
value: input.timezone
|
|
19902
21220
|
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
19903
21221
|
method: "typia.assertGuard",
|
|
19904
21222
|
path: _path + ".alpha",
|
|
@@ -20457,7 +21775,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
20457
21775
|
}; })()(input);
|
|
20458
21776
|
}
|
|
20459
21777
|
case ":render.result?": {
|
|
20460
|
-
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.files || Array.isArray(input.files) && input.files.every(elem => "string" === typeof elem)) && (undefined === input.refs || Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && true && (null === input.error || undefined === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem)) || "object" === typeof input.error && null !== input.error && false === Array.isArray(input.error) && _io2(input.error))) && (undefined === input.extension || "string" === typeof input.extension) && (undefined === input.extensions || Array.isArray(input.extensions) && input.extensions.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.formatName || "string" === typeof input.formatName) && (undefined === input.mimeType || "string" === typeof input.mimeType) && (undefined === input.duration || "number" === typeof input.duration) && (null === input.estimatedDuration || undefined === input.estimatedDuration || "number" === typeof input.estimatedDuration) && (null === input.video || undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io3(input.video)) && (null === input.audio || undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(input.audio)) && (undefined === input.language || "string" === typeof input.language) && (null === input.transcribe || undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io5(input.transcribe)) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (null === input.translate || undefined === input.translate || "object" === typeof input.translate && null !== input.translate && false === Array.isArray(input.translate) && _io6(input.translate)); const _io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end); const _io2 = input => Object.keys(input).every(key => {
|
|
21778
|
+
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.files || Array.isArray(input.files) && input.files.every(elem => "string" === typeof elem)) && (undefined === input.refs || Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (null === input.timecode || undefined === input.timecode || "number" === typeof input.timecode) && (null === input.live || undefined === input.live || "boolean" === typeof input.live) && true && (null === input.error || undefined === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem)) || "object" === typeof input.error && null !== input.error && false === Array.isArray(input.error) && _io2(input.error))) && (undefined === input.extension || "string" === typeof input.extension) && (undefined === input.extensions || Array.isArray(input.extensions) && input.extensions.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.formatName || "string" === typeof input.formatName) && (undefined === input.mimeType || "string" === typeof input.mimeType) && (undefined === input.duration || "number" === typeof input.duration) && (null === input.estimatedDuration || undefined === input.estimatedDuration || "number" === typeof input.estimatedDuration) && (null === input.video || undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io3(input.video)) && (null === input.audio || undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(input.audio)) && (undefined === input.language || "string" === typeof input.language) && (null === input.transcribe || undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io5(input.transcribe)) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (null === input.translate || undefined === input.translate || "object" === typeof input.translate && null !== input.translate && false === Array.isArray(input.translate) && _io6(input.translate)); const _io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end); const _io2 = input => Object.keys(input).every(key => {
|
|
20461
21779
|
const value = input[key];
|
|
20462
21780
|
if (undefined === value)
|
|
20463
21781
|
return true;
|
|
@@ -20507,6 +21825,16 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
20507
21825
|
path: _path + ".refs",
|
|
20508
21826
|
expected: "(Array<__type> | undefined)",
|
|
20509
21827
|
value: input.refs
|
|
21828
|
+
}, _errorFactory)) && (null === input.timecode || undefined === input.timecode || "number" === typeof input.timecode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
21829
|
+
method: "typia.assertGuard",
|
|
21830
|
+
path: _path + ".timecode",
|
|
21831
|
+
expected: "(null | number | undefined)",
|
|
21832
|
+
value: input.timecode
|
|
21833
|
+
}, _errorFactory)) && (null === input.live || undefined === input.live || "boolean" === typeof input.live || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
21834
|
+
method: "typia.assertGuard",
|
|
21835
|
+
path: _path + ".live",
|
|
21836
|
+
expected: "(boolean | null | undefined)",
|
|
21837
|
+
value: input.live
|
|
20510
21838
|
}, _errorFactory)) && true && (null === input.error || undefined === input.error || (Array.isArray(input.error) && input.error.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
20511
21839
|
method: "typia.assertGuard",
|
|
20512
21840
|
path: _path + ".error[" + _index8 + "]",
|
|
@@ -23099,7 +24427,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
23099
24427
|
if (undefined === value)
|
|
23100
24428
|
return true;
|
|
23101
24429
|
return true;
|
|
23102
|
-
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
|
|
24430
|
+
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers) && (undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer)); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
|
|
23103
24431
|
const value = input[key];
|
|
23104
24432
|
if (undefined === value)
|
|
23105
24433
|
return true;
|
|
@@ -24343,6 +25671,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
24343
25671
|
path: _path + ".graphics",
|
|
24344
25672
|
expected: "(boolean | undefined)",
|
|
24345
25673
|
value: input.graphics
|
|
25674
|
+
}, _errorFactory)) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25675
|
+
method: "typia.assertGuard",
|
|
25676
|
+
path: _path + ".subtitle",
|
|
25677
|
+
expected: "(null | string | undefined)",
|
|
25678
|
+
value: input.subtitle
|
|
24346
25679
|
}, _errorFactory)) && (undefined === input.waveform || "boolean" === typeof input.waveform || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24347
25680
|
method: "typia.assertGuard",
|
|
24348
25681
|
path: _path + ".waveform",
|
|
@@ -24423,10 +25756,15 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
24423
25756
|
path: _path + ".tile",
|
|
24424
25757
|
expected: "(__type.o30 | undefined)",
|
|
24425
25758
|
value: input.tile
|
|
24426
|
-
}, _errorFactory)) && (undefined === input.
|
|
25759
|
+
}, _errorFactory)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25760
|
+
method: "typia.assertGuard",
|
|
25761
|
+
path: _path + ".showTimeCode",
|
|
25762
|
+
expected: "(boolean | undefined)",
|
|
25763
|
+
value: input.showTimeCode
|
|
25764
|
+
}, _errorFactory)) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === input.timecodeReference || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24427
25765
|
method: "typia.assertGuard",
|
|
24428
25766
|
path: _path + ".timecodeReference",
|
|
24429
|
-
expected: "(
|
|
25767
|
+
expected: "(\"default\" | \"subclip\" | undefined)",
|
|
24430
25768
|
value: input.timecodeReference
|
|
24431
25769
|
}, _errorFactory)) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24432
25770
|
method: "typia.assertGuard",
|
|
@@ -24713,7 +26051,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
24713
26051
|
path: _path + ".defaultExitOption",
|
|
24714
26052
|
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
24715
26053
|
value: input.defaultExitOption
|
|
24716
|
-
}, _errorFactory)); const _ao46 = (input, _path, _exceptionable = true) => undefined === input.
|
|
26054
|
+
}, _errorFactory)); const _ao46 = (input, _path, _exceptionable = true) => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
26055
|
+
method: "typia.assertGuard",
|
|
26056
|
+
path: _path + ".showSpeakers",
|
|
26057
|
+
expected: "(boolean | undefined)",
|
|
26058
|
+
value: input.showSpeakers
|
|
26059
|
+
}, _errorFactory)) && (undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24717
26060
|
method: "typia.assertGuard",
|
|
24718
26061
|
path: _path + ".subtitleDisclaimer",
|
|
24719
26062
|
expected: "(__type.o37 | undefined)",
|
|
@@ -24723,7 +26066,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
24723
26066
|
path: _path + ".subtitleDisclaimer",
|
|
24724
26067
|
expected: "(__type.o37 | undefined)",
|
|
24725
26068
|
value: input.subtitleDisclaimer
|
|
24726
|
-
}, _errorFactory); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
26069
|
+
}, _errorFactory)); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24727
26070
|
method: "typia.assertGuard",
|
|
24728
26071
|
path: _path + ".isUserConfigurable",
|
|
24729
26072
|
expected: "(boolean | undefined)",
|
|
@@ -27490,279 +28833,6 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
27490
28833
|
}
|
|
27491
28834
|
}; })()(input);
|
|
27492
28835
|
}
|
|
27493
|
-
case ":template": {
|
|
27494
|
-
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
|
|
27495
|
-
const value = input[key];
|
|
27496
|
-
if (undefined === value)
|
|
27497
|
-
return true;
|
|
27498
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
27499
|
-
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io3(input.widget)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io5(input.items)) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io9(input.render)); const _io3 = input => "string" === typeof input.type; const _io4 = input => true; const _io5 = input => undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties); const _io6 = input => Object.keys(input).every(key => {
|
|
27500
|
-
const value = input[key];
|
|
27501
|
-
if (undefined === value)
|
|
27502
|
-
return true;
|
|
27503
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
27504
|
-
}); const _io7 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io8(input.widget)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties)); const _io8 = input => "string" === typeof input.type; const _io9 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io10(input.profile)); const _io10 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io11(input.video)); const _io11 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27505
|
-
method: "typia.assertGuard",
|
|
27506
|
-
path: _path + ".source",
|
|
27507
|
-
expected: "(string | undefined)",
|
|
27508
|
-
value: input.source
|
|
27509
|
-
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27510
|
-
method: "typia.assertGuard",
|
|
27511
|
-
path: _path + ".controller",
|
|
27512
|
-
expected: "(string | undefined)",
|
|
27513
|
-
value: input.controller
|
|
27514
|
-
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27515
|
-
method: "typia.assertGuard",
|
|
27516
|
-
path: _path + ".type",
|
|
27517
|
-
expected: "(string | undefined)",
|
|
27518
|
-
value: input.type
|
|
27519
|
-
}, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27520
|
-
method: "typia.assertGuard",
|
|
27521
|
-
path: _path + ".mixin",
|
|
27522
|
-
expected: "(Array<string> | undefined)",
|
|
27523
|
-
value: input.mixin
|
|
27524
|
-
}, _errorFactory)) && input.mixin.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27525
|
-
method: "typia.assertGuard",
|
|
27526
|
-
path: _path + ".mixin[" + _index2 + "]",
|
|
27527
|
-
expected: "string",
|
|
27528
|
-
value: elem
|
|
27529
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27530
|
-
method: "typia.assertGuard",
|
|
27531
|
-
path: _path + ".mixin",
|
|
27532
|
-
expected: "(Array<string> | undefined)",
|
|
27533
|
-
value: input.mixin
|
|
27534
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27535
|
-
method: "typia.assertGuard",
|
|
27536
|
-
path: _path + ".properties",
|
|
27537
|
-
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
27538
|
-
value: input.properties
|
|
27539
|
-
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27540
|
-
method: "typia.assertGuard",
|
|
27541
|
-
path: _path + ".properties",
|
|
27542
|
-
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
27543
|
-
value: input.properties
|
|
27544
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
27545
|
-
const value = input[key];
|
|
27546
|
-
if (undefined === value)
|
|
27547
|
-
return true;
|
|
27548
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27549
|
-
method: "typia.assertGuard",
|
|
27550
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27551
|
-
expected: "TemplateProperty",
|
|
27552
|
-
value: value
|
|
27553
|
-
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27554
|
-
method: "typia.assertGuard",
|
|
27555
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27556
|
-
expected: "TemplateProperty",
|
|
27557
|
-
value: value
|
|
27558
|
-
}, _errorFactory);
|
|
27559
|
-
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27560
|
-
method: "typia.assertGuard",
|
|
27561
|
-
path: _path + ".path",
|
|
27562
|
-
expected: "(string | undefined)",
|
|
27563
|
-
value: input.path
|
|
27564
|
-
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27565
|
-
method: "typia.assertGuard",
|
|
27566
|
-
path: _path + ".type",
|
|
27567
|
-
expected: "(string | undefined)",
|
|
27568
|
-
value: input.type
|
|
27569
|
-
}, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27570
|
-
method: "typia.assertGuard",
|
|
27571
|
-
path: _path + ".label",
|
|
27572
|
-
expected: "(string | undefined)",
|
|
27573
|
-
value: input.label
|
|
27574
|
-
}, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27575
|
-
method: "typia.assertGuard",
|
|
27576
|
-
path: _path + ".defaultValue",
|
|
27577
|
-
expected: "(string | undefined)",
|
|
27578
|
-
value: input.defaultValue
|
|
27579
|
-
}, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27580
|
-
method: "typia.assertGuard",
|
|
27581
|
-
path: _path + ".widget",
|
|
27582
|
-
expected: "(__type | undefined)",
|
|
27583
|
-
value: input.widget
|
|
27584
|
-
}, _errorFactory)) && _ao3(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27585
|
-
method: "typia.assertGuard",
|
|
27586
|
-
path: _path + ".widget",
|
|
27587
|
-
expected: "(__type | undefined)",
|
|
27588
|
-
value: input.widget
|
|
27589
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27590
|
-
method: "typia.assertGuard",
|
|
27591
|
-
path: _path + ".properties",
|
|
27592
|
-
expected: "(object | undefined)",
|
|
27593
|
-
value: input.properties
|
|
27594
|
-
}, _errorFactory)) && _ao4(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27595
|
-
method: "typia.assertGuard",
|
|
27596
|
-
path: _path + ".properties",
|
|
27597
|
-
expected: "(object | undefined)",
|
|
27598
|
-
value: input.properties
|
|
27599
|
-
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27600
|
-
method: "typia.assertGuard",
|
|
27601
|
-
path: _path + ".items",
|
|
27602
|
-
expected: "(__type.o1 | undefined)",
|
|
27603
|
-
value: input.items
|
|
27604
|
-
}, _errorFactory)) && _ao5(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27605
|
-
method: "typia.assertGuard",
|
|
27606
|
-
path: _path + ".items",
|
|
27607
|
-
expected: "(__type.o1 | undefined)",
|
|
27608
|
-
value: input.items
|
|
27609
|
-
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27610
|
-
method: "typia.assertGuard",
|
|
27611
|
-
path: _path + ".render",
|
|
27612
|
-
expected: "(__type.o3 | undefined)",
|
|
27613
|
-
value: input.render
|
|
27614
|
-
}, _errorFactory)) && _ao9(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27615
|
-
method: "typia.assertGuard",
|
|
27616
|
-
path: _path + ".render",
|
|
27617
|
-
expected: "(__type.o3 | undefined)",
|
|
27618
|
-
value: input.render
|
|
27619
|
-
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27620
|
-
method: "typia.assertGuard",
|
|
27621
|
-
path: _path + ".type",
|
|
27622
|
-
expected: "string",
|
|
27623
|
-
value: input.type
|
|
27624
|
-
}, _errorFactory); const _ao4 = (input, _path, _exceptionable = true) => true; const _ao5 = (input, _path, _exceptionable = true) => undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27625
|
-
method: "typia.assertGuard",
|
|
27626
|
-
path: _path + ".properties",
|
|
27627
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27628
|
-
value: input.properties
|
|
27629
|
-
}, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27630
|
-
method: "typia.assertGuard",
|
|
27631
|
-
path: _path + ".properties",
|
|
27632
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27633
|
-
value: input.properties
|
|
27634
|
-
}, _errorFactory); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
27635
|
-
const value = input[key];
|
|
27636
|
-
if (undefined === value)
|
|
27637
|
-
return true;
|
|
27638
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27639
|
-
method: "typia.assertGuard",
|
|
27640
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27641
|
-
expected: "TemplatePropertySchema",
|
|
27642
|
-
value: value
|
|
27643
|
-
}, _errorFactory)) && _ao7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27644
|
-
method: "typia.assertGuard",
|
|
27645
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27646
|
-
expected: "TemplatePropertySchema",
|
|
27647
|
-
value: value
|
|
27648
|
-
}, _errorFactory);
|
|
27649
|
-
}); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27650
|
-
method: "typia.assertGuard",
|
|
27651
|
-
path: _path + ".path",
|
|
27652
|
-
expected: "(string | undefined)",
|
|
27653
|
-
value: input.path
|
|
27654
|
-
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27655
|
-
method: "typia.assertGuard",
|
|
27656
|
-
path: _path + ".type",
|
|
27657
|
-
expected: "(string | undefined)",
|
|
27658
|
-
value: input.type
|
|
27659
|
-
}, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27660
|
-
method: "typia.assertGuard",
|
|
27661
|
-
path: _path + ".label",
|
|
27662
|
-
expected: "(string | undefined)",
|
|
27663
|
-
value: input.label
|
|
27664
|
-
}, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27665
|
-
method: "typia.assertGuard",
|
|
27666
|
-
path: _path + ".defaultValue",
|
|
27667
|
-
expected: "(string | undefined)",
|
|
27668
|
-
value: input.defaultValue
|
|
27669
|
-
}, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27670
|
-
method: "typia.assertGuard",
|
|
27671
|
-
path: _path + ".widget",
|
|
27672
|
-
expected: "(__type.o2 | undefined)",
|
|
27673
|
-
value: input.widget
|
|
27674
|
-
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27675
|
-
method: "typia.assertGuard",
|
|
27676
|
-
path: _path + ".widget",
|
|
27677
|
-
expected: "(__type.o2 | undefined)",
|
|
27678
|
-
value: input.widget
|
|
27679
|
-
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27680
|
-
method: "typia.assertGuard",
|
|
27681
|
-
path: _path + ".items",
|
|
27682
|
-
expected: "(TemplatePropertySchema | undefined)",
|
|
27683
|
-
value: input.items
|
|
27684
|
-
}, _errorFactory)) && _ao7(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27685
|
-
method: "typia.assertGuard",
|
|
27686
|
-
path: _path + ".items",
|
|
27687
|
-
expected: "(TemplatePropertySchema | undefined)",
|
|
27688
|
-
value: input.items
|
|
27689
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27690
|
-
method: "typia.assertGuard",
|
|
27691
|
-
path: _path + ".properties",
|
|
27692
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27693
|
-
value: input.properties
|
|
27694
|
-
}, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27695
|
-
method: "typia.assertGuard",
|
|
27696
|
-
path: _path + ".properties",
|
|
27697
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27698
|
-
value: input.properties
|
|
27699
|
-
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27700
|
-
method: "typia.assertGuard",
|
|
27701
|
-
path: _path + ".type",
|
|
27702
|
-
expected: "string",
|
|
27703
|
-
value: input.type
|
|
27704
|
-
}, _errorFactory); const _ao9 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27705
|
-
method: "typia.assertGuard",
|
|
27706
|
-
path: _path + ".type",
|
|
27707
|
-
expected: "\"image\"",
|
|
27708
|
-
value: input.type
|
|
27709
|
-
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27710
|
-
method: "typia.assertGuard",
|
|
27711
|
-
path: _path + ".profile",
|
|
27712
|
-
expected: "(__type.o4 | undefined)",
|
|
27713
|
-
value: input.profile
|
|
27714
|
-
}, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27715
|
-
method: "typia.assertGuard",
|
|
27716
|
-
path: _path + ".profile",
|
|
27717
|
-
expected: "(__type.o4 | undefined)",
|
|
27718
|
-
value: input.profile
|
|
27719
|
-
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27720
|
-
method: "typia.assertGuard",
|
|
27721
|
-
path: _path + ".format",
|
|
27722
|
-
expected: "(string | undefined)",
|
|
27723
|
-
value: input.format
|
|
27724
|
-
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27725
|
-
method: "typia.assertGuard",
|
|
27726
|
-
path: _path + ".video",
|
|
27727
|
-
expected: "(__type.o5 | undefined)",
|
|
27728
|
-
value: input.video
|
|
27729
|
-
}, _errorFactory)) && _ao11(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27730
|
-
method: "typia.assertGuard",
|
|
27731
|
-
path: _path + ".video",
|
|
27732
|
-
expected: "(__type.o5 | undefined)",
|
|
27733
|
-
value: input.video
|
|
27734
|
-
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27735
|
-
method: "typia.assertGuard",
|
|
27736
|
-
path: _path + ".width",
|
|
27737
|
-
expected: "number",
|
|
27738
|
-
value: input.width
|
|
27739
|
-
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27740
|
-
method: "typia.assertGuard",
|
|
27741
|
-
path: _path + ".height",
|
|
27742
|
-
expected: "number",
|
|
27743
|
-
value: input.height
|
|
27744
|
-
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27745
|
-
method: "typia.assertGuard",
|
|
27746
|
-
path: _path + ".fit",
|
|
27747
|
-
expected: "\"cover\"",
|
|
27748
|
-
value: input.fit
|
|
27749
|
-
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
27750
|
-
if (false === __is(input)) {
|
|
27751
|
-
_errorFactory = errorFactory;
|
|
27752
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
27753
|
-
method: "typia.assertGuard",
|
|
27754
|
-
path: _path + "",
|
|
27755
|
-
expected: "TemplateRecord",
|
|
27756
|
-
value: input
|
|
27757
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
27758
|
-
method: "typia.assertGuard",
|
|
27759
|
-
path: _path + "",
|
|
27760
|
-
expected: "TemplateRecord",
|
|
27761
|
-
value: input
|
|
27762
|
-
}, _errorFactory))(input, "$input", true);
|
|
27763
|
-
}
|
|
27764
|
-
}; })()(input);
|
|
27765
|
-
}
|
|
27766
28836
|
case ":_user-notification-status": {
|
|
27767
28837
|
return (() => { const _io0 = input => (undefined === input.assignee || "object" === typeof input.assignee && null !== input.assignee && false === Array.isArray(input.assignee) && _io1(input.assignee)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io2(input.published)) && (undefined === input.comment || "object" === typeof input.comment && null !== input.comment && false === Array.isArray(input.comment) && _io3(input.comment)); const _io1 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _io2 = input => undefined === input.value || true === input.value; const _io3 = input => null !== input.value && (undefined === input.value || true === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem)); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.assignee || ("object" === typeof input.assignee && null !== input.assignee && false === Array.isArray(input.assignee) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27768
28838
|
method: "typia.assertGuard",
|