@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
|
@@ -2141,7 +2141,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2141
2141
|
if (undefined === value)
|
|
2142
2142
|
return true;
|
|
2143
2143
|
return "string" === typeof value;
|
|
2144
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2144
|
+
}); 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, {
|
|
2145
2145
|
method: "typia.assertGuard",
|
|
2146
2146
|
path: _path + ".defaultLanguage",
|
|
2147
2147
|
expected: "(string | undefined)",
|
|
@@ -2196,12 +2196,12 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2196
2196
|
path: _path + ".asset",
|
|
2197
2197
|
expected: "(string | undefined)",
|
|
2198
2198
|
value: input.asset
|
|
2199
|
-
}, _errorFactory)) && (undefined === input.weight || "
|
|
2199
|
+
}, _errorFactory)) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2200
2200
|
method: "typia.assertGuard",
|
|
2201
2201
|
path: _path + ".weight",
|
|
2202
2202
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2203
2203
|
value: input.weight
|
|
2204
|
-
}, _errorFactory)) && (undefined === input.style || "
|
|
2204
|
+
}, _errorFactory)) && (undefined === input.style || "normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2205
2205
|
method: "typia.assertGuard",
|
|
2206
2206
|
path: _path + ".style",
|
|
2207
2207
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
@@ -2229,7 +2229,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2229
2229
|
if (undefined === value)
|
|
2230
2230
|
return true;
|
|
2231
2231
|
return "string" === typeof value;
|
|
2232
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "
|
|
2232
|
+
}); 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, {
|
|
2233
2233
|
method: "typia.assertGuard",
|
|
2234
2234
|
path: _path + ".defaultLanguage",
|
|
2235
2235
|
expected: "(string | undefined)",
|
|
@@ -2284,12 +2284,12 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2284
2284
|
path: _path + ".asset",
|
|
2285
2285
|
expected: "(string | undefined)",
|
|
2286
2286
|
value: input.asset
|
|
2287
|
-
}, _errorFactory)) && (undefined === input.weight || "
|
|
2287
|
+
}, _errorFactory)) && (undefined === input.weight || "normal" === input.weight || "bold" === input.weight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2288
2288
|
method: "typia.assertGuard",
|
|
2289
2289
|
path: _path + ".weight",
|
|
2290
2290
|
expected: "(\"bold\" | \"normal\" | undefined)",
|
|
2291
2291
|
value: input.weight
|
|
2292
|
-
}, _errorFactory)) && (undefined === input.style || "
|
|
2292
|
+
}, _errorFactory)) && (undefined === input.style || "normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2293
2293
|
method: "typia.assertGuard",
|
|
2294
2294
|
path: _path + ".style",
|
|
2295
2295
|
expected: "(\"italic\" | \"normal\" | undefined)",
|
|
@@ -2936,7 +2936,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2936
2936
|
}; })()(input);
|
|
2937
2937
|
}
|
|
2938
2938
|
case "media.fonts?": {
|
|
2939
|
-
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 && ("
|
|
2939
|
+
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, {
|
|
2940
2940
|
method: "typia.assertGuard",
|
|
2941
2941
|
path: _path + ".fontFaces",
|
|
2942
2942
|
expected: "(Array<FontFace> | undefined)",
|
|
@@ -2996,7 +2996,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
2996
2996
|
path: _path + ".weight",
|
|
2997
2997
|
expected: "number",
|
|
2998
2998
|
value: input.weight
|
|
2999
|
-
}, _errorFactory)) && ("
|
|
2999
|
+
}, _errorFactory)) && ("normal" === input.style || "italic" === input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3000
3000
|
method: "typia.assertGuard",
|
|
3001
3001
|
path: _path + ".style",
|
|
3002
3002
|
expected: "(\"italic\" | \"normal\")",
|
|
@@ -8766,148 +8766,47 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8766
8766
|
}
|
|
8767
8767
|
}; })()(input);
|
|
8768
8768
|
}
|
|
8769
|
-
case ":
|
|
8770
|
-
return (() => { const _io0 = input => (
|
|
8771
|
-
|
|
8772
|
-
|
|
8773
|
-
|
|
8774
|
-
value
|
|
8775
|
-
}
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
value
|
|
8780
|
-
}
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
value
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
expected: "(string | undefined)",
|
|
8789
|
-
value: input.position
|
|
8790
|
-
}, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8791
|
-
method: "typia.assertGuard",
|
|
8792
|
-
path: _path + ".text",
|
|
8793
|
-
expected: "(string | undefined)",
|
|
8794
|
-
value: input.text
|
|
8795
|
-
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8796
|
-
method: "typia.assertGuard",
|
|
8797
|
-
path: _path + ".lang",
|
|
8798
|
-
expected: "(string | undefined)",
|
|
8799
|
-
value: input.lang
|
|
8800
|
-
}, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8801
|
-
method: "typia.assertGuard",
|
|
8802
|
-
path: _path + ".style",
|
|
8803
|
-
expected: "(string | undefined)",
|
|
8804
|
-
value: input.style
|
|
8805
|
-
}, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8806
|
-
method: "typia.assertGuard",
|
|
8807
|
-
path: _path + ".styleOverrides",
|
|
8808
|
-
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
8809
|
-
value: input.styleOverrides
|
|
8810
|
-
}, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8811
|
-
method: "typia.assertGuard",
|
|
8812
|
-
path: _path + ".styleOverrides",
|
|
8813
|
-
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
8814
|
-
value: input.styleOverrides
|
|
8815
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8816
|
-
method: "typia.assertGuard",
|
|
8817
|
-
path: _path + ".marginL",
|
|
8818
|
-
expected: "(string | undefined)",
|
|
8819
|
-
value: input.marginL
|
|
8820
|
-
}, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8821
|
-
method: "typia.assertGuard",
|
|
8822
|
-
path: _path + ".marginR",
|
|
8823
|
-
expected: "(string | undefined)",
|
|
8824
|
-
value: input.marginR
|
|
8825
|
-
}, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8826
|
-
method: "typia.assertGuard",
|
|
8827
|
-
path: _path + ".marginV",
|
|
8828
|
-
expected: "(string | undefined)",
|
|
8829
|
-
value: input.marginV
|
|
8830
|
-
}, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8831
|
-
method: "typia.assertGuard",
|
|
8832
|
-
path: _path + ".alignment",
|
|
8833
|
-
expected: "(string | undefined)",
|
|
8834
|
-
value: input.alignment
|
|
8835
|
-
}, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8836
|
-
method: "typia.assertGuard",
|
|
8837
|
-
path: _path + ".fontname",
|
|
8838
|
-
expected: "(string | undefined)",
|
|
8839
|
-
value: input.fontname
|
|
8840
|
-
}, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8841
|
-
method: "typia.assertGuard",
|
|
8842
|
-
path: _path + ".fontsize",
|
|
8843
|
-
expected: "(string | undefined)",
|
|
8844
|
-
value: input.fontsize
|
|
8845
|
-
}, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8846
|
-
method: "typia.assertGuard",
|
|
8847
|
-
path: _path + ".primaryColour",
|
|
8848
|
-
expected: "(string | undefined)",
|
|
8849
|
-
value: input.primaryColour
|
|
8850
|
-
}, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8851
|
-
method: "typia.assertGuard",
|
|
8852
|
-
path: _path + ".secondaryColour",
|
|
8853
|
-
expected: "(string | undefined)",
|
|
8854
|
-
value: input.secondaryColour
|
|
8855
|
-
}, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8856
|
-
method: "typia.assertGuard",
|
|
8857
|
-
path: _path + ".outlineColour",
|
|
8858
|
-
expected: "(string | undefined)",
|
|
8859
|
-
value: input.outlineColour
|
|
8860
|
-
}, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8861
|
-
method: "typia.assertGuard",
|
|
8862
|
-
path: _path + ".backColour",
|
|
8863
|
-
expected: "(string | undefined)",
|
|
8864
|
-
value: input.backColour
|
|
8865
|
-
}, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8866
|
-
method: "typia.assertGuard",
|
|
8867
|
-
path: _path + ".bold",
|
|
8868
|
-
expected: "(string | undefined)",
|
|
8869
|
-
value: input.bold
|
|
8870
|
-
}, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8769
|
+
case ":template": {
|
|
8770
|
+
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
|
|
8771
|
+
const value = input[key];
|
|
8772
|
+
if (undefined === value)
|
|
8773
|
+
return true;
|
|
8774
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
8775
|
+
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
|
|
8776
|
+
const value = input[key];
|
|
8777
|
+
if (undefined === value)
|
|
8778
|
+
return true;
|
|
8779
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
8780
|
+
}); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
8781
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
8782
|
+
return true;
|
|
8783
|
+
const value = input[key];
|
|
8784
|
+
if (undefined === value)
|
|
8785
|
+
return true;
|
|
8786
|
+
return true;
|
|
8787
|
+
}); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8871
8788
|
method: "typia.assertGuard",
|
|
8872
|
-
path: _path + ".
|
|
8789
|
+
path: _path + ".source",
|
|
8873
8790
|
expected: "(string | undefined)",
|
|
8874
|
-
value: input.
|
|
8875
|
-
}, _errorFactory)) && (undefined === input.
|
|
8791
|
+
value: input.source
|
|
8792
|
+
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8876
8793
|
method: "typia.assertGuard",
|
|
8877
|
-
path: _path + ".
|
|
8794
|
+
path: _path + ".controller",
|
|
8878
8795
|
expected: "(string | undefined)",
|
|
8879
|
-
value: input.
|
|
8880
|
-
}, _errorFactory)) && (undefined === input.
|
|
8796
|
+
value: input.controller
|
|
8797
|
+
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8881
8798
|
method: "typia.assertGuard",
|
|
8882
|
-
path: _path + ".
|
|
8799
|
+
path: _path + ".type",
|
|
8883
8800
|
expected: "(string | undefined)",
|
|
8884
|
-
value: input.
|
|
8885
|
-
}, _errorFactory))
|
|
8886
|
-
if (false === __is(input)) {
|
|
8887
|
-
_errorFactory = errorFactory;
|
|
8888
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8889
|
-
method: "typia.assertGuard",
|
|
8890
|
-
path: _path + "",
|
|
8891
|
-
expected: "EventRecord",
|
|
8892
|
-
value: input
|
|
8893
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8894
|
-
method: "typia.assertGuard",
|
|
8895
|
-
path: _path + "",
|
|
8896
|
-
expected: "EventRecord",
|
|
8897
|
-
value: input
|
|
8898
|
-
}, _errorFactory))(input, "$input", true);
|
|
8899
|
-
}
|
|
8900
|
-
}; })()(input);
|
|
8901
|
-
}
|
|
8902
|
-
case ":event._template?": {
|
|
8903
|
-
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8801
|
+
value: input.type
|
|
8802
|
+
}, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8904
8803
|
method: "typia.assertGuard",
|
|
8905
8804
|
path: _path + ".mixin",
|
|
8906
8805
|
expected: "(Array<string> | undefined)",
|
|
8907
8806
|
value: input.mixin
|
|
8908
|
-
}, _errorFactory)) && input.mixin.every((elem,
|
|
8807
|
+
}, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8909
8808
|
method: "typia.assertGuard",
|
|
8910
|
-
path: _path + ".mixin[" +
|
|
8809
|
+
path: _path + ".mixin[" + _index6 + "]",
|
|
8911
8810
|
expected: "string",
|
|
8912
8811
|
value: elem
|
|
8913
8812
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -8918,108 +8817,1015 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8918
8817
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8919
8818
|
method: "typia.assertGuard",
|
|
8920
8819
|
path: _path + ".properties",
|
|
8921
|
-
expected: "(
|
|
8820
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
8922
8821
|
value: input.properties
|
|
8923
8822
|
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8924
8823
|
method: "typia.assertGuard",
|
|
8925
8824
|
path: _path + ".properties",
|
|
8926
|
-
expected: "(
|
|
8825
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
8927
8826
|
value: input.properties
|
|
8928
|
-
}, _errorFactory))
|
|
8929
|
-
method: "typia.assertGuard",
|
|
8930
|
-
path: _path + ".layout",
|
|
8931
|
-
expected: "(__type | undefined)",
|
|
8932
|
-
value: input.layout
|
|
8933
|
-
}, _errorFactory)) && _ao2(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8934
|
-
method: "typia.assertGuard",
|
|
8935
|
-
path: _path + ".layout",
|
|
8936
|
-
expected: "(__type | undefined)",
|
|
8937
|
-
value: input.layout
|
|
8938
|
-
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8939
|
-
method: "typia.assertGuard",
|
|
8940
|
-
path: _path + ".controller",
|
|
8941
|
-
expected: "(string | undefined)",
|
|
8942
|
-
value: input.controller
|
|
8943
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => true; const _ao2 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8944
|
-
method: "typia.assertGuard",
|
|
8945
|
-
path: _path + ".title",
|
|
8946
|
-
expected: "(string | undefined)",
|
|
8947
|
-
value: input.title
|
|
8948
|
-
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
8949
|
-
if (false === __is(input)) {
|
|
8950
|
-
_errorFactory = errorFactory;
|
|
8951
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8952
|
-
method: "typia.assertGuard",
|
|
8953
|
-
path: _path + "",
|
|
8954
|
-
expected: "EventTemplateRecord",
|
|
8955
|
-
value: input
|
|
8956
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8957
|
-
method: "typia.assertGuard",
|
|
8958
|
-
path: _path + "",
|
|
8959
|
-
expected: "EventTemplateRecord",
|
|
8960
|
-
value: input
|
|
8961
|
-
}, _errorFactory))(input, "$input", true);
|
|
8962
|
-
}
|
|
8963
|
-
}; })()(input);
|
|
8964
|
-
}
|
|
8965
|
-
case ":event.overlay?": {
|
|
8966
|
-
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
8967
|
-
const value = input[key];
|
|
8968
|
-
if (undefined === value)
|
|
8969
|
-
return true;
|
|
8970
|
-
return "object" === typeof value && null !== value && _io1(value);
|
|
8971
|
-
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
8972
|
-
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8973
|
-
return true;
|
|
8974
|
-
const value = input[key];
|
|
8975
|
-
if (undefined === value)
|
|
8976
|
-
return true;
|
|
8977
|
-
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
|
|
8978
|
-
}); const _io3 = input => Object.keys(input).every(key => {
|
|
8979
|
-
const value = input[key];
|
|
8980
|
-
if (undefined === value)
|
|
8981
|
-
return true;
|
|
8982
|
-
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
|
|
8983
|
-
}); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
8827
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
8984
8828
|
const value = input[key];
|
|
8985
8829
|
if (undefined === value)
|
|
8986
8830
|
return true;
|
|
8987
|
-
return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8831
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8988
8832
|
method: "typia.assertGuard",
|
|
8989
8833
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8990
|
-
expected: "
|
|
8834
|
+
expected: "TemplateProperty",
|
|
8991
8835
|
value: value
|
|
8992
|
-
}, _errorFactory)) &&
|
|
8836
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8993
8837
|
method: "typia.assertGuard",
|
|
8994
8838
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
8995
|
-
expected: "
|
|
8839
|
+
expected: "TemplateProperty",
|
|
8996
8840
|
value: value
|
|
8997
8841
|
}, _errorFactory);
|
|
8998
|
-
}); const
|
|
8842
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8999
8843
|
method: "typia.assertGuard",
|
|
9000
|
-
path: _path + ".
|
|
9001
|
-
expected: "
|
|
9002
|
-
value: input.
|
|
9003
|
-
}, _errorFactory)) &&
|
|
8844
|
+
path: _path + ".path",
|
|
8845
|
+
expected: "(string | undefined)",
|
|
8846
|
+
value: input.path
|
|
8847
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9004
8848
|
method: "typia.assertGuard",
|
|
9005
|
-
path: _path + ".
|
|
9006
|
-
expected: "
|
|
9007
|
-
value: input.
|
|
9008
|
-
}, _errorFactory)
|
|
8849
|
+
path: _path + ".render",
|
|
8850
|
+
expected: "(__type | undefined)",
|
|
8851
|
+
value: input.render
|
|
8852
|
+
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9009
8853
|
method: "typia.assertGuard",
|
|
9010
|
-
path: _path + ".
|
|
9011
|
-
expected: "(
|
|
9012
|
-
value: input.
|
|
9013
|
-
}, _errorFactory)) && (undefined === input.
|
|
8854
|
+
path: _path + ".render",
|
|
8855
|
+
expected: "(__type | undefined)",
|
|
8856
|
+
value: input.render
|
|
8857
|
+
}, _errorFactory)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9014
8858
|
method: "typia.assertGuard",
|
|
9015
|
-
path: _path + ".
|
|
9016
|
-
expected: "(boolean | string | undefined)",
|
|
9017
|
-
value: input.
|
|
9018
|
-
}, _errorFactory)) && (undefined === input.
|
|
8859
|
+
path: _path + ".type",
|
|
8860
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
8861
|
+
value: input.type
|
|
8862
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9019
8863
|
method: "typia.assertGuard",
|
|
9020
|
-
path: _path + ".
|
|
8864
|
+
path: _path + ".title",
|
|
9021
8865
|
expected: "(string | undefined)",
|
|
9022
|
-
value: input.
|
|
8866
|
+
value: input.title
|
|
8867
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8868
|
+
method: "typia.assertGuard",
|
|
8869
|
+
path: _path + ".description",
|
|
8870
|
+
expected: "(string | undefined)",
|
|
8871
|
+
value: input.description
|
|
8872
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8873
|
+
method: "typia.assertGuard",
|
|
8874
|
+
path: _path + ".required",
|
|
8875
|
+
expected: "(boolean | undefined)",
|
|
8876
|
+
value: input.required
|
|
8877
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8878
|
+
method: "typia.assertGuard",
|
|
8879
|
+
path: _path + ".oneOf",
|
|
8880
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8881
|
+
value: input.oneOf
|
|
8882
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8883
|
+
method: "typia.assertGuard",
|
|
8884
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
8885
|
+
expected: "SchemaProperty<unknown>",
|
|
8886
|
+
value: elem
|
|
8887
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8888
|
+
method: "typia.assertGuard",
|
|
8889
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
8890
|
+
expected: "SchemaProperty<unknown>",
|
|
8891
|
+
value: elem
|
|
8892
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8893
|
+
method: "typia.assertGuard",
|
|
8894
|
+
path: _path + ".oneOf",
|
|
8895
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8896
|
+
value: input.oneOf
|
|
8897
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8898
|
+
method: "typia.assertGuard",
|
|
8899
|
+
path: _path + ".anyOf",
|
|
8900
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8901
|
+
value: input.anyOf
|
|
8902
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8903
|
+
method: "typia.assertGuard",
|
|
8904
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
8905
|
+
expected: "SchemaProperty<unknown>",
|
|
8906
|
+
value: elem
|
|
8907
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8908
|
+
method: "typia.assertGuard",
|
|
8909
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
8910
|
+
expected: "SchemaProperty<unknown>",
|
|
8911
|
+
value: elem
|
|
8912
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8913
|
+
method: "typia.assertGuard",
|
|
8914
|
+
path: _path + ".anyOf",
|
|
8915
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
8916
|
+
value: input.anyOf
|
|
8917
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8918
|
+
method: "typia.assertGuard",
|
|
8919
|
+
path: _path + "[\"enum\"]",
|
|
8920
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
8921
|
+
value: input["enum"]
|
|
8922
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8923
|
+
method: "typia.assertGuard",
|
|
8924
|
+
path: _path + ".minItems",
|
|
8925
|
+
expected: "(number | undefined)",
|
|
8926
|
+
value: input.minItems
|
|
8927
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8928
|
+
method: "typia.assertGuard",
|
|
8929
|
+
path: _path + ".maxItems",
|
|
8930
|
+
expected: "(number | undefined)",
|
|
8931
|
+
value: input.maxItems
|
|
8932
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8933
|
+
method: "typia.assertGuard",
|
|
8934
|
+
path: _path + ".items",
|
|
8935
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
8936
|
+
value: input.items
|
|
8937
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8938
|
+
method: "typia.assertGuard",
|
|
8939
|
+
path: _path + ".items",
|
|
8940
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
8941
|
+
value: input.items
|
|
8942
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8943
|
+
method: "typia.assertGuard",
|
|
8944
|
+
path: _path + ".properties",
|
|
8945
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
8946
|
+
value: input.properties
|
|
8947
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8948
|
+
method: "typia.assertGuard",
|
|
8949
|
+
path: _path + ".properties",
|
|
8950
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
8951
|
+
value: input.properties
|
|
8952
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8953
|
+
method: "typia.assertGuard",
|
|
8954
|
+
path: _path + ".widget",
|
|
8955
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
8956
|
+
value: input.widget
|
|
8957
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8958
|
+
method: "typia.assertGuard",
|
|
8959
|
+
path: _path + ".widget",
|
|
8960
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
8961
|
+
value: input.widget
|
|
8962
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8963
|
+
method: "typia.assertGuard",
|
|
8964
|
+
path: _path + ".widget",
|
|
8965
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
8966
|
+
value: input.widget
|
|
8967
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8968
|
+
method: "typia.assertGuard",
|
|
8969
|
+
path: _path + ".placeholder",
|
|
8970
|
+
expected: "(string | undefined)",
|
|
8971
|
+
value: input.placeholder
|
|
8972
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8973
|
+
method: "typia.assertGuard",
|
|
8974
|
+
path: _path + ".helpText",
|
|
8975
|
+
expected: "(string | undefined)",
|
|
8976
|
+
value: input.helpText
|
|
8977
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8978
|
+
method: "typia.assertGuard",
|
|
8979
|
+
path: _path + ".invalid",
|
|
8980
|
+
expected: "(boolean | undefined)",
|
|
8981
|
+
value: input.invalid
|
|
8982
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8983
|
+
method: "typia.assertGuard",
|
|
8984
|
+
path: _path + ".type",
|
|
8985
|
+
expected: "\"image\"",
|
|
8986
|
+
value: input.type
|
|
8987
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8988
|
+
method: "typia.assertGuard",
|
|
8989
|
+
path: _path + ".profile",
|
|
8990
|
+
expected: "(__type.o1 | undefined)",
|
|
8991
|
+
value: input.profile
|
|
8992
|
+
}, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8993
|
+
method: "typia.assertGuard",
|
|
8994
|
+
path: _path + ".profile",
|
|
8995
|
+
expected: "(__type.o1 | undefined)",
|
|
8996
|
+
value: input.profile
|
|
8997
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8998
|
+
method: "typia.assertGuard",
|
|
8999
|
+
path: _path + ".format",
|
|
9000
|
+
expected: "(string | undefined)",
|
|
9001
|
+
value: input.format
|
|
9002
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9003
|
+
method: "typia.assertGuard",
|
|
9004
|
+
path: _path + ".video",
|
|
9005
|
+
expected: "(__type.o2 | undefined)",
|
|
9006
|
+
value: input.video
|
|
9007
|
+
}, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9008
|
+
method: "typia.assertGuard",
|
|
9009
|
+
path: _path + ".video",
|
|
9010
|
+
expected: "(__type.o2 | undefined)",
|
|
9011
|
+
value: input.video
|
|
9012
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9013
|
+
method: "typia.assertGuard",
|
|
9014
|
+
path: _path + ".width",
|
|
9015
|
+
expected: "number",
|
|
9016
|
+
value: input.width
|
|
9017
|
+
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9018
|
+
method: "typia.assertGuard",
|
|
9019
|
+
path: _path + ".height",
|
|
9020
|
+
expected: "number",
|
|
9021
|
+
value: input.height
|
|
9022
|
+
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9023
|
+
method: "typia.assertGuard",
|
|
9024
|
+
path: _path + ".fit",
|
|
9025
|
+
expected: "\"cover\"",
|
|
9026
|
+
value: input.fit
|
|
9027
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9028
|
+
method: "typia.assertGuard",
|
|
9029
|
+
path: _path + ".type",
|
|
9030
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
9031
|
+
value: input.type
|
|
9032
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9033
|
+
method: "typia.assertGuard",
|
|
9034
|
+
path: _path + ".title",
|
|
9035
|
+
expected: "(string | undefined)",
|
|
9036
|
+
value: input.title
|
|
9037
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9038
|
+
method: "typia.assertGuard",
|
|
9039
|
+
path: _path + ".description",
|
|
9040
|
+
expected: "(string | undefined)",
|
|
9041
|
+
value: input.description
|
|
9042
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9043
|
+
method: "typia.assertGuard",
|
|
9044
|
+
path: _path + ".required",
|
|
9045
|
+
expected: "(boolean | undefined)",
|
|
9046
|
+
value: input.required
|
|
9047
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9048
|
+
method: "typia.assertGuard",
|
|
9049
|
+
path: _path + ".oneOf",
|
|
9050
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9051
|
+
value: input.oneOf
|
|
9052
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9053
|
+
method: "typia.assertGuard",
|
|
9054
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9055
|
+
expected: "SchemaProperty<unknown>",
|
|
9056
|
+
value: elem
|
|
9057
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9058
|
+
method: "typia.assertGuard",
|
|
9059
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9060
|
+
expected: "SchemaProperty<unknown>",
|
|
9061
|
+
value: elem
|
|
9062
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9063
|
+
method: "typia.assertGuard",
|
|
9064
|
+
path: _path + ".oneOf",
|
|
9065
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9066
|
+
value: input.oneOf
|
|
9067
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9068
|
+
method: "typia.assertGuard",
|
|
9069
|
+
path: _path + ".anyOf",
|
|
9070
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9071
|
+
value: input.anyOf
|
|
9072
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9073
|
+
method: "typia.assertGuard",
|
|
9074
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9075
|
+
expected: "SchemaProperty<unknown>",
|
|
9076
|
+
value: elem
|
|
9077
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9078
|
+
method: "typia.assertGuard",
|
|
9079
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9080
|
+
expected: "SchemaProperty<unknown>",
|
|
9081
|
+
value: elem
|
|
9082
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9083
|
+
method: "typia.assertGuard",
|
|
9084
|
+
path: _path + ".anyOf",
|
|
9085
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9086
|
+
value: input.anyOf
|
|
9087
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9088
|
+
method: "typia.assertGuard",
|
|
9089
|
+
path: _path + "[\"enum\"]",
|
|
9090
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
9091
|
+
value: input["enum"]
|
|
9092
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9093
|
+
method: "typia.assertGuard",
|
|
9094
|
+
path: _path + ".minItems",
|
|
9095
|
+
expected: "(number | undefined)",
|
|
9096
|
+
value: input.minItems
|
|
9097
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9098
|
+
method: "typia.assertGuard",
|
|
9099
|
+
path: _path + ".maxItems",
|
|
9100
|
+
expected: "(number | undefined)",
|
|
9101
|
+
value: input.maxItems
|
|
9102
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9103
|
+
method: "typia.assertGuard",
|
|
9104
|
+
path: _path + ".items",
|
|
9105
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9106
|
+
value: input.items
|
|
9107
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9108
|
+
method: "typia.assertGuard",
|
|
9109
|
+
path: _path + ".items",
|
|
9110
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9111
|
+
value: input.items
|
|
9112
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9113
|
+
method: "typia.assertGuard",
|
|
9114
|
+
path: _path + ".properties",
|
|
9115
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9116
|
+
value: input.properties
|
|
9117
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9118
|
+
method: "typia.assertGuard",
|
|
9119
|
+
path: _path + ".properties",
|
|
9120
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9121
|
+
value: input.properties
|
|
9122
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9123
|
+
method: "typia.assertGuard",
|
|
9124
|
+
path: _path + ".widget",
|
|
9125
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9126
|
+
value: input.widget
|
|
9127
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9128
|
+
method: "typia.assertGuard",
|
|
9129
|
+
path: _path + ".widget",
|
|
9130
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9131
|
+
value: input.widget
|
|
9132
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9133
|
+
method: "typia.assertGuard",
|
|
9134
|
+
path: _path + ".widget",
|
|
9135
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9136
|
+
value: input.widget
|
|
9137
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9138
|
+
method: "typia.assertGuard",
|
|
9139
|
+
path: _path + ".placeholder",
|
|
9140
|
+
expected: "(string | undefined)",
|
|
9141
|
+
value: input.placeholder
|
|
9142
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9143
|
+
method: "typia.assertGuard",
|
|
9144
|
+
path: _path + ".helpText",
|
|
9145
|
+
expected: "(string | undefined)",
|
|
9146
|
+
value: input.helpText
|
|
9147
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9148
|
+
method: "typia.assertGuard",
|
|
9149
|
+
path: _path + ".invalid",
|
|
9150
|
+
expected: "(boolean | undefined)",
|
|
9151
|
+
value: input.invalid
|
|
9152
|
+
}, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9153
|
+
const value = input[key];
|
|
9154
|
+
if (undefined === value)
|
|
9155
|
+
return true;
|
|
9156
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9157
|
+
method: "typia.assertGuard",
|
|
9158
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9159
|
+
expected: "SchemaProperty<unknown>",
|
|
9160
|
+
value: value
|
|
9161
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9162
|
+
method: "typia.assertGuard",
|
|
9163
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9164
|
+
expected: "SchemaProperty<unknown>",
|
|
9165
|
+
value: value
|
|
9166
|
+
}, _errorFactory);
|
|
9167
|
+
}); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9168
|
+
method: "typia.assertGuard",
|
|
9169
|
+
path: _path + ".type",
|
|
9170
|
+
expected: "(string | undefined)",
|
|
9171
|
+
value: input.type
|
|
9172
|
+
}, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9173
|
+
method: "typia.assertGuard",
|
|
9174
|
+
path: _path + ".readOnly",
|
|
9175
|
+
expected: "(boolean | undefined)",
|
|
9176
|
+
value: input.readOnly
|
|
9177
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9178
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9179
|
+
return true;
|
|
9180
|
+
const value = input[key];
|
|
9181
|
+
if (undefined === value)
|
|
9182
|
+
return true;
|
|
9183
|
+
return true;
|
|
9184
|
+
})); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9185
|
+
if (false === __is(input)) {
|
|
9186
|
+
_errorFactory = errorFactory;
|
|
9187
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9188
|
+
method: "typia.assertGuard",
|
|
9189
|
+
path: _path + "",
|
|
9190
|
+
expected: "TemplateRecord",
|
|
9191
|
+
value: input
|
|
9192
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9193
|
+
method: "typia.assertGuard",
|
|
9194
|
+
path: _path + "",
|
|
9195
|
+
expected: "TemplateRecord",
|
|
9196
|
+
value: input
|
|
9197
|
+
}, _errorFactory))(input, "$input", true);
|
|
9198
|
+
}
|
|
9199
|
+
}; })()(input);
|
|
9200
|
+
}
|
|
9201
|
+
case ":event": {
|
|
9202
|
+
return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.position || "string" === typeof input.position) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io1(input.styleOverrides)); const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut); const _ao0 = (input, _path, _exceptionable = true) => (null === input.start || undefined === input.start || "number" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9203
|
+
method: "typia.assertGuard",
|
|
9204
|
+
path: _path + ".start",
|
|
9205
|
+
expected: "(null | number | undefined)",
|
|
9206
|
+
value: input.start
|
|
9207
|
+
}, _errorFactory)) && (null === input.end || undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9208
|
+
method: "typia.assertGuard",
|
|
9209
|
+
path: _path + ".end",
|
|
9210
|
+
expected: "(null | number | undefined)",
|
|
9211
|
+
value: input.end
|
|
9212
|
+
}, _errorFactory)) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9213
|
+
method: "typia.assertGuard",
|
|
9214
|
+
path: _path + ".duration",
|
|
9215
|
+
expected: "(null | number | undefined)",
|
|
9216
|
+
value: input.duration
|
|
9217
|
+
}, _errorFactory)) && (undefined === input.position || "string" === typeof input.position || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9218
|
+
method: "typia.assertGuard",
|
|
9219
|
+
path: _path + ".position",
|
|
9220
|
+
expected: "(string | undefined)",
|
|
9221
|
+
value: input.position
|
|
9222
|
+
}, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9223
|
+
method: "typia.assertGuard",
|
|
9224
|
+
path: _path + ".text",
|
|
9225
|
+
expected: "(string | undefined)",
|
|
9226
|
+
value: input.text
|
|
9227
|
+
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9228
|
+
method: "typia.assertGuard",
|
|
9229
|
+
path: _path + ".lang",
|
|
9230
|
+
expected: "(string | undefined)",
|
|
9231
|
+
value: input.lang
|
|
9232
|
+
}, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9233
|
+
method: "typia.assertGuard",
|
|
9234
|
+
path: _path + ".style",
|
|
9235
|
+
expected: "(string | undefined)",
|
|
9236
|
+
value: input.style
|
|
9237
|
+
}, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9238
|
+
method: "typia.assertGuard",
|
|
9239
|
+
path: _path + ".styleOverrides",
|
|
9240
|
+
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
9241
|
+
value: input.styleOverrides
|
|
9242
|
+
}, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9243
|
+
method: "typia.assertGuard",
|
|
9244
|
+
path: _path + ".styleOverrides",
|
|
9245
|
+
expected: "(SubtitleEventStyleOverrides | undefined)",
|
|
9246
|
+
value: input.styleOverrides
|
|
9247
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9248
|
+
method: "typia.assertGuard",
|
|
9249
|
+
path: _path + ".marginL",
|
|
9250
|
+
expected: "(string | undefined)",
|
|
9251
|
+
value: input.marginL
|
|
9252
|
+
}, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9253
|
+
method: "typia.assertGuard",
|
|
9254
|
+
path: _path + ".marginR",
|
|
9255
|
+
expected: "(string | undefined)",
|
|
9256
|
+
value: input.marginR
|
|
9257
|
+
}, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9258
|
+
method: "typia.assertGuard",
|
|
9259
|
+
path: _path + ".marginV",
|
|
9260
|
+
expected: "(string | undefined)",
|
|
9261
|
+
value: input.marginV
|
|
9262
|
+
}, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9263
|
+
method: "typia.assertGuard",
|
|
9264
|
+
path: _path + ".alignment",
|
|
9265
|
+
expected: "(string | undefined)",
|
|
9266
|
+
value: input.alignment
|
|
9267
|
+
}, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9268
|
+
method: "typia.assertGuard",
|
|
9269
|
+
path: _path + ".fontname",
|
|
9270
|
+
expected: "(string | undefined)",
|
|
9271
|
+
value: input.fontname
|
|
9272
|
+
}, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9273
|
+
method: "typia.assertGuard",
|
|
9274
|
+
path: _path + ".fontsize",
|
|
9275
|
+
expected: "(string | undefined)",
|
|
9276
|
+
value: input.fontsize
|
|
9277
|
+
}, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9278
|
+
method: "typia.assertGuard",
|
|
9279
|
+
path: _path + ".primaryColour",
|
|
9280
|
+
expected: "(string | undefined)",
|
|
9281
|
+
value: input.primaryColour
|
|
9282
|
+
}, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9283
|
+
method: "typia.assertGuard",
|
|
9284
|
+
path: _path + ".secondaryColour",
|
|
9285
|
+
expected: "(string | undefined)",
|
|
9286
|
+
value: input.secondaryColour
|
|
9287
|
+
}, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9288
|
+
method: "typia.assertGuard",
|
|
9289
|
+
path: _path + ".outlineColour",
|
|
9290
|
+
expected: "(string | undefined)",
|
|
9291
|
+
value: input.outlineColour
|
|
9292
|
+
}, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9293
|
+
method: "typia.assertGuard",
|
|
9294
|
+
path: _path + ".backColour",
|
|
9295
|
+
expected: "(string | undefined)",
|
|
9296
|
+
value: input.backColour
|
|
9297
|
+
}, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9298
|
+
method: "typia.assertGuard",
|
|
9299
|
+
path: _path + ".bold",
|
|
9300
|
+
expected: "(string | undefined)",
|
|
9301
|
+
value: input.bold
|
|
9302
|
+
}, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9303
|
+
method: "typia.assertGuard",
|
|
9304
|
+
path: _path + ".italic",
|
|
9305
|
+
expected: "(string | undefined)",
|
|
9306
|
+
value: input.italic
|
|
9307
|
+
}, _errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9308
|
+
method: "typia.assertGuard",
|
|
9309
|
+
path: _path + ".underline",
|
|
9310
|
+
expected: "(string | undefined)",
|
|
9311
|
+
value: input.underline
|
|
9312
|
+
}, _errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9313
|
+
method: "typia.assertGuard",
|
|
9314
|
+
path: _path + ".strikeOut",
|
|
9315
|
+
expected: "(string | undefined)",
|
|
9316
|
+
value: input.strikeOut
|
|
9317
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9318
|
+
if (false === __is(input)) {
|
|
9319
|
+
_errorFactory = errorFactory;
|
|
9320
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9321
|
+
method: "typia.assertGuard",
|
|
9322
|
+
path: _path + "",
|
|
9323
|
+
expected: "EventRecord",
|
|
9324
|
+
value: input
|
|
9325
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9326
|
+
method: "typia.assertGuard",
|
|
9327
|
+
path: _path + "",
|
|
9328
|
+
expected: "EventRecord",
|
|
9329
|
+
value: input
|
|
9330
|
+
}, _errorFactory))(input, "$input", true);
|
|
9331
|
+
}
|
|
9332
|
+
}; })()(input);
|
|
9333
|
+
}
|
|
9334
|
+
case ":event._template?": {
|
|
9335
|
+
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
|
|
9336
|
+
const value = input[key];
|
|
9337
|
+
if (undefined === value)
|
|
9338
|
+
return true;
|
|
9339
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
9340
|
+
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
|
|
9341
|
+
const value = input[key];
|
|
9342
|
+
if (undefined === value)
|
|
9343
|
+
return true;
|
|
9344
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
9345
|
+
}); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
9346
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9347
|
+
return true;
|
|
9348
|
+
const value = input[key];
|
|
9349
|
+
if (undefined === value)
|
|
9350
|
+
return true;
|
|
9351
|
+
return true;
|
|
9352
|
+
}); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9353
|
+
method: "typia.assertGuard",
|
|
9354
|
+
path: _path + ".mixin",
|
|
9355
|
+
expected: "(Array<string> | undefined)",
|
|
9356
|
+
value: input.mixin
|
|
9357
|
+
}, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9358
|
+
method: "typia.assertGuard",
|
|
9359
|
+
path: _path + ".mixin[" + _index6 + "]",
|
|
9360
|
+
expected: "string",
|
|
9361
|
+
value: elem
|
|
9362
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9363
|
+
method: "typia.assertGuard",
|
|
9364
|
+
path: _path + ".mixin",
|
|
9365
|
+
expected: "(Array<string> | undefined)",
|
|
9366
|
+
value: input.mixin
|
|
9367
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9368
|
+
method: "typia.assertGuard",
|
|
9369
|
+
path: _path + ".properties",
|
|
9370
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9371
|
+
value: input.properties
|
|
9372
|
+
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9373
|
+
method: "typia.assertGuard",
|
|
9374
|
+
path: _path + ".properties",
|
|
9375
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9376
|
+
value: input.properties
|
|
9377
|
+
}, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9378
|
+
method: "typia.assertGuard",
|
|
9379
|
+
path: _path + ".layout",
|
|
9380
|
+
expected: "(__type.o3 | undefined)",
|
|
9381
|
+
value: input.layout
|
|
9382
|
+
}, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9383
|
+
method: "typia.assertGuard",
|
|
9384
|
+
path: _path + ".layout",
|
|
9385
|
+
expected: "(__type.o3 | undefined)",
|
|
9386
|
+
value: input.layout
|
|
9387
|
+
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9388
|
+
method: "typia.assertGuard",
|
|
9389
|
+
path: _path + ".controller",
|
|
9390
|
+
expected: "(string | undefined)",
|
|
9391
|
+
value: input.controller
|
|
9392
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9393
|
+
const value = input[key];
|
|
9394
|
+
if (undefined === value)
|
|
9395
|
+
return true;
|
|
9396
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9397
|
+
method: "typia.assertGuard",
|
|
9398
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9399
|
+
expected: "TemplateProperty",
|
|
9400
|
+
value: value
|
|
9401
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9402
|
+
method: "typia.assertGuard",
|
|
9403
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9404
|
+
expected: "TemplateProperty",
|
|
9405
|
+
value: value
|
|
9406
|
+
}, _errorFactory);
|
|
9407
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9408
|
+
method: "typia.assertGuard",
|
|
9409
|
+
path: _path + ".path",
|
|
9410
|
+
expected: "(string | undefined)",
|
|
9411
|
+
value: input.path
|
|
9412
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9413
|
+
method: "typia.assertGuard",
|
|
9414
|
+
path: _path + ".render",
|
|
9415
|
+
expected: "(__type | undefined)",
|
|
9416
|
+
value: input.render
|
|
9417
|
+
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9418
|
+
method: "typia.assertGuard",
|
|
9419
|
+
path: _path + ".render",
|
|
9420
|
+
expected: "(__type | undefined)",
|
|
9421
|
+
value: input.render
|
|
9422
|
+
}, _errorFactory)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9423
|
+
method: "typia.assertGuard",
|
|
9424
|
+
path: _path + ".type",
|
|
9425
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
9426
|
+
value: input.type
|
|
9427
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9428
|
+
method: "typia.assertGuard",
|
|
9429
|
+
path: _path + ".title",
|
|
9430
|
+
expected: "(string | undefined)",
|
|
9431
|
+
value: input.title
|
|
9432
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9433
|
+
method: "typia.assertGuard",
|
|
9434
|
+
path: _path + ".description",
|
|
9435
|
+
expected: "(string | undefined)",
|
|
9436
|
+
value: input.description
|
|
9437
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9438
|
+
method: "typia.assertGuard",
|
|
9439
|
+
path: _path + ".required",
|
|
9440
|
+
expected: "(boolean | undefined)",
|
|
9441
|
+
value: input.required
|
|
9442
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9443
|
+
method: "typia.assertGuard",
|
|
9444
|
+
path: _path + ".oneOf",
|
|
9445
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9446
|
+
value: input.oneOf
|
|
9447
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9448
|
+
method: "typia.assertGuard",
|
|
9449
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
9450
|
+
expected: "SchemaProperty<unknown>",
|
|
9451
|
+
value: elem
|
|
9452
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9453
|
+
method: "typia.assertGuard",
|
|
9454
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
9455
|
+
expected: "SchemaProperty<unknown>",
|
|
9456
|
+
value: elem
|
|
9457
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9458
|
+
method: "typia.assertGuard",
|
|
9459
|
+
path: _path + ".oneOf",
|
|
9460
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9461
|
+
value: input.oneOf
|
|
9462
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9463
|
+
method: "typia.assertGuard",
|
|
9464
|
+
path: _path + ".anyOf",
|
|
9465
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9466
|
+
value: input.anyOf
|
|
9467
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9468
|
+
method: "typia.assertGuard",
|
|
9469
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
9470
|
+
expected: "SchemaProperty<unknown>",
|
|
9471
|
+
value: elem
|
|
9472
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9473
|
+
method: "typia.assertGuard",
|
|
9474
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
9475
|
+
expected: "SchemaProperty<unknown>",
|
|
9476
|
+
value: elem
|
|
9477
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9478
|
+
method: "typia.assertGuard",
|
|
9479
|
+
path: _path + ".anyOf",
|
|
9480
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9481
|
+
value: input.anyOf
|
|
9482
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9483
|
+
method: "typia.assertGuard",
|
|
9484
|
+
path: _path + "[\"enum\"]",
|
|
9485
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
9486
|
+
value: input["enum"]
|
|
9487
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9488
|
+
method: "typia.assertGuard",
|
|
9489
|
+
path: _path + ".minItems",
|
|
9490
|
+
expected: "(number | undefined)",
|
|
9491
|
+
value: input.minItems
|
|
9492
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9493
|
+
method: "typia.assertGuard",
|
|
9494
|
+
path: _path + ".maxItems",
|
|
9495
|
+
expected: "(number | undefined)",
|
|
9496
|
+
value: input.maxItems
|
|
9497
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9498
|
+
method: "typia.assertGuard",
|
|
9499
|
+
path: _path + ".items",
|
|
9500
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9501
|
+
value: input.items
|
|
9502
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9503
|
+
method: "typia.assertGuard",
|
|
9504
|
+
path: _path + ".items",
|
|
9505
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9506
|
+
value: input.items
|
|
9507
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9508
|
+
method: "typia.assertGuard",
|
|
9509
|
+
path: _path + ".properties",
|
|
9510
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9511
|
+
value: input.properties
|
|
9512
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9513
|
+
method: "typia.assertGuard",
|
|
9514
|
+
path: _path + ".properties",
|
|
9515
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9516
|
+
value: input.properties
|
|
9517
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9518
|
+
method: "typia.assertGuard",
|
|
9519
|
+
path: _path + ".widget",
|
|
9520
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9521
|
+
value: input.widget
|
|
9522
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9523
|
+
method: "typia.assertGuard",
|
|
9524
|
+
path: _path + ".widget",
|
|
9525
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9526
|
+
value: input.widget
|
|
9527
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9528
|
+
method: "typia.assertGuard",
|
|
9529
|
+
path: _path + ".widget",
|
|
9530
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9531
|
+
value: input.widget
|
|
9532
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9533
|
+
method: "typia.assertGuard",
|
|
9534
|
+
path: _path + ".placeholder",
|
|
9535
|
+
expected: "(string | undefined)",
|
|
9536
|
+
value: input.placeholder
|
|
9537
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9538
|
+
method: "typia.assertGuard",
|
|
9539
|
+
path: _path + ".helpText",
|
|
9540
|
+
expected: "(string | undefined)",
|
|
9541
|
+
value: input.helpText
|
|
9542
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9543
|
+
method: "typia.assertGuard",
|
|
9544
|
+
path: _path + ".invalid",
|
|
9545
|
+
expected: "(boolean | undefined)",
|
|
9546
|
+
value: input.invalid
|
|
9547
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9548
|
+
method: "typia.assertGuard",
|
|
9549
|
+
path: _path + ".type",
|
|
9550
|
+
expected: "\"image\"",
|
|
9551
|
+
value: input.type
|
|
9552
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9553
|
+
method: "typia.assertGuard",
|
|
9554
|
+
path: _path + ".profile",
|
|
9555
|
+
expected: "(__type.o1 | undefined)",
|
|
9556
|
+
value: input.profile
|
|
9557
|
+
}, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9558
|
+
method: "typia.assertGuard",
|
|
9559
|
+
path: _path + ".profile",
|
|
9560
|
+
expected: "(__type.o1 | undefined)",
|
|
9561
|
+
value: input.profile
|
|
9562
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9563
|
+
method: "typia.assertGuard",
|
|
9564
|
+
path: _path + ".format",
|
|
9565
|
+
expected: "(string | undefined)",
|
|
9566
|
+
value: input.format
|
|
9567
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9568
|
+
method: "typia.assertGuard",
|
|
9569
|
+
path: _path + ".video",
|
|
9570
|
+
expected: "(__type.o2 | undefined)",
|
|
9571
|
+
value: input.video
|
|
9572
|
+
}, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9573
|
+
method: "typia.assertGuard",
|
|
9574
|
+
path: _path + ".video",
|
|
9575
|
+
expected: "(__type.o2 | undefined)",
|
|
9576
|
+
value: input.video
|
|
9577
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9578
|
+
method: "typia.assertGuard",
|
|
9579
|
+
path: _path + ".width",
|
|
9580
|
+
expected: "number",
|
|
9581
|
+
value: input.width
|
|
9582
|
+
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9583
|
+
method: "typia.assertGuard",
|
|
9584
|
+
path: _path + ".height",
|
|
9585
|
+
expected: "number",
|
|
9586
|
+
value: input.height
|
|
9587
|
+
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9588
|
+
method: "typia.assertGuard",
|
|
9589
|
+
path: _path + ".fit",
|
|
9590
|
+
expected: "\"cover\"",
|
|
9591
|
+
value: input.fit
|
|
9592
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9593
|
+
method: "typia.assertGuard",
|
|
9594
|
+
path: _path + ".type",
|
|
9595
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
9596
|
+
value: input.type
|
|
9597
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9598
|
+
method: "typia.assertGuard",
|
|
9599
|
+
path: _path + ".title",
|
|
9600
|
+
expected: "(string | undefined)",
|
|
9601
|
+
value: input.title
|
|
9602
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9603
|
+
method: "typia.assertGuard",
|
|
9604
|
+
path: _path + ".description",
|
|
9605
|
+
expected: "(string | undefined)",
|
|
9606
|
+
value: input.description
|
|
9607
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9608
|
+
method: "typia.assertGuard",
|
|
9609
|
+
path: _path + ".required",
|
|
9610
|
+
expected: "(boolean | undefined)",
|
|
9611
|
+
value: input.required
|
|
9612
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9613
|
+
method: "typia.assertGuard",
|
|
9614
|
+
path: _path + ".oneOf",
|
|
9615
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9616
|
+
value: input.oneOf
|
|
9617
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9618
|
+
method: "typia.assertGuard",
|
|
9619
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9620
|
+
expected: "SchemaProperty<unknown>",
|
|
9621
|
+
value: elem
|
|
9622
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9623
|
+
method: "typia.assertGuard",
|
|
9624
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
9625
|
+
expected: "SchemaProperty<unknown>",
|
|
9626
|
+
value: elem
|
|
9627
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9628
|
+
method: "typia.assertGuard",
|
|
9629
|
+
path: _path + ".oneOf",
|
|
9630
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9631
|
+
value: input.oneOf
|
|
9632
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9633
|
+
method: "typia.assertGuard",
|
|
9634
|
+
path: _path + ".anyOf",
|
|
9635
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9636
|
+
value: input.anyOf
|
|
9637
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9638
|
+
method: "typia.assertGuard",
|
|
9639
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9640
|
+
expected: "SchemaProperty<unknown>",
|
|
9641
|
+
value: elem
|
|
9642
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9643
|
+
method: "typia.assertGuard",
|
|
9644
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
9645
|
+
expected: "SchemaProperty<unknown>",
|
|
9646
|
+
value: elem
|
|
9647
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9648
|
+
method: "typia.assertGuard",
|
|
9649
|
+
path: _path + ".anyOf",
|
|
9650
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
9651
|
+
value: input.anyOf
|
|
9652
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9653
|
+
method: "typia.assertGuard",
|
|
9654
|
+
path: _path + "[\"enum\"]",
|
|
9655
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
9656
|
+
value: input["enum"]
|
|
9657
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9658
|
+
method: "typia.assertGuard",
|
|
9659
|
+
path: _path + ".minItems",
|
|
9660
|
+
expected: "(number | undefined)",
|
|
9661
|
+
value: input.minItems
|
|
9662
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9663
|
+
method: "typia.assertGuard",
|
|
9664
|
+
path: _path + ".maxItems",
|
|
9665
|
+
expected: "(number | undefined)",
|
|
9666
|
+
value: input.maxItems
|
|
9667
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9668
|
+
method: "typia.assertGuard",
|
|
9669
|
+
path: _path + ".items",
|
|
9670
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9671
|
+
value: input.items
|
|
9672
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9673
|
+
method: "typia.assertGuard",
|
|
9674
|
+
path: _path + ".items",
|
|
9675
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
9676
|
+
value: input.items
|
|
9677
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9678
|
+
method: "typia.assertGuard",
|
|
9679
|
+
path: _path + ".properties",
|
|
9680
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9681
|
+
value: input.properties
|
|
9682
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9683
|
+
method: "typia.assertGuard",
|
|
9684
|
+
path: _path + ".properties",
|
|
9685
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9686
|
+
value: input.properties
|
|
9687
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9688
|
+
method: "typia.assertGuard",
|
|
9689
|
+
path: _path + ".widget",
|
|
9690
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9691
|
+
value: input.widget
|
|
9692
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9693
|
+
method: "typia.assertGuard",
|
|
9694
|
+
path: _path + ".widget",
|
|
9695
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9696
|
+
value: input.widget
|
|
9697
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9698
|
+
method: "typia.assertGuard",
|
|
9699
|
+
path: _path + ".widget",
|
|
9700
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
9701
|
+
value: input.widget
|
|
9702
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9703
|
+
method: "typia.assertGuard",
|
|
9704
|
+
path: _path + ".placeholder",
|
|
9705
|
+
expected: "(string | undefined)",
|
|
9706
|
+
value: input.placeholder
|
|
9707
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9708
|
+
method: "typia.assertGuard",
|
|
9709
|
+
path: _path + ".helpText",
|
|
9710
|
+
expected: "(string | undefined)",
|
|
9711
|
+
value: input.helpText
|
|
9712
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9713
|
+
method: "typia.assertGuard",
|
|
9714
|
+
path: _path + ".invalid",
|
|
9715
|
+
expected: "(boolean | undefined)",
|
|
9716
|
+
value: input.invalid
|
|
9717
|
+
}, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9718
|
+
const value = input[key];
|
|
9719
|
+
if (undefined === value)
|
|
9720
|
+
return true;
|
|
9721
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9722
|
+
method: "typia.assertGuard",
|
|
9723
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9724
|
+
expected: "SchemaProperty<unknown>",
|
|
9725
|
+
value: value
|
|
9726
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9727
|
+
method: "typia.assertGuard",
|
|
9728
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9729
|
+
expected: "SchemaProperty<unknown>",
|
|
9730
|
+
value: value
|
|
9731
|
+
}, _errorFactory);
|
|
9732
|
+
}); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9733
|
+
method: "typia.assertGuard",
|
|
9734
|
+
path: _path + ".type",
|
|
9735
|
+
expected: "(string | undefined)",
|
|
9736
|
+
value: input.type
|
|
9737
|
+
}, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9738
|
+
method: "typia.assertGuard",
|
|
9739
|
+
path: _path + ".readOnly",
|
|
9740
|
+
expected: "(boolean | undefined)",
|
|
9741
|
+
value: input.readOnly
|
|
9742
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9743
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9744
|
+
return true;
|
|
9745
|
+
const value = input[key];
|
|
9746
|
+
if (undefined === value)
|
|
9747
|
+
return true;
|
|
9748
|
+
return true;
|
|
9749
|
+
})); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9750
|
+
method: "typia.assertGuard",
|
|
9751
|
+
path: _path + ".title",
|
|
9752
|
+
expected: "(string | undefined)",
|
|
9753
|
+
value: input.title
|
|
9754
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9755
|
+
if (false === __is(input)) {
|
|
9756
|
+
_errorFactory = errorFactory;
|
|
9757
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9758
|
+
method: "typia.assertGuard",
|
|
9759
|
+
path: _path + "",
|
|
9760
|
+
expected: "EventTemplateRecord",
|
|
9761
|
+
value: input
|
|
9762
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9763
|
+
method: "typia.assertGuard",
|
|
9764
|
+
path: _path + "",
|
|
9765
|
+
expected: "EventTemplateRecord",
|
|
9766
|
+
value: input
|
|
9767
|
+
}, _errorFactory))(input, "$input", true);
|
|
9768
|
+
}
|
|
9769
|
+
}; })()(input);
|
|
9770
|
+
}
|
|
9771
|
+
case ":event.overlay?": {
|
|
9772
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
9773
|
+
const value = input[key];
|
|
9774
|
+
if (undefined === value)
|
|
9775
|
+
return true;
|
|
9776
|
+
return "object" === typeof value && null !== value && _io1(value);
|
|
9777
|
+
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
9778
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9779
|
+
return true;
|
|
9780
|
+
const value = input[key];
|
|
9781
|
+
if (undefined === value)
|
|
9782
|
+
return true;
|
|
9783
|
+
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
|
|
9784
|
+
}); const _io3 = input => Object.keys(input).every(key => {
|
|
9785
|
+
const value = input[key];
|
|
9786
|
+
if (undefined === value)
|
|
9787
|
+
return true;
|
|
9788
|
+
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
|
|
9789
|
+
}); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9790
|
+
const value = input[key];
|
|
9791
|
+
if (undefined === value)
|
|
9792
|
+
return true;
|
|
9793
|
+
return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9794
|
+
method: "typia.assertGuard",
|
|
9795
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9796
|
+
expected: "__type",
|
|
9797
|
+
value: value
|
|
9798
|
+
}, _errorFactory)) && _ao1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9799
|
+
method: "typia.assertGuard",
|
|
9800
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9801
|
+
expected: "__type",
|
|
9802
|
+
value: value
|
|
9803
|
+
}, _errorFactory);
|
|
9804
|
+
}); const _ao1 = (input, _path, _exceptionable = true) => ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9805
|
+
method: "typia.assertGuard",
|
|
9806
|
+
path: _path + ".data",
|
|
9807
|
+
expected: "EventPropsRecord",
|
|
9808
|
+
value: input.data
|
|
9809
|
+
}, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9810
|
+
method: "typia.assertGuard",
|
|
9811
|
+
path: _path + ".data",
|
|
9812
|
+
expected: "EventPropsRecord",
|
|
9813
|
+
value: input.data
|
|
9814
|
+
}, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9815
|
+
method: "typia.assertGuard",
|
|
9816
|
+
path: _path + ".source",
|
|
9817
|
+
expected: "(string | undefined)",
|
|
9818
|
+
value: input.source
|
|
9819
|
+
}, _errorFactory)) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9820
|
+
method: "typia.assertGuard",
|
|
9821
|
+
path: _path + ".cueCard",
|
|
9822
|
+
expected: "(boolean | string | undefined)",
|
|
9823
|
+
value: input.cueCard
|
|
9824
|
+
}, _errorFactory)) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9825
|
+
method: "typia.assertGuard",
|
|
9826
|
+
path: _path + ".printRundownColor",
|
|
9827
|
+
expected: "(string | undefined)",
|
|
9828
|
+
value: input.printRundownColor
|
|
9023
9829
|
}, _errorFactory)) && (undefined === input.startTime || "number" === typeof input.startTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9024
9830
|
method: "typia.assertGuard",
|
|
9025
9831
|
path: _path + ".startTime",
|
|
@@ -9042,145 +9848,519 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9042
9848
|
value: elem
|
|
9043
9849
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9044
9850
|
method: "typia.assertGuard",
|
|
9045
|
-
path: _path + ".shotboxGroup",
|
|
9046
|
-
expected: "(Array<string> | string | undefined)",
|
|
9047
|
-
value: input.shotboxGroup
|
|
9048
|
-
}, _errorFactory))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9851
|
+
path: _path + ".shotboxGroup",
|
|
9852
|
+
expected: "(Array<string> | string | undefined)",
|
|
9853
|
+
value: input.shotboxGroup
|
|
9854
|
+
}, _errorFactory))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9855
|
+
method: "typia.assertGuard",
|
|
9856
|
+
path: _path + ".shotboxVisible",
|
|
9857
|
+
expected: "(boolean | undefined)",
|
|
9858
|
+
value: input.shotboxVisible
|
|
9859
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
9860
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9861
|
+
return true;
|
|
9862
|
+
const value = input[key];
|
|
9863
|
+
if (undefined === value)
|
|
9864
|
+
return true;
|
|
9865
|
+
return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9866
|
+
method: "typia.assertGuard",
|
|
9867
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9868
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9869
|
+
value: value
|
|
9870
|
+
}, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9871
|
+
method: "typia.assertGuard",
|
|
9872
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9873
|
+
expected: "Array<JsonValue>",
|
|
9874
|
+
value: value
|
|
9875
|
+
}, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9876
|
+
method: "typia.assertGuard",
|
|
9877
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9878
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9879
|
+
value: value
|
|
9880
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9881
|
+
method: "typia.assertGuard",
|
|
9882
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9883
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9884
|
+
value: value
|
|
9885
|
+
}, _errorFactory));
|
|
9886
|
+
})); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9887
|
+
const value = input[key];
|
|
9888
|
+
if (undefined === value)
|
|
9889
|
+
return true;
|
|
9890
|
+
return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9891
|
+
method: "typia.assertGuard",
|
|
9892
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9893
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9894
|
+
value: value
|
|
9895
|
+
}, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9896
|
+
method: "typia.assertGuard",
|
|
9897
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9898
|
+
expected: "Array<JsonValue>",
|
|
9899
|
+
value: value
|
|
9900
|
+
}, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9901
|
+
method: "typia.assertGuard",
|
|
9902
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9903
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9904
|
+
value: value
|
|
9905
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9906
|
+
method: "typia.assertGuard",
|
|
9907
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9908
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9909
|
+
value: value
|
|
9910
|
+
}, _errorFactory));
|
|
9911
|
+
}); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index4) => (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9912
|
+
method: "typia.assertGuard",
|
|
9913
|
+
path: _path + "[" + _index4 + "]",
|
|
9914
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9915
|
+
value: elem
|
|
9916
|
+
}, _errorFactory)) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_aa0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9917
|
+
method: "typia.assertGuard",
|
|
9918
|
+
path: _path + "[" + _index4 + "]",
|
|
9919
|
+
expected: "Array<JsonValue>",
|
|
9920
|
+
value: elem
|
|
9921
|
+
}, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _ao3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9922
|
+
method: "typia.assertGuard",
|
|
9923
|
+
path: _path + "[" + _index4 + "]",
|
|
9924
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9925
|
+
value: elem
|
|
9926
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9927
|
+
method: "typia.assertGuard",
|
|
9928
|
+
path: _path + "[" + _index4 + "]",
|
|
9929
|
+
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9930
|
+
value: elem
|
|
9931
|
+
}, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9932
|
+
if (false === __is(input)) {
|
|
9933
|
+
_errorFactory = errorFactory;
|
|
9934
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9935
|
+
method: "typia.assertGuard",
|
|
9936
|
+
path: _path + "",
|
|
9937
|
+
expected: "EventOverlayRecord",
|
|
9938
|
+
value: input
|
|
9939
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9940
|
+
method: "typia.assertGuard",
|
|
9941
|
+
path: _path + "",
|
|
9942
|
+
expected: "EventOverlayRecord",
|
|
9943
|
+
value: input
|
|
9944
|
+
}, _errorFactory))(input, "$input", true);
|
|
9945
|
+
}
|
|
9946
|
+
}; })()(input);
|
|
9947
|
+
}
|
|
9948
|
+
case ":event.template?": {
|
|
9949
|
+
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
|
|
9950
|
+
const value = input[key];
|
|
9951
|
+
if (undefined === value)
|
|
9952
|
+
return true;
|
|
9953
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
9954
|
+
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
|
|
9955
|
+
const value = input[key];
|
|
9956
|
+
if (undefined === value)
|
|
9957
|
+
return true;
|
|
9958
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
9959
|
+
}); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
9960
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
9961
|
+
return true;
|
|
9962
|
+
const value = input[key];
|
|
9963
|
+
if (undefined === value)
|
|
9964
|
+
return true;
|
|
9965
|
+
return true;
|
|
9966
|
+
}); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9967
|
+
method: "typia.assertGuard",
|
|
9968
|
+
path: _path + ".mixin",
|
|
9969
|
+
expected: "(Array<string> | undefined)",
|
|
9970
|
+
value: input.mixin
|
|
9971
|
+
}, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9972
|
+
method: "typia.assertGuard",
|
|
9973
|
+
path: _path + ".mixin[" + _index6 + "]",
|
|
9974
|
+
expected: "string",
|
|
9975
|
+
value: elem
|
|
9976
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9977
|
+
method: "typia.assertGuard",
|
|
9978
|
+
path: _path + ".mixin",
|
|
9979
|
+
expected: "(Array<string> | undefined)",
|
|
9980
|
+
value: input.mixin
|
|
9981
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9982
|
+
method: "typia.assertGuard",
|
|
9983
|
+
path: _path + ".properties",
|
|
9984
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9985
|
+
value: input.properties
|
|
9986
|
+
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9987
|
+
method: "typia.assertGuard",
|
|
9988
|
+
path: _path + ".properties",
|
|
9989
|
+
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
9990
|
+
value: input.properties
|
|
9991
|
+
}, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9992
|
+
method: "typia.assertGuard",
|
|
9993
|
+
path: _path + ".layout",
|
|
9994
|
+
expected: "(__type.o3 | undefined)",
|
|
9995
|
+
value: input.layout
|
|
9996
|
+
}, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9997
|
+
method: "typia.assertGuard",
|
|
9998
|
+
path: _path + ".layout",
|
|
9999
|
+
expected: "(__type.o3 | undefined)",
|
|
10000
|
+
value: input.layout
|
|
10001
|
+
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9049
10002
|
method: "typia.assertGuard",
|
|
9050
|
-
path: _path + ".
|
|
9051
|
-
expected: "(
|
|
9052
|
-
value: input.
|
|
9053
|
-
}, _errorFactory))
|
|
9054
|
-
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
9055
|
-
return true;
|
|
9056
|
-
const value = input[key];
|
|
9057
|
-
if (undefined === value)
|
|
9058
|
-
return true;
|
|
9059
|
-
return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9060
|
-
method: "typia.assertGuard",
|
|
9061
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9062
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9063
|
-
value: value
|
|
9064
|
-
}, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9065
|
-
method: "typia.assertGuard",
|
|
9066
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9067
|
-
expected: "Array<JsonValue>",
|
|
9068
|
-
value: value
|
|
9069
|
-
}, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9070
|
-
method: "typia.assertGuard",
|
|
9071
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9072
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9073
|
-
value: value
|
|
9074
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9075
|
-
method: "typia.assertGuard",
|
|
9076
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9077
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9078
|
-
value: value
|
|
9079
|
-
}, _errorFactory));
|
|
9080
|
-
})); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10003
|
+
path: _path + ".controller",
|
|
10004
|
+
expected: "(string | undefined)",
|
|
10005
|
+
value: input.controller
|
|
10006
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
9081
10007
|
const value = input[key];
|
|
9082
10008
|
if (undefined === value)
|
|
9083
10009
|
return true;
|
|
9084
|
-
return (
|
|
9085
|
-
method: "typia.assertGuard",
|
|
9086
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9087
|
-
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
9088
|
-
value: value
|
|
9089
|
-
}, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9090
|
-
method: "typia.assertGuard",
|
|
9091
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9092
|
-
expected: "Array<JsonValue>",
|
|
9093
|
-
value: value
|
|
9094
|
-
}, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10010
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9095
10011
|
method: "typia.assertGuard",
|
|
9096
10012
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9097
|
-
expected: "
|
|
10013
|
+
expected: "TemplateProperty",
|
|
9098
10014
|
value: value
|
|
9099
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10015
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9100
10016
|
method: "typia.assertGuard",
|
|
9101
10017
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9102
|
-
expected: "
|
|
10018
|
+
expected: "TemplateProperty",
|
|
9103
10019
|
value: value
|
|
9104
|
-
}, _errorFactory)
|
|
9105
|
-
}); const
|
|
10020
|
+
}, _errorFactory);
|
|
10021
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10022
|
+
method: "typia.assertGuard",
|
|
10023
|
+
path: _path + ".path",
|
|
10024
|
+
expected: "(string | undefined)",
|
|
10025
|
+
value: input.path
|
|
10026
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10027
|
+
method: "typia.assertGuard",
|
|
10028
|
+
path: _path + ".render",
|
|
10029
|
+
expected: "(__type | undefined)",
|
|
10030
|
+
value: input.render
|
|
10031
|
+
}, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10032
|
+
method: "typia.assertGuard",
|
|
10033
|
+
path: _path + ".render",
|
|
10034
|
+
expected: "(__type | undefined)",
|
|
10035
|
+
value: input.render
|
|
10036
|
+
}, _errorFactory)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10037
|
+
method: "typia.assertGuard",
|
|
10038
|
+
path: _path + ".type",
|
|
10039
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
10040
|
+
value: input.type
|
|
10041
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10042
|
+
method: "typia.assertGuard",
|
|
10043
|
+
path: _path + ".title",
|
|
10044
|
+
expected: "(string | undefined)",
|
|
10045
|
+
value: input.title
|
|
10046
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10047
|
+
method: "typia.assertGuard",
|
|
10048
|
+
path: _path + ".description",
|
|
10049
|
+
expected: "(string | undefined)",
|
|
10050
|
+
value: input.description
|
|
10051
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10052
|
+
method: "typia.assertGuard",
|
|
10053
|
+
path: _path + ".required",
|
|
10054
|
+
expected: "(boolean | undefined)",
|
|
10055
|
+
value: input.required
|
|
10056
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10057
|
+
method: "typia.assertGuard",
|
|
10058
|
+
path: _path + ".oneOf",
|
|
10059
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10060
|
+
value: input.oneOf
|
|
10061
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10062
|
+
method: "typia.assertGuard",
|
|
10063
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
10064
|
+
expected: "SchemaProperty<unknown>",
|
|
10065
|
+
value: elem
|
|
10066
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10067
|
+
method: "typia.assertGuard",
|
|
10068
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
10069
|
+
expected: "SchemaProperty<unknown>",
|
|
10070
|
+
value: elem
|
|
10071
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10072
|
+
method: "typia.assertGuard",
|
|
10073
|
+
path: _path + ".oneOf",
|
|
10074
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10075
|
+
value: input.oneOf
|
|
10076
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10077
|
+
method: "typia.assertGuard",
|
|
10078
|
+
path: _path + ".anyOf",
|
|
10079
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10080
|
+
value: input.anyOf
|
|
10081
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10082
|
+
method: "typia.assertGuard",
|
|
10083
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
10084
|
+
expected: "SchemaProperty<unknown>",
|
|
10085
|
+
value: elem
|
|
10086
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10087
|
+
method: "typia.assertGuard",
|
|
10088
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
10089
|
+
expected: "SchemaProperty<unknown>",
|
|
10090
|
+
value: elem
|
|
10091
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10092
|
+
method: "typia.assertGuard",
|
|
10093
|
+
path: _path + ".anyOf",
|
|
10094
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10095
|
+
value: input.anyOf
|
|
10096
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10097
|
+
method: "typia.assertGuard",
|
|
10098
|
+
path: _path + "[\"enum\"]",
|
|
10099
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
10100
|
+
value: input["enum"]
|
|
10101
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10102
|
+
method: "typia.assertGuard",
|
|
10103
|
+
path: _path + ".minItems",
|
|
10104
|
+
expected: "(number | undefined)",
|
|
10105
|
+
value: input.minItems
|
|
10106
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10107
|
+
method: "typia.assertGuard",
|
|
10108
|
+
path: _path + ".maxItems",
|
|
10109
|
+
expected: "(number | undefined)",
|
|
10110
|
+
value: input.maxItems
|
|
10111
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10112
|
+
method: "typia.assertGuard",
|
|
10113
|
+
path: _path + ".items",
|
|
10114
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10115
|
+
value: input.items
|
|
10116
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10117
|
+
method: "typia.assertGuard",
|
|
10118
|
+
path: _path + ".items",
|
|
10119
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10120
|
+
value: input.items
|
|
10121
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10122
|
+
method: "typia.assertGuard",
|
|
10123
|
+
path: _path + ".properties",
|
|
10124
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
10125
|
+
value: input.properties
|
|
10126
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10127
|
+
method: "typia.assertGuard",
|
|
10128
|
+
path: _path + ".properties",
|
|
10129
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
10130
|
+
value: input.properties
|
|
10131
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10132
|
+
method: "typia.assertGuard",
|
|
10133
|
+
path: _path + ".widget",
|
|
10134
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10135
|
+
value: input.widget
|
|
10136
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10137
|
+
method: "typia.assertGuard",
|
|
10138
|
+
path: _path + ".widget",
|
|
10139
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10140
|
+
value: input.widget
|
|
10141
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10142
|
+
method: "typia.assertGuard",
|
|
10143
|
+
path: _path + ".widget",
|
|
10144
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10145
|
+
value: input.widget
|
|
10146
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10147
|
+
method: "typia.assertGuard",
|
|
10148
|
+
path: _path + ".placeholder",
|
|
10149
|
+
expected: "(string | undefined)",
|
|
10150
|
+
value: input.placeholder
|
|
10151
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10152
|
+
method: "typia.assertGuard",
|
|
10153
|
+
path: _path + ".helpText",
|
|
10154
|
+
expected: "(string | undefined)",
|
|
10155
|
+
value: input.helpText
|
|
10156
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10157
|
+
method: "typia.assertGuard",
|
|
10158
|
+
path: _path + ".invalid",
|
|
10159
|
+
expected: "(boolean | undefined)",
|
|
10160
|
+
value: input.invalid
|
|
10161
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10162
|
+
method: "typia.assertGuard",
|
|
10163
|
+
path: _path + ".type",
|
|
10164
|
+
expected: "\"image\"",
|
|
10165
|
+
value: input.type
|
|
10166
|
+
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10167
|
+
method: "typia.assertGuard",
|
|
10168
|
+
path: _path + ".profile",
|
|
10169
|
+
expected: "(__type.o1 | undefined)",
|
|
10170
|
+
value: input.profile
|
|
10171
|
+
}, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10172
|
+
method: "typia.assertGuard",
|
|
10173
|
+
path: _path + ".profile",
|
|
10174
|
+
expected: "(__type.o1 | undefined)",
|
|
10175
|
+
value: input.profile
|
|
10176
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10177
|
+
method: "typia.assertGuard",
|
|
10178
|
+
path: _path + ".format",
|
|
10179
|
+
expected: "(string | undefined)",
|
|
10180
|
+
value: input.format
|
|
10181
|
+
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10182
|
+
method: "typia.assertGuard",
|
|
10183
|
+
path: _path + ".video",
|
|
10184
|
+
expected: "(__type.o2 | undefined)",
|
|
10185
|
+
value: input.video
|
|
10186
|
+
}, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10187
|
+
method: "typia.assertGuard",
|
|
10188
|
+
path: _path + ".video",
|
|
10189
|
+
expected: "(__type.o2 | undefined)",
|
|
10190
|
+
value: input.video
|
|
10191
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10192
|
+
method: "typia.assertGuard",
|
|
10193
|
+
path: _path + ".width",
|
|
10194
|
+
expected: "number",
|
|
10195
|
+
value: input.width
|
|
10196
|
+
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10197
|
+
method: "typia.assertGuard",
|
|
10198
|
+
path: _path + ".height",
|
|
10199
|
+
expected: "number",
|
|
10200
|
+
value: input.height
|
|
10201
|
+
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10202
|
+
method: "typia.assertGuard",
|
|
10203
|
+
path: _path + ".fit",
|
|
10204
|
+
expected: "\"cover\"",
|
|
10205
|
+
value: input.fit
|
|
10206
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10207
|
+
method: "typia.assertGuard",
|
|
10208
|
+
path: _path + ".type",
|
|
10209
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
10210
|
+
value: input.type
|
|
10211
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10212
|
+
method: "typia.assertGuard",
|
|
10213
|
+
path: _path + ".title",
|
|
10214
|
+
expected: "(string | undefined)",
|
|
10215
|
+
value: input.title
|
|
10216
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10217
|
+
method: "typia.assertGuard",
|
|
10218
|
+
path: _path + ".description",
|
|
10219
|
+
expected: "(string | undefined)",
|
|
10220
|
+
value: input.description
|
|
10221
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10222
|
+
method: "typia.assertGuard",
|
|
10223
|
+
path: _path + ".required",
|
|
10224
|
+
expected: "(boolean | undefined)",
|
|
10225
|
+
value: input.required
|
|
10226
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9106
10227
|
method: "typia.assertGuard",
|
|
9107
|
-
path: _path + "
|
|
9108
|
-
expected: "(Array<
|
|
9109
|
-
value:
|
|
9110
|
-
}, _errorFactory)) && (
|
|
10228
|
+
path: _path + ".oneOf",
|
|
10229
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10230
|
+
value: input.oneOf
|
|
10231
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9111
10232
|
method: "typia.assertGuard",
|
|
9112
|
-
path: _path + "[" +
|
|
9113
|
-
expected: "
|
|
10233
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
10234
|
+
expected: "SchemaProperty<unknown>",
|
|
9114
10235
|
value: elem
|
|
9115
|
-
}, _errorFactory))
|
|
10236
|
+
}, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9116
10237
|
method: "typia.assertGuard",
|
|
9117
|
-
path: _path + "[" +
|
|
9118
|
-
expected: "
|
|
10238
|
+
path: _path + ".oneOf[" + _index9 + "]",
|
|
10239
|
+
expected: "SchemaProperty<unknown>",
|
|
9119
10240
|
value: elem
|
|
9120
10241
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9121
10242
|
method: "typia.assertGuard",
|
|
9122
|
-
path: _path + "
|
|
9123
|
-
expected: "(Array<
|
|
9124
|
-
value:
|
|
9125
|
-
}, _errorFactory))
|
|
9126
|
-
if (false === __is(input)) {
|
|
9127
|
-
_errorFactory = errorFactory;
|
|
9128
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9129
|
-
method: "typia.assertGuard",
|
|
9130
|
-
path: _path + "",
|
|
9131
|
-
expected: "EventOverlayRecord",
|
|
9132
|
-
value: input
|
|
9133
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9134
|
-
method: "typia.assertGuard",
|
|
9135
|
-
path: _path + "",
|
|
9136
|
-
expected: "EventOverlayRecord",
|
|
9137
|
-
value: input
|
|
9138
|
-
}, _errorFactory))(input, "$input", true);
|
|
9139
|
-
}
|
|
9140
|
-
}; })()(input);
|
|
9141
|
-
}
|
|
9142
|
-
case ":event.template?": {
|
|
9143
|
-
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10243
|
+
path: _path + ".oneOf",
|
|
10244
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10245
|
+
value: input.oneOf
|
|
10246
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9144
10247
|
method: "typia.assertGuard",
|
|
9145
|
-
path: _path + ".
|
|
9146
|
-
expected: "(Array<
|
|
9147
|
-
value: input.
|
|
9148
|
-
}, _errorFactory)) && input.
|
|
10248
|
+
path: _path + ".anyOf",
|
|
10249
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10250
|
+
value: input.anyOf
|
|
10251
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9149
10252
|
method: "typia.assertGuard",
|
|
9150
|
-
path: _path + ".
|
|
9151
|
-
expected: "
|
|
10253
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
10254
|
+
expected: "SchemaProperty<unknown>",
|
|
10255
|
+
value: elem
|
|
10256
|
+
}, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10257
|
+
method: "typia.assertGuard",
|
|
10258
|
+
path: _path + ".anyOf[" + _index10 + "]",
|
|
10259
|
+
expected: "SchemaProperty<unknown>",
|
|
9152
10260
|
value: elem
|
|
9153
10261
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9154
10262
|
method: "typia.assertGuard",
|
|
9155
|
-
path: _path + ".
|
|
9156
|
-
expected: "(Array<
|
|
9157
|
-
value: input.
|
|
10263
|
+
path: _path + ".anyOf",
|
|
10264
|
+
expected: "(Array<SchemaProperty<unknown>> | undefined)",
|
|
10265
|
+
value: input.anyOf
|
|
10266
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10267
|
+
method: "typia.assertGuard",
|
|
10268
|
+
path: _path + "[\"enum\"]",
|
|
10269
|
+
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
10270
|
+
value: input["enum"]
|
|
10271
|
+
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10272
|
+
method: "typia.assertGuard",
|
|
10273
|
+
path: _path + ".minItems",
|
|
10274
|
+
expected: "(number | undefined)",
|
|
10275
|
+
value: input.minItems
|
|
10276
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10277
|
+
method: "typia.assertGuard",
|
|
10278
|
+
path: _path + ".maxItems",
|
|
10279
|
+
expected: "(number | undefined)",
|
|
10280
|
+
value: input.maxItems
|
|
10281
|
+
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10282
|
+
method: "typia.assertGuard",
|
|
10283
|
+
path: _path + ".items",
|
|
10284
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10285
|
+
value: input.items
|
|
10286
|
+
}, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10287
|
+
method: "typia.assertGuard",
|
|
10288
|
+
path: _path + ".items",
|
|
10289
|
+
expected: "(SchemaProperty<unknown> | undefined)",
|
|
10290
|
+
value: input.items
|
|
9158
10291
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9159
10292
|
method: "typia.assertGuard",
|
|
9160
10293
|
path: _path + ".properties",
|
|
9161
|
-
expected: "(
|
|
10294
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9162
10295
|
value: input.properties
|
|
9163
|
-
}, _errorFactory)) &&
|
|
10296
|
+
}, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9164
10297
|
method: "typia.assertGuard",
|
|
9165
10298
|
path: _path + ".properties",
|
|
9166
|
-
expected: "(
|
|
10299
|
+
expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
|
|
9167
10300
|
value: input.properties
|
|
9168
|
-
}, _errorFactory)) &&
|
|
10301
|
+
}, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9169
10302
|
method: "typia.assertGuard",
|
|
9170
|
-
path: _path + ".
|
|
9171
|
-
expected: "(
|
|
9172
|
-
value: input.
|
|
9173
|
-
}, _errorFactory)) &&
|
|
10303
|
+
path: _path + ".widget",
|
|
10304
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10305
|
+
value: input.widget
|
|
10306
|
+
}, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9174
10307
|
method: "typia.assertGuard",
|
|
9175
|
-
path: _path + ".
|
|
9176
|
-
expected: "(
|
|
9177
|
-
value: input.
|
|
9178
|
-
}, _errorFactory)) && (
|
|
10308
|
+
path: _path + ".widget",
|
|
10309
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10310
|
+
value: input.widget
|
|
10311
|
+
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9179
10312
|
method: "typia.assertGuard",
|
|
9180
|
-
path: _path + ".
|
|
10313
|
+
path: _path + ".widget",
|
|
10314
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
10315
|
+
value: input.widget
|
|
10316
|
+
}, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10317
|
+
method: "typia.assertGuard",
|
|
10318
|
+
path: _path + ".placeholder",
|
|
9181
10319
|
expected: "(string | undefined)",
|
|
9182
|
-
value: input.
|
|
9183
|
-
}, _errorFactory))
|
|
10320
|
+
value: input.placeholder
|
|
10321
|
+
}, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10322
|
+
method: "typia.assertGuard",
|
|
10323
|
+
path: _path + ".helpText",
|
|
10324
|
+
expected: "(string | undefined)",
|
|
10325
|
+
value: input.helpText
|
|
10326
|
+
}, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10327
|
+
method: "typia.assertGuard",
|
|
10328
|
+
path: _path + ".invalid",
|
|
10329
|
+
expected: "(boolean | undefined)",
|
|
10330
|
+
value: input.invalid
|
|
10331
|
+
}, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10332
|
+
const value = input[key];
|
|
10333
|
+
if (undefined === value)
|
|
10334
|
+
return true;
|
|
10335
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10336
|
+
method: "typia.assertGuard",
|
|
10337
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10338
|
+
expected: "SchemaProperty<unknown>",
|
|
10339
|
+
value: value
|
|
10340
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10341
|
+
method: "typia.assertGuard",
|
|
10342
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10343
|
+
expected: "SchemaProperty<unknown>",
|
|
10344
|
+
value: value
|
|
10345
|
+
}, _errorFactory);
|
|
10346
|
+
}); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10347
|
+
method: "typia.assertGuard",
|
|
10348
|
+
path: _path + ".type",
|
|
10349
|
+
expected: "(string | undefined)",
|
|
10350
|
+
value: input.type
|
|
10351
|
+
}, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10352
|
+
method: "typia.assertGuard",
|
|
10353
|
+
path: _path + ".readOnly",
|
|
10354
|
+
expected: "(boolean | undefined)",
|
|
10355
|
+
value: input.readOnly
|
|
10356
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
10357
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
10358
|
+
return true;
|
|
10359
|
+
const value = input[key];
|
|
10360
|
+
if (undefined === value)
|
|
10361
|
+
return true;
|
|
10362
|
+
return true;
|
|
10363
|
+
})); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9184
10364
|
method: "typia.assertGuard",
|
|
9185
10365
|
path: _path + ".title",
|
|
9186
10366
|
expected: "(string | undefined)",
|
|
@@ -9385,59 +10565,185 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9385
10565
|
}, _errorFactory));
|
|
9386
10566
|
}); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index4) => (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9387
10567
|
method: "typia.assertGuard",
|
|
9388
|
-
path: _path + "[" + _index4 + "]",
|
|
9389
|
-
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
9390
|
-
value: elem
|
|
9391
|
-
}, _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, {
|
|
10568
|
+
path: _path + "[" + _index4 + "]",
|
|
10569
|
+
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
10570
|
+
value: elem
|
|
10571
|
+
}, _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, {
|
|
10572
|
+
method: "typia.assertGuard",
|
|
10573
|
+
path: _path + "[" + _index4 + "]",
|
|
10574
|
+
expected: "Array<JsonValue>",
|
|
10575
|
+
value: elem
|
|
10576
|
+
}, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _ao1(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10577
|
+
method: "typia.assertGuard",
|
|
10578
|
+
path: _path + "[" + _index4 + "]",
|
|
10579
|
+
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
10580
|
+
value: elem
|
|
10581
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10582
|
+
method: "typia.assertGuard",
|
|
10583
|
+
path: _path + "[" + _index4 + "]",
|
|
10584
|
+
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
10585
|
+
value: elem
|
|
10586
|
+
}, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10587
|
+
if (false === __is(input)) {
|
|
10588
|
+
_errorFactory = errorFactory;
|
|
10589
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10590
|
+
method: "typia.assertGuard",
|
|
10591
|
+
path: _path + "",
|
|
10592
|
+
expected: "EventPropsRecord",
|
|
10593
|
+
value: input
|
|
10594
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10595
|
+
method: "typia.assertGuard",
|
|
10596
|
+
path: _path + "",
|
|
10597
|
+
expected: "EventPropsRecord",
|
|
10598
|
+
value: input
|
|
10599
|
+
}, _errorFactory))(input, "$input", true);
|
|
10600
|
+
}
|
|
10601
|
+
}; })()(input);
|
|
10602
|
+
}
|
|
10603
|
+
case ":event.stats?": {
|
|
10604
|
+
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, {
|
|
10605
|
+
method: "typia.assertGuard",
|
|
10606
|
+
path: _path + ".type",
|
|
10607
|
+
expected: "(string | undefined)",
|
|
10608
|
+
value: input.type
|
|
10609
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10610
|
+
if (false === __is(input)) {
|
|
10611
|
+
_errorFactory = errorFactory;
|
|
10612
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10613
|
+
method: "typia.assertGuard",
|
|
10614
|
+
path: _path + "",
|
|
10615
|
+
expected: "EventStatsRecord",
|
|
10616
|
+
value: input
|
|
10617
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10618
|
+
method: "typia.assertGuard",
|
|
10619
|
+
path: _path + "",
|
|
10620
|
+
expected: "EventStatsRecord",
|
|
10621
|
+
value: input
|
|
10622
|
+
}, _errorFactory))(input, "$input", true);
|
|
10623
|
+
}
|
|
10624
|
+
}; })()(input);
|
|
10625
|
+
}
|
|
10626
|
+
case ":event.status?": {
|
|
10627
|
+
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, {
|
|
10628
|
+
method: "typia.assertGuard",
|
|
10629
|
+
path: _path + ".messages",
|
|
10630
|
+
expected: "(Array<__type> | undefined)",
|
|
10631
|
+
value: input.messages
|
|
10632
|
+
}, _errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10633
|
+
method: "typia.assertGuard",
|
|
10634
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
10635
|
+
expected: "__type",
|
|
10636
|
+
value: elem
|
|
10637
|
+
}, _errorFactory)) && _ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10638
|
+
method: "typia.assertGuard",
|
|
10639
|
+
path: _path + ".messages[" + _index2 + "]",
|
|
10640
|
+
expected: "__type",
|
|
10641
|
+
value: elem
|
|
10642
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10643
|
+
method: "typia.assertGuard",
|
|
10644
|
+
path: _path + ".messages",
|
|
10645
|
+
expected: "(Array<__type> | undefined)",
|
|
10646
|
+
value: input.messages
|
|
10647
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10648
|
+
method: "typia.assertGuard",
|
|
10649
|
+
path: _path + ".id",
|
|
10650
|
+
expected: "string",
|
|
10651
|
+
value: input.id
|
|
10652
|
+
}, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10653
|
+
method: "typia.assertGuard",
|
|
10654
|
+
path: _path + ".msg",
|
|
10655
|
+
expected: "string",
|
|
10656
|
+
value: input.msg
|
|
10657
|
+
}, _errorFactory)) && ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10658
|
+
method: "typia.assertGuard",
|
|
10659
|
+
path: _path + ".level",
|
|
10660
|
+
expected: "number",
|
|
10661
|
+
value: input.level
|
|
10662
|
+
}, _errorFactory)) && (undefined === input.code || "string" === typeof input.code || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10663
|
+
method: "typia.assertGuard",
|
|
10664
|
+
path: _path + ".code",
|
|
10665
|
+
expected: "(string | undefined)",
|
|
10666
|
+
value: input.code
|
|
10667
|
+
}, _errorFactory)) && (null === input.expose || undefined === input.expose || "boolean" === typeof input.expose || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10668
|
+
method: "typia.assertGuard",
|
|
10669
|
+
path: _path + ".expose",
|
|
10670
|
+
expected: "(boolean | null | undefined)",
|
|
10671
|
+
value: input.expose
|
|
10672
|
+
}, _errorFactory)) && (null === input.index || undefined === input.index || "number" === typeof input.index || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9392
10673
|
method: "typia.assertGuard",
|
|
9393
|
-
path: _path + "
|
|
9394
|
-
expected: "
|
|
9395
|
-
value:
|
|
9396
|
-
}, _errorFactory)) || "object" === typeof
|
|
10674
|
+
path: _path + ".index",
|
|
10675
|
+
expected: "(null | number | undefined)",
|
|
10676
|
+
value: input.index
|
|
10677
|
+
}, _errorFactory)) && (undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9397
10678
|
method: "typia.assertGuard",
|
|
9398
|
-
path: _path + "
|
|
9399
|
-
expected: "(
|
|
9400
|
-
value:
|
|
9401
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10679
|
+
path: _path + ".data",
|
|
10680
|
+
expected: "(__type.o1 | undefined)",
|
|
10681
|
+
value: input.data
|
|
10682
|
+
}, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9402
10683
|
method: "typia.assertGuard",
|
|
9403
|
-
path: _path + "
|
|
9404
|
-
expected: "(
|
|
9405
|
-
value:
|
|
9406
|
-
}, _errorFactory))
|
|
10684
|
+
path: _path + ".data",
|
|
10685
|
+
expected: "(__type.o1 | undefined)",
|
|
10686
|
+
value: input.data
|
|
10687
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => null === input.progress || undefined === input.progress || "number" === typeof input.progress || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10688
|
+
method: "typia.assertGuard",
|
|
10689
|
+
path: _path + ".progress",
|
|
10690
|
+
expected: "(null | number | undefined)",
|
|
10691
|
+
value: input.progress
|
|
10692
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9407
10693
|
if (false === __is(input)) {
|
|
9408
10694
|
_errorFactory = errorFactory;
|
|
9409
10695
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9410
10696
|
method: "typia.assertGuard",
|
|
9411
10697
|
path: _path + "",
|
|
9412
|
-
expected: "
|
|
10698
|
+
expected: "EventStatusRecord",
|
|
9413
10699
|
value: input
|
|
9414
10700
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9415
10701
|
method: "typia.assertGuard",
|
|
9416
10702
|
path: _path + "",
|
|
9417
|
-
expected: "
|
|
10703
|
+
expected: "EventStatusRecord",
|
|
9418
10704
|
value: input
|
|
9419
10705
|
}, _errorFactory))(input, "$input", true);
|
|
9420
10706
|
}
|
|
9421
10707
|
}; })()(input);
|
|
9422
10708
|
}
|
|
9423
|
-
case ":event.
|
|
9424
|
-
return (() => { const _io0 = input => undefined === input.
|
|
10709
|
+
case ":event.schedule?": {
|
|
10710
|
+
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, {
|
|
9425
10711
|
method: "typia.assertGuard",
|
|
9426
|
-
path: _path + ".
|
|
9427
|
-
expected: "(
|
|
9428
|
-
value: input.
|
|
9429
|
-
}, _errorFactory)
|
|
10712
|
+
path: _path + ".startTime",
|
|
10713
|
+
expected: "(number | undefined)",
|
|
10714
|
+
value: input.startTime
|
|
10715
|
+
}, _errorFactory)) && (undefined === input.transition || "boolean" === typeof input.transition || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10716
|
+
method: "typia.assertGuard",
|
|
10717
|
+
path: _path + ".transition",
|
|
10718
|
+
expected: "(boolean | undefined)",
|
|
10719
|
+
value: input.transition
|
|
10720
|
+
}, _errorFactory)) && (undefined === input.transitionTime || "number" === typeof input.transitionTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10721
|
+
method: "typia.assertGuard",
|
|
10722
|
+
path: _path + ".transitionTime",
|
|
10723
|
+
expected: "(number | undefined)",
|
|
10724
|
+
value: input.transitionTime
|
|
10725
|
+
}, _errorFactory)) && (undefined === input.transitionDuration || "number" === typeof input.transitionDuration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10726
|
+
method: "typia.assertGuard",
|
|
10727
|
+
path: _path + ".transitionDuration",
|
|
10728
|
+
expected: "(number | undefined)",
|
|
10729
|
+
value: input.transitionDuration
|
|
10730
|
+
}, _errorFactory)) && (undefined === input.endTime || "number" === typeof input.endTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10731
|
+
method: "typia.assertGuard",
|
|
10732
|
+
path: _path + ".endTime",
|
|
10733
|
+
expected: "(number | undefined)",
|
|
10734
|
+
value: input.endTime
|
|
10735
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
9430
10736
|
if (false === __is(input)) {
|
|
9431
10737
|
_errorFactory = errorFactory;
|
|
9432
10738
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9433
10739
|
method: "typia.assertGuard",
|
|
9434
10740
|
path: _path + "",
|
|
9435
|
-
expected: "
|
|
10741
|
+
expected: "EventScheduleRecord",
|
|
9436
10742
|
value: input
|
|
9437
10743
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9438
10744
|
method: "typia.assertGuard",
|
|
9439
10745
|
path: _path + "",
|
|
9440
|
-
expected: "
|
|
10746
|
+
expected: "EventScheduleRecord",
|
|
9441
10747
|
value: input
|
|
9442
10748
|
}, _errorFactory))(input, "$input", true);
|
|
9443
10749
|
}
|
|
@@ -11506,6 +12812,29 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11506
12812
|
}
|
|
11507
12813
|
}; })()(input);
|
|
11508
12814
|
}
|
|
12815
|
+
case ":media.placeholder": {
|
|
12816
|
+
return (() => { const _io0 = input => "string" === typeof input.asset; const _ao0 = (input, _path, _exceptionable = true) => "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12817
|
+
method: "typia.assertGuard",
|
|
12818
|
+
path: _path + ".asset",
|
|
12819
|
+
expected: "string",
|
|
12820
|
+
value: input.asset
|
|
12821
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
12822
|
+
if (false === __is(input)) {
|
|
12823
|
+
_errorFactory = errorFactory;
|
|
12824
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
12825
|
+
method: "typia.assertGuard",
|
|
12826
|
+
path: _path + "",
|
|
12827
|
+
expected: "MediaPlaceholderRecord",
|
|
12828
|
+
value: input
|
|
12829
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
12830
|
+
method: "typia.assertGuard",
|
|
12831
|
+
path: _path + "",
|
|
12832
|
+
expected: "MediaPlaceholderRecord",
|
|
12833
|
+
value: input
|
|
12834
|
+
}, _errorFactory))(input, "$input", true);
|
|
12835
|
+
}
|
|
12836
|
+
}; })()(input);
|
|
12837
|
+
}
|
|
11509
12838
|
case ":media.consolidate": {
|
|
11510
12839
|
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, {
|
|
11511
12840
|
method: "typia.assertGuard",
|
|
@@ -11826,7 +13155,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11826
13155
|
if (undefined === value)
|
|
11827
13156
|
return true;
|
|
11828
13157
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
|
|
11829
|
-
}); 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
|
|
13158
|
+
}); 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 => {
|
|
13159
|
+
const value = input[key];
|
|
13160
|
+
if (undefined === value)
|
|
13161
|
+
return true;
|
|
13162
|
+
return "string" === typeof value;
|
|
13163
|
+
}); const _io9 = input => Object.keys(input).every(key => {
|
|
13164
|
+
const value = input[key];
|
|
13165
|
+
if (undefined === value)
|
|
13166
|
+
return true;
|
|
13167
|
+
return "string" === typeof value;
|
|
13168
|
+
}); const _iu0 = input => (() => {
|
|
11830
13169
|
if ("add" === input.op)
|
|
11831
13170
|
return _io2(input);
|
|
11832
13171
|
else if ("remove" === input.op)
|
|
@@ -11856,7 +13195,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11856
13195
|
expected: "MediaTranscriptChangesRecordValue",
|
|
11857
13196
|
value: value
|
|
11858
13197
|
}, _errorFactory);
|
|
11859
|
-
}); const _ao1 = (input, _path, _exceptionable = true) => undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13198
|
+
}); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11860
13199
|
method: "typia.assertGuard",
|
|
11861
13200
|
path: _path + ".patch",
|
|
11862
13201
|
expected: "(Array<Operation> | undefined)",
|
|
@@ -11876,7 +13215,27 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11876
13215
|
path: _path + ".patch",
|
|
11877
13216
|
expected: "(Array<Operation> | undefined)",
|
|
11878
13217
|
value: input.patch
|
|
11879
|
-
}, _errorFactory)
|
|
13218
|
+
}, _errorFactory)) && (undefined === input.speakerLabels || ("object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13219
|
+
method: "typia.assertGuard",
|
|
13220
|
+
path: _path + ".speakerLabels",
|
|
13221
|
+
expected: "(__type | undefined)",
|
|
13222
|
+
value: input.speakerLabels
|
|
13223
|
+
}, _errorFactory)) && _ao8(input.speakerLabels, _path + ".speakerLabels", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13224
|
+
method: "typia.assertGuard",
|
|
13225
|
+
path: _path + ".speakerLabels",
|
|
13226
|
+
expected: "(__type | undefined)",
|
|
13227
|
+
value: input.speakerLabels
|
|
13228
|
+
}, _errorFactory)) && (undefined === input.speakerRemaps || ("object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13229
|
+
method: "typia.assertGuard",
|
|
13230
|
+
path: _path + ".speakerRemaps",
|
|
13231
|
+
expected: "(__type.o1 | undefined)",
|
|
13232
|
+
value: input.speakerRemaps
|
|
13233
|
+
}, _errorFactory)) && _ao9(input.speakerRemaps, _path + ".speakerRemaps", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13234
|
+
method: "typia.assertGuard",
|
|
13235
|
+
path: _path + ".speakerRemaps",
|
|
13236
|
+
expected: "(__type.o1 | undefined)",
|
|
13237
|
+
value: input.speakerRemaps
|
|
13238
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => ("add" === input.op || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11880
13239
|
method: "typia.assertGuard",
|
|
11881
13240
|
path: _path + ".op",
|
|
11882
13241
|
expected: "\"add\"",
|
|
@@ -11946,7 +13305,27 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11946
13305
|
path: _path + ".path",
|
|
11947
13306
|
expected: "string",
|
|
11948
13307
|
value: input.path
|
|
11949
|
-
}, _errorFactory)) && true; const
|
|
13308
|
+
}, _errorFactory)) && true; const _ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
13309
|
+
const value = input[key];
|
|
13310
|
+
if (undefined === value)
|
|
13311
|
+
return true;
|
|
13312
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13313
|
+
method: "typia.assertGuard",
|
|
13314
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13315
|
+
expected: "string",
|
|
13316
|
+
value: value
|
|
13317
|
+
}, _errorFactory);
|
|
13318
|
+
}); const _ao9 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
13319
|
+
const value = input[key];
|
|
13320
|
+
if (undefined === value)
|
|
13321
|
+
return true;
|
|
13322
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13323
|
+
method: "typia.assertGuard",
|
|
13324
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13325
|
+
expected: "string",
|
|
13326
|
+
value: value
|
|
13327
|
+
}, _errorFactory);
|
|
13328
|
+
}); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
11950
13329
|
if ("add" === input.op)
|
|
11951
13330
|
return _ao2(input, _path, true && _exceptionable);
|
|
11952
13331
|
else if ("remove" === input.op)
|
|
@@ -12907,7 +14286,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12907
14286
|
}; })()(input);
|
|
12908
14287
|
}
|
|
12909
14288
|
case ":monitor.stats?": {
|
|
12910
|
-
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 => {
|
|
14289
|
+
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 => {
|
|
12911
14290
|
const value = input[key];
|
|
12912
14291
|
if (undefined === value)
|
|
12913
14292
|
return true;
|
|
@@ -12936,7 +14315,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12936
14315
|
if (undefined === value)
|
|
12937
14316
|
return true;
|
|
12938
14317
|
return true;
|
|
12939
|
-
}); const _io12 = input => "number" === typeof input.used && "number" === typeof input.available && "number" === typeof input.timestamp; const
|
|
14318
|
+
}); 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 => {
|
|
14319
|
+
const value = input[key];
|
|
14320
|
+
if (undefined === value)
|
|
14321
|
+
return true;
|
|
14322
|
+
return "string" === typeof value;
|
|
14323
|
+
}); 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, {
|
|
12940
14324
|
method: "typia.assertGuard",
|
|
12941
14325
|
path: _path + ".proc",
|
|
12942
14326
|
expected: "MonitorStatsProcInfo",
|
|
@@ -12986,6 +14370,16 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12986
14370
|
path: _path + "[\"var\"]",
|
|
12987
14371
|
expected: "__type.o5",
|
|
12988
14372
|
value: input["var"]
|
|
14373
|
+
}, _errorFactory)) && (("object" === typeof input.hostBridge && null !== input.hostBridge || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14374
|
+
method: "typia.assertGuard",
|
|
14375
|
+
path: _path + ".hostBridge",
|
|
14376
|
+
expected: "MonitorStatsHostBridge",
|
|
14377
|
+
value: input.hostBridge
|
|
14378
|
+
}, _errorFactory)) && _ao13(input.hostBridge, _path + ".hostBridge", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14379
|
+
method: "typia.assertGuard",
|
|
14380
|
+
path: _path + ".hostBridge",
|
|
14381
|
+
expected: "MonitorStatsHostBridge",
|
|
14382
|
+
value: input.hostBridge
|
|
12989
14383
|
}, _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, {
|
|
12990
14384
|
method: "typia.assertGuard",
|
|
12991
14385
|
path: _path + ".cpu",
|
|
@@ -13001,14 +14395,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13001
14395
|
path: _path + ".cpus",
|
|
13002
14396
|
expected: "(Array<MonitorStatsProcInfoCpu> | undefined)",
|
|
13003
14397
|
value: input.cpus
|
|
13004
|
-
}, _errorFactory)) && input.cpus.every((elem,
|
|
14398
|
+
}, _errorFactory)) && input.cpus.every((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13005
14399
|
method: "typia.assertGuard",
|
|
13006
|
-
path: _path + ".cpus[" +
|
|
14400
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
13007
14401
|
expected: "MonitorStatsProcInfoCpu",
|
|
13008
14402
|
value: elem
|
|
13009
|
-
}, _errorFactory)) && _ao2(elem, _path + ".cpus[" +
|
|
14403
|
+
}, _errorFactory)) && _ao2(elem, _path + ".cpus[" + _index11 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13010
14404
|
method: "typia.assertGuard",
|
|
13011
|
-
path: _path + ".cpus[" +
|
|
14405
|
+
path: _path + ".cpus[" + _index11 + "]",
|
|
13012
14406
|
expected: "MonitorStatsProcInfoCpu",
|
|
13013
14407
|
value: elem
|
|
13014
14408
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13026,9 +14420,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13026
14420
|
path: _path + ".load",
|
|
13027
14421
|
expected: "(Array<number> | null)",
|
|
13028
14422
|
value: input.load
|
|
13029
|
-
}, _errorFactory)) && input.load.every((elem,
|
|
14423
|
+
}, _errorFactory)) && input.load.every((elem, _index12) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13030
14424
|
method: "typia.assertGuard",
|
|
13031
|
-
path: _path + ".load[" +
|
|
14425
|
+
path: _path + ".load[" + _index12 + "]",
|
|
13032
14426
|
expected: "number",
|
|
13033
14427
|
value: elem
|
|
13034
14428
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13041,9 +14435,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13041
14435
|
path: _path + ".interrupts",
|
|
13042
14436
|
expected: "(Array<number> | null | undefined)",
|
|
13043
14437
|
value: input.interrupts
|
|
13044
|
-
}, _errorFactory)) && input.interrupts.every((elem,
|
|
14438
|
+
}, _errorFactory)) && input.interrupts.every((elem, _index13) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13045
14439
|
method: "typia.assertGuard",
|
|
13046
|
-
path: _path + ".interrupts[" +
|
|
14440
|
+
path: _path + ".interrupts[" + _index13 + "]",
|
|
13047
14441
|
expected: "number",
|
|
13048
14442
|
value: elem
|
|
13049
14443
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13116,9 +14510,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13116
14510
|
path: _path + ".normal",
|
|
13117
14511
|
expected: "(Array<number> | undefined)",
|
|
13118
14512
|
value: input.normal
|
|
13119
|
-
}, _errorFactory)) && input.normal.every((elem,
|
|
14513
|
+
}, _errorFactory)) && input.normal.every((elem, _index14) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13120
14514
|
method: "typia.assertGuard",
|
|
13121
|
-
path: _path + ".normal[" +
|
|
14515
|
+
path: _path + ".normal[" + _index14 + "]",
|
|
13122
14516
|
expected: "number",
|
|
13123
14517
|
value: elem
|
|
13124
14518
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13131,9 +14525,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13131
14525
|
path: _path + ".high",
|
|
13132
14526
|
expected: "(Array<number> | undefined)",
|
|
13133
14527
|
value: input.high
|
|
13134
|
-
}, _errorFactory)) && input.high.every((elem,
|
|
14528
|
+
}, _errorFactory)) && input.high.every((elem, _index15) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13135
14529
|
method: "typia.assertGuard",
|
|
13136
|
-
path: _path + ".high[" +
|
|
14530
|
+
path: _path + ".high[" + _index15 + "]",
|
|
13137
14531
|
expected: "number",
|
|
13138
14532
|
value: elem
|
|
13139
14533
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13181,14 +14575,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13181
14575
|
path: _path + ".bonding",
|
|
13182
14576
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }>",
|
|
13183
14577
|
value: input.bonding
|
|
13184
|
-
}, _errorFactory)) && input.bonding.every((elem,
|
|
14578
|
+
}, _errorFactory)) && input.bonding.every((elem, _index16) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13185
14579
|
method: "typia.assertGuard",
|
|
13186
|
-
path: _path + ".bonding[" +
|
|
14580
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
13187
14581
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
13188
14582
|
value: elem
|
|
13189
|
-
}, _errorFactory)) && _ao10(elem, _path + ".bonding[" +
|
|
14583
|
+
}, _errorFactory)) && _ao10(elem, _path + ".bonding[" + _index16 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13190
14584
|
method: "typia.assertGuard",
|
|
13191
|
-
path: _path + ".bonding[" +
|
|
14585
|
+
path: _path + ".bonding[" + _index16 + "]",
|
|
13192
14586
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; slaves: string[]; name: string; }",
|
|
13193
14587
|
value: elem
|
|
13194
14588
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13201,14 +14595,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13201
14595
|
path: _path + ".eth",
|
|
13202
14596
|
expected: "Array<NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }>",
|
|
13203
14597
|
value: input.eth
|
|
13204
|
-
}, _errorFactory)) && input.eth.every((elem,
|
|
14598
|
+
}, _errorFactory)) && input.eth.every((elem, _index17) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13205
14599
|
method: "typia.assertGuard",
|
|
13206
|
-
path: _path + ".eth[" +
|
|
14600
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
13207
14601
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
13208
14602
|
value: elem
|
|
13209
|
-
}, _errorFactory)) && _ao11(elem, _path + ".eth[" +
|
|
14603
|
+
}, _errorFactory)) && _ao11(elem, _path + ".eth[" + _index17 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13210
14604
|
method: "typia.assertGuard",
|
|
13211
|
-
path: _path + ".eth[" +
|
|
14605
|
+
path: _path + ".eth[" + _index17 + "]",
|
|
13212
14606
|
expected: "NetworkInterfaceInfo & { [key: string]: unknown; speed?: number | undefined; rxUnicastBytes?: number | undefined; rxMulticastBytes?: number | undefined; rxBroadcastBytes?: number | undefined; }",
|
|
13213
14607
|
value: elem
|
|
13214
14608
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13261,14 +14655,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13261
14655
|
path: _path + ".cpus",
|
|
13262
14656
|
expected: "Array<__type>",
|
|
13263
14657
|
value: input.cpus
|
|
13264
|
-
}, _errorFactory)) && input.cpus.every((elem,
|
|
14658
|
+
}, _errorFactory)) && input.cpus.every((elem, _index18) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13265
14659
|
method: "typia.assertGuard",
|
|
13266
|
-
path: _path + ".cpus[" +
|
|
14660
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
13267
14661
|
expected: "__type.o1",
|
|
13268
14662
|
value: elem
|
|
13269
|
-
}, _errorFactory)) && _ao7(elem, _path + ".cpus[" +
|
|
14663
|
+
}, _errorFactory)) && _ao7(elem, _path + ".cpus[" + _index18 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13270
14664
|
method: "typia.assertGuard",
|
|
13271
|
-
path: _path + ".cpus[" +
|
|
14665
|
+
path: _path + ".cpus[" + _index18 + "]",
|
|
13272
14666
|
expected: "__type.o1",
|
|
13273
14667
|
value: elem
|
|
13274
14668
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13521,9 +14915,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13521
14915
|
path: _path + ".slaves",
|
|
13522
14916
|
expected: "Array<string>",
|
|
13523
14917
|
value: input.slaves
|
|
13524
|
-
}, _errorFactory)) && input.slaves.every((elem,
|
|
14918
|
+
}, _errorFactory)) && input.slaves.every((elem, _index19) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13525
14919
|
method: "typia.assertGuard",
|
|
13526
|
-
path: _path + ".slaves[" +
|
|
14920
|
+
path: _path + ".slaves[" + _index19 + "]",
|
|
13527
14921
|
expected: "string",
|
|
13528
14922
|
value: elem
|
|
13529
14923
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -13730,6 +15124,76 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
13730
15124
|
path: _path + ".timestamp",
|
|
13731
15125
|
expected: "number",
|
|
13732
15126
|
value: input.timestamp
|
|
15127
|
+
}, _errorFactory)); const _ao13 = (input, _path, _exceptionable = true) => (("object" === typeof input.types && null !== input.types && false === Array.isArray(input.types) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15128
|
+
method: "typia.assertGuard",
|
|
15129
|
+
path: _path + ".types",
|
|
15130
|
+
expected: "Record<string, string>",
|
|
15131
|
+
value: input.types
|
|
15132
|
+
}, _errorFactory)) && _ao14(input.types, _path + ".types", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15133
|
+
method: "typia.assertGuard",
|
|
15134
|
+
path: _path + ".types",
|
|
15135
|
+
expected: "Record<string, string>",
|
|
15136
|
+
value: input.types
|
|
15137
|
+
}, _errorFactory)) && ((Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15138
|
+
method: "typia.assertGuard",
|
|
15139
|
+
path: _path + ".messages",
|
|
15140
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
15141
|
+
value: input.messages
|
|
15142
|
+
}, _errorFactory)) && input.messages.every((elem, _index20) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15143
|
+
method: "typia.assertGuard",
|
|
15144
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
15145
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
15146
|
+
value: elem
|
|
15147
|
+
}, _errorFactory)) && _ao15(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15148
|
+
method: "typia.assertGuard",
|
|
15149
|
+
path: _path + ".messages[" + _index20 + "]",
|
|
15150
|
+
expected: "MonitorStatsHostBridgeMessage",
|
|
15151
|
+
value: elem
|
|
15152
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15153
|
+
method: "typia.assertGuard",
|
|
15154
|
+
path: _path + ".messages",
|
|
15155
|
+
expected: "Array<MonitorStatsHostBridgeMessage>",
|
|
15156
|
+
value: input.messages
|
|
15157
|
+
}, _errorFactory)) && ("number" === typeof input.timestamp || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15158
|
+
method: "typia.assertGuard",
|
|
15159
|
+
path: _path + ".timestamp",
|
|
15160
|
+
expected: "number",
|
|
15161
|
+
value: input.timestamp
|
|
15162
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
15163
|
+
const value = input[key];
|
|
15164
|
+
if (undefined === value)
|
|
15165
|
+
return true;
|
|
15166
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15167
|
+
method: "typia.assertGuard",
|
|
15168
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15169
|
+
expected: "string",
|
|
15170
|
+
value: value
|
|
15171
|
+
}, _errorFactory);
|
|
15172
|
+
}); const _ao15 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15173
|
+
method: "typia.assertGuard",
|
|
15174
|
+
path: _path + ".type",
|
|
15175
|
+
expected: "string",
|
|
15176
|
+
value: input.type
|
|
15177
|
+
}, _errorFactory)) && ("string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15178
|
+
method: "typia.assertGuard",
|
|
15179
|
+
path: _path + ".id",
|
|
15180
|
+
expected: "string",
|
|
15181
|
+
value: input.id
|
|
15182
|
+
}, _errorFactory)) && ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15183
|
+
method: "typia.assertGuard",
|
|
15184
|
+
path: _path + ".level",
|
|
15185
|
+
expected: "number",
|
|
15186
|
+
value: input.level
|
|
15187
|
+
}, _errorFactory)) && ("string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15188
|
+
method: "typia.assertGuard",
|
|
15189
|
+
path: _path + ".title",
|
|
15190
|
+
expected: "string",
|
|
15191
|
+
value: input.title
|
|
15192
|
+
}, _errorFactory)) && ("string" === typeof input.msg || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15193
|
+
method: "typia.assertGuard",
|
|
15194
|
+
path: _path + ".msg",
|
|
15195
|
+
expected: "string",
|
|
15196
|
+
value: input.msg
|
|
13733
15197
|
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
13734
15198
|
if (false === __is(input)) {
|
|
13735
15199
|
_errorFactory = errorFactory;
|
|
@@ -23182,7 +24646,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
23182
24646
|
if (undefined === value)
|
|
23183
24647
|
return true;
|
|
23184
24648
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
23185
|
-
}); 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 => {
|
|
24649
|
+
}); 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 => {
|
|
23186
24650
|
const value = input[key];
|
|
23187
24651
|
if (undefined === value)
|
|
23188
24652
|
return true;
|
|
@@ -23197,7 +24661,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
23197
24661
|
if (undefined === value)
|
|
23198
24662
|
return true;
|
|
23199
24663
|
return true;
|
|
23200
|
-
}); 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 => {
|
|
24664
|
+
}); 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 => {
|
|
23201
24665
|
const value = input[key];
|
|
23202
24666
|
if (undefined === value)
|
|
23203
24667
|
return true;
|
|
@@ -24316,6 +25780,46 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
24316
25780
|
path: _path + ".scriptEventFolding",
|
|
24317
25781
|
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
24318
25782
|
value: input.scriptEventFolding
|
|
25783
|
+
}, _errorFactory)) && (undefined === input.stickyHeaders || "boolean" === typeof input.stickyHeaders || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25784
|
+
method: "typia.assertGuard",
|
|
25785
|
+
path: _path + ".stickyHeaders",
|
|
25786
|
+
expected: "(boolean | undefined)",
|
|
25787
|
+
value: input.stickyHeaders
|
|
25788
|
+
}, _errorFactory)) && (undefined === input.triggersColumn || "title" === input.triggersColumn || "triggers" === input.triggersColumn || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25789
|
+
method: "typia.assertGuard",
|
|
25790
|
+
path: _path + ".triggersColumn",
|
|
25791
|
+
expected: "(\"title\" | \"triggers\" | undefined)",
|
|
25792
|
+
value: input.triggersColumn
|
|
25793
|
+
}, _errorFactory)) && (undefined === input.density || "normal" === input.density || "compact" === input.density || "spacious" === input.density || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25794
|
+
method: "typia.assertGuard",
|
|
25795
|
+
path: _path + ".density",
|
|
25796
|
+
expected: "(\"compact\" | \"normal\" | \"spacious\" | undefined)",
|
|
25797
|
+
value: input.density
|
|
25798
|
+
}, _errorFactory)) && (undefined === input.showEvents || "boolean" === typeof input.showEvents || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25799
|
+
method: "typia.assertGuard",
|
|
25800
|
+
path: _path + ".showEvents",
|
|
25801
|
+
expected: "(boolean | undefined)",
|
|
25802
|
+
value: input.showEvents
|
|
25803
|
+
}, _errorFactory)) && (undefined === input.showTriggers || "boolean" === typeof input.showTriggers || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25804
|
+
method: "typia.assertGuard",
|
|
25805
|
+
path: _path + ".showTriggers",
|
|
25806
|
+
expected: "(boolean | undefined)",
|
|
25807
|
+
value: input.showTriggers
|
|
25808
|
+
}, _errorFactory)) && (undefined === input.showReferenceDuration || "boolean" === typeof input.showReferenceDuration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25809
|
+
method: "typia.assertGuard",
|
|
25810
|
+
path: _path + ".showReferenceDuration",
|
|
25811
|
+
expected: "(boolean | undefined)",
|
|
25812
|
+
value: input.showReferenceDuration
|
|
25813
|
+
}, _errorFactory)) && (undefined === input.showSettingsColumn || "boolean" === typeof input.showSettingsColumn || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25814
|
+
method: "typia.assertGuard",
|
|
25815
|
+
path: _path + ".showSettingsColumn",
|
|
25816
|
+
expected: "(boolean | undefined)",
|
|
25817
|
+
value: input.showSettingsColumn
|
|
25818
|
+
}, _errorFactory)) && (undefined === input.thumbnailColumnWidth || "number" === typeof input.thumbnailColumnWidth || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
25819
|
+
method: "typia.assertGuard",
|
|
25820
|
+
path: _path + ".thumbnailColumnWidth",
|
|
25821
|
+
expected: "(number | undefined)",
|
|
25822
|
+
value: input.thumbnailColumnWidth
|
|
24319
25823
|
}, _errorFactory)); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24320
25824
|
method: "typia.assertGuard",
|
|
24321
25825
|
path: _path + ".dimOnBlur",
|
|
@@ -24821,7 +26325,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
24821
26325
|
path: _path + ".defaultExitOption",
|
|
24822
26326
|
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
24823
26327
|
value: input.defaultExitOption
|
|
24824
|
-
}, _errorFactory)); const _ao46 = (input, _path, _exceptionable = true) => undefined === input.
|
|
26328
|
+
}, _errorFactory)); const _ao46 = (input, _path, _exceptionable = true) => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
26329
|
+
method: "typia.assertGuard",
|
|
26330
|
+
path: _path + ".showSpeakers",
|
|
26331
|
+
expected: "(boolean | undefined)",
|
|
26332
|
+
value: input.showSpeakers
|
|
26333
|
+
}, _errorFactory)) && (undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24825
26334
|
method: "typia.assertGuard",
|
|
24826
26335
|
path: _path + ".subtitleDisclaimer",
|
|
24827
26336
|
expected: "(__type.o37 | undefined)",
|
|
@@ -24831,7 +26340,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
24831
26340
|
path: _path + ".subtitleDisclaimer",
|
|
24832
26341
|
expected: "(__type.o37 | undefined)",
|
|
24833
26342
|
value: input.subtitleDisclaimer
|
|
24834
|
-
}, _errorFactory); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
26343
|
+
}, _errorFactory)); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
24835
26344
|
method: "typia.assertGuard",
|
|
24836
26345
|
path: _path + ".isUserConfigurable",
|
|
24837
26346
|
expected: "(boolean | undefined)",
|
|
@@ -25791,6 +27300,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
25791
27300
|
path: _path + ".systemHealthIgnore",
|
|
25792
27301
|
expected: "(boolean | undefined)",
|
|
25793
27302
|
value: input.systemHealthIgnore
|
|
27303
|
+
}, _errorFactory)) && (undefined === input.systemHealthDebugLevel || "boolean" === typeof input.systemHealthDebugLevel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27304
|
+
method: "typia.assertGuard",
|
|
27305
|
+
path: _path + ".systemHealthDebugLevel",
|
|
27306
|
+
expected: "(boolean | undefined)",
|
|
27307
|
+
value: input.systemHealthDebugLevel
|
|
25794
27308
|
}, _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, {
|
|
25795
27309
|
method: "typia.assertGuard",
|
|
25796
27310
|
path: _path + ".events",
|
|
@@ -26738,21 +28252,109 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
26738
28252
|
case ":storage-zone": {
|
|
26739
28253
|
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, {
|
|
26740
28254
|
method: "typia.assertGuard",
|
|
26741
|
-
path: _path + ".priority",
|
|
26742
|
-
expected: "(number | undefined)",
|
|
26743
|
-
value: input.priority
|
|
26744
|
-
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
28255
|
+
path: _path + ".priority",
|
|
28256
|
+
expected: "(number | undefined)",
|
|
28257
|
+
value: input.priority
|
|
28258
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
28259
|
+
if (false === __is(input)) {
|
|
28260
|
+
_errorFactory = errorFactory;
|
|
28261
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28262
|
+
method: "typia.assertGuard",
|
|
28263
|
+
path: _path + "",
|
|
28264
|
+
expected: "StorageZoneDomainRecord",
|
|
28265
|
+
value: input
|
|
28266
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
28267
|
+
method: "typia.assertGuard",
|
|
28268
|
+
path: _path + "",
|
|
28269
|
+
expected: "StorageZoneDomainRecord",
|
|
28270
|
+
value: input
|
|
28271
|
+
}, _errorFactory))(input, "$input", true);
|
|
28272
|
+
}
|
|
28273
|
+
}; })()(input);
|
|
28274
|
+
}
|
|
28275
|
+
case ":story.editor": {
|
|
28276
|
+
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 => {
|
|
28277
|
+
const value = input[key];
|
|
28278
|
+
if (undefined === value)
|
|
28279
|
+
return true;
|
|
28280
|
+
return true;
|
|
28281
|
+
}); 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, {
|
|
28282
|
+
method: "typia.assertGuard",
|
|
28283
|
+
path: _path + ".value",
|
|
28284
|
+
expected: "(__type | undefined)",
|
|
28285
|
+
value: input.value
|
|
28286
|
+
}, _errorFactory)) && _ao1(input.value, _path + ".value", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28287
|
+
method: "typia.assertGuard",
|
|
28288
|
+
path: _path + ".value",
|
|
28289
|
+
expected: "(__type | undefined)",
|
|
28290
|
+
value: input.value
|
|
28291
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.object || "string" === typeof input.object || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28292
|
+
method: "typia.assertGuard",
|
|
28293
|
+
path: _path + ".object",
|
|
28294
|
+
expected: "(string | undefined)",
|
|
28295
|
+
value: input.object
|
|
28296
|
+
}, _errorFactory)) && (undefined === input.document || ("object" === typeof input.document && null !== input.document && false === Array.isArray(input.document) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28297
|
+
method: "typia.assertGuard",
|
|
28298
|
+
path: _path + ".document",
|
|
28299
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
28300
|
+
value: input.document
|
|
28301
|
+
}, _errorFactory)) && _ao2(input.document, _path + ".document", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28302
|
+
method: "typia.assertGuard",
|
|
28303
|
+
path: _path + ".document",
|
|
28304
|
+
expected: "(StoryDomainEditorRecordNode | undefined)",
|
|
28305
|
+
value: input.document
|
|
28306
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28307
|
+
method: "typia.assertGuard",
|
|
28308
|
+
path: _path + ".type",
|
|
28309
|
+
expected: "(string | undefined)",
|
|
28310
|
+
value: input.type
|
|
28311
|
+
}, _errorFactory)) && (undefined === input.data || ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28312
|
+
method: "typia.assertGuard",
|
|
28313
|
+
path: _path + ".data",
|
|
28314
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
28315
|
+
value: input.data
|
|
28316
|
+
}, _errorFactory)) && _ao3(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28317
|
+
method: "typia.assertGuard",
|
|
28318
|
+
path: _path + ".data",
|
|
28319
|
+
expected: "(Record<string, unknown> | undefined)",
|
|
28320
|
+
value: input.data
|
|
28321
|
+
}, _errorFactory)) && (undefined === input.nodes || (Array.isArray(input.nodes) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28322
|
+
method: "typia.assertGuard",
|
|
28323
|
+
path: _path + ".nodes",
|
|
28324
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
28325
|
+
value: input.nodes
|
|
28326
|
+
}, _errorFactory)) && input.nodes.every((elem, _index2) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28327
|
+
method: "typia.assertGuard",
|
|
28328
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
28329
|
+
expected: "StoryDomainEditorRecordNode",
|
|
28330
|
+
value: elem
|
|
28331
|
+
}, _errorFactory)) && _ao2(elem, _path + ".nodes[" + _index2 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28332
|
+
method: "typia.assertGuard",
|
|
28333
|
+
path: _path + ".nodes[" + _index2 + "]",
|
|
28334
|
+
expected: "StoryDomainEditorRecordNode",
|
|
28335
|
+
value: elem
|
|
28336
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
28337
|
+
method: "typia.assertGuard",
|
|
28338
|
+
path: _path + ".nodes",
|
|
28339
|
+
expected: "(Array<StoryDomainEditorRecordNode> | undefined)",
|
|
28340
|
+
value: input.nodes
|
|
28341
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
28342
|
+
const value = input[key];
|
|
28343
|
+
if (undefined === value)
|
|
28344
|
+
return true;
|
|
28345
|
+
return true;
|
|
28346
|
+
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
26745
28347
|
if (false === __is(input)) {
|
|
26746
28348
|
_errorFactory = errorFactory;
|
|
26747
28349
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
26748
28350
|
method: "typia.assertGuard",
|
|
26749
28351
|
path: _path + "",
|
|
26750
|
-
expected: "
|
|
28352
|
+
expected: "StoryDomainEditorRecord",
|
|
26751
28353
|
value: input
|
|
26752
28354
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
26753
28355
|
method: "typia.assertGuard",
|
|
26754
28356
|
path: _path + "",
|
|
26755
|
-
expected: "
|
|
28357
|
+
expected: "StoryDomainEditorRecord",
|
|
26756
28358
|
value: input
|
|
26757
28359
|
}, _errorFactory))(input, "$input", true);
|
|
26758
28360
|
}
|
|
@@ -27598,279 +29200,6 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
27598
29200
|
}
|
|
27599
29201
|
}; })()(input);
|
|
27600
29202
|
}
|
|
27601
|
-
case ":template": {
|
|
27602
|
-
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 => {
|
|
27603
|
-
const value = input[key];
|
|
27604
|
-
if (undefined === value)
|
|
27605
|
-
return true;
|
|
27606
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
27607
|
-
}); 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 => {
|
|
27608
|
-
const value = input[key];
|
|
27609
|
-
if (undefined === value)
|
|
27610
|
-
return true;
|
|
27611
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
27612
|
-
}); 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, {
|
|
27613
|
-
method: "typia.assertGuard",
|
|
27614
|
-
path: _path + ".source",
|
|
27615
|
-
expected: "(string | undefined)",
|
|
27616
|
-
value: input.source
|
|
27617
|
-
}, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27618
|
-
method: "typia.assertGuard",
|
|
27619
|
-
path: _path + ".controller",
|
|
27620
|
-
expected: "(string | undefined)",
|
|
27621
|
-
value: input.controller
|
|
27622
|
-
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27623
|
-
method: "typia.assertGuard",
|
|
27624
|
-
path: _path + ".type",
|
|
27625
|
-
expected: "(string | undefined)",
|
|
27626
|
-
value: input.type
|
|
27627
|
-
}, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27628
|
-
method: "typia.assertGuard",
|
|
27629
|
-
path: _path + ".mixin",
|
|
27630
|
-
expected: "(Array<string> | undefined)",
|
|
27631
|
-
value: input.mixin
|
|
27632
|
-
}, _errorFactory)) && input.mixin.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27633
|
-
method: "typia.assertGuard",
|
|
27634
|
-
path: _path + ".mixin[" + _index2 + "]",
|
|
27635
|
-
expected: "string",
|
|
27636
|
-
value: elem
|
|
27637
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27638
|
-
method: "typia.assertGuard",
|
|
27639
|
-
path: _path + ".mixin",
|
|
27640
|
-
expected: "(Array<string> | undefined)",
|
|
27641
|
-
value: input.mixin
|
|
27642
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27643
|
-
method: "typia.assertGuard",
|
|
27644
|
-
path: _path + ".properties",
|
|
27645
|
-
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
27646
|
-
value: input.properties
|
|
27647
|
-
}, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27648
|
-
method: "typia.assertGuard",
|
|
27649
|
-
path: _path + ".properties",
|
|
27650
|
-
expected: "(Record<string, TemplateProperty> | undefined)",
|
|
27651
|
-
value: input.properties
|
|
27652
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
27653
|
-
const value = input[key];
|
|
27654
|
-
if (undefined === value)
|
|
27655
|
-
return true;
|
|
27656
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27657
|
-
method: "typia.assertGuard",
|
|
27658
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27659
|
-
expected: "TemplateProperty",
|
|
27660
|
-
value: value
|
|
27661
|
-
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27662
|
-
method: "typia.assertGuard",
|
|
27663
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27664
|
-
expected: "TemplateProperty",
|
|
27665
|
-
value: value
|
|
27666
|
-
}, _errorFactory);
|
|
27667
|
-
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27668
|
-
method: "typia.assertGuard",
|
|
27669
|
-
path: _path + ".path",
|
|
27670
|
-
expected: "(string | undefined)",
|
|
27671
|
-
value: input.path
|
|
27672
|
-
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27673
|
-
method: "typia.assertGuard",
|
|
27674
|
-
path: _path + ".type",
|
|
27675
|
-
expected: "(string | undefined)",
|
|
27676
|
-
value: input.type
|
|
27677
|
-
}, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27678
|
-
method: "typia.assertGuard",
|
|
27679
|
-
path: _path + ".label",
|
|
27680
|
-
expected: "(string | undefined)",
|
|
27681
|
-
value: input.label
|
|
27682
|
-
}, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27683
|
-
method: "typia.assertGuard",
|
|
27684
|
-
path: _path + ".defaultValue",
|
|
27685
|
-
expected: "(string | undefined)",
|
|
27686
|
-
value: input.defaultValue
|
|
27687
|
-
}, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27688
|
-
method: "typia.assertGuard",
|
|
27689
|
-
path: _path + ".widget",
|
|
27690
|
-
expected: "(__type | undefined)",
|
|
27691
|
-
value: input.widget
|
|
27692
|
-
}, _errorFactory)) && _ao3(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27693
|
-
method: "typia.assertGuard",
|
|
27694
|
-
path: _path + ".widget",
|
|
27695
|
-
expected: "(__type | undefined)",
|
|
27696
|
-
value: input.widget
|
|
27697
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27698
|
-
method: "typia.assertGuard",
|
|
27699
|
-
path: _path + ".properties",
|
|
27700
|
-
expected: "(object | undefined)",
|
|
27701
|
-
value: input.properties
|
|
27702
|
-
}, _errorFactory)) && _ao4(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27703
|
-
method: "typia.assertGuard",
|
|
27704
|
-
path: _path + ".properties",
|
|
27705
|
-
expected: "(object | undefined)",
|
|
27706
|
-
value: input.properties
|
|
27707
|
-
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27708
|
-
method: "typia.assertGuard",
|
|
27709
|
-
path: _path + ".items",
|
|
27710
|
-
expected: "(__type.o1 | undefined)",
|
|
27711
|
-
value: input.items
|
|
27712
|
-
}, _errorFactory)) && _ao5(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27713
|
-
method: "typia.assertGuard",
|
|
27714
|
-
path: _path + ".items",
|
|
27715
|
-
expected: "(__type.o1 | undefined)",
|
|
27716
|
-
value: input.items
|
|
27717
|
-
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27718
|
-
method: "typia.assertGuard",
|
|
27719
|
-
path: _path + ".render",
|
|
27720
|
-
expected: "(__type.o3 | undefined)",
|
|
27721
|
-
value: input.render
|
|
27722
|
-
}, _errorFactory)) && _ao9(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27723
|
-
method: "typia.assertGuard",
|
|
27724
|
-
path: _path + ".render",
|
|
27725
|
-
expected: "(__type.o3 | undefined)",
|
|
27726
|
-
value: input.render
|
|
27727
|
-
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27728
|
-
method: "typia.assertGuard",
|
|
27729
|
-
path: _path + ".type",
|
|
27730
|
-
expected: "string",
|
|
27731
|
-
value: input.type
|
|
27732
|
-
}, _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, {
|
|
27733
|
-
method: "typia.assertGuard",
|
|
27734
|
-
path: _path + ".properties",
|
|
27735
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27736
|
-
value: input.properties
|
|
27737
|
-
}, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27738
|
-
method: "typia.assertGuard",
|
|
27739
|
-
path: _path + ".properties",
|
|
27740
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27741
|
-
value: input.properties
|
|
27742
|
-
}, _errorFactory); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
27743
|
-
const value = input[key];
|
|
27744
|
-
if (undefined === value)
|
|
27745
|
-
return true;
|
|
27746
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27747
|
-
method: "typia.assertGuard",
|
|
27748
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27749
|
-
expected: "TemplatePropertySchema",
|
|
27750
|
-
value: value
|
|
27751
|
-
}, _errorFactory)) && _ao7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27752
|
-
method: "typia.assertGuard",
|
|
27753
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
27754
|
-
expected: "TemplatePropertySchema",
|
|
27755
|
-
value: value
|
|
27756
|
-
}, _errorFactory);
|
|
27757
|
-
}); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27758
|
-
method: "typia.assertGuard",
|
|
27759
|
-
path: _path + ".path",
|
|
27760
|
-
expected: "(string | undefined)",
|
|
27761
|
-
value: input.path
|
|
27762
|
-
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27763
|
-
method: "typia.assertGuard",
|
|
27764
|
-
path: _path + ".type",
|
|
27765
|
-
expected: "(string | undefined)",
|
|
27766
|
-
value: input.type
|
|
27767
|
-
}, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27768
|
-
method: "typia.assertGuard",
|
|
27769
|
-
path: _path + ".label",
|
|
27770
|
-
expected: "(string | undefined)",
|
|
27771
|
-
value: input.label
|
|
27772
|
-
}, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27773
|
-
method: "typia.assertGuard",
|
|
27774
|
-
path: _path + ".defaultValue",
|
|
27775
|
-
expected: "(string | undefined)",
|
|
27776
|
-
value: input.defaultValue
|
|
27777
|
-
}, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27778
|
-
method: "typia.assertGuard",
|
|
27779
|
-
path: _path + ".widget",
|
|
27780
|
-
expected: "(__type.o2 | undefined)",
|
|
27781
|
-
value: input.widget
|
|
27782
|
-
}, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27783
|
-
method: "typia.assertGuard",
|
|
27784
|
-
path: _path + ".widget",
|
|
27785
|
-
expected: "(__type.o2 | undefined)",
|
|
27786
|
-
value: input.widget
|
|
27787
|
-
}, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27788
|
-
method: "typia.assertGuard",
|
|
27789
|
-
path: _path + ".items",
|
|
27790
|
-
expected: "(TemplatePropertySchema | undefined)",
|
|
27791
|
-
value: input.items
|
|
27792
|
-
}, _errorFactory)) && _ao7(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27793
|
-
method: "typia.assertGuard",
|
|
27794
|
-
path: _path + ".items",
|
|
27795
|
-
expected: "(TemplatePropertySchema | undefined)",
|
|
27796
|
-
value: input.items
|
|
27797
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27798
|
-
method: "typia.assertGuard",
|
|
27799
|
-
path: _path + ".properties",
|
|
27800
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27801
|
-
value: input.properties
|
|
27802
|
-
}, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27803
|
-
method: "typia.assertGuard",
|
|
27804
|
-
path: _path + ".properties",
|
|
27805
|
-
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
27806
|
-
value: input.properties
|
|
27807
|
-
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27808
|
-
method: "typia.assertGuard",
|
|
27809
|
-
path: _path + ".type",
|
|
27810
|
-
expected: "string",
|
|
27811
|
-
value: input.type
|
|
27812
|
-
}, _errorFactory); const _ao9 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27813
|
-
method: "typia.assertGuard",
|
|
27814
|
-
path: _path + ".type",
|
|
27815
|
-
expected: "\"image\"",
|
|
27816
|
-
value: input.type
|
|
27817
|
-
}, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27818
|
-
method: "typia.assertGuard",
|
|
27819
|
-
path: _path + ".profile",
|
|
27820
|
-
expected: "(__type.o4 | undefined)",
|
|
27821
|
-
value: input.profile
|
|
27822
|
-
}, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27823
|
-
method: "typia.assertGuard",
|
|
27824
|
-
path: _path + ".profile",
|
|
27825
|
-
expected: "(__type.o4 | undefined)",
|
|
27826
|
-
value: input.profile
|
|
27827
|
-
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27828
|
-
method: "typia.assertGuard",
|
|
27829
|
-
path: _path + ".format",
|
|
27830
|
-
expected: "(string | undefined)",
|
|
27831
|
-
value: input.format
|
|
27832
|
-
}, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27833
|
-
method: "typia.assertGuard",
|
|
27834
|
-
path: _path + ".video",
|
|
27835
|
-
expected: "(__type.o5 | undefined)",
|
|
27836
|
-
value: input.video
|
|
27837
|
-
}, _errorFactory)) && _ao11(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27838
|
-
method: "typia.assertGuard",
|
|
27839
|
-
path: _path + ".video",
|
|
27840
|
-
expected: "(__type.o5 | undefined)",
|
|
27841
|
-
value: input.video
|
|
27842
|
-
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27843
|
-
method: "typia.assertGuard",
|
|
27844
|
-
path: _path + ".width",
|
|
27845
|
-
expected: "number",
|
|
27846
|
-
value: input.width
|
|
27847
|
-
}, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27848
|
-
method: "typia.assertGuard",
|
|
27849
|
-
path: _path + ".height",
|
|
27850
|
-
expected: "number",
|
|
27851
|
-
value: input.height
|
|
27852
|
-
}, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
27853
|
-
method: "typia.assertGuard",
|
|
27854
|
-
path: _path + ".fit",
|
|
27855
|
-
expected: "\"cover\"",
|
|
27856
|
-
value: input.fit
|
|
27857
|
-
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
27858
|
-
if (false === __is(input)) {
|
|
27859
|
-
_errorFactory = errorFactory;
|
|
27860
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
27861
|
-
method: "typia.assertGuard",
|
|
27862
|
-
path: _path + "",
|
|
27863
|
-
expected: "TemplateRecord",
|
|
27864
|
-
value: input
|
|
27865
|
-
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
27866
|
-
method: "typia.assertGuard",
|
|
27867
|
-
path: _path + "",
|
|
27868
|
-
expected: "TemplateRecord",
|
|
27869
|
-
value: input
|
|
27870
|
-
}, _errorFactory))(input, "$input", true);
|
|
27871
|
-
}
|
|
27872
|
-
}; })()(input);
|
|
27873
|
-
}
|
|
27874
29203
|
case ":_user-notification-status": {
|
|
27875
29204
|
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, {
|
|
27876
29205
|
method: "typia.assertGuard",
|