@nxtedition/types 23.1.8 → 23.1.10
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/settings.d.ts +10 -0
- package/dist/nxtpression.d.ts +82 -25
- package/dist/records/domains/event.d.ts +24 -1
- package/dist/records/domains/index.d.ts +3 -1
- package/dist/records/domains/index.js +1 -0
- package/dist/records/domains/media.d.ts +12 -0
- package/dist/records/domains/monitor.d.ts +13 -0
- package/dist/records/domains/story.d.ts +14 -0
- package/dist/records/domains/story.js +1 -0
- package/dist/records/domains/template.d.ts +2 -22
- package/dist/records/validate/assert-guard.js +1996 -667
- package/dist/records/validate/assert.js +2003 -670
- package/dist/records/validate/is.js +96 -23
- package/dist/records/validate/schemas.js +1384 -420
- package/dist/records/validate/stringify.js +176 -29
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +2351 -867
- package/dist/records/validate/validate.js +1752 -602
- package/dist/rpc.d.ts +1 -1
- package/dist/rpc.js +3 -3
- package/package.json +2 -2
|
@@ -2158,7 +2158,7 @@ function _assertExactRecord(name, input) {
|
|
|
2158
2158
|
if (undefined === value)
|
|
2159
2159
|
return true;
|
|
2160
2160
|
return "string" === typeof value;
|
|
2161
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2161
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight) && (undefined === input.style || "normal" === input.style || "italic" === input.style); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2162
2162
|
method: "typia.assert",
|
|
2163
2163
|
path: _path + ".defaultLanguage",
|
|
2164
2164
|
expected: "(string | undefined)",
|
|
@@ -2213,12 +2213,12 @@ function _assertExactRecord(name, input) {
|
|
|
2213
2213
|
path: _path + ".asset",
|
|
2214
2214
|
expected: "(string | undefined)",
|
|
2215
2215
|
value: input.asset
|
|
2216
|
-
}, _errorFactory)) && (undefined === input.weight || "
|
|
2216
|
+
}, _errorFactory)) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2217
2217
|
method: "typia.assert",
|
|
2218
2218
|
path: _path + ".weight",
|
|
2219
2219
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2220
2220
|
value: input.weight
|
|
2221
|
-
}, _errorFactory)) && (undefined === input.style || "
|
|
2221
|
+
}, _errorFactory)) && (undefined === input.style || "normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2222
2222
|
method: "typia.assert",
|
|
2223
2223
|
path: _path + ".style",
|
|
2224
2224
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
@@ -2247,7 +2247,7 @@ function _assertExactRecord(name, input) {
|
|
|
2247
2247
|
if (undefined === value)
|
|
2248
2248
|
return true;
|
|
2249
2249
|
return "string" === typeof value;
|
|
2250
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2250
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight) && (undefined === input.style || "normal" === input.style || "italic" === input.style); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2251
2251
|
method: "typia.assert",
|
|
2252
2252
|
path: _path + ".defaultLanguage",
|
|
2253
2253
|
expected: "(string | undefined)",
|
|
@@ -2302,12 +2302,12 @@ function _assertExactRecord(name, input) {
|
|
|
2302
2302
|
path: _path + ".asset",
|
|
2303
2303
|
expected: "(string | undefined)",
|
|
2304
2304
|
value: input.asset
|
|
2305
|
-
}, _errorFactory)) && (undefined === input.weight || "
|
|
2305
|
+
}, _errorFactory)) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2306
2306
|
method: "typia.assert",
|
|
2307
2307
|
path: _path + ".weight",
|
|
2308
2308
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2309
2309
|
value: input.weight
|
|
2310
|
-
}, _errorFactory)) && (undefined === input.style || "
|
|
2310
|
+
}, _errorFactory)) && (undefined === input.style || "normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2311
2311
|
method: "typia.assert",
|
|
2312
2312
|
path: _path + ".style",
|
|
2313
2313
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
@@ -2957,7 +2957,7 @@ function _assertExactRecord(name, input) {
|
|
|
2957
2957
|
}; })()(input);
|
|
2958
2958
|
}
|
|
2959
2959
|
case "media.fonts?": {
|
|
2960
|
-
return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("
|
|
2960
|
+
return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("normal" === input.style || "italic" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1]))); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.fontFaces || (Array.isArray(input.fontFaces) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2961
2961
|
method: "typia.assert",
|
|
2962
2962
|
path: _path + ".fontFaces",
|
|
2963
2963
|
expected: "(Array<FontFace> | undefined)",
|
|
@@ -3017,7 +3017,7 @@ function _assertExactRecord(name, input) {
|
|
|
3017
3017
|
path: _path + ".weight",
|
|
3018
3018
|
expected: "number",
|
|
3019
3019
|
value: input.weight
|
|
3020
|
-
}, _errorFactory)) && ("
|
|
3020
|
+
}, _errorFactory)) && ("normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3021
3021
|
method: "typia.assert",
|
|
3022
3022
|
path: _path + ".style",
|
|
3023
3023
|
expected: "(\"italic\" | \"normal\")",
|
|
@@ -8836,149 +8836,47 @@ function _assertDomainRecord(domain, input) {
|
|
|
8836
8836
|
return input;
|
|
8837
8837
|
}; })()(input);
|
|
8838
8838
|
}
|
|
8839
|
-
case ":
|
|
8840
|
-
return (() => { const _io0 = input => (
|
|
8841
|
-
|
|
8842
|
-
|
|
8843
|
-
|
|
8844
|
-
value
|
|
8845
|
-
}
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
value
|
|
8850
|
-
}
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
value
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
expected: "(string | undefined)",
|
|
8859
|
-
value: input.position
|
|
8860
|
-
}, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8861
|
-
method: "typia.assert",
|
|
8862
|
-
path: _path + ".text",
|
|
8863
|
-
expected: "(string | undefined)",
|
|
8864
|
-
value: input.text
|
|
8865
|
-
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8866
|
-
method: "typia.assert",
|
|
8867
|
-
path: _path + ".lang",
|
|
8868
|
-
expected: "(string | undefined)",
|
|
8869
|
-
value: input.lang
|
|
8870
|
-
}, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8871
|
-
method: "typia.assert",
|
|
8872
|
-
path: _path + ".style",
|
|
8873
|
-
expected: "(string | undefined)",
|
|
8874
|
-
value: input.style
|
|
8875
|
-
}, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8876
|
-
method: "typia.assert",
|
|
8877
|
-
path: _path + ".styleOverrides",
|
|
8878
|
-
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
8879
|
-
value: input.styleOverrides
|
|
8880
|
-
}, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8881
|
-
method: "typia.assert",
|
|
8882
|
-
path: _path + ".styleOverrides",
|
|
8883
|
-
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
8884
|
-
value: input.styleOverrides
|
|
8885
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8886
|
-
method: "typia.assert",
|
|
8887
|
-
path: _path + ".marginL",
|
|
8888
|
-
expected: "(string | undefined)",
|
|
8889
|
-
value: input.marginL
|
|
8890
|
-
}, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8891
|
-
method: "typia.assert",
|
|
8892
|
-
path: _path + ".marginR",
|
|
8893
|
-
expected: "(string | undefined)",
|
|
8894
|
-
value: input.marginR
|
|
8895
|
-
}, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8896
|
-
method: "typia.assert",
|
|
8897
|
-
path: _path + ".marginV",
|
|
8898
|
-
expected: "(string | undefined)",
|
|
8899
|
-
value: input.marginV
|
|
8900
|
-
}, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8901
|
-
method: "typia.assert",
|
|
8902
|
-
path: _path + ".alignment",
|
|
8903
|
-
expected: "(string | undefined)",
|
|
8904
|
-
value: input.alignment
|
|
8905
|
-
}, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8906
|
-
method: "typia.assert",
|
|
8907
|
-
path: _path + ".fontname",
|
|
8908
|
-
expected: "(string | undefined)",
|
|
8909
|
-
value: input.fontname
|
|
8910
|
-
}, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8911
|
-
method: "typia.assert",
|
|
8912
|
-
path: _path + ".fontsize",
|
|
8913
|
-
expected: "(string | undefined)",
|
|
8914
|
-
value: input.fontsize
|
|
8915
|
-
}, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8916
|
-
method: "typia.assert",
|
|
8917
|
-
path: _path + ".primaryColour",
|
|
8918
|
-
expected: "(string | undefined)",
|
|
8919
|
-
value: input.primaryColour
|
|
8920
|
-
}, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8921
|
-
method: "typia.assert",
|
|
8922
|
-
path: _path + ".secondaryColour",
|
|
8923
|
-
expected: "(string | undefined)",
|
|
8924
|
-
value: input.secondaryColour
|
|
8925
|
-
}, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8926
|
-
method: "typia.assert",
|
|
8927
|
-
path: _path + ".outlineColour",
|
|
8928
|
-
expected: "(string | undefined)",
|
|
8929
|
-
value: input.outlineColour
|
|
8930
|
-
}, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8931
|
-
method: "typia.assert",
|
|
8932
|
-
path: _path + ".backColour",
|
|
8933
|
-
expected: "(string | undefined)",
|
|
8934
|
-
value: input.backColour
|
|
8935
|
-
}, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8936
|
-
method: "typia.assert",
|
|
8937
|
-
path: _path + ".bold",
|
|
8938
|
-
expected: "(string | undefined)",
|
|
8939
|
-
value: input.bold
|
|
8940
|
-
}, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8839
|
+
case ":template": {
|
|
8840
|
+
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 => {
|
|
8841
|
+
const value = input[key];
|
|
8842
|
+
if (undefined === value)
|
|
8843
|
+
return true;
|
|
8844
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
8845
|
+
}); 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 => {
|
|
8846
|
+
const value = input[key];
|
|
8847
|
+
if (undefined === value)
|
|
8848
|
+
return true;
|
|
8849
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
8850
|
+
}); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
8851
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
8852
|
+
return true;
|
|
8853
|
+
const value = input[key];
|
|
8854
|
+
if (undefined === value)
|
|
8855
|
+
return true;
|
|
8856
|
+
return true;
|
|
8857
|
+
}); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8941
8858
|
method: "typia.assert",
|
|
8942
|
-
path: _path + ".
|
|
8859
|
+
path: _path + ".source",
|
|
8943
8860
|
expected: "(string | undefined)",
|
|
8944
|
-
value: input.
|
|
8945
|
-
}, _errorFactory)) && (undefined === input.
|
|
8861
|
+
value: input.source
|
|
8862
|
+
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8946
8863
|
method: "typia.assert",
|
|
8947
|
-
path: _path + ".
|
|
8864
|
+
path: _path + ".controller",
|
|
8948
8865
|
expected: "(string | undefined)",
|
|
8949
|
-
value: input.
|
|
8950
|
-
}, _errorFactory)) && (undefined === input.
|
|
8866
|
+
value: input.controller
|
|
8867
|
+
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8951
8868
|
method: "typia.assert",
|
|
8952
|
-
path: _path + ".
|
|
8869
|
+
path: _path + ".type",
|
|
8953
8870
|
expected: "(string | undefined)",
|
|
8954
|
-
value: input.
|
|
8955
|
-
}, _errorFactory))
|
|
8956
|
-
if (false === __is(input)) {
|
|
8957
|
-
_errorFactory = errorFactory;
|
|
8958
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8959
|
-
method: "typia.assert",
|
|
8960
|
-
path: _path + "",
|
|
8961
|
-
expected: "EventRecord",
|
|
8962
|
-
value: input
|
|
8963
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8964
|
-
method: "typia.assert",
|
|
8965
|
-
path: _path + "",
|
|
8966
|
-
expected: "EventRecord",
|
|
8967
|
-
value: input
|
|
8968
|
-
}, _errorFactory))(input, "$input", true);
|
|
8969
|
-
}
|
|
8970
|
-
return input;
|
|
8971
|
-
}; })()(input);
|
|
8972
|
-
}
|
|
8973
|
-
case ":event._template?": {
|
|
8974
|
-
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, {
|
|
8871
|
+
value: input.type
|
|
8872
|
+
}, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8975
8873
|
method: "typia.assert",
|
|
8976
8874
|
path: _path + ".mixin",
|
|
8977
8875
|
expected: "(Array<string> | undefined)",
|
|
8978
8876
|
value: input.mixin
|
|
8979
|
-
}, _errorFactory)) && input.mixin.every((elem,
|
|
8877
|
+
}, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8980
8878
|
method: "typia.assert",
|
|
8981
|
-
path: _path + ".mixin[" +
|
|
8879
|
+
path: _path + ".mixin[" + _index6 + "]",
|
|
8982
8880
|
expected: "string",
|
|
8983
8881
|
value: elem
|
|
8984
8882
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -8989,112 +8887,1021 @@ function _assertDomainRecord(domain, input) {
|
|
|
8989
8887
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8990
8888
|
method: "typia.assert",
|
|
8991
8889
|
path: _path + ".properties",
|
|
8992
|
-
expected: "(
|
|
8890
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
8993
8891
|
value: input.properties
|
|
8994
8892
|
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8995
8893
|
method: "typia.assert",
|
|
8996
8894
|
path: _path + ".properties",
|
|
8997
|
-
expected: "(
|
|
8895
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
8998
8896
|
value: input.properties
|
|
8999
|
-
}, _errorFactory))
|
|
9000
|
-
method: "typia.assert",
|
|
9001
|
-
path: _path + ".layout",
|
|
9002
|
-
expected: "(__type | undefined)",
|
|
9003
|
-
value: input.layout
|
|
9004
|
-
}, _errorFactory)) && _ao2(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9005
|
-
method: "typia.assert",
|
|
9006
|
-
path: _path + ".layout",
|
|
9007
|
-
expected: "(__type | undefined)",
|
|
9008
|
-
value: input.layout
|
|
9009
|
-
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9010
|
-
method: "typia.assert",
|
|
9011
|
-
path: _path + ".controller",
|
|
9012
|
-
expected: "(string | undefined)",
|
|
9013
|
-
value: input.controller
|
|
9014
|
-
}, _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, {
|
|
9015
|
-
method: "typia.assert",
|
|
9016
|
-
path: _path + ".title",
|
|
9017
|
-
expected: "(string | undefined)",
|
|
9018
|
-
value: input.title
|
|
9019
|
-
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9020
|
-
if (false === __is(input)) {
|
|
9021
|
-
_errorFactory = errorFactory;
|
|
9022
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9023
|
-
method: "typia.assert",
|
|
9024
|
-
path: _path + "",
|
|
9025
|
-
expected: "EventTemplateRecord",
|
|
9026
|
-
value: input
|
|
9027
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9028
|
-
method: "typia.assert",
|
|
9029
|
-
path: _path + "",
|
|
9030
|
-
expected: "EventTemplateRecord",
|
|
9031
|
-
value: input
|
|
9032
|
-
}, _errorFactory))(input, "$input", true);
|
|
9033
|
-
}
|
|
9034
|
-
return input;
|
|
9035
|
-
}; })()(input);
|
|
9036
|
-
}
|
|
9037
|
-
case ":event.overlay?": {
|
|
9038
|
-
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
9039
|
-
const value = input[key];
|
|
9040
|
-
if (undefined === value)
|
|
9041
|
-
return true;
|
|
9042
|
-
return "object" === typeof value && null !== value && _io1(value);
|
|
9043
|
-
}); 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 => {
|
|
9044
|
-
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9045
|
-
return true;
|
|
9046
|
-
const value = input[key];
|
|
9047
|
-
if (undefined === value)
|
|
9048
|
-
return true;
|
|
9049
|
-
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)));
|
|
9050
|
-
}); const _io3 = input => Object.keys(input).every(key => {
|
|
9051
|
-
const value = input[key];
|
|
9052
|
-
if (undefined === value)
|
|
9053
|
-
return true;
|
|
9054
|
-
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)));
|
|
9055
|
-
}); 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 => {
|
|
8897
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9056
8898
|
const value = input[key];
|
|
9057
8899
|
if (undefined === value)
|
|
9058
8900
|
return true;
|
|
9059
|
-
return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8901
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9060
8902
|
method: "typia.assert",
|
|
9061
8903
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9062
|
-
expected: "
|
|
8904
|
+
expected: "TemplateProperty",
|
|
9063
8905
|
value: value
|
|
9064
|
-
}, _errorFactory)) &&
|
|
8906
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9065
8907
|
method: "typia.assert",
|
|
9066
8908
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9067
|
-
expected: "
|
|
8909
|
+
expected: "TemplateProperty",
|
|
9068
8910
|
value: value
|
|
9069
8911
|
}, _errorFactory);
|
|
9070
|
-
}); const
|
|
9071
|
-
method: "typia.assert",
|
|
9072
|
-
path: _path + ".data",
|
|
9073
|
-
expected: "EventPropsRecord",
|
|
9074
|
-
value: input.data
|
|
9075
|
-
}, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9076
|
-
method: "typia.assert",
|
|
9077
|
-
path: _path + ".data",
|
|
9078
|
-
expected: "EventPropsRecord",
|
|
9079
|
-
value: input.data
|
|
9080
|
-
}, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8912
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9081
8913
|
method: "typia.assert",
|
|
9082
|
-
path: _path + ".
|
|
8914
|
+
path: _path + ".path",
|
|
9083
8915
|
expected: "(string | undefined)",
|
|
9084
|
-
value: input.
|
|
9085
|
-
}, _errorFactory)) && (undefined === input.
|
|
8916
|
+
value: input.path
|
|
8917
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9086
8918
|
method: "typia.assert",
|
|
9087
|
-
path: _path + ".
|
|
9088
|
-
expected: "(
|
|
9089
|
-
value: input.
|
|
9090
|
-
}, _errorFactory)) && (
|
|
8919
|
+
path: _path + ".render",
|
|
8920
|
+
expected: "(__type | undefined)",
|
|
8921
|
+
value: input.render
|
|
8922
|
+
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9091
8923
|
method: "typia.assert",
|
|
9092
|
-
path: _path + ".
|
|
9093
|
-
expected: "(
|
|
9094
|
-
value: input.
|
|
9095
|
-
}, _errorFactory)) && (undefined === input.
|
|
8924
|
+
path: _path + ".render",
|
|
8925
|
+
expected: "(__type | undefined)",
|
|
8926
|
+
value: input.render
|
|
8927
|
+
}, _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, {
|
|
9096
8928
|
method: "typia.assert",
|
|
9097
|
-
path: _path + ".
|
|
8929
|
+
path: _path + ".type",
|
|
8930
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
8931
|
+
value: input.type
|
|
8932
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8933
|
+
method: "typia.assert",
|
|
8934
|
+
path: _path + ".title",
|
|
8935
|
+
expected: "(string | undefined)",
|
|
8936
|
+
value: input.title
|
|
8937
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8938
|
+
method: "typia.assert",
|
|
8939
|
+
path: _path + ".description",
|
|
8940
|
+
expected: "(string | undefined)",
|
|
8941
|
+
value: input.description
|
|
8942
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8943
|
+
method: "typia.assert",
|
|
8944
|
+
path: _path + ".required",
|
|
8945
|
+
expected: "(boolean | undefined)",
|
|
8946
|
+
value: input.required
|
|
8947
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8948
|
+
method: "typia.assert",
|
|
8949
|
+
path: _path + ".oneOf",
|
|
8950
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8951
|
+
value: input.oneOf
|
|
8952
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8953
|
+
method: "typia.assert",
|
|
8954
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
8955
|
+
expected: "SchemaProperty<unknown>",
|
|
8956
|
+
value: elem
|
|
8957
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8958
|
+
method: "typia.assert",
|
|
8959
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
8960
|
+
expected: "SchemaProperty<unknown>",
|
|
8961
|
+
value: elem
|
|
8962
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8963
|
+
method: "typia.assert",
|
|
8964
|
+
path: _path + ".oneOf",
|
|
8965
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8966
|
+
value: input.oneOf
|
|
8967
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8968
|
+
method: "typia.assert",
|
|
8969
|
+
path: _path + ".anyOf",
|
|
8970
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8971
|
+
value: input.anyOf
|
|
8972
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8973
|
+
method: "typia.assert",
|
|
8974
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
8975
|
+
expected: "SchemaProperty<unknown>",
|
|
8976
|
+
value: elem
|
|
8977
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8978
|
+
method: "typia.assert",
|
|
8979
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
8980
|
+
expected: "SchemaProperty<unknown>",
|
|
8981
|
+
value: elem
|
|
8982
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8983
|
+
method: "typia.assert",
|
|
8984
|
+
path: _path + ".anyOf",
|
|
8985
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8986
|
+
value: input.anyOf
|
|
8987
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8988
|
+
method: "typia.assert",
|
|
8989
|
+
path: _path + "[\"enum\"]",
|
|
8990
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
8991
|
+
value: input["enum"]
|
|
8992
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8993
|
+
method: "typia.assert",
|
|
8994
|
+
path: _path + ".minItems",
|
|
8995
|
+
expected: "(number | undefined)",
|
|
8996
|
+
value: input.minItems
|
|
8997
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8998
|
+
method: "typia.assert",
|
|
8999
|
+
path: _path + ".maxItems",
|
|
9000
|
+
expected: "(number | undefined)",
|
|
9001
|
+
value: input.maxItems
|
|
9002
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9003
|
+
method: "typia.assert",
|
|
9004
|
+
path: _path + ".items",
|
|
9005
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9006
|
+
value: input.items
|
|
9007
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9008
|
+
method: "typia.assert",
|
|
9009
|
+
path: _path + ".items",
|
|
9010
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9011
|
+
value: input.items
|
|
9012
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9013
|
+
method: "typia.assert",
|
|
9014
|
+
path: _path + ".properties",
|
|
9015
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9016
|
+
value: input.properties
|
|
9017
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9018
|
+
method: "typia.assert",
|
|
9019
|
+
path: _path + ".properties",
|
|
9020
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9021
|
+
value: input.properties
|
|
9022
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9023
|
+
method: "typia.assert",
|
|
9024
|
+
path: _path + ".widget",
|
|
9025
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9026
|
+
value: input.widget
|
|
9027
|
+
}, _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, {
|
|
9028
|
+
method: "typia.assert",
|
|
9029
|
+
path: _path + ".widget",
|
|
9030
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9031
|
+
value: input.widget
|
|
9032
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9033
|
+
method: "typia.assert",
|
|
9034
|
+
path: _path + ".widget",
|
|
9035
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9036
|
+
value: input.widget
|
|
9037
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9038
|
+
method: "typia.assert",
|
|
9039
|
+
path: _path + ".placeholder",
|
|
9040
|
+
expected: "(string | undefined)",
|
|
9041
|
+
value: input.placeholder
|
|
9042
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9043
|
+
method: "typia.assert",
|
|
9044
|
+
path: _path + ".helpText",
|
|
9045
|
+
expected: "(string | undefined)",
|
|
9046
|
+
value: input.helpText
|
|
9047
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9048
|
+
method: "typia.assert",
|
|
9049
|
+
path: _path + ".invalid",
|
|
9050
|
+
expected: "(boolean | undefined)",
|
|
9051
|
+
value: input.invalid
|
|
9052
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9053
|
+
method: "typia.assert",
|
|
9054
|
+
path: _path + ".type",
|
|
9055
|
+
expected: "\"image\"",
|
|
9056
|
+
value: input.type
|
|
9057
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9058
|
+
method: "typia.assert",
|
|
9059
|
+
path: _path + ".profile",
|
|
9060
|
+
expected: "(__type.o1 | undefined)",
|
|
9061
|
+
value: input.profile
|
|
9062
|
+
}, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9063
|
+
method: "typia.assert",
|
|
9064
|
+
path: _path + ".profile",
|
|
9065
|
+
expected: "(__type.o1 | undefined)",
|
|
9066
|
+
value: input.profile
|
|
9067
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9068
|
+
method: "typia.assert",
|
|
9069
|
+
path: _path + ".format",
|
|
9070
|
+
expected: "(string | undefined)",
|
|
9071
|
+
value: input.format
|
|
9072
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9073
|
+
method: "typia.assert",
|
|
9074
|
+
path: _path + ".video",
|
|
9075
|
+
expected: "(__type.o2 | undefined)",
|
|
9076
|
+
value: input.video
|
|
9077
|
+
}, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9078
|
+
method: "typia.assert",
|
|
9079
|
+
path: _path + ".video",
|
|
9080
|
+
expected: "(__type.o2 | undefined)",
|
|
9081
|
+
value: input.video
|
|
9082
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9083
|
+
method: "typia.assert",
|
|
9084
|
+
path: _path + ".width",
|
|
9085
|
+
expected: "number",
|
|
9086
|
+
value: input.width
|
|
9087
|
+
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9088
|
+
method: "typia.assert",
|
|
9089
|
+
path: _path + ".height",
|
|
9090
|
+
expected: "number",
|
|
9091
|
+
value: input.height
|
|
9092
|
+
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9093
|
+
method: "typia.assert",
|
|
9094
|
+
path: _path + ".fit",
|
|
9095
|
+
expected: "\"cover\"",
|
|
9096
|
+
value: input.fit
|
|
9097
|
+
}, _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, {
|
|
9098
|
+
method: "typia.assert",
|
|
9099
|
+
path: _path + ".type",
|
|
9100
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
9101
|
+
value: input.type
|
|
9102
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9103
|
+
method: "typia.assert",
|
|
9104
|
+
path: _path + ".title",
|
|
9105
|
+
expected: "(string | undefined)",
|
|
9106
|
+
value: input.title
|
|
9107
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9108
|
+
method: "typia.assert",
|
|
9109
|
+
path: _path + ".description",
|
|
9110
|
+
expected: "(string | undefined)",
|
|
9111
|
+
value: input.description
|
|
9112
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9113
|
+
method: "typia.assert",
|
|
9114
|
+
path: _path + ".required",
|
|
9115
|
+
expected: "(boolean | undefined)",
|
|
9116
|
+
value: input.required
|
|
9117
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9118
|
+
method: "typia.assert",
|
|
9119
|
+
path: _path + ".oneOf",
|
|
9120
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9121
|
+
value: input.oneOf
|
|
9122
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9123
|
+
method: "typia.assert",
|
|
9124
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9125
|
+
expected: "SchemaProperty<unknown>",
|
|
9126
|
+
value: elem
|
|
9127
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9128
|
+
method: "typia.assert",
|
|
9129
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9130
|
+
expected: "SchemaProperty<unknown>",
|
|
9131
|
+
value: elem
|
|
9132
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9133
|
+
method: "typia.assert",
|
|
9134
|
+
path: _path + ".oneOf",
|
|
9135
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9136
|
+
value: input.oneOf
|
|
9137
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9138
|
+
method: "typia.assert",
|
|
9139
|
+
path: _path + ".anyOf",
|
|
9140
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9141
|
+
value: input.anyOf
|
|
9142
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9143
|
+
method: "typia.assert",
|
|
9144
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9145
|
+
expected: "SchemaProperty<unknown>",
|
|
9146
|
+
value: elem
|
|
9147
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9148
|
+
method: "typia.assert",
|
|
9149
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9150
|
+
expected: "SchemaProperty<unknown>",
|
|
9151
|
+
value: elem
|
|
9152
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9153
|
+
method: "typia.assert",
|
|
9154
|
+
path: _path + ".anyOf",
|
|
9155
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9156
|
+
value: input.anyOf
|
|
9157
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9158
|
+
method: "typia.assert",
|
|
9159
|
+
path: _path + "[\"enum\"]",
|
|
9160
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
9161
|
+
value: input["enum"]
|
|
9162
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9163
|
+
method: "typia.assert",
|
|
9164
|
+
path: _path + ".minItems",
|
|
9165
|
+
expected: "(number | undefined)",
|
|
9166
|
+
value: input.minItems
|
|
9167
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9168
|
+
method: "typia.assert",
|
|
9169
|
+
path: _path + ".maxItems",
|
|
9170
|
+
expected: "(number | undefined)",
|
|
9171
|
+
value: input.maxItems
|
|
9172
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9173
|
+
method: "typia.assert",
|
|
9174
|
+
path: _path + ".items",
|
|
9175
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9176
|
+
value: input.items
|
|
9177
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9178
|
+
method: "typia.assert",
|
|
9179
|
+
path: _path + ".items",
|
|
9180
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9181
|
+
value: input.items
|
|
9182
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9183
|
+
method: "typia.assert",
|
|
9184
|
+
path: _path + ".properties",
|
|
9185
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9186
|
+
value: input.properties
|
|
9187
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9188
|
+
method: "typia.assert",
|
|
9189
|
+
path: _path + ".properties",
|
|
9190
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9191
|
+
value: input.properties
|
|
9192
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9193
|
+
method: "typia.assert",
|
|
9194
|
+
path: _path + ".widget",
|
|
9195
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9196
|
+
value: input.widget
|
|
9197
|
+
}, _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, {
|
|
9198
|
+
method: "typia.assert",
|
|
9199
|
+
path: _path + ".widget",
|
|
9200
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9201
|
+
value: input.widget
|
|
9202
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9203
|
+
method: "typia.assert",
|
|
9204
|
+
path: _path + ".widget",
|
|
9205
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9206
|
+
value: input.widget
|
|
9207
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9208
|
+
method: "typia.assert",
|
|
9209
|
+
path: _path + ".placeholder",
|
|
9210
|
+
expected: "(string | undefined)",
|
|
9211
|
+
value: input.placeholder
|
|
9212
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9213
|
+
method: "typia.assert",
|
|
9214
|
+
path: _path + ".helpText",
|
|
9215
|
+
expected: "(string | undefined)",
|
|
9216
|
+
value: input.helpText
|
|
9217
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9218
|
+
method: "typia.assert",
|
|
9219
|
+
path: _path + ".invalid",
|
|
9220
|
+
expected: "(boolean | undefined)",
|
|
9221
|
+
value: input.invalid
|
|
9222
|
+
}, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9223
|
+
const value = input[key];
|
|
9224
|
+
if (undefined === value)
|
|
9225
|
+
return true;
|
|
9226
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9227
|
+
method: "typia.assert",
|
|
9228
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9229
|
+
expected: "SchemaProperty<unknown>",
|
|
9230
|
+
value: value
|
|
9231
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9232
|
+
method: "typia.assert",
|
|
9233
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9234
|
+
expected: "SchemaProperty<unknown>",
|
|
9235
|
+
value: value
|
|
9236
|
+
}, _errorFactory);
|
|
9237
|
+
}); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9238
|
+
method: "typia.assert",
|
|
9239
|
+
path: _path + ".type",
|
|
9240
|
+
expected: "(string | undefined)",
|
|
9241
|
+
value: input.type
|
|
9242
|
+
}, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9243
|
+
method: "typia.assert",
|
|
9244
|
+
path: _path + ".readOnly",
|
|
9245
|
+
expected: "(boolean | undefined)",
|
|
9246
|
+
value: input.readOnly
|
|
9247
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9248
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9249
|
+
return true;
|
|
9250
|
+
const value = input[key];
|
|
9251
|
+
if (undefined === value)
|
|
9252
|
+
return true;
|
|
9253
|
+
return true;
|
|
9254
|
+
})); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9255
|
+
if (false === __is(input)) {
|
|
9256
|
+
_errorFactory = errorFactory;
|
|
9257
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9258
|
+
method: "typia.assert",
|
|
9259
|
+
path: _path + "",
|
|
9260
|
+
expected: "TemplateRecord",
|
|
9261
|
+
value: input
|
|
9262
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9263
|
+
method: "typia.assert",
|
|
9264
|
+
path: _path + "",
|
|
9265
|
+
expected: "TemplateRecord",
|
|
9266
|
+
value: input
|
|
9267
|
+
}, _errorFactory))(input, "$input", true);
|
|
9268
|
+
}
|
|
9269
|
+
return input;
|
|
9270
|
+
}; })()(input);
|
|
9271
|
+
}
|
|
9272
|
+
case ":event": {
|
|
9273
|
+
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, {
|
|
9274
|
+
method: "typia.assert",
|
|
9275
|
+
path: _path + ".start",
|
|
9276
|
+
expected: "(null | number | undefined)",
|
|
9277
|
+
value: input.start
|
|
9278
|
+
}, _errorFactory)) && (null === input.end || undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9279
|
+
method: "typia.assert",
|
|
9280
|
+
path: _path + ".end",
|
|
9281
|
+
expected: "(null | number | undefined)",
|
|
9282
|
+
value: input.end
|
|
9283
|
+
}, _errorFactory)) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9284
|
+
method: "typia.assert",
|
|
9285
|
+
path: _path + ".duration",
|
|
9286
|
+
expected: "(null | number | undefined)",
|
|
9287
|
+
value: input.duration
|
|
9288
|
+
}, _errorFactory)) && (undefined === input.position || "string" === typeof input.position || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9289
|
+
method: "typia.assert",
|
|
9290
|
+
path: _path + ".position",
|
|
9291
|
+
expected: "(string | undefined)",
|
|
9292
|
+
value: input.position
|
|
9293
|
+
}, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9294
|
+
method: "typia.assert",
|
|
9295
|
+
path: _path + ".text",
|
|
9296
|
+
expected: "(string | undefined)",
|
|
9297
|
+
value: input.text
|
|
9298
|
+
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9299
|
+
method: "typia.assert",
|
|
9300
|
+
path: _path + ".lang",
|
|
9301
|
+
expected: "(string | undefined)",
|
|
9302
|
+
value: input.lang
|
|
9303
|
+
}, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9304
|
+
method: "typia.assert",
|
|
9305
|
+
path: _path + ".style",
|
|
9306
|
+
expected: "(string | undefined)",
|
|
9307
|
+
value: input.style
|
|
9308
|
+
}, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9309
|
+
method: "typia.assert",
|
|
9310
|
+
path: _path + ".styleOverrides",
|
|
9311
|
+
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
9312
|
+
value: input.styleOverrides
|
|
9313
|
+
}, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9314
|
+
method: "typia.assert",
|
|
9315
|
+
path: _path + ".styleOverrides",
|
|
9316
|
+
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
9317
|
+
value: input.styleOverrides
|
|
9318
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9319
|
+
method: "typia.assert",
|
|
9320
|
+
path: _path + ".marginL",
|
|
9321
|
+
expected: "(string | undefined)",
|
|
9322
|
+
value: input.marginL
|
|
9323
|
+
}, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9324
|
+
method: "typia.assert",
|
|
9325
|
+
path: _path + ".marginR",
|
|
9326
|
+
expected: "(string | undefined)",
|
|
9327
|
+
value: input.marginR
|
|
9328
|
+
}, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9329
|
+
method: "typia.assert",
|
|
9330
|
+
path: _path + ".marginV",
|
|
9331
|
+
expected: "(string | undefined)",
|
|
9332
|
+
value: input.marginV
|
|
9333
|
+
}, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9334
|
+
method: "typia.assert",
|
|
9335
|
+
path: _path + ".alignment",
|
|
9336
|
+
expected: "(string | undefined)",
|
|
9337
|
+
value: input.alignment
|
|
9338
|
+
}, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9339
|
+
method: "typia.assert",
|
|
9340
|
+
path: _path + ".fontname",
|
|
9341
|
+
expected: "(string | undefined)",
|
|
9342
|
+
value: input.fontname
|
|
9343
|
+
}, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9344
|
+
method: "typia.assert",
|
|
9345
|
+
path: _path + ".fontsize",
|
|
9346
|
+
expected: "(string | undefined)",
|
|
9347
|
+
value: input.fontsize
|
|
9348
|
+
}, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9349
|
+
method: "typia.assert",
|
|
9350
|
+
path: _path + ".primaryColour",
|
|
9351
|
+
expected: "(string | undefined)",
|
|
9352
|
+
value: input.primaryColour
|
|
9353
|
+
}, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9354
|
+
method: "typia.assert",
|
|
9355
|
+
path: _path + ".secondaryColour",
|
|
9356
|
+
expected: "(string | undefined)",
|
|
9357
|
+
value: input.secondaryColour
|
|
9358
|
+
}, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9359
|
+
method: "typia.assert",
|
|
9360
|
+
path: _path + ".outlineColour",
|
|
9361
|
+
expected: "(string | undefined)",
|
|
9362
|
+
value: input.outlineColour
|
|
9363
|
+
}, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9364
|
+
method: "typia.assert",
|
|
9365
|
+
path: _path + ".backColour",
|
|
9366
|
+
expected: "(string | undefined)",
|
|
9367
|
+
value: input.backColour
|
|
9368
|
+
}, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9369
|
+
method: "typia.assert",
|
|
9370
|
+
path: _path + ".bold",
|
|
9371
|
+
expected: "(string | undefined)",
|
|
9372
|
+
value: input.bold
|
|
9373
|
+
}, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9374
|
+
method: "typia.assert",
|
|
9375
|
+
path: _path + ".italic",
|
|
9376
|
+
expected: "(string | undefined)",
|
|
9377
|
+
value: input.italic
|
|
9378
|
+
}, _errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9379
|
+
method: "typia.assert",
|
|
9380
|
+
path: _path + ".underline",
|
|
9381
|
+
expected: "(string | undefined)",
|
|
9382
|
+
value: input.underline
|
|
9383
|
+
}, _errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9384
|
+
method: "typia.assert",
|
|
9385
|
+
path: _path + ".strikeOut",
|
|
9386
|
+
expected: "(string | undefined)",
|
|
9387
|
+
value: input.strikeOut
|
|
9388
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9389
|
+
if (false === __is(input)) {
|
|
9390
|
+
_errorFactory = errorFactory;
|
|
9391
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9392
|
+
method: "typia.assert",
|
|
9393
|
+
path: _path + "",
|
|
9394
|
+
expected: "EventRecord",
|
|
9395
|
+
value: input
|
|
9396
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9397
|
+
method: "typia.assert",
|
|
9398
|
+
path: _path + "",
|
|
9399
|
+
expected: "EventRecord",
|
|
9400
|
+
value: input
|
|
9401
|
+
}, _errorFactory))(input, "$input", true);
|
|
9402
|
+
}
|
|
9403
|
+
return input;
|
|
9404
|
+
}; })()(input);
|
|
9405
|
+
}
|
|
9406
|
+
case ":event._template?": {
|
|
9407
|
+
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 => {
|
|
9408
|
+
const value = input[key];
|
|
9409
|
+
if (undefined === value)
|
|
9410
|
+
return true;
|
|
9411
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
9412
|
+
}); 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 => {
|
|
9413
|
+
const value = input[key];
|
|
9414
|
+
if (undefined === value)
|
|
9415
|
+
return true;
|
|
9416
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
9417
|
+
}); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
9418
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9419
|
+
return true;
|
|
9420
|
+
const value = input[key];
|
|
9421
|
+
if (undefined === value)
|
|
9422
|
+
return true;
|
|
9423
|
+
return true;
|
|
9424
|
+
}); 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, {
|
|
9425
|
+
method: "typia.assert",
|
|
9426
|
+
path: _path + ".mixin",
|
|
9427
|
+
expected: "(Array<string> | undefined)",
|
|
9428
|
+
value: input.mixin
|
|
9429
|
+
}, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9430
|
+
method: "typia.assert",
|
|
9431
|
+
path: _path + ".mixin[" + _index6 + "]",
|
|
9432
|
+
expected: "string",
|
|
9433
|
+
value: elem
|
|
9434
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9435
|
+
method: "typia.assert",
|
|
9436
|
+
path: _path + ".mixin",
|
|
9437
|
+
expected: "(Array<string> | undefined)",
|
|
9438
|
+
value: input.mixin
|
|
9439
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9440
|
+
method: "typia.assert",
|
|
9441
|
+
path: _path + ".properties",
|
|
9442
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9443
|
+
value: input.properties
|
|
9444
|
+
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9445
|
+
method: "typia.assert",
|
|
9446
|
+
path: _path + ".properties",
|
|
9447
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9448
|
+
value: input.properties
|
|
9449
|
+
}, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9450
|
+
method: "typia.assert",
|
|
9451
|
+
path: _path + ".layout",
|
|
9452
|
+
expected: "(__type.o3 | undefined)",
|
|
9453
|
+
value: input.layout
|
|
9454
|
+
}, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9455
|
+
method: "typia.assert",
|
|
9456
|
+
path: _path + ".layout",
|
|
9457
|
+
expected: "(__type.o3 | undefined)",
|
|
9458
|
+
value: input.layout
|
|
9459
|
+
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9460
|
+
method: "typia.assert",
|
|
9461
|
+
path: _path + ".controller",
|
|
9462
|
+
expected: "(string | undefined)",
|
|
9463
|
+
value: input.controller
|
|
9464
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9465
|
+
const value = input[key];
|
|
9466
|
+
if (undefined === value)
|
|
9467
|
+
return true;
|
|
9468
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9469
|
+
method: "typia.assert",
|
|
9470
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9471
|
+
expected: "TemplateProperty",
|
|
9472
|
+
value: value
|
|
9473
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9474
|
+
method: "typia.assert",
|
|
9475
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9476
|
+
expected: "TemplateProperty",
|
|
9477
|
+
value: value
|
|
9478
|
+
}, _errorFactory);
|
|
9479
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9480
|
+
method: "typia.assert",
|
|
9481
|
+
path: _path + ".path",
|
|
9482
|
+
expected: "(string | undefined)",
|
|
9483
|
+
value: input.path
|
|
9484
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9485
|
+
method: "typia.assert",
|
|
9486
|
+
path: _path + ".render",
|
|
9487
|
+
expected: "(__type | undefined)",
|
|
9488
|
+
value: input.render
|
|
9489
|
+
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9490
|
+
method: "typia.assert",
|
|
9491
|
+
path: _path + ".render",
|
|
9492
|
+
expected: "(__type | undefined)",
|
|
9493
|
+
value: input.render
|
|
9494
|
+
}, _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, {
|
|
9495
|
+
method: "typia.assert",
|
|
9496
|
+
path: _path + ".type",
|
|
9497
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
9498
|
+
value: input.type
|
|
9499
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9500
|
+
method: "typia.assert",
|
|
9501
|
+
path: _path + ".title",
|
|
9502
|
+
expected: "(string | undefined)",
|
|
9503
|
+
value: input.title
|
|
9504
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9505
|
+
method: "typia.assert",
|
|
9506
|
+
path: _path + ".description",
|
|
9507
|
+
expected: "(string | undefined)",
|
|
9508
|
+
value: input.description
|
|
9509
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9510
|
+
method: "typia.assert",
|
|
9511
|
+
path: _path + ".required",
|
|
9512
|
+
expected: "(boolean | undefined)",
|
|
9513
|
+
value: input.required
|
|
9514
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9515
|
+
method: "typia.assert",
|
|
9516
|
+
path: _path + ".oneOf",
|
|
9517
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9518
|
+
value: input.oneOf
|
|
9519
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9520
|
+
method: "typia.assert",
|
|
9521
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
9522
|
+
expected: "SchemaProperty<unknown>",
|
|
9523
|
+
value: elem
|
|
9524
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9525
|
+
method: "typia.assert",
|
|
9526
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
9527
|
+
expected: "SchemaProperty<unknown>",
|
|
9528
|
+
value: elem
|
|
9529
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9530
|
+
method: "typia.assert",
|
|
9531
|
+
path: _path + ".oneOf",
|
|
9532
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9533
|
+
value: input.oneOf
|
|
9534
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9535
|
+
method: "typia.assert",
|
|
9536
|
+
path: _path + ".anyOf",
|
|
9537
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9538
|
+
value: input.anyOf
|
|
9539
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9540
|
+
method: "typia.assert",
|
|
9541
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
9542
|
+
expected: "SchemaProperty<unknown>",
|
|
9543
|
+
value: elem
|
|
9544
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9545
|
+
method: "typia.assert",
|
|
9546
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
9547
|
+
expected: "SchemaProperty<unknown>",
|
|
9548
|
+
value: elem
|
|
9549
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9550
|
+
method: "typia.assert",
|
|
9551
|
+
path: _path + ".anyOf",
|
|
9552
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9553
|
+
value: input.anyOf
|
|
9554
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9555
|
+
method: "typia.assert",
|
|
9556
|
+
path: _path + "[\"enum\"]",
|
|
9557
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
9558
|
+
value: input["enum"]
|
|
9559
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9560
|
+
method: "typia.assert",
|
|
9561
|
+
path: _path + ".minItems",
|
|
9562
|
+
expected: "(number | undefined)",
|
|
9563
|
+
value: input.minItems
|
|
9564
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9565
|
+
method: "typia.assert",
|
|
9566
|
+
path: _path + ".maxItems",
|
|
9567
|
+
expected: "(number | undefined)",
|
|
9568
|
+
value: input.maxItems
|
|
9569
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9570
|
+
method: "typia.assert",
|
|
9571
|
+
path: _path + ".items",
|
|
9572
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9573
|
+
value: input.items
|
|
9574
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9575
|
+
method: "typia.assert",
|
|
9576
|
+
path: _path + ".items",
|
|
9577
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9578
|
+
value: input.items
|
|
9579
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9580
|
+
method: "typia.assert",
|
|
9581
|
+
path: _path + ".properties",
|
|
9582
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9583
|
+
value: input.properties
|
|
9584
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9585
|
+
method: "typia.assert",
|
|
9586
|
+
path: _path + ".properties",
|
|
9587
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9588
|
+
value: input.properties
|
|
9589
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9590
|
+
method: "typia.assert",
|
|
9591
|
+
path: _path + ".widget",
|
|
9592
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9593
|
+
value: input.widget
|
|
9594
|
+
}, _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, {
|
|
9595
|
+
method: "typia.assert",
|
|
9596
|
+
path: _path + ".widget",
|
|
9597
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9598
|
+
value: input.widget
|
|
9599
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9600
|
+
method: "typia.assert",
|
|
9601
|
+
path: _path + ".widget",
|
|
9602
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9603
|
+
value: input.widget
|
|
9604
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9605
|
+
method: "typia.assert",
|
|
9606
|
+
path: _path + ".placeholder",
|
|
9607
|
+
expected: "(string | undefined)",
|
|
9608
|
+
value: input.placeholder
|
|
9609
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9610
|
+
method: "typia.assert",
|
|
9611
|
+
path: _path + ".helpText",
|
|
9612
|
+
expected: "(string | undefined)",
|
|
9613
|
+
value: input.helpText
|
|
9614
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9615
|
+
method: "typia.assert",
|
|
9616
|
+
path: _path + ".invalid",
|
|
9617
|
+
expected: "(boolean | undefined)",
|
|
9618
|
+
value: input.invalid
|
|
9619
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9620
|
+
method: "typia.assert",
|
|
9621
|
+
path: _path + ".type",
|
|
9622
|
+
expected: "\"image\"",
|
|
9623
|
+
value: input.type
|
|
9624
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9625
|
+
method: "typia.assert",
|
|
9626
|
+
path: _path + ".profile",
|
|
9627
|
+
expected: "(__type.o1 | undefined)",
|
|
9628
|
+
value: input.profile
|
|
9629
|
+
}, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9630
|
+
method: "typia.assert",
|
|
9631
|
+
path: _path + ".profile",
|
|
9632
|
+
expected: "(__type.o1 | undefined)",
|
|
9633
|
+
value: input.profile
|
|
9634
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9635
|
+
method: "typia.assert",
|
|
9636
|
+
path: _path + ".format",
|
|
9637
|
+
expected: "(string | undefined)",
|
|
9638
|
+
value: input.format
|
|
9639
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9640
|
+
method: "typia.assert",
|
|
9641
|
+
path: _path + ".video",
|
|
9642
|
+
expected: "(__type.o2 | undefined)",
|
|
9643
|
+
value: input.video
|
|
9644
|
+
}, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9645
|
+
method: "typia.assert",
|
|
9646
|
+
path: _path + ".video",
|
|
9647
|
+
expected: "(__type.o2 | undefined)",
|
|
9648
|
+
value: input.video
|
|
9649
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9650
|
+
method: "typia.assert",
|
|
9651
|
+
path: _path + ".width",
|
|
9652
|
+
expected: "number",
|
|
9653
|
+
value: input.width
|
|
9654
|
+
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9655
|
+
method: "typia.assert",
|
|
9656
|
+
path: _path + ".height",
|
|
9657
|
+
expected: "number",
|
|
9658
|
+
value: input.height
|
|
9659
|
+
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9660
|
+
method: "typia.assert",
|
|
9661
|
+
path: _path + ".fit",
|
|
9662
|
+
expected: "\"cover\"",
|
|
9663
|
+
value: input.fit
|
|
9664
|
+
}, _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, {
|
|
9665
|
+
method: "typia.assert",
|
|
9666
|
+
path: _path + ".type",
|
|
9667
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
9668
|
+
value: input.type
|
|
9669
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9670
|
+
method: "typia.assert",
|
|
9671
|
+
path: _path + ".title",
|
|
9672
|
+
expected: "(string | undefined)",
|
|
9673
|
+
value: input.title
|
|
9674
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9675
|
+
method: "typia.assert",
|
|
9676
|
+
path: _path + ".description",
|
|
9677
|
+
expected: "(string | undefined)",
|
|
9678
|
+
value: input.description
|
|
9679
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9680
|
+
method: "typia.assert",
|
|
9681
|
+
path: _path + ".required",
|
|
9682
|
+
expected: "(boolean | undefined)",
|
|
9683
|
+
value: input.required
|
|
9684
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9685
|
+
method: "typia.assert",
|
|
9686
|
+
path: _path + ".oneOf",
|
|
9687
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9688
|
+
value: input.oneOf
|
|
9689
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9690
|
+
method: "typia.assert",
|
|
9691
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9692
|
+
expected: "SchemaProperty<unknown>",
|
|
9693
|
+
value: elem
|
|
9694
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9695
|
+
method: "typia.assert",
|
|
9696
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9697
|
+
expected: "SchemaProperty<unknown>",
|
|
9698
|
+
value: elem
|
|
9699
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9700
|
+
method: "typia.assert",
|
|
9701
|
+
path: _path + ".oneOf",
|
|
9702
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9703
|
+
value: input.oneOf
|
|
9704
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9705
|
+
method: "typia.assert",
|
|
9706
|
+
path: _path + ".anyOf",
|
|
9707
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9708
|
+
value: input.anyOf
|
|
9709
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9710
|
+
method: "typia.assert",
|
|
9711
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9712
|
+
expected: "SchemaProperty<unknown>",
|
|
9713
|
+
value: elem
|
|
9714
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9715
|
+
method: "typia.assert",
|
|
9716
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9717
|
+
expected: "SchemaProperty<unknown>",
|
|
9718
|
+
value: elem
|
|
9719
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9720
|
+
method: "typia.assert",
|
|
9721
|
+
path: _path + ".anyOf",
|
|
9722
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9723
|
+
value: input.anyOf
|
|
9724
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9725
|
+
method: "typia.assert",
|
|
9726
|
+
path: _path + "[\"enum\"]",
|
|
9727
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
9728
|
+
value: input["enum"]
|
|
9729
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9730
|
+
method: "typia.assert",
|
|
9731
|
+
path: _path + ".minItems",
|
|
9732
|
+
expected: "(number | undefined)",
|
|
9733
|
+
value: input.minItems
|
|
9734
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9735
|
+
method: "typia.assert",
|
|
9736
|
+
path: _path + ".maxItems",
|
|
9737
|
+
expected: "(number | undefined)",
|
|
9738
|
+
value: input.maxItems
|
|
9739
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9740
|
+
method: "typia.assert",
|
|
9741
|
+
path: _path + ".items",
|
|
9742
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9743
|
+
value: input.items
|
|
9744
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9745
|
+
method: "typia.assert",
|
|
9746
|
+
path: _path + ".items",
|
|
9747
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9748
|
+
value: input.items
|
|
9749
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9750
|
+
method: "typia.assert",
|
|
9751
|
+
path: _path + ".properties",
|
|
9752
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9753
|
+
value: input.properties
|
|
9754
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9755
|
+
method: "typia.assert",
|
|
9756
|
+
path: _path + ".properties",
|
|
9757
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9758
|
+
value: input.properties
|
|
9759
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9760
|
+
method: "typia.assert",
|
|
9761
|
+
path: _path + ".widget",
|
|
9762
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9763
|
+
value: input.widget
|
|
9764
|
+
}, _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, {
|
|
9765
|
+
method: "typia.assert",
|
|
9766
|
+
path: _path + ".widget",
|
|
9767
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9768
|
+
value: input.widget
|
|
9769
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9770
|
+
method: "typia.assert",
|
|
9771
|
+
path: _path + ".widget",
|
|
9772
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9773
|
+
value: input.widget
|
|
9774
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9775
|
+
method: "typia.assert",
|
|
9776
|
+
path: _path + ".placeholder",
|
|
9777
|
+
expected: "(string | undefined)",
|
|
9778
|
+
value: input.placeholder
|
|
9779
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9780
|
+
method: "typia.assert",
|
|
9781
|
+
path: _path + ".helpText",
|
|
9782
|
+
expected: "(string | undefined)",
|
|
9783
|
+
value: input.helpText
|
|
9784
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9785
|
+
method: "typia.assert",
|
|
9786
|
+
path: _path + ".invalid",
|
|
9787
|
+
expected: "(boolean | undefined)",
|
|
9788
|
+
value: input.invalid
|
|
9789
|
+
}, _errorFactory)) && true; const _ao7 = (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 && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9794
|
+
method: "typia.assert",
|
|
9795
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9796
|
+
expected: "SchemaProperty<unknown>",
|
|
9797
|
+
value: value
|
|
9798
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9799
|
+
method: "typia.assert",
|
|
9800
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9801
|
+
expected: "SchemaProperty<unknown>",
|
|
9802
|
+
value: value
|
|
9803
|
+
}, _errorFactory);
|
|
9804
|
+
}); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9805
|
+
method: "typia.assert",
|
|
9806
|
+
path: _path + ".type",
|
|
9807
|
+
expected: "(string | undefined)",
|
|
9808
|
+
value: input.type
|
|
9809
|
+
}, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9810
|
+
method: "typia.assert",
|
|
9811
|
+
path: _path + ".readOnly",
|
|
9812
|
+
expected: "(boolean | undefined)",
|
|
9813
|
+
value: input.readOnly
|
|
9814
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9815
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9816
|
+
return true;
|
|
9817
|
+
const value = input[key];
|
|
9818
|
+
if (undefined === value)
|
|
9819
|
+
return true;
|
|
9820
|
+
return true;
|
|
9821
|
+
})); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9822
|
+
method: "typia.assert",
|
|
9823
|
+
path: _path + ".title",
|
|
9824
|
+
expected: "(string | undefined)",
|
|
9825
|
+
value: input.title
|
|
9826
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9827
|
+
if (false === __is(input)) {
|
|
9828
|
+
_errorFactory = errorFactory;
|
|
9829
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9830
|
+
method: "typia.assert",
|
|
9831
|
+
path: _path + "",
|
|
9832
|
+
expected: "EventTemplateRecord",
|
|
9833
|
+
value: input
|
|
9834
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9835
|
+
method: "typia.assert",
|
|
9836
|
+
path: _path + "",
|
|
9837
|
+
expected: "EventTemplateRecord",
|
|
9838
|
+
value: input
|
|
9839
|
+
}, _errorFactory))(input, "$input", true);
|
|
9840
|
+
}
|
|
9841
|
+
return input;
|
|
9842
|
+
}; })()(input);
|
|
9843
|
+
}
|
|
9844
|
+
case ":event.overlay?": {
|
|
9845
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
9846
|
+
const value = input[key];
|
|
9847
|
+
if (undefined === value)
|
|
9848
|
+
return true;
|
|
9849
|
+
return "object" === typeof value && null !== value && _io1(value);
|
|
9850
|
+
}); 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 => {
|
|
9851
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9852
|
+
return true;
|
|
9853
|
+
const value = input[key];
|
|
9854
|
+
if (undefined === value)
|
|
9855
|
+
return true;
|
|
9856
|
+
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)));
|
|
9857
|
+
}); const _io3 = input => Object.keys(input).every(key => {
|
|
9858
|
+
const value = input[key];
|
|
9859
|
+
if (undefined === value)
|
|
9860
|
+
return true;
|
|
9861
|
+
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)));
|
|
9862
|
+
}); 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 => {
|
|
9863
|
+
const value = input[key];
|
|
9864
|
+
if (undefined === value)
|
|
9865
|
+
return true;
|
|
9866
|
+
return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9867
|
+
method: "typia.assert",
|
|
9868
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9869
|
+
expected: "__type",
|
|
9870
|
+
value: value
|
|
9871
|
+
}, _errorFactory)) && _ao1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9872
|
+
method: "typia.assert",
|
|
9873
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9874
|
+
expected: "__type",
|
|
9875
|
+
value: value
|
|
9876
|
+
}, _errorFactory);
|
|
9877
|
+
}); const _ao1 = (input, _path, _exceptionable = true) => ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9878
|
+
method: "typia.assert",
|
|
9879
|
+
path: _path + ".data",
|
|
9880
|
+
expected: "EventPropsRecord",
|
|
9881
|
+
value: input.data
|
|
9882
|
+
}, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9883
|
+
method: "typia.assert",
|
|
9884
|
+
path: _path + ".data",
|
|
9885
|
+
expected: "EventPropsRecord",
|
|
9886
|
+
value: input.data
|
|
9887
|
+
}, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9888
|
+
method: "typia.assert",
|
|
9889
|
+
path: _path + ".source",
|
|
9890
|
+
expected: "(string | undefined)",
|
|
9891
|
+
value: input.source
|
|
9892
|
+
}, _errorFactory)) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9893
|
+
method: "typia.assert",
|
|
9894
|
+
path: _path + ".cueCard",
|
|
9895
|
+
expected: "(boolean | string | undefined)",
|
|
9896
|
+
value: input.cueCard
|
|
9897
|
+
}, _errorFactory)) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9898
|
+
method: "typia.assert",
|
|
9899
|
+
path: _path + ".printRundownColor",
|
|
9900
|
+
expected: "(string | undefined)",
|
|
9901
|
+
value: input.printRundownColor
|
|
9902
|
+
}, _errorFactory)) && (undefined === input.startTime || "number" === typeof input.startTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9903
|
+
method: "typia.assert",
|
|
9904
|
+
path: _path + ".startTime",
|
|
9098
9905
|
expected: "(number | undefined)",
|
|
9099
9906
|
value: input.startTime
|
|
9100
9907
|
}, _errorFactory)) && ((null !== input.shotboxGroup || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9119,141 +9926,515 @@ function _assertDomainRecord(domain, input) {
|
|
|
9119
9926
|
value: input.shotboxGroup
|
|
9120
9927
|
}, _errorFactory))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9121
9928
|
method: "typia.assert",
|
|
9122
|
-
path: _path + ".shotboxVisible",
|
|
9123
|
-
expected: "(boolean | undefined)",
|
|
9124
|
-
value: input.shotboxVisible
|
|
9125
|
-
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9126
|
-
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9127
|
-
return true;
|
|
9128
|
-
const value = input[key];
|
|
9129
|
-
if (undefined === value)
|
|
9130
|
-
return true;
|
|
9131
|
-
return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9132
|
-
method: "typia.assert",
|
|
9133
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9134
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9135
|
-
value: value
|
|
9136
|
-
}, _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, {
|
|
9137
|
-
method: "typia.assert",
|
|
9138
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9139
|
-
expected: "Array<JsonValue>",
|
|
9140
|
-
value: value
|
|
9141
|
-
}, _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, {
|
|
9142
|
-
method: "typia.assert",
|
|
9143
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9144
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9145
|
-
value: value
|
|
9146
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9147
|
-
method: "typia.assert",
|
|
9148
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9149
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9150
|
-
value: value
|
|
9151
|
-
}, _errorFactory));
|
|
9152
|
-
})); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9929
|
+
path: _path + ".shotboxVisible",
|
|
9930
|
+
expected: "(boolean | undefined)",
|
|
9931
|
+
value: input.shotboxVisible
|
|
9932
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9933
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9934
|
+
return true;
|
|
9935
|
+
const value = input[key];
|
|
9936
|
+
if (undefined === value)
|
|
9937
|
+
return true;
|
|
9938
|
+
return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9939
|
+
method: "typia.assert",
|
|
9940
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9941
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9942
|
+
value: value
|
|
9943
|
+
}, _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, {
|
|
9944
|
+
method: "typia.assert",
|
|
9945
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9946
|
+
expected: "Array<JsonValue>",
|
|
9947
|
+
value: value
|
|
9948
|
+
}, _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, {
|
|
9949
|
+
method: "typia.assert",
|
|
9950
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9951
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9952
|
+
value: value
|
|
9953
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9954
|
+
method: "typia.assert",
|
|
9955
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9956
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9957
|
+
value: value
|
|
9958
|
+
}, _errorFactory));
|
|
9959
|
+
})); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9960
|
+
const value = input[key];
|
|
9961
|
+
if (undefined === value)
|
|
9962
|
+
return true;
|
|
9963
|
+
return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9964
|
+
method: "typia.assert",
|
|
9965
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9966
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9967
|
+
value: value
|
|
9968
|
+
}, _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, {
|
|
9969
|
+
method: "typia.assert",
|
|
9970
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9971
|
+
expected: "Array<JsonValue>",
|
|
9972
|
+
value: value
|
|
9973
|
+
}, _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, {
|
|
9974
|
+
method: "typia.assert",
|
|
9975
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9976
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9977
|
+
value: value
|
|
9978
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9979
|
+
method: "typia.assert",
|
|
9980
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9981
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9982
|
+
value: value
|
|
9983
|
+
}, _errorFactory));
|
|
9984
|
+
}); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index4) => (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9985
|
+
method: "typia.assert",
|
|
9986
|
+
path: _path + "[" + _index4 + "]",
|
|
9987
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9988
|
+
value: elem
|
|
9989
|
+
}, _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, {
|
|
9990
|
+
method: "typia.assert",
|
|
9991
|
+
path: _path + "[" + _index4 + "]",
|
|
9992
|
+
expected: "Array<JsonValue>",
|
|
9993
|
+
value: elem
|
|
9994
|
+
}, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _ao3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9995
|
+
method: "typia.assert",
|
|
9996
|
+
path: _path + "[" + _index4 + "]",
|
|
9997
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9998
|
+
value: elem
|
|
9999
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10000
|
+
method: "typia.assert",
|
|
10001
|
+
path: _path + "[" + _index4 + "]",
|
|
10002
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
10003
|
+
value: elem
|
|
10004
|
+
}, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10005
|
+
if (false === __is(input)) {
|
|
10006
|
+
_errorFactory = errorFactory;
|
|
10007
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10008
|
+
method: "typia.assert",
|
|
10009
|
+
path: _path + "",
|
|
10010
|
+
expected: "EventOverlayRecord",
|
|
10011
|
+
value: input
|
|
10012
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10013
|
+
method: "typia.assert",
|
|
10014
|
+
path: _path + "",
|
|
10015
|
+
expected: "EventOverlayRecord",
|
|
10016
|
+
value: input
|
|
10017
|
+
}, _errorFactory))(input, "$input", true);
|
|
10018
|
+
}
|
|
10019
|
+
return input;
|
|
10020
|
+
}; })()(input);
|
|
10021
|
+
}
|
|
10022
|
+
case ":event.template?": {
|
|
10023
|
+
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 => {
|
|
10024
|
+
const value = input[key];
|
|
10025
|
+
if (undefined === value)
|
|
10026
|
+
return true;
|
|
10027
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
10028
|
+
}); 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 => {
|
|
10029
|
+
const value = input[key];
|
|
10030
|
+
if (undefined === value)
|
|
10031
|
+
return true;
|
|
10032
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
10033
|
+
}); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
10034
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
10035
|
+
return true;
|
|
10036
|
+
const value = input[key];
|
|
10037
|
+
if (undefined === value)
|
|
10038
|
+
return true;
|
|
10039
|
+
return true;
|
|
10040
|
+
}); 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, {
|
|
10041
|
+
method: "typia.assert",
|
|
10042
|
+
path: _path + ".mixin",
|
|
10043
|
+
expected: "(Array<string> | undefined)",
|
|
10044
|
+
value: input.mixin
|
|
10045
|
+
}, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10046
|
+
method: "typia.assert",
|
|
10047
|
+
path: _path + ".mixin[" + _index6 + "]",
|
|
10048
|
+
expected: "string",
|
|
10049
|
+
value: elem
|
|
10050
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10051
|
+
method: "typia.assert",
|
|
10052
|
+
path: _path + ".mixin",
|
|
10053
|
+
expected: "(Array<string> | undefined)",
|
|
10054
|
+
value: input.mixin
|
|
10055
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10056
|
+
method: "typia.assert",
|
|
10057
|
+
path: _path + ".properties",
|
|
10058
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
10059
|
+
value: input.properties
|
|
10060
|
+
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10061
|
+
method: "typia.assert",
|
|
10062
|
+
path: _path + ".properties",
|
|
10063
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
10064
|
+
value: input.properties
|
|
10065
|
+
}, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10066
|
+
method: "typia.assert",
|
|
10067
|
+
path: _path + ".layout",
|
|
10068
|
+
expected: "(__type.o3 | undefined)",
|
|
10069
|
+
value: input.layout
|
|
10070
|
+
}, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10071
|
+
method: "typia.assert",
|
|
10072
|
+
path: _path + ".layout",
|
|
10073
|
+
expected: "(__type.o3 | undefined)",
|
|
10074
|
+
value: input.layout
|
|
10075
|
+
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10076
|
+
method: "typia.assert",
|
|
10077
|
+
path: _path + ".controller",
|
|
10078
|
+
expected: "(string | undefined)",
|
|
10079
|
+
value: input.controller
|
|
10080
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9153
10081
|
const value = input[key];
|
|
9154
10082
|
if (undefined === value)
|
|
9155
10083
|
return true;
|
|
9156
|
-
return (
|
|
9157
|
-
method: "typia.assert",
|
|
9158
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9159
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9160
|
-
value: value
|
|
9161
|
-
}, _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, {
|
|
9162
|
-
method: "typia.assert",
|
|
9163
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9164
|
-
expected: "Array<JsonValue>",
|
|
9165
|
-
value: value
|
|
9166
|
-
}, _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, {
|
|
10084
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9167
10085
|
method: "typia.assert",
|
|
9168
10086
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9169
|
-
expected: "
|
|
10087
|
+
expected: "TemplateProperty",
|
|
9170
10088
|
value: value
|
|
9171
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10089
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9172
10090
|
method: "typia.assert",
|
|
9173
10091
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9174
|
-
expected: "
|
|
10092
|
+
expected: "TemplateProperty",
|
|
9175
10093
|
value: value
|
|
9176
|
-
}, _errorFactory)
|
|
9177
|
-
}); const
|
|
10094
|
+
}, _errorFactory);
|
|
10095
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9178
10096
|
method: "typia.assert",
|
|
9179
|
-
path: _path + "
|
|
9180
|
-
expected: "(
|
|
10097
|
+
path: _path + ".path",
|
|
10098
|
+
expected: "(string | undefined)",
|
|
10099
|
+
value: input.path
|
|
10100
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10101
|
+
method: "typia.assert",
|
|
10102
|
+
path: _path + ".render",
|
|
10103
|
+
expected: "(__type | undefined)",
|
|
10104
|
+
value: input.render
|
|
10105
|
+
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10106
|
+
method: "typia.assert",
|
|
10107
|
+
path: _path + ".render",
|
|
10108
|
+
expected: "(__type | undefined)",
|
|
10109
|
+
value: input.render
|
|
10110
|
+
}, _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, {
|
|
10111
|
+
method: "typia.assert",
|
|
10112
|
+
path: _path + ".type",
|
|
10113
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
10114
|
+
value: input.type
|
|
10115
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10116
|
+
method: "typia.assert",
|
|
10117
|
+
path: _path + ".title",
|
|
10118
|
+
expected: "(string | undefined)",
|
|
10119
|
+
value: input.title
|
|
10120
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10121
|
+
method: "typia.assert",
|
|
10122
|
+
path: _path + ".description",
|
|
10123
|
+
expected: "(string | undefined)",
|
|
10124
|
+
value: input.description
|
|
10125
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10126
|
+
method: "typia.assert",
|
|
10127
|
+
path: _path + ".required",
|
|
10128
|
+
expected: "(boolean | undefined)",
|
|
10129
|
+
value: input.required
|
|
10130
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10131
|
+
method: "typia.assert",
|
|
10132
|
+
path: _path + ".oneOf",
|
|
10133
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10134
|
+
value: input.oneOf
|
|
10135
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10136
|
+
method: "typia.assert",
|
|
10137
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
10138
|
+
expected: "SchemaProperty<unknown>",
|
|
9181
10139
|
value: elem
|
|
9182
|
-
}, _errorFactory)) && (
|
|
10140
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10141
|
+
method: "typia.assert",
|
|
10142
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
10143
|
+
expected: "SchemaProperty<unknown>",
|
|
10144
|
+
value: elem
|
|
10145
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10146
|
+
method: "typia.assert",
|
|
10147
|
+
path: _path + ".oneOf",
|
|
10148
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10149
|
+
value: input.oneOf
|
|
10150
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10151
|
+
method: "typia.assert",
|
|
10152
|
+
path: _path + ".anyOf",
|
|
10153
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10154
|
+
value: input.anyOf
|
|
10155
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10156
|
+
method: "typia.assert",
|
|
10157
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
10158
|
+
expected: "SchemaProperty<unknown>",
|
|
10159
|
+
value: elem
|
|
10160
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10161
|
+
method: "typia.assert",
|
|
10162
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
10163
|
+
expected: "SchemaProperty<unknown>",
|
|
10164
|
+
value: elem
|
|
10165
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10166
|
+
method: "typia.assert",
|
|
10167
|
+
path: _path + ".anyOf",
|
|
10168
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10169
|
+
value: input.anyOf
|
|
10170
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10171
|
+
method: "typia.assert",
|
|
10172
|
+
path: _path + "[\"enum\"]",
|
|
10173
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
10174
|
+
value: input["enum"]
|
|
10175
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10176
|
+
method: "typia.assert",
|
|
10177
|
+
path: _path + ".minItems",
|
|
10178
|
+
expected: "(number | undefined)",
|
|
10179
|
+
value: input.minItems
|
|
10180
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10181
|
+
method: "typia.assert",
|
|
10182
|
+
path: _path + ".maxItems",
|
|
10183
|
+
expected: "(number | undefined)",
|
|
10184
|
+
value: input.maxItems
|
|
10185
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10186
|
+
method: "typia.assert",
|
|
10187
|
+
path: _path + ".items",
|
|
10188
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10189
|
+
value: input.items
|
|
10190
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10191
|
+
method: "typia.assert",
|
|
10192
|
+
path: _path + ".items",
|
|
10193
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10194
|
+
value: input.items
|
|
10195
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10196
|
+
method: "typia.assert",
|
|
10197
|
+
path: _path + ".properties",
|
|
10198
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
10199
|
+
value: input.properties
|
|
10200
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10201
|
+
method: "typia.assert",
|
|
10202
|
+
path: _path + ".properties",
|
|
10203
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
10204
|
+
value: input.properties
|
|
10205
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10206
|
+
method: "typia.assert",
|
|
10207
|
+
path: _path + ".widget",
|
|
10208
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10209
|
+
value: input.widget
|
|
10210
|
+
}, _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, {
|
|
10211
|
+
method: "typia.assert",
|
|
10212
|
+
path: _path + ".widget",
|
|
10213
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10214
|
+
value: input.widget
|
|
10215
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10216
|
+
method: "typia.assert",
|
|
10217
|
+
path: _path + ".widget",
|
|
10218
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10219
|
+
value: input.widget
|
|
10220
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10221
|
+
method: "typia.assert",
|
|
10222
|
+
path: _path + ".placeholder",
|
|
10223
|
+
expected: "(string | undefined)",
|
|
10224
|
+
value: input.placeholder
|
|
10225
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10226
|
+
method: "typia.assert",
|
|
10227
|
+
path: _path + ".helpText",
|
|
10228
|
+
expected: "(string | undefined)",
|
|
10229
|
+
value: input.helpText
|
|
10230
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10231
|
+
method: "typia.assert",
|
|
10232
|
+
path: _path + ".invalid",
|
|
10233
|
+
expected: "(boolean | undefined)",
|
|
10234
|
+
value: input.invalid
|
|
10235
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10236
|
+
method: "typia.assert",
|
|
10237
|
+
path: _path + ".type",
|
|
10238
|
+
expected: "\"image\"",
|
|
10239
|
+
value: input.type
|
|
10240
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10241
|
+
method: "typia.assert",
|
|
10242
|
+
path: _path + ".profile",
|
|
10243
|
+
expected: "(__type.o1 | undefined)",
|
|
10244
|
+
value: input.profile
|
|
10245
|
+
}, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10246
|
+
method: "typia.assert",
|
|
10247
|
+
path: _path + ".profile",
|
|
10248
|
+
expected: "(__type.o1 | undefined)",
|
|
10249
|
+
value: input.profile
|
|
10250
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10251
|
+
method: "typia.assert",
|
|
10252
|
+
path: _path + ".format",
|
|
10253
|
+
expected: "(string | undefined)",
|
|
10254
|
+
value: input.format
|
|
10255
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10256
|
+
method: "typia.assert",
|
|
10257
|
+
path: _path + ".video",
|
|
10258
|
+
expected: "(__type.o2 | undefined)",
|
|
10259
|
+
value: input.video
|
|
10260
|
+
}, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10261
|
+
method: "typia.assert",
|
|
10262
|
+
path: _path + ".video",
|
|
10263
|
+
expected: "(__type.o2 | undefined)",
|
|
10264
|
+
value: input.video
|
|
10265
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10266
|
+
method: "typia.assert",
|
|
10267
|
+
path: _path + ".width",
|
|
10268
|
+
expected: "number",
|
|
10269
|
+
value: input.width
|
|
10270
|
+
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10271
|
+
method: "typia.assert",
|
|
10272
|
+
path: _path + ".height",
|
|
10273
|
+
expected: "number",
|
|
10274
|
+
value: input.height
|
|
10275
|
+
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10276
|
+
method: "typia.assert",
|
|
10277
|
+
path: _path + ".fit",
|
|
10278
|
+
expected: "\"cover\"",
|
|
10279
|
+
value: input.fit
|
|
10280
|
+
}, _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, {
|
|
10281
|
+
method: "typia.assert",
|
|
10282
|
+
path: _path + ".type",
|
|
10283
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
10284
|
+
value: input.type
|
|
10285
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10286
|
+
method: "typia.assert",
|
|
10287
|
+
path: _path + ".title",
|
|
10288
|
+
expected: "(string | undefined)",
|
|
10289
|
+
value: input.title
|
|
10290
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10291
|
+
method: "typia.assert",
|
|
10292
|
+
path: _path + ".description",
|
|
10293
|
+
expected: "(string | undefined)",
|
|
10294
|
+
value: input.description
|
|
10295
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10296
|
+
method: "typia.assert",
|
|
10297
|
+
path: _path + ".required",
|
|
10298
|
+
expected: "(boolean | undefined)",
|
|
10299
|
+
value: input.required
|
|
10300
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10301
|
+
method: "typia.assert",
|
|
10302
|
+
path: _path + ".oneOf",
|
|
10303
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10304
|
+
value: input.oneOf
|
|
10305
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9183
10306
|
method: "typia.assert",
|
|
9184
|
-
path: _path + "[" +
|
|
9185
|
-
expected: "
|
|
10307
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
10308
|
+
expected: "SchemaProperty<unknown>",
|
|
9186
10309
|
value: elem
|
|
9187
|
-
}, _errorFactory))
|
|
10310
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9188
10311
|
method: "typia.assert",
|
|
9189
|
-
path: _path + "[" +
|
|
9190
|
-
expected: "
|
|
10312
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
10313
|
+
expected: "SchemaProperty<unknown>",
|
|
9191
10314
|
value: elem
|
|
9192
10315
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9193
10316
|
method: "typia.assert",
|
|
9194
|
-
path: _path + "
|
|
9195
|
-
expected: "(Array<
|
|
9196
|
-
value:
|
|
9197
|
-
}, _errorFactory))
|
|
9198
|
-
if (false === __is(input)) {
|
|
9199
|
-
_errorFactory = errorFactory;
|
|
9200
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9201
|
-
method: "typia.assert",
|
|
9202
|
-
path: _path + "",
|
|
9203
|
-
expected: "EventOverlayRecord",
|
|
9204
|
-
value: input
|
|
9205
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9206
|
-
method: "typia.assert",
|
|
9207
|
-
path: _path + "",
|
|
9208
|
-
expected: "EventOverlayRecord",
|
|
9209
|
-
value: input
|
|
9210
|
-
}, _errorFactory))(input, "$input", true);
|
|
9211
|
-
}
|
|
9212
|
-
return input;
|
|
9213
|
-
}; })()(input);
|
|
9214
|
-
}
|
|
9215
|
-
case ":event.template?": {
|
|
9216
|
-
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, {
|
|
10317
|
+
path: _path + ".oneOf",
|
|
10318
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10319
|
+
value: input.oneOf
|
|
10320
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9217
10321
|
method: "typia.assert",
|
|
9218
|
-
path: _path + ".
|
|
9219
|
-
expected: "(Array<
|
|
9220
|
-
value: input.
|
|
9221
|
-
}, _errorFactory)) && input.
|
|
10322
|
+
path: _path + ".anyOf",
|
|
10323
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10324
|
+
value: input.anyOf
|
|
10325
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9222
10326
|
method: "typia.assert",
|
|
9223
|
-
path: _path + ".
|
|
9224
|
-
expected: "
|
|
10327
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
10328
|
+
expected: "SchemaProperty<unknown>",
|
|
10329
|
+
value: elem
|
|
10330
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10331
|
+
method: "typia.assert",
|
|
10332
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
10333
|
+
expected: "SchemaProperty<unknown>",
|
|
9225
10334
|
value: elem
|
|
9226
10335
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9227
10336
|
method: "typia.assert",
|
|
9228
|
-
path: _path + ".
|
|
9229
|
-
expected: "(Array<
|
|
9230
|
-
value: input.
|
|
10337
|
+
path: _path + ".anyOf",
|
|
10338
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10339
|
+
value: input.anyOf
|
|
10340
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10341
|
+
method: "typia.assert",
|
|
10342
|
+
path: _path + "[\"enum\"]",
|
|
10343
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
10344
|
+
value: input["enum"]
|
|
10345
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10346
|
+
method: "typia.assert",
|
|
10347
|
+
path: _path + ".minItems",
|
|
10348
|
+
expected: "(number | undefined)",
|
|
10349
|
+
value: input.minItems
|
|
10350
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10351
|
+
method: "typia.assert",
|
|
10352
|
+
path: _path + ".maxItems",
|
|
10353
|
+
expected: "(number | undefined)",
|
|
10354
|
+
value: input.maxItems
|
|
10355
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10356
|
+
method: "typia.assert",
|
|
10357
|
+
path: _path + ".items",
|
|
10358
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10359
|
+
value: input.items
|
|
10360
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10361
|
+
method: "typia.assert",
|
|
10362
|
+
path: _path + ".items",
|
|
10363
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10364
|
+
value: input.items
|
|
9231
10365
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9232
10366
|
method: "typia.assert",
|
|
9233
10367
|
path: _path + ".properties",
|
|
9234
|
-
expected: "(
|
|
10368
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9235
10369
|
value: input.properties
|
|
9236
|
-
}, _errorFactory)) &&
|
|
10370
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9237
10371
|
method: "typia.assert",
|
|
9238
10372
|
path: _path + ".properties",
|
|
9239
|
-
expected: "(
|
|
10373
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9240
10374
|
value: input.properties
|
|
9241
|
-
}, _errorFactory)) &&
|
|
10375
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9242
10376
|
method: "typia.assert",
|
|
9243
|
-
path: _path + ".
|
|
9244
|
-
expected: "(
|
|
9245
|
-
value: input.
|
|
9246
|
-
}, _errorFactory)) &&
|
|
10377
|
+
path: _path + ".widget",
|
|
10378
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10379
|
+
value: input.widget
|
|
10380
|
+
}, _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, {
|
|
9247
10381
|
method: "typia.assert",
|
|
9248
|
-
path: _path + ".
|
|
9249
|
-
expected: "(
|
|
9250
|
-
value: input.
|
|
9251
|
-
}, _errorFactory)) && (
|
|
10382
|
+
path: _path + ".widget",
|
|
10383
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10384
|
+
value: input.widget
|
|
10385
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9252
10386
|
method: "typia.assert",
|
|
9253
|
-
path: _path + ".
|
|
10387
|
+
path: _path + ".widget",
|
|
10388
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10389
|
+
value: input.widget
|
|
10390
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10391
|
+
method: "typia.assert",
|
|
10392
|
+
path: _path + ".placeholder",
|
|
9254
10393
|
expected: "(string | undefined)",
|
|
9255
|
-
value: input.
|
|
9256
|
-
}, _errorFactory))
|
|
10394
|
+
value: input.placeholder
|
|
10395
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10396
|
+
method: "typia.assert",
|
|
10397
|
+
path: _path + ".helpText",
|
|
10398
|
+
expected: "(string | undefined)",
|
|
10399
|
+
value: input.helpText
|
|
10400
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10401
|
+
method: "typia.assert",
|
|
10402
|
+
path: _path + ".invalid",
|
|
10403
|
+
expected: "(boolean | undefined)",
|
|
10404
|
+
value: input.invalid
|
|
10405
|
+
}, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10406
|
+
const value = input[key];
|
|
10407
|
+
if (undefined === value)
|
|
10408
|
+
return true;
|
|
10409
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10410
|
+
method: "typia.assert",
|
|
10411
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10412
|
+
expected: "SchemaProperty<unknown>",
|
|
10413
|
+
value: value
|
|
10414
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10415
|
+
method: "typia.assert",
|
|
10416
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10417
|
+
expected: "SchemaProperty<unknown>",
|
|
10418
|
+
value: value
|
|
10419
|
+
}, _errorFactory);
|
|
10420
|
+
}); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10421
|
+
method: "typia.assert",
|
|
10422
|
+
path: _path + ".type",
|
|
10423
|
+
expected: "(string | undefined)",
|
|
10424
|
+
value: input.type
|
|
10425
|
+
}, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10426
|
+
method: "typia.assert",
|
|
10427
|
+
path: _path + ".readOnly",
|
|
10428
|
+
expected: "(boolean | undefined)",
|
|
10429
|
+
value: input.readOnly
|
|
10430
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
10431
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
10432
|
+
return true;
|
|
10433
|
+
const value = input[key];
|
|
10434
|
+
if (undefined === value)
|
|
10435
|
+
return true;
|
|
10436
|
+
return true;
|
|
10437
|
+
})); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9257
10438
|
method: "typia.assert",
|
|
9258
10439
|
path: _path + ".title",
|
|
9259
10440
|
expected: "(string | undefined)",
|
|
@@ -9461,60 +10642,188 @@ function _assertDomainRecord(domain, input) {
|
|
|
9461
10642
|
}, _errorFactory));
|
|
9462
10643
|
}); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index4) => (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9463
10644
|
method: "typia.assert",
|
|
9464
|
-
path: _path + "[" + _index4 + "]",
|
|
9465
|
-
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
9466
|
-
value: elem
|
|
9467
|
-
}, _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, {
|
|
10645
|
+
path: _path + "[" + _index4 + "]",
|
|
10646
|
+
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
10647
|
+
value: elem
|
|
10648
|
+
}, _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, {
|
|
10649
|
+
method: "typia.assert",
|
|
10650
|
+
path: _path + "[" + _index4 + "]",
|
|
10651
|
+
expected: "Array<JsonValue>",
|
|
10652
|
+
value: elem
|
|
10653
|
+
}, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _ao1(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10654
|
+
method: "typia.assert",
|
|
10655
|
+
path: _path + "[" + _index4 + "]",
|
|
10656
|
+
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
10657
|
+
value: elem
|
|
10658
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10659
|
+
method: "typia.assert",
|
|
10660
|
+
path: _path + "[" + _index4 + "]",
|
|
10661
|
+
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
10662
|
+
value: elem
|
|
10663
|
+
}, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10664
|
+
if (false === __is(input)) {
|
|
10665
|
+
_errorFactory = errorFactory;
|
|
10666
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10667
|
+
method: "typia.assert",
|
|
10668
|
+
path: _path + "",
|
|
10669
|
+
expected: "EventPropsRecord",
|
|
10670
|
+
value: input
|
|
10671
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10672
|
+
method: "typia.assert",
|
|
10673
|
+
path: _path + "",
|
|
10674
|
+
expected: "EventPropsRecord",
|
|
10675
|
+
value: input
|
|
10676
|
+
}, _errorFactory))(input, "$input", true);
|
|
10677
|
+
}
|
|
10678
|
+
return input;
|
|
10679
|
+
}; })()(input);
|
|
10680
|
+
}
|
|
10681
|
+
case ":event.stats?": {
|
|
10682
|
+
return (() => { const _io0 = input => undefined === input.type || "string" === typeof input.type; const _ao0 = (input, _path, _exceptionable = true) => undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10683
|
+
method: "typia.assert",
|
|
10684
|
+
path: _path + ".type",
|
|
10685
|
+
expected: "(string | undefined)",
|
|
10686
|
+
value: input.type
|
|
10687
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10688
|
+
if (false === __is(input)) {
|
|
10689
|
+
_errorFactory = errorFactory;
|
|
10690
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10691
|
+
method: "typia.assert",
|
|
10692
|
+
path: _path + "",
|
|
10693
|
+
expected: "EventStatsRecord",
|
|
10694
|
+
value: input
|
|
10695
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10696
|
+
method: "typia.assert",
|
|
10697
|
+
path: _path + "",
|
|
10698
|
+
expected: "EventStatsRecord",
|
|
10699
|
+
value: input
|
|
10700
|
+
}, _errorFactory))(input, "$input", true);
|
|
10701
|
+
}
|
|
10702
|
+
return input;
|
|
10703
|
+
}; })()(input);
|
|
10704
|
+
}
|
|
10705
|
+
case ":event.status?": {
|
|
10706
|
+
return (() => { const _io0 = input => undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.code || "string" === typeof input.code) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose) && (null === input.index || undefined === input.index || "number" === typeof input.index) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data)); const _io2 = input => null === input.progress || undefined === input.progress || "number" === typeof input.progress; const _ao0 = (input, _path, _exceptionable = true) => undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10707
|
+
method: "typia.assert",
|
|
10708
|
+
path: _path + ".messages",
|
|
10709
|
+
expected: "(Array<__type> | undefined)",
|
|
10710
|
+
value: input.messages
|
|
10711
|
+
}, _errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10712
|
+
method: "typia.assert",
|
|
10713
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
10714
|
+
expected: "__type",
|
|
10715
|
+
value: elem
|
|
10716
|
+
}, _errorFactory)) && _ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10717
|
+
method: "typia.assert",
|
|
10718
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
10719
|
+
expected: "__type",
|
|
10720
|
+
value: elem
|
|
10721
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10722
|
+
method: "typia.assert",
|
|
10723
|
+
path: _path + ".messages",
|
|
10724
|
+
expected: "(Array<__type> | undefined)",
|
|
10725
|
+
value: input.messages
|
|
10726
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10727
|
+
method: "typia.assert",
|
|
10728
|
+
path: _path + ".id",
|
|
10729
|
+
expected: "string",
|
|
10730
|
+
value: input.id
|
|
10731
|
+
}, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10732
|
+
method: "typia.assert",
|
|
10733
|
+
path: _path + ".msg",
|
|
10734
|
+
expected: "string",
|
|
10735
|
+
value: input.msg
|
|
10736
|
+
}, _errorFactory)) && ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10737
|
+
method: "typia.assert",
|
|
10738
|
+
path: _path + ".level",
|
|
10739
|
+
expected: "number",
|
|
10740
|
+
value: input.level
|
|
10741
|
+
}, _errorFactory)) && (undefined === input.code || "string" === typeof input.code || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10742
|
+
method: "typia.assert",
|
|
10743
|
+
path: _path + ".code",
|
|
10744
|
+
expected: "(string | undefined)",
|
|
10745
|
+
value: input.code
|
|
10746
|
+
}, _errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10747
|
+
method: "typia.assert",
|
|
10748
|
+
path: _path + ".expose",
|
|
10749
|
+
expected: "(boolean | null | undefined)",
|
|
10750
|
+
value: input.expose
|
|
10751
|
+
}, _errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10752
|
+
method: "typia.assert",
|
|
10753
|
+
path: _path + ".index",
|
|
10754
|
+
expected: "(null | number | undefined)",
|
|
10755
|
+
value: input.index
|
|
10756
|
+
}, _errorFactory)) && (undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9468
10757
|
method: "typia.assert",
|
|
9469
|
-
path: _path + "
|
|
9470
|
-
expected: "
|
|
9471
|
-
value:
|
|
9472
|
-
}, _errorFactory))
|
|
10758
|
+
path: _path + ".data",
|
|
10759
|
+
expected: "(__type.o1 | undefined)",
|
|
10760
|
+
value: input.data
|
|
10761
|
+
}, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9473
10762
|
method: "typia.assert",
|
|
9474
|
-
path: _path + "
|
|
9475
|
-
expected: "(
|
|
9476
|
-
value:
|
|
9477
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10763
|
+
path: _path + ".data",
|
|
10764
|
+
expected: "(__type.o1 | undefined)",
|
|
10765
|
+
value: input.data
|
|
10766
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => null === input.progress || undefined === input.progress || "number" === typeof input.progress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9478
10767
|
method: "typia.assert",
|
|
9479
|
-
path: _path + "
|
|
9480
|
-
expected: "(
|
|
9481
|
-
value:
|
|
9482
|
-
}, _errorFactory)
|
|
10768
|
+
path: _path + ".progress",
|
|
10769
|
+
expected: "(null | number | undefined)",
|
|
10770
|
+
value: input.progress
|
|
10771
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9483
10772
|
if (false === __is(input)) {
|
|
9484
10773
|
_errorFactory = errorFactory;
|
|
9485
10774
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9486
10775
|
method: "typia.assert",
|
|
9487
10776
|
path: _path + "",
|
|
9488
|
-
expected: "
|
|
10777
|
+
expected: "EventStatusRecord",
|
|
9489
10778
|
value: input
|
|
9490
10779
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9491
10780
|
method: "typia.assert",
|
|
9492
10781
|
path: _path + "",
|
|
9493
|
-
expected: "
|
|
10782
|
+
expected: "EventStatusRecord",
|
|
9494
10783
|
value: input
|
|
9495
10784
|
}, _errorFactory))(input, "$input", true);
|
|
9496
10785
|
}
|
|
9497
10786
|
return input;
|
|
9498
10787
|
}; })()(input);
|
|
9499
10788
|
}
|
|
9500
|
-
case ":event.
|
|
9501
|
-
return (() => { const _io0 = input => undefined === input.
|
|
10789
|
+
case ":event.schedule?": {
|
|
10790
|
+
return (() => { const _io0 = input => (undefined === input.startTime || "number" === typeof input.startTime) && (undefined === input.transition || "boolean" === typeof input.transition) && (undefined === input.transitionTime || "number" === typeof input.transitionTime) && (undefined === input.transitionDuration || "number" === typeof input.transitionDuration) && (undefined === input.endTime || "number" === typeof input.endTime); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.startTime || "number" === typeof input.startTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9502
10791
|
method: "typia.assert",
|
|
9503
|
-
path: _path + ".
|
|
9504
|
-
expected: "(
|
|
9505
|
-
value: input.
|
|
9506
|
-
}, _errorFactory)
|
|
10792
|
+
path: _path + ".startTime",
|
|
10793
|
+
expected: "(number | undefined)",
|
|
10794
|
+
value: input.startTime
|
|
10795
|
+
}, _errorFactory)) && (undefined === input.transition || "boolean" === typeof input.transition || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10796
|
+
method: "typia.assert",
|
|
10797
|
+
path: _path + ".transition",
|
|
10798
|
+
expected: "(boolean | undefined)",
|
|
10799
|
+
value: input.transition
|
|
10800
|
+
}, _errorFactory)) && (undefined === input.transitionTime || "number" === typeof input.transitionTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10801
|
+
method: "typia.assert",
|
|
10802
|
+
path: _path + ".transitionTime",
|
|
10803
|
+
expected: "(number | undefined)",
|
|
10804
|
+
value: input.transitionTime
|
|
10805
|
+
}, _errorFactory)) && (undefined === input.transitionDuration || "number" === typeof input.transitionDuration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10806
|
+
method: "typia.assert",
|
|
10807
|
+
path: _path + ".transitionDuration",
|
|
10808
|
+
expected: "(number | undefined)",
|
|
10809
|
+
value: input.transitionDuration
|
|
10810
|
+
}, _errorFactory)) && (undefined === input.endTime || "number" === typeof input.endTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10811
|
+
method: "typia.assert",
|
|
10812
|
+
path: _path + ".endTime",
|
|
10813
|
+
expected: "(number | undefined)",
|
|
10814
|
+
value: input.endTime
|
|
10815
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9507
10816
|
if (false === __is(input)) {
|
|
9508
10817
|
_errorFactory = errorFactory;
|
|
9509
10818
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9510
10819
|
method: "typia.assert",
|
|
9511
10820
|
path: _path + "",
|
|
9512
|
-
expected: "
|
|
10821
|
+
expected: "EventScheduleRecord",
|
|
9513
10822
|
value: input
|
|
9514
10823
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9515
10824
|
method: "typia.assert",
|
|
9516
10825
|
path: _path + "",
|
|
9517
|
-
expected: "
|
|
10826
|
+
expected: "EventScheduleRecord",
|
|
9518
10827
|
value: input
|
|
9519
10828
|
}, _errorFactory))(input, "$input", true);
|
|
9520
10829
|
}
|
|
@@ -11605,6 +12914,30 @@ function _assertDomainRecord(domain, input) {
|
|
|
11605
12914
|
return input;
|
|
11606
12915
|
}; })()(input);
|
|
11607
12916
|
}
|
|
12917
|
+
case ":media.placeholder": {
|
|
12918
|
+
return (() => { const _io0 = input => "string" === typeof input.asset; const _ao0 = (input, _path, _exceptionable = true) => "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12919
|
+
method: "typia.assert",
|
|
12920
|
+
path: _path + ".asset",
|
|
12921
|
+
expected: "string",
|
|
12922
|
+
value: input.asset
|
|
12923
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
12924
|
+
if (false === __is(input)) {
|
|
12925
|
+
_errorFactory = errorFactory;
|
|
12926
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
12927
|
+
method: "typia.assert",
|
|
12928
|
+
path: _path + "",
|
|
12929
|
+
expected: "MediaPlaceholderRecord",
|
|
12930
|
+
value: input
|
|
12931
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
12932
|
+
method: "typia.assert",
|
|
12933
|
+
path: _path + "",
|
|
12934
|
+
expected: "MediaPlaceholderRecord",
|
|
12935
|
+
value: input
|
|
12936
|
+
}, _errorFactory))(input, "$input", true);
|
|
12937
|
+
}
|
|
12938
|
+
return input;
|
|
12939
|
+
}; })()(input);
|
|
12940
|
+
}
|
|
11608
12941
|
case ":media.consolidate": {
|
|
11609
12942
|
return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) && _io1(input.preset))) && true; const _io1 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io2(elem))) || "object" === typeof input.profile && null !== input.profile && _io2(input.profile)))); const _io2 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io3(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io4(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io5(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io6(input.subtitle))); const _io3 = input => "string" === typeof input.engine; const _io4 = input => "string" === typeof input.language; const _io5 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io6 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io7(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io8(input.ass)); const _io7 = input => undefined === input.preset || "string" === typeof input.preset; const _io8 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _ao0 = (input, _path, _exceptionable = true) => true && true && ((null !== input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11610
12943
|
method: "typia.assert",
|
|
@@ -11928,7 +13261,17 @@ function _assertDomainRecord(domain, input) {
|
|
|
11928
13261
|
if (undefined === value)
|
|
11929
13262
|
return true;
|
|
11930
13263
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
|
|
11931
|
-
}); 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
|
|
13264
|
+
}); 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 => {
|
|
13265
|
+
const value = input[key];
|
|
13266
|
+
if (undefined === value)
|
|
13267
|
+
return true;
|
|
13268
|
+
return "string" === typeof value;
|
|
13269
|
+
}); const _io9 = input => Object.keys(input).every(key => {
|
|
13270
|
+
const value = input[key];
|
|
13271
|
+
if (undefined === value)
|
|
13272
|
+
return true;
|
|
13273
|
+
return "string" === typeof value;
|
|
13274
|
+
}); const _iu0 = input => (() => {
|
|
11932
13275
|
if ("add" === input.op)
|
|
11933
13276
|
return _io2(input);
|
|
11934
13277
|
else if ("remove" === input.op)
|
|
@@ -11958,7 +13301,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11958
13301
|
expected: "MediaTranscriptChangesRecordValue",
|
|
11959
13302
|
value: value
|
|
11960
13303
|
}, _errorFactory);
|
|
11961
|
-
}); const _ao1 = (input, _path, _exceptionable = true) => undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13304
|
+
}); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11962
13305
|
method: "typia.assert",
|
|
11963
13306
|
path: _path + ".patch",
|
|
11964
13307
|
expected: "(Array<Operation> | undefined)",
|
|
@@ -11978,7 +13321,27 @@ function _assertDomainRecord(domain, input) {
|
|
|
11978
13321
|
path: _path + ".patch",
|
|
11979
13322
|
expected: "(Array<Operation> | undefined)",
|
|
11980
13323
|
value: input.patch
|
|
11981
|
-
}, _errorFactory)
|
|
13324
|
+
}, _errorFactory)) && (undefined === input.speakerLabels || ("object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13325
|
+
method: "typia.assert",
|
|
13326
|
+
path: _path + ".speakerLabels",
|
|
13327
|
+
expected: "(__type | undefined)",
|
|
13328
|
+
value: input.speakerLabels
|
|
13329
|
+
}, _errorFactory)) && _ao8(input.speakerLabels, _path + ".speakerLabels", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13330
|
+
method: "typia.assert",
|
|
13331
|
+
path: _path + ".speakerLabels",
|
|
13332
|
+
expected: "(__type | undefined)",
|
|
13333
|
+
value: input.speakerLabels
|
|
13334
|
+
}, _errorFactory)) && (undefined === input.speakerRemaps || ("object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13335
|
+
method: "typia.assert",
|
|
13336
|
+
path: _path + ".speakerRemaps",
|
|
13337
|
+
expected: "(__type.o1 | undefined)",
|
|
13338
|
+
value: input.speakerRemaps
|
|
13339
|
+
}, _errorFactory)) && _ao9(input.speakerRemaps, _path + ".speakerRemaps", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13340
|
+
method: "typia.assert",
|
|
13341
|
+
path: _path + ".speakerRemaps",
|
|
13342
|
+
expected: "(__type.o1 | undefined)",
|
|
13343
|
+
value: input.speakerRemaps
|
|
13344
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => ("add" === input.op || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11982
13345
|
method: "typia.assert",
|
|
11983
13346
|
path: _path + ".op",
|
|
11984
13347
|
expected: "\"add\"",
|
|
@@ -12048,7 +13411,27 @@ function _assertDomainRecord(domain, input) {
|
|
|
12048
13411
|
path: _path + ".path",
|
|
12049
13412
|
expected: "string",
|
|
12050
13413
|
value: input.path
|
|
12051
|
-
}, _errorFactory)) && true; const
|
|
13414
|
+
}, _errorFactory)) && true; const _ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
13415
|
+
const value = input[key];
|
|
13416
|
+
if (undefined === value)
|
|
13417
|
+
return true;
|
|
13418
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13419
|
+
method: "typia.assert",
|
|
13420
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13421
|
+
expected: "string",
|
|
13422
|
+
value: value
|
|
13423
|
+
}, _errorFactory);
|
|
13424
|
+
}); const _ao9 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
13425
|
+
const value = input[key];
|
|
13426
|
+
if (undefined === value)
|
|
13427
|
+
return true;
|
|
13428
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13429
|
+
method: "typia.assert",
|
|
13430
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13431
|
+
expected: "string",
|
|
13432
|
+
value: value
|
|
13433
|
+
}, _errorFactory);
|
|
13434
|
+
}); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
12052
13435
|
if ("add" === input.op)
|
|
12053
13436
|
return _ao2(input, _path, true && _exceptionable);
|
|
12054
13437
|
else if ("remove" === input.op)
|
|
@@ -13016,7 +14399,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
13016
14399
|
}; })()(input);
|
|
13017
14400
|
}
|
|
13018
14401
|
case ":monitor.stats?": {
|
|
13019
|
-
return (() => { const _io0 = input => true && ("object" === typeof input.proc && null !== input.proc && _io1(input.proc)) && ("object" === typeof input.buddyinfo && null !== input.buddyinfo && _io3(input.buddyinfo)) && ("object" === typeof input.meminfo && null !== input.meminfo && false === Array.isArray(input.meminfo) && _io4(input.meminfo)) && ("object" === typeof input.net && null !== input.net && _io5(input.net)) && ("object" === typeof input["var"] && null !== input["var"] && _io12(input["var"])); const _io1 = input => (null === input.cpu || "object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) && _io2(input.cpu)) && (undefined === input.cpus || Array.isArray(input.cpus) && input.cpus.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && "number" === typeof input.threads && (null === input.load || Array.isArray(input.load) && input.load.every(elem => "number" === typeof elem)) && (null === input.interrupts || undefined === input.interrupts || Array.isArray(input.interrupts) && input.interrupts.every(elem => "number" === typeof elem)) && (null === input.contextSwitches || "number" === typeof input.contextSwitches) && (null === input.bootTime || "number" === typeof input.bootTime) && (null === input.processes || "number" === typeof input.processes) && (null === input.running || "number" === typeof input.running) && (null === input.blocked || "number" === typeof input.blocked) && true && true && "number" === typeof input.timestamp && (null === input.total || "number" === typeof input.total) && (null === input.idle || "number" === typeof input.idle) && (null === input.active || "number" === typeof input.active) && (null === input.utilization || "number" === typeof input.utilization); const _io2 = input => Object.keys(input).every(key => {
|
|
14402
|
+
return (() => { const _io0 = input => true && ("object" === typeof input.proc && null !== input.proc && _io1(input.proc)) && ("object" === typeof input.buddyinfo && null !== input.buddyinfo && _io3(input.buddyinfo)) && ("object" === typeof input.meminfo && null !== input.meminfo && false === Array.isArray(input.meminfo) && _io4(input.meminfo)) && ("object" === typeof input.net && null !== input.net && _io5(input.net)) && ("object" === typeof input["var"] && null !== input["var"] && _io12(input["var"])) && ("object" === typeof input.hostBridge && null !== input.hostBridge && _io13(input.hostBridge)); const _io1 = input => (null === input.cpu || "object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) && _io2(input.cpu)) && (undefined === input.cpus || Array.isArray(input.cpus) && input.cpus.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && "number" === typeof input.threads && (null === input.load || Array.isArray(input.load) && input.load.every(elem => "number" === typeof elem)) && (null === input.interrupts || undefined === input.interrupts || Array.isArray(input.interrupts) && input.interrupts.every(elem => "number" === typeof elem)) && (null === input.contextSwitches || "number" === typeof input.contextSwitches) && (null === input.bootTime || "number" === typeof input.bootTime) && (null === input.processes || "number" === typeof input.processes) && (null === input.running || "number" === typeof input.running) && (null === input.blocked || "number" === typeof input.blocked) && true && true && "number" === typeof input.timestamp && (null === input.total || "number" === typeof input.total) && (null === input.idle || "number" === typeof input.idle) && (null === input.active || "number" === typeof input.active) && (null === input.utilization || "number" === typeof input.utilization); const _io2 = input => Object.keys(input).every(key => {
|
|
13020
14403
|
const value = input[key];
|
|
13021
14404
|
if (undefined === value)
|
|
13022
14405
|
return true;
|
|
@@ -13045,7 +14428,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
13045
14428
|
if (undefined === value)
|
|
13046
14429
|
return true;
|
|
13047
14430
|
return true;
|
|
13048
|
-
}); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; const
|
|
14431
|
+
}); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; const _io13 = input => "object" === typeof input.types && null !== input.types && false === Array.isArray(input.types) && _io14(input.types) && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io15(elem))) && "number" === typeof input.timestamp; const _io14 = input => Object.keys(input).every(key => {
|
|
14432
|
+
const value = input[key];
|
|
14433
|
+
if (undefined === value)
|
|
14434
|
+
return true;
|
|
14435
|
+
return "string" === typeof value;
|
|
14436
|
+
}); const _io15 = input => "string" === typeof input.type && "string" === typeof input.id && "number" === typeof input.level && "string" === typeof input.title && "string" === typeof input.msg; const _ao0 = (input, _path, _exceptionable = true) => true && (("object" === typeof input.proc && null !== input.proc || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13049
14437
|
method: "typia.assert",
|
|
13050
14438
|
path: _path + ".proc",
|
|
13051
14439
|
expected: "MonitorStatsProcInfo",
|
|
@@ -13095,6 +14483,16 @@ function _assertDomainRecord(domain, input) {
|
|
|
13095
14483
|
path: _path + "[\"var\"]",
|
|
13096
14484
|
expected: "__type.o5",
|
|
13097
14485
|
value: input["var"]
|
|
14486
|
+
}, _errorFactory)) && (("object" === typeof input.hostBridge && null !== input.hostBridge || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14487
|
+
method: "typia.assert",
|
|
14488
|
+
path: _path + ".hostBridge",
|
|
14489
|
+
expected: "MonitorStatsHostBridge",
|
|
14490
|
+
value: input.hostBridge
|
|
14491
|
+
}, _errorFactory)) && _ao13(input.hostBridge, _path + ".hostBridge", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14492
|
+
method: "typia.assert",
|
|
14493
|
+
path: _path + ".hostBridge",
|
|
14494
|
+
expected: "MonitorStatsHostBridge",
|
|
14495
|
+
value: input.hostBridge
|
|
13098
14496
|
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (null === input.cpu || ("object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13099
14497
|
method: "typia.assert",
|
|
13100
14498
|
path: _path + ".cpu",
|
|
@@ -13110,14 +14508,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
13110
14508
|
path: _path + ".cpus",
|
|
13111
14509
|
expected: "(Array<MonitorStatsProcInfoCpu> | undefined)",
|
|
13112
14510
|
value: input.cpus
|
|
13113
|
-
}, _errorFactory)) && input.cpus.every((elem,
|
|
14511
|
+
}, _errorFactory)) && input.cpus.every((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13114
14512
|
method: "typia.assert",
|
|
13115
|
-
path: _path + ".cpus[" +
|
|
14513
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
13116
14514
|
expected: "MonitorStatsProcInfoCpu",
|
|
13117
14515
|
value: elem
|
|
13118
|
-
}, _errorFactory)) && _ao2(elem, _path + ".cpus[" +
|
|
14516
|
+
}, _errorFactory)) && _ao2(elem, _path + ".cpus[" + _index11 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13119
14517
|
method: "typia.assert",
|
|
13120
|
-
path: _path + ".cpus[" +
|
|
14518
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
13121
14519
|
expected: "MonitorStatsProcInfoCpu",
|
|
13122
14520
|
value: elem
|
|
13123
14521
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13135,9 +14533,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
13135
14533
|
path: _path + ".load",
|
|
13136
14534
|
expected: "(Array<number> | null)",
|
|
13137
14535
|
value: input.load
|
|
13138
|
-
}, _errorFactory)) && input.load.every((elem,
|
|
14536
|
+
}, _errorFactory)) && input.load.every((elem, _index12) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13139
14537
|
method: "typia.assert",
|
|
13140
|
-
path: _path + ".load[" +
|
|
14538
|
+
path: _path + ".load[" + _index12 + "]",
|
|
13141
14539
|
expected: "number",
|
|
13142
14540
|
value: elem
|
|
13143
14541
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13150,9 +14548,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
13150
14548
|
path: _path + ".interrupts",
|
|
13151
14549
|
expected: "(Array<number> | null | undefined)",
|
|
13152
14550
|
value: input.interrupts
|
|
13153
|
-
}, _errorFactory)) && input.interrupts.every((elem,
|
|
14551
|
+
}, _errorFactory)) && input.interrupts.every((elem, _index13) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13154
14552
|
method: "typia.assert",
|
|
13155
|
-
path: _path + ".interrupts[" +
|
|
14553
|
+
path: _path + ".interrupts[" + _index13 + "]",
|
|
13156
14554
|
expected: "number",
|
|
13157
14555
|
value: elem
|
|
13158
14556
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13225,9 +14623,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
13225
14623
|
path: _path + ".normal",
|
|
13226
14624
|
expected: "(Array<number> | undefined)",
|
|
13227
14625
|
value: input.normal
|
|
13228
|
-
}, _errorFactory)) && input.normal.every((elem,
|
|
14626
|
+
}, _errorFactory)) && input.normal.every((elem, _index14) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13229
14627
|
method: "typia.assert",
|
|
13230
|
-
path: _path + ".normal[" +
|
|
14628
|
+
path: _path + ".normal[" + _index14 + "]",
|
|
13231
14629
|
expected: "number",
|
|
13232
14630
|
value: elem
|
|
13233
14631
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13240,9 +14638,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
13240
14638
|
path: _path + ".high",
|
|
13241
14639
|
expected: "(Array<number> | undefined)",
|
|
13242
14640
|
value: input.high
|
|
13243
|
-
}, _errorFactory)) && input.high.every((elem,
|
|
14641
|
+
}, _errorFactory)) && input.high.every((elem, _index15) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13244
14642
|
method: "typia.assert",
|
|
13245
|
-
path: _path + ".high[" +
|
|
14643
|
+
path: _path + ".high[" + _index15 + "]",
|
|
13246
14644
|
expected: "number",
|
|
13247
14645
|
value: elem
|
|
13248
14646
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13290,14 +14688,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
13290
14688
|
path: _path + ".bonding",
|
|
13291
14689
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }>",
|
|
13292
14690
|
value: input.bonding
|
|
13293
|
-
}, _errorFactory)) && input.bonding.every((elem,
|
|
14691
|
+
}, _errorFactory)) && input.bonding.every((elem, _index16) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13294
14692
|
method: "typia.assert",
|
|
13295
|
-
path: _path + ".bonding[" +
|
|
14693
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
13296
14694
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
13297
14695
|
value: elem
|
|
13298
|
-
}, _errorFactory)) && _ao10(elem, _path + ".bonding[" +
|
|
14696
|
+
}, _errorFactory)) && _ao10(elem, _path + ".bonding[" + _index16 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13299
14697
|
method: "typia.assert",
|
|
13300
|
-
path: _path + ".bonding[" +
|
|
14698
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
13301
14699
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
13302
14700
|
value: elem
|
|
13303
14701
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13310,14 +14708,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
13310
14708
|
path: _path + ".eth",
|
|
13311
14709
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }>",
|
|
13312
14710
|
value: input.eth
|
|
13313
|
-
}, _errorFactory)) && input.eth.every((elem,
|
|
14711
|
+
}, _errorFactory)) && input.eth.every((elem, _index17) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13314
14712
|
method: "typia.assert",
|
|
13315
|
-
path: _path + ".eth[" +
|
|
14713
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
13316
14714
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
13317
14715
|
value: elem
|
|
13318
|
-
}, _errorFactory)) && _ao11(elem, _path + ".eth[" +
|
|
14716
|
+
}, _errorFactory)) && _ao11(elem, _path + ".eth[" + _index17 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13319
14717
|
method: "typia.assert",
|
|
13320
|
-
path: _path + ".eth[" +
|
|
14718
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
13321
14719
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
13322
14720
|
value: elem
|
|
13323
14721
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13370,14 +14768,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
13370
14768
|
path: _path + ".cpus",
|
|
13371
14769
|
expected: "Array<__type>",
|
|
13372
14770
|
value: input.cpus
|
|
13373
|
-
}, _errorFactory)) && input.cpus.every((elem,
|
|
14771
|
+
}, _errorFactory)) && input.cpus.every((elem, _index18) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13374
14772
|
method: "typia.assert",
|
|
13375
|
-
path: _path + ".cpus[" +
|
|
14773
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
13376
14774
|
expected: "__type.o1",
|
|
13377
14775
|
value: elem
|
|
13378
|
-
}, _errorFactory)) && _ao7(elem, _path + ".cpus[" +
|
|
14776
|
+
}, _errorFactory)) && _ao7(elem, _path + ".cpus[" + _index18 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13379
14777
|
method: "typia.assert",
|
|
13380
|
-
path: _path + ".cpus[" +
|
|
14778
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
13381
14779
|
expected: "__type.o1",
|
|
13382
14780
|
value: elem
|
|
13383
14781
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13630,9 +15028,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
13630
15028
|
path: _path + ".slaves",
|
|
13631
15029
|
expected: "Array<string>",
|
|
13632
15030
|
value: input.slaves
|
|
13633
|
-
}, _errorFactory)) && input.slaves.every((elem,
|
|
15031
|
+
}, _errorFactory)) && input.slaves.every((elem, _index19) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13634
15032
|
method: "typia.assert",
|
|
13635
|
-
path: _path + ".slaves[" +
|
|
15033
|
+
path: _path + ".slaves[" + _index19 + "]",
|
|
13636
15034
|
expected: "string",
|
|
13637
15035
|
value: elem
|
|
13638
15036
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13839,6 +15237,76 @@ function _assertDomainRecord(domain, input) {
|
|
|
13839
15237
|
path: _path + ".timestamp",
|
|
13840
15238
|
expected: "number",
|
|
13841
15239
|
value: input.timestamp
|
|
15240
|
+
}, _errorFactory)); const _ao13 = (input, _path, _exceptionable = true) => (("object" === typeof input.types && null !== input.types && false === Array.isArray(input.types) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15241
|
+
method: "typia.assert",
|
|
15242
|
+
path: _path + ".types",
|
|
15243
|
+
expected: "Record<string, string>",
|
|
15244
|
+
value: input.types
|
|
15245
|
+
}, _errorFactory)) && _ao14(input.types, _path + ".types", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15246
|
+
method: "typia.assert",
|
|
15247
|
+
path: _path + ".types",
|
|
15248
|
+
expected: "Record<string, string>",
|
|
15249
|
+
value: input.types
|
|
15250
|
+
}, _errorFactory)) && ((Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15251
|
+
method: "typia.assert",
|
|
15252
|
+
path: _path + ".messages",
|
|
15253
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
15254
|
+
value: input.messages
|
|
15255
|
+
}, _errorFactory)) && input.messages.every((elem, _index20) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15256
|
+
method: "typia.assert",
|
|
15257
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
15258
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
15259
|
+
value: elem
|
|
15260
|
+
}, _errorFactory)) && _ao15(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15261
|
+
method: "typia.assert",
|
|
15262
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
15263
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
15264
|
+
value: elem
|
|
15265
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15266
|
+
method: "typia.assert",
|
|
15267
|
+
path: _path + ".messages",
|
|
15268
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
15269
|
+
value: input.messages
|
|
15270
|
+
}, _errorFactory)) && ("number" === typeof input.timestamp || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15271
|
+
method: "typia.assert",
|
|
15272
|
+
path: _path + ".timestamp",
|
|
15273
|
+
expected: "number",
|
|
15274
|
+
value: input.timestamp
|
|
15275
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
15276
|
+
const value = input[key];
|
|
15277
|
+
if (undefined === value)
|
|
15278
|
+
return true;
|
|
15279
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15280
|
+
method: "typia.assert",
|
|
15281
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15282
|
+
expected: "string",
|
|
15283
|
+
value: value
|
|
15284
|
+
}, _errorFactory);
|
|
15285
|
+
}); const _ao15 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15286
|
+
method: "typia.assert",
|
|
15287
|
+
path: _path + ".type",
|
|
15288
|
+
expected: "string",
|
|
15289
|
+
value: input.type
|
|
15290
|
+
}, _errorFactory)) && ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15291
|
+
method: "typia.assert",
|
|
15292
|
+
path: _path + ".id",
|
|
15293
|
+
expected: "string",
|
|
15294
|
+
value: input.id
|
|
15295
|
+
}, _errorFactory)) && ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15296
|
+
method: "typia.assert",
|
|
15297
|
+
path: _path + ".level",
|
|
15298
|
+
expected: "number",
|
|
15299
|
+
value: input.level
|
|
15300
|
+
}, _errorFactory)) && ("string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15301
|
+
method: "typia.assert",
|
|
15302
|
+
path: _path + ".title",
|
|
15303
|
+
expected: "string",
|
|
15304
|
+
value: input.title
|
|
15305
|
+
}, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15306
|
+
method: "typia.assert",
|
|
15307
|
+
path: _path + ".msg",
|
|
15308
|
+
expected: "string",
|
|
15309
|
+
value: input.msg
|
|
13842
15310
|
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
13843
15311
|
if (false === __is(input)) {
|
|
13844
15312
|
_errorFactory = errorFactory;
|
|
@@ -23330,7 +24798,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
23330
24798
|
if (undefined === value)
|
|
23331
24799
|
return true;
|
|
23332
24800
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
23333
|
-
}); const _io30 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io31 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io32 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io33 = input => Object.keys(input).every(key => {
|
|
24801
|
+
}); const _io30 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io31 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding) && (undefined === input.stickyHeaders || "boolean" === typeof input.stickyHeaders) && (undefined === input.triggersColumn || "title" === input.triggersColumn || "triggers" === input.triggersColumn) && (undefined === input.density || "normal" === input.density || "compact" === input.density || "spacious" === input.density) && (undefined === input.showEvents || "boolean" === typeof input.showEvents) && (undefined === input.showTriggers || "boolean" === typeof input.showTriggers) && (undefined === input.showReferenceDuration || "boolean" === typeof input.showReferenceDuration) && (undefined === input.showSettingsColumn || "boolean" === typeof input.showSettingsColumn) && (undefined === input.thumbnailColumnWidth || "number" === typeof input.thumbnailColumnWidth); const _io32 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io33 = input => Object.keys(input).every(key => {
|
|
23334
24802
|
const value = input[key];
|
|
23335
24803
|
if (undefined === value)
|
|
23336
24804
|
return true;
|
|
@@ -23345,7 +24813,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
23345
24813
|
if (undefined === value)
|
|
23346
24814
|
return true;
|
|
23347
24815
|
return true;
|
|
23348
|
-
}); 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.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 => {
|
|
24816
|
+
}); 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) && (undefined === input.systemHealthDebugLevel || "boolean" === typeof input.systemHealthDebugLevel); 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 => {
|
|
23349
24817
|
const value = input[key];
|
|
23350
24818
|
if (undefined === value)
|
|
23351
24819
|
return true;
|
|
@@ -24464,6 +25932,46 @@ function _assertDomainRecord(domain, input) {
|
|
|
24464
25932
|
path: _path + ".scriptEventFolding",
|
|
24465
25933
|
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
24466
25934
|
value: input.scriptEventFolding
|
|
25935
|
+
}, _errorFactory)) && (undefined === input.stickyHeaders || "boolean" === typeof input.stickyHeaders || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25936
|
+
method: "typia.assert",
|
|
25937
|
+
path: _path + ".stickyHeaders",
|
|
25938
|
+
expected: "(boolean | undefined)",
|
|
25939
|
+
value: input.stickyHeaders
|
|
25940
|
+
}, _errorFactory)) && (undefined === input.triggersColumn || "title" === input.triggersColumn || "triggers" === input.triggersColumn || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25941
|
+
method: "typia.assert",
|
|
25942
|
+
path: _path + ".triggersColumn",
|
|
25943
|
+
expected: "(\"title\" | \"triggers\" | undefined)",
|
|
25944
|
+
value: input.triggersColumn
|
|
25945
|
+
}, _errorFactory)) && (undefined === input.density || "normal" === input.density || "compact" === input.density || "spacious" === input.density || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25946
|
+
method: "typia.assert",
|
|
25947
|
+
path: _path + ".density",
|
|
25948
|
+
expected: "(\"compact\" | \"normal\" | \"spacious\" | undefined)",
|
|
25949
|
+
value: input.density
|
|
25950
|
+
}, _errorFactory)) && (undefined === input.showEvents || "boolean" === typeof input.showEvents || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25951
|
+
method: "typia.assert",
|
|
25952
|
+
path: _path + ".showEvents",
|
|
25953
|
+
expected: "(boolean | undefined)",
|
|
25954
|
+
value: input.showEvents
|
|
25955
|
+
}, _errorFactory)) && (undefined === input.showTriggers || "boolean" === typeof input.showTriggers || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25956
|
+
method: "typia.assert",
|
|
25957
|
+
path: _path + ".showTriggers",
|
|
25958
|
+
expected: "(boolean | undefined)",
|
|
25959
|
+
value: input.showTriggers
|
|
25960
|
+
}, _errorFactory)) && (undefined === input.showReferenceDuration || "boolean" === typeof input.showReferenceDuration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25961
|
+
method: "typia.assert",
|
|
25962
|
+
path: _path + ".showReferenceDuration",
|
|
25963
|
+
expected: "(boolean | undefined)",
|
|
25964
|
+
value: input.showReferenceDuration
|
|
25965
|
+
}, _errorFactory)) && (undefined === input.showSettingsColumn || "boolean" === typeof input.showSettingsColumn || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25966
|
+
method: "typia.assert",
|
|
25967
|
+
path: _path + ".showSettingsColumn",
|
|
25968
|
+
expected: "(boolean | undefined)",
|
|
25969
|
+
value: input.showSettingsColumn
|
|
25970
|
+
}, _errorFactory)) && (undefined === input.thumbnailColumnWidth || "number" === typeof input.thumbnailColumnWidth || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25971
|
+
method: "typia.assert",
|
|
25972
|
+
path: _path + ".thumbnailColumnWidth",
|
|
25973
|
+
expected: "(number | undefined)",
|
|
25974
|
+
value: input.thumbnailColumnWidth
|
|
24467
25975
|
}, _errorFactory)); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24468
25976
|
method: "typia.assert",
|
|
24469
25977
|
path: _path + ".dimOnBlur",
|
|
@@ -24969,7 +26477,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
24969
26477
|
path: _path + ".defaultExitOption",
|
|
24970
26478
|
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
24971
26479
|
value: input.defaultExitOption
|
|
24972
|
-
}, _errorFactory)); const _ao46 = (input, _path, _exceptionable = true) => undefined === input.
|
|
26480
|
+
}, _errorFactory)); const _ao46 = (input, _path, _exceptionable = true) => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
26481
|
+
method: "typia.assert",
|
|
26482
|
+
path: _path + ".showSpeakers",
|
|
26483
|
+
expected: "(boolean | undefined)",
|
|
26484
|
+
value: input.showSpeakers
|
|
26485
|
+
}, _errorFactory)) && (undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24973
26486
|
method: "typia.assert",
|
|
24974
26487
|
path: _path + ".subtitleDisclaimer",
|
|
24975
26488
|
expected: "(__type.o37 | undefined)",
|
|
@@ -24979,7 +26492,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
24979
26492
|
path: _path + ".subtitleDisclaimer",
|
|
24980
26493
|
expected: "(__type.o37 | undefined)",
|
|
24981
26494
|
value: input.subtitleDisclaimer
|
|
24982
|
-
}, _errorFactory); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
26495
|
+
}, _errorFactory)); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24983
26496
|
method: "typia.assert",
|
|
24984
26497
|
path: _path + ".isUserConfigurable",
|
|
24985
26498
|
expected: "(boolean | undefined)",
|
|
@@ -25939,6 +27452,11 @@ function _assertDomainRecord(domain, input) {
|
|
|
25939
27452
|
path: _path + ".systemHealthIgnore",
|
|
25940
27453
|
expected: "(boolean | undefined)",
|
|
25941
27454
|
value: input.systemHealthIgnore
|
|
27455
|
+
}, _errorFactory)) && (undefined === input.systemHealthDebugLevel || "boolean" === typeof input.systemHealthDebugLevel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27456
|
+
method: "typia.assert",
|
|
27457
|
+
path: _path + ".systemHealthDebugLevel",
|
|
27458
|
+
expected: "(boolean | undefined)",
|
|
27459
|
+
value: input.systemHealthDebugLevel
|
|
25942
27460
|
}, _errorFactory)); const _ao82 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25943
27461
|
method: "typia.assert",
|
|
25944
27462
|
path: _path + ".events",
|
|
@@ -26891,21 +28409,110 @@ function _assertDomainRecord(domain, input) {
|
|
|
26891
28409
|
case ":storage-zone": {
|
|
26892
28410
|
return (() => { const _io0 = input => undefined === input.priority || "number" === typeof input.priority; const _ao0 = (input, _path, _exceptionable = true) => undefined === input.priority || "number" === typeof input.priority || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
26893
28411
|
method: "typia.assert",
|
|
26894
|
-
path: _path + ".priority",
|
|
26895
|
-
expected: "(number | undefined)",
|
|
26896
|
-
value: input.priority
|
|
26897
|
-
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
28412
|
+
path: _path + ".priority",
|
|
28413
|
+
expected: "(number | undefined)",
|
|
28414
|
+
value: input.priority
|
|
28415
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
28416
|
+
if (false === __is(input)) {
|
|
28417
|
+
_errorFactory = errorFactory;
|
|
28418
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28419
|
+
method: "typia.assert",
|
|
28420
|
+
path: _path + "",
|
|
28421
|
+
expected: "StorageZoneDomainRecord",
|
|
28422
|
+
value: input
|
|
28423
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28424
|
+
method: "typia.assert",
|
|
28425
|
+
path: _path + "",
|
|
28426
|
+
expected: "StorageZoneDomainRecord",
|
|
28427
|
+
value: input
|
|
28428
|
+
}, _errorFactory))(input, "$input", true);
|
|
28429
|
+
}
|
|
28430
|
+
return input;
|
|
28431
|
+
}; })()(input);
|
|
28432
|
+
}
|
|
28433
|
+
case ":story.editor": {
|
|
28434
|
+
return (() => { const _io0 = input => undefined === input.value || "object" === typeof input.value && null !== input.value && false === Array.isArray(input.value) && _io1(input.value); const _io1 = input => (undefined === input.object || "string" === typeof input.object) && (undefined === input.document || "object" === typeof input.document && null !== input.document && false === Array.isArray(input.document) && _io2(input.document)); const _io2 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (undefined === input.nodes || Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))); const _io3 = input => Object.keys(input).every(key => {
|
|
28435
|
+
const value = input[key];
|
|
28436
|
+
if (undefined === value)
|
|
28437
|
+
return true;
|
|
28438
|
+
return true;
|
|
28439
|
+
}); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.value || ("object" === typeof input.value && null !== input.value && false === Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28440
|
+
method: "typia.assert",
|
|
28441
|
+
path: _path + ".value",
|
|
28442
|
+
expected: "(__type | undefined)",
|
|
28443
|
+
value: input.value
|
|
28444
|
+
}, _errorFactory)) && _ao1(input.value, _path + ".value", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28445
|
+
method: "typia.assert",
|
|
28446
|
+
path: _path + ".value",
|
|
28447
|
+
expected: "(__type | undefined)",
|
|
28448
|
+
value: input.value
|
|
28449
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.object || "string" === typeof input.object || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28450
|
+
method: "typia.assert",
|
|
28451
|
+
path: _path + ".object",
|
|
28452
|
+
expected: "(string | undefined)",
|
|
28453
|
+
value: input.object
|
|
28454
|
+
}, _errorFactory)) && (undefined === input.document || ("object" === typeof input.document && null !== input.document && false === Array.isArray(input.document) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28455
|
+
method: "typia.assert",
|
|
28456
|
+
path: _path + ".document",
|
|
28457
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
28458
|
+
value: input.document
|
|
28459
|
+
}, _errorFactory)) && _ao2(input.document, _path + ".document", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28460
|
+
method: "typia.assert",
|
|
28461
|
+
path: _path + ".document",
|
|
28462
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
28463
|
+
value: input.document
|
|
28464
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28465
|
+
method: "typia.assert",
|
|
28466
|
+
path: _path + ".type",
|
|
28467
|
+
expected: "(string | undefined)",
|
|
28468
|
+
value: input.type
|
|
28469
|
+
}, _errorFactory)) && (undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28470
|
+
method: "typia.assert",
|
|
28471
|
+
path: _path + ".data",
|
|
28472
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
28473
|
+
value: input.data
|
|
28474
|
+
}, _errorFactory)) && _ao3(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28475
|
+
method: "typia.assert",
|
|
28476
|
+
path: _path + ".data",
|
|
28477
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
28478
|
+
value: input.data
|
|
28479
|
+
}, _errorFactory)) && (undefined === input.nodes || (Array.isArray(input.nodes) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28480
|
+
method: "typia.assert",
|
|
28481
|
+
path: _path + ".nodes",
|
|
28482
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
28483
|
+
value: input.nodes
|
|
28484
|
+
}, _errorFactory)) && input.nodes.every((elem, _index2) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28485
|
+
method: "typia.assert",
|
|
28486
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
28487
|
+
expected: "StoryDomainEditorRecordNode",
|
|
28488
|
+
value: elem
|
|
28489
|
+
}, _errorFactory)) && _ao2(elem, _path + ".nodes[" + _index2 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28490
|
+
method: "typia.assert",
|
|
28491
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
28492
|
+
expected: "StoryDomainEditorRecordNode",
|
|
28493
|
+
value: elem
|
|
28494
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28495
|
+
method: "typia.assert",
|
|
28496
|
+
path: _path + ".nodes",
|
|
28497
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
28498
|
+
value: input.nodes
|
|
28499
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
28500
|
+
const value = input[key];
|
|
28501
|
+
if (undefined === value)
|
|
28502
|
+
return true;
|
|
28503
|
+
return true;
|
|
28504
|
+
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
26898
28505
|
if (false === __is(input)) {
|
|
26899
28506
|
_errorFactory = errorFactory;
|
|
26900
28507
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
26901
28508
|
method: "typia.assert",
|
|
26902
28509
|
path: _path + "",
|
|
26903
|
-
expected: "
|
|
28510
|
+
expected: "StoryDomainEditorRecord",
|
|
26904
28511
|
value: input
|
|
26905
28512
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
26906
28513
|
method: "typia.assert",
|
|
26907
28514
|
path: _path + "",
|
|
26908
|
-
expected: "
|
|
28515
|
+
expected: "StoryDomainEditorRecord",
|
|
26909
28516
|
value: input
|
|
26910
28517
|
}, _errorFactory))(input, "$input", true);
|
|
26911
28518
|
}
|
|
@@ -27762,280 +29369,6 @@ function _assertDomainRecord(domain, input) {
|
|
|
27762
29369
|
return input;
|
|
27763
29370
|
}; })()(input);
|
|
27764
29371
|
}
|
|
27765
|
-
case ":template": {
|
|
27766
|
-
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 => {
|
|
27767
|
-
const value = input[key];
|
|
27768
|
-
if (undefined === value)
|
|
27769
|
-
return true;
|
|
27770
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
27771
|
-
}); 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 => {
|
|
27772
|
-
const value = input[key];
|
|
27773
|
-
if (undefined === value)
|
|
27774
|
-
return true;
|
|
27775
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
27776
|
-
}); 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, {
|
|
27777
|
-
method: "typia.assert",
|
|
27778
|
-
path: _path + ".source",
|
|
27779
|
-
expected: "(string | undefined)",
|
|
27780
|
-
value: input.source
|
|
27781
|
-
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27782
|
-
method: "typia.assert",
|
|
27783
|
-
path: _path + ".controller",
|
|
27784
|
-
expected: "(string | undefined)",
|
|
27785
|
-
value: input.controller
|
|
27786
|
-
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27787
|
-
method: "typia.assert",
|
|
27788
|
-
path: _path + ".type",
|
|
27789
|
-
expected: "(string | undefined)",
|
|
27790
|
-
value: input.type
|
|
27791
|
-
}, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27792
|
-
method: "typia.assert",
|
|
27793
|
-
path: _path + ".mixin",
|
|
27794
|
-
expected: "(Array<string> | undefined)",
|
|
27795
|
-
value: input.mixin
|
|
27796
|
-
}, _errorFactory)) && input.mixin.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27797
|
-
method: "typia.assert",
|
|
27798
|
-
path: _path + ".mixin[" + _index2 + "]",
|
|
27799
|
-
expected: "string",
|
|
27800
|
-
value: elem
|
|
27801
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27802
|
-
method: "typia.assert",
|
|
27803
|
-
path: _path + ".mixin",
|
|
27804
|
-
expected: "(Array<string> | undefined)",
|
|
27805
|
-
value: input.mixin
|
|
27806
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27807
|
-
method: "typia.assert",
|
|
27808
|
-
path: _path + ".properties",
|
|
27809
|
-
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
27810
|
-
value: input.properties
|
|
27811
|
-
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27812
|
-
method: "typia.assert",
|
|
27813
|
-
path: _path + ".properties",
|
|
27814
|
-
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
27815
|
-
value: input.properties
|
|
27816
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
27817
|
-
const value = input[key];
|
|
27818
|
-
if (undefined === value)
|
|
27819
|
-
return true;
|
|
27820
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27821
|
-
method: "typia.assert",
|
|
27822
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27823
|
-
expected: "TemplateProperty",
|
|
27824
|
-
value: value
|
|
27825
|
-
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27826
|
-
method: "typia.assert",
|
|
27827
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27828
|
-
expected: "TemplateProperty",
|
|
27829
|
-
value: value
|
|
27830
|
-
}, _errorFactory);
|
|
27831
|
-
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27832
|
-
method: "typia.assert",
|
|
27833
|
-
path: _path + ".path",
|
|
27834
|
-
expected: "(string | undefined)",
|
|
27835
|
-
value: input.path
|
|
27836
|
-
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27837
|
-
method: "typia.assert",
|
|
27838
|
-
path: _path + ".type",
|
|
27839
|
-
expected: "(string | undefined)",
|
|
27840
|
-
value: input.type
|
|
27841
|
-
}, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27842
|
-
method: "typia.assert",
|
|
27843
|
-
path: _path + ".label",
|
|
27844
|
-
expected: "(string | undefined)",
|
|
27845
|
-
value: input.label
|
|
27846
|
-
}, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27847
|
-
method: "typia.assert",
|
|
27848
|
-
path: _path + ".defaultValue",
|
|
27849
|
-
expected: "(string | undefined)",
|
|
27850
|
-
value: input.defaultValue
|
|
27851
|
-
}, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27852
|
-
method: "typia.assert",
|
|
27853
|
-
path: _path + ".widget",
|
|
27854
|
-
expected: "(__type | undefined)",
|
|
27855
|
-
value: input.widget
|
|
27856
|
-
}, _errorFactory)) && _ao3(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27857
|
-
method: "typia.assert",
|
|
27858
|
-
path: _path + ".widget",
|
|
27859
|
-
expected: "(__type | undefined)",
|
|
27860
|
-
value: input.widget
|
|
27861
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27862
|
-
method: "typia.assert",
|
|
27863
|
-
path: _path + ".properties",
|
|
27864
|
-
expected: "(object | undefined)",
|
|
27865
|
-
value: input.properties
|
|
27866
|
-
}, _errorFactory)) && _ao4(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27867
|
-
method: "typia.assert",
|
|
27868
|
-
path: _path + ".properties",
|
|
27869
|
-
expected: "(object | undefined)",
|
|
27870
|
-
value: input.properties
|
|
27871
|
-
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27872
|
-
method: "typia.assert",
|
|
27873
|
-
path: _path + ".items",
|
|
27874
|
-
expected: "(__type.o1 | undefined)",
|
|
27875
|
-
value: input.items
|
|
27876
|
-
}, _errorFactory)) && _ao5(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27877
|
-
method: "typia.assert",
|
|
27878
|
-
path: _path + ".items",
|
|
27879
|
-
expected: "(__type.o1 | undefined)",
|
|
27880
|
-
value: input.items
|
|
27881
|
-
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27882
|
-
method: "typia.assert",
|
|
27883
|
-
path: _path + ".render",
|
|
27884
|
-
expected: "(__type.o3 | undefined)",
|
|
27885
|
-
value: input.render
|
|
27886
|
-
}, _errorFactory)) && _ao9(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27887
|
-
method: "typia.assert",
|
|
27888
|
-
path: _path + ".render",
|
|
27889
|
-
expected: "(__type.o3 | undefined)",
|
|
27890
|
-
value: input.render
|
|
27891
|
-
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27892
|
-
method: "typia.assert",
|
|
27893
|
-
path: _path + ".type",
|
|
27894
|
-
expected: "string",
|
|
27895
|
-
value: input.type
|
|
27896
|
-
}, _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, {
|
|
27897
|
-
method: "typia.assert",
|
|
27898
|
-
path: _path + ".properties",
|
|
27899
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27900
|
-
value: input.properties
|
|
27901
|
-
}, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27902
|
-
method: "typia.assert",
|
|
27903
|
-
path: _path + ".properties",
|
|
27904
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27905
|
-
value: input.properties
|
|
27906
|
-
}, _errorFactory); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
27907
|
-
const value = input[key];
|
|
27908
|
-
if (undefined === value)
|
|
27909
|
-
return true;
|
|
27910
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27911
|
-
method: "typia.assert",
|
|
27912
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27913
|
-
expected: "TemplatePropertySchema",
|
|
27914
|
-
value: value
|
|
27915
|
-
}, _errorFactory)) && _ao7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27916
|
-
method: "typia.assert",
|
|
27917
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27918
|
-
expected: "TemplatePropertySchema",
|
|
27919
|
-
value: value
|
|
27920
|
-
}, _errorFactory);
|
|
27921
|
-
}); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27922
|
-
method: "typia.assert",
|
|
27923
|
-
path: _path + ".path",
|
|
27924
|
-
expected: "(string | undefined)",
|
|
27925
|
-
value: input.path
|
|
27926
|
-
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27927
|
-
method: "typia.assert",
|
|
27928
|
-
path: _path + ".type",
|
|
27929
|
-
expected: "(string | undefined)",
|
|
27930
|
-
value: input.type
|
|
27931
|
-
}, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27932
|
-
method: "typia.assert",
|
|
27933
|
-
path: _path + ".label",
|
|
27934
|
-
expected: "(string | undefined)",
|
|
27935
|
-
value: input.label
|
|
27936
|
-
}, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27937
|
-
method: "typia.assert",
|
|
27938
|
-
path: _path + ".defaultValue",
|
|
27939
|
-
expected: "(string | undefined)",
|
|
27940
|
-
value: input.defaultValue
|
|
27941
|
-
}, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27942
|
-
method: "typia.assert",
|
|
27943
|
-
path: _path + ".widget",
|
|
27944
|
-
expected: "(__type.o2 | undefined)",
|
|
27945
|
-
value: input.widget
|
|
27946
|
-
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27947
|
-
method: "typia.assert",
|
|
27948
|
-
path: _path + ".widget",
|
|
27949
|
-
expected: "(__type.o2 | undefined)",
|
|
27950
|
-
value: input.widget
|
|
27951
|
-
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27952
|
-
method: "typia.assert",
|
|
27953
|
-
path: _path + ".items",
|
|
27954
|
-
expected: "(TemplatePropertySchema | undefined)",
|
|
27955
|
-
value: input.items
|
|
27956
|
-
}, _errorFactory)) && _ao7(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27957
|
-
method: "typia.assert",
|
|
27958
|
-
path: _path + ".items",
|
|
27959
|
-
expected: "(TemplatePropertySchema | undefined)",
|
|
27960
|
-
value: input.items
|
|
27961
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27962
|
-
method: "typia.assert",
|
|
27963
|
-
path: _path + ".properties",
|
|
27964
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27965
|
-
value: input.properties
|
|
27966
|
-
}, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27967
|
-
method: "typia.assert",
|
|
27968
|
-
path: _path + ".properties",
|
|
27969
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27970
|
-
value: input.properties
|
|
27971
|
-
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27972
|
-
method: "typia.assert",
|
|
27973
|
-
path: _path + ".type",
|
|
27974
|
-
expected: "string",
|
|
27975
|
-
value: input.type
|
|
27976
|
-
}, _errorFactory); const _ao9 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27977
|
-
method: "typia.assert",
|
|
27978
|
-
path: _path + ".type",
|
|
27979
|
-
expected: "\"image\"",
|
|
27980
|
-
value: input.type
|
|
27981
|
-
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27982
|
-
method: "typia.assert",
|
|
27983
|
-
path: _path + ".profile",
|
|
27984
|
-
expected: "(__type.o4 | undefined)",
|
|
27985
|
-
value: input.profile
|
|
27986
|
-
}, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27987
|
-
method: "typia.assert",
|
|
27988
|
-
path: _path + ".profile",
|
|
27989
|
-
expected: "(__type.o4 | undefined)",
|
|
27990
|
-
value: input.profile
|
|
27991
|
-
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27992
|
-
method: "typia.assert",
|
|
27993
|
-
path: _path + ".format",
|
|
27994
|
-
expected: "(string | undefined)",
|
|
27995
|
-
value: input.format
|
|
27996
|
-
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27997
|
-
method: "typia.assert",
|
|
27998
|
-
path: _path + ".video",
|
|
27999
|
-
expected: "(__type.o5 | undefined)",
|
|
28000
|
-
value: input.video
|
|
28001
|
-
}, _errorFactory)) && _ao11(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28002
|
-
method: "typia.assert",
|
|
28003
|
-
path: _path + ".video",
|
|
28004
|
-
expected: "(__type.o5 | undefined)",
|
|
28005
|
-
value: input.video
|
|
28006
|
-
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28007
|
-
method: "typia.assert",
|
|
28008
|
-
path: _path + ".width",
|
|
28009
|
-
expected: "number",
|
|
28010
|
-
value: input.width
|
|
28011
|
-
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28012
|
-
method: "typia.assert",
|
|
28013
|
-
path: _path + ".height",
|
|
28014
|
-
expected: "number",
|
|
28015
|
-
value: input.height
|
|
28016
|
-
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28017
|
-
method: "typia.assert",
|
|
28018
|
-
path: _path + ".fit",
|
|
28019
|
-
expected: "\"cover\"",
|
|
28020
|
-
value: input.fit
|
|
28021
|
-
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
28022
|
-
if (false === __is(input)) {
|
|
28023
|
-
_errorFactory = errorFactory;
|
|
28024
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28025
|
-
method: "typia.assert",
|
|
28026
|
-
path: _path + "",
|
|
28027
|
-
expected: "TemplateRecord",
|
|
28028
|
-
value: input
|
|
28029
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28030
|
-
method: "typia.assert",
|
|
28031
|
-
path: _path + "",
|
|
28032
|
-
expected: "TemplateRecord",
|
|
28033
|
-
value: input
|
|
28034
|
-
}, _errorFactory))(input, "$input", true);
|
|
28035
|
-
}
|
|
28036
|
-
return input;
|
|
28037
|
-
}; })()(input);
|
|
28038
|
-
}
|
|
28039
29372
|
case ":_user-notification-status": {
|
|
28040
29373
|
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, {
|
|
28041
29374
|
method: "typia.assert",
|