@nxtedition/types 23.0.55 → 23.0.57
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/nxtpression.d.ts +14 -8
- package/dist/records/domains/asset.d.ts +4 -0
- package/dist/records/domains/publish/empty.d.ts +3 -3
- package/dist/records/domains/publish/facebook.d.ts +1 -1
- package/dist/records/domains/publish/file-legacy.d.ts +1 -1
- package/dist/records/domains/publish/file.d.ts +1 -1
- package/dist/records/domains/publish/index.d.ts +6 -2
- package/dist/records/domains/publish/youtube.d.ts +1 -1
- package/dist/records/validate/assert-guard.js +193 -132
- package/dist/records/validate/assert.js +194 -132
- package/dist/records/validate/is.js +20 -20
- package/dist/records/validate/schemas.js +86 -39
- package/dist/records/validate/stringify.js +31 -31
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +271 -180
- package/dist/records/validate/validate.js +185 -123
- package/package.json +1 -1
|
@@ -2179,6 +2179,40 @@ function _assertDomainRecord(domain, input) {
|
|
|
2179
2179
|
return input;
|
|
2180
2180
|
}; })()(input);
|
|
2181
2181
|
}
|
|
2182
|
+
case ":asset.rawTypes?": {
|
|
2183
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2184
|
+
method: "typia.assert",
|
|
2185
|
+
path: _path + ".value",
|
|
2186
|
+
expected: "(Array<string> | undefined)",
|
|
2187
|
+
value: input.value
|
|
2188
|
+
}, _errorFactory)) && input.value.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2189
|
+
method: "typia.assert",
|
|
2190
|
+
path: _path + ".value[" + _index2 + "]",
|
|
2191
|
+
expected: "string",
|
|
2192
|
+
value: elem
|
|
2193
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2194
|
+
method: "typia.assert",
|
|
2195
|
+
path: _path + ".value",
|
|
2196
|
+
expected: "(Array<string> | undefined)",
|
|
2197
|
+
value: input.value
|
|
2198
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
2199
|
+
if (false === __is(input)) {
|
|
2200
|
+
_errorFactory = errorFactory;
|
|
2201
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
2202
|
+
method: "typia.assert",
|
|
2203
|
+
path: _path + "",
|
|
2204
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2205
|
+
value: input
|
|
2206
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
2207
|
+
method: "typia.assert",
|
|
2208
|
+
path: _path + "",
|
|
2209
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2210
|
+
value: input
|
|
2211
|
+
}, _errorFactory))(input, "$input", true);
|
|
2212
|
+
}
|
|
2213
|
+
return input;
|
|
2214
|
+
}; })()(input);
|
|
2215
|
+
}
|
|
2182
2216
|
case ":asset.types?": {
|
|
2183
2217
|
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2184
2218
|
method: "typia.assert",
|
|
@@ -10843,29 +10877,29 @@ function _assertDomainRecord(domain, input) {
|
|
|
10843
10877
|
}; })()(input);
|
|
10844
10878
|
}
|
|
10845
10879
|
case ":publish": {
|
|
10846
|
-
return (() => { const _io0 = input =>
|
|
10880
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io9(input.transcribe)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io4 = input => Object.keys(input).every(key => {
|
|
10847
10881
|
const value = input[key];
|
|
10848
10882
|
if (undefined === value)
|
|
10849
10883
|
return true;
|
|
10850
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
10851
|
-
}); const
|
|
10884
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
10885
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (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) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io15 = input => "string" === typeof input.method; const _io16 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io17 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io18 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io19(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io24(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io19 = input => Object.keys(input).every(key => {
|
|
10852
10886
|
const value = input[key];
|
|
10853
10887
|
if (undefined === value)
|
|
10854
10888
|
return true;
|
|
10855
10889
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
10856
|
-
}); const _io20 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) &&
|
|
10890
|
+
}); const _io20 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io21 = input => "object" === typeof input.__context && null !== input.__context && _io22(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io20(input.__returnValue)); const _io22 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io18(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io23 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io24 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io25(input.renders)); const _io25 = input => Object.keys(input).every(key => {
|
|
10857
10891
|
const value = input[key];
|
|
10858
10892
|
if (undefined === value)
|
|
10859
10893
|
return true;
|
|
10860
10894
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
10861
|
-
}); const _io26 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem &&
|
|
10895
|
+
}); const _io26 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io28 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io29 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io30(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io31(input.metafile)) && Object.keys(input).every(key => {
|
|
10862
10896
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
10863
10897
|
return true;
|
|
10864
10898
|
const value = input[key];
|
|
10865
10899
|
if (undefined === value)
|
|
10866
10900
|
return true;
|
|
10867
10901
|
return true;
|
|
10868
|
-
}); const _io30 = input => "string" === typeof input.path; const _io31 = input => "string" === typeof input.path; const _io32 = input => "youtube" === input.type && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render &&
|
|
10902
|
+
}); const _io30 = input => "string" === typeof input.path; const _io31 = input => "string" === typeof input.path; const _io32 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io33 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io34(input.snippet); const _io34 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
10869
10903
|
if (undefined !== input.path)
|
|
10870
10904
|
return _io20(input);
|
|
10871
10905
|
else if (undefined !== input.__context)
|
|
@@ -10873,45 +10907,22 @@ function _assertDomainRecord(domain, input) {
|
|
|
10873
10907
|
else
|
|
10874
10908
|
return false;
|
|
10875
10909
|
})(); const _iu1 = input => (() => {
|
|
10876
|
-
if (
|
|
10910
|
+
if (_io0(input))
|
|
10877
10911
|
return _io0(input);
|
|
10878
|
-
|
|
10879
|
-
return
|
|
10880
|
-
|
|
10912
|
+
if (_io17(input))
|
|
10913
|
+
return _io17(input);
|
|
10914
|
+
if (_io28(input))
|
|
10915
|
+
return _io28(input);
|
|
10916
|
+
if (_io18(input))
|
|
10917
|
+
return _io18(input);
|
|
10918
|
+
if (_io32(input))
|
|
10881
10919
|
return _io32(input);
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
if (_io28(input))
|
|
10885
|
-
return _io28(input);
|
|
10886
|
-
if (_io18(input))
|
|
10887
|
-
return _io18(input);
|
|
10888
|
-
return false;
|
|
10889
|
-
})();
|
|
10890
|
-
})(); const _ao0 = (input, _path, _exceptionable = true) => (undefined !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10891
|
-
method: "typia.assert",
|
|
10892
|
-
path: _path + ".type",
|
|
10893
|
-
expected: "null",
|
|
10894
|
-
value: input.type
|
|
10895
|
-
}, _errorFactory)) && (null === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10896
|
-
method: "typia.assert",
|
|
10897
|
-
path: _path + ".type",
|
|
10898
|
-
expected: "null",
|
|
10899
|
-
value: input.type
|
|
10900
|
-
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10901
|
-
method: "typia.assert",
|
|
10902
|
-
path: _path + ".asset",
|
|
10903
|
-
expected: "(null | string | undefined)",
|
|
10904
|
-
value: input.asset
|
|
10905
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => ("facebook" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10920
|
+
return false;
|
|
10921
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => (null === input.type || undefined === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10906
10922
|
method: "typia.assert",
|
|
10907
10923
|
path: _path + ".type",
|
|
10908
|
-
expected: "
|
|
10924
|
+
expected: "(null | undefined)",
|
|
10909
10925
|
value: input.type
|
|
10910
|
-
}, _errorFactory)) && (undefined === input.pageId || "string" === typeof input.pageId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10911
|
-
method: "typia.assert",
|
|
10912
|
-
path: _path + ".pageId",
|
|
10913
|
-
expected: "(string | undefined)",
|
|
10914
|
-
value: input.pageId
|
|
10915
10926
|
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10916
10927
|
method: "typia.assert",
|
|
10917
10928
|
path: _path + ".asset",
|
|
@@ -10927,7 +10938,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10927
10938
|
path: _path + ".render",
|
|
10928
10939
|
expected: "(PublishRenderBase | undefined)",
|
|
10929
10940
|
value: input.render
|
|
10930
|
-
}, _errorFactory)) &&
|
|
10941
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10931
10942
|
method: "typia.assert",
|
|
10932
10943
|
path: _path + ".render",
|
|
10933
10944
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -10937,7 +10948,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10937
10948
|
path: _path + ".error",
|
|
10938
10949
|
expected: "(__type.o9 | null | undefined)",
|
|
10939
10950
|
value: input.error
|
|
10940
|
-
}, _errorFactory)) &&
|
|
10951
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10941
10952
|
method: "typia.assert",
|
|
10942
10953
|
path: _path + ".error",
|
|
10943
10954
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -10947,14 +10958,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
10947
10958
|
path: _path + ".messages",
|
|
10948
10959
|
expected: "(Array<Message> | undefined)",
|
|
10949
10960
|
value: input.messages
|
|
10950
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
10961
|
+
}, _errorFactory)) && input.messages.every((elem, _index10) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10951
10962
|
method: "typia.assert",
|
|
10952
|
-
path: _path + ".messages[" +
|
|
10963
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10953
10964
|
expected: "Message",
|
|
10954
10965
|
value: elem
|
|
10955
|
-
}, _errorFactory)) &&
|
|
10966
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10956
10967
|
method: "typia.assert",
|
|
10957
|
-
path: _path + ".messages[" +
|
|
10968
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10958
10969
|
expected: "Message",
|
|
10959
10970
|
value: elem
|
|
10960
10971
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10962,7 +10973,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10962
10973
|
path: _path + ".messages",
|
|
10963
10974
|
expected: "(Array<Message> | undefined)",
|
|
10964
10975
|
value: input.messages
|
|
10965
|
-
}, _errorFactory)); const
|
|
10976
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10966
10977
|
method: "typia.assert",
|
|
10967
10978
|
path: _path + ".preset",
|
|
10968
10979
|
expected: "(string | undefined)",
|
|
@@ -10977,7 +10988,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10977
10988
|
path: _path + ".scene",
|
|
10978
10989
|
expected: "(RenderSceneObject | undefined)",
|
|
10979
10990
|
value: input.scene
|
|
10980
|
-
}, _errorFactory)) &&
|
|
10991
|
+
}, _errorFactory)) && _ao2(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10981
10992
|
method: "typia.assert",
|
|
10982
10993
|
path: _path + ".scene",
|
|
10983
10994
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -10987,12 +10998,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
10987
10998
|
path: _path + ".profile",
|
|
10988
10999
|
expected: "(RenderProfileObject | undefined)",
|
|
10989
11000
|
value: input.profile
|
|
10990
|
-
}, _errorFactory)) &&
|
|
11001
|
+
}, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10991
11002
|
method: "typia.assert",
|
|
10992
11003
|
path: _path + ".profile",
|
|
10993
11004
|
expected: "(RenderProfileObject | undefined)",
|
|
10994
11005
|
value: input.profile
|
|
10995
|
-
}, _errorFactory)); const
|
|
11006
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10996
11007
|
method: "typia.assert",
|
|
10997
11008
|
path: _path + ".id",
|
|
10998
11009
|
expected: "(string | undefined)",
|
|
@@ -11007,7 +11018,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11007
11018
|
path: _path + ".input",
|
|
11008
11019
|
expected: "(__type | null | undefined)",
|
|
11009
11020
|
value: input.input
|
|
11010
|
-
}, _errorFactory)) &&
|
|
11021
|
+
}, _errorFactory)) && _ao3(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11011
11022
|
method: "typia.assert",
|
|
11012
11023
|
path: _path + ".input",
|
|
11013
11024
|
expected: "(__type | null | undefined)",
|
|
@@ -11027,7 +11038,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11027
11038
|
path: _path + ".subtitleTracks",
|
|
11028
11039
|
expected: "(__type.o1 | undefined)",
|
|
11029
11040
|
value: input.subtitleTracks
|
|
11030
|
-
}, _errorFactory)) &&
|
|
11041
|
+
}, _errorFactory)) && _ao4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11031
11042
|
method: "typia.assert",
|
|
11032
11043
|
path: _path + ".subtitleTracks",
|
|
11033
11044
|
expected: "(__type.o1 | undefined)",
|
|
@@ -11037,7 +11048,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11037
11048
|
path: _path + ".video",
|
|
11038
11049
|
expected: "(__type.o3 | undefined)",
|
|
11039
11050
|
value: input.video
|
|
11040
|
-
}, _errorFactory)) &&
|
|
11051
|
+
}, _errorFactory)) && _ao7(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11041
11052
|
method: "typia.assert",
|
|
11042
11053
|
path: _path + ".video",
|
|
11043
11054
|
expected: "(__type.o3 | undefined)",
|
|
@@ -11057,12 +11068,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
11057
11068
|
path: _path + ".transcribe",
|
|
11058
11069
|
expected: "(__type.o5 | undefined)",
|
|
11059
11070
|
value: input.transcribe
|
|
11060
|
-
}, _errorFactory)) &&
|
|
11071
|
+
}, _errorFactory)) && _ao9(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11061
11072
|
method: "typia.assert",
|
|
11062
11073
|
path: _path + ".transcribe",
|
|
11063
11074
|
expected: "(__type.o5 | undefined)",
|
|
11064
11075
|
value: input.transcribe
|
|
11065
|
-
}, _errorFactory)); const
|
|
11076
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11066
11077
|
method: "typia.assert",
|
|
11067
11078
|
path: _path + ".type",
|
|
11068
11079
|
expected: "(string | undefined)",
|
|
@@ -11072,7 +11083,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11072
11083
|
path: _path + ".file",
|
|
11073
11084
|
expected: "(null | string | undefined)",
|
|
11074
11085
|
value: input.file
|
|
11075
|
-
}, _errorFactory)); const
|
|
11086
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
11076
11087
|
const value = input[key];
|
|
11077
11088
|
if (undefined === value)
|
|
11078
11089
|
return true;
|
|
@@ -11081,13 +11092,13 @@ function _assertDomainRecord(domain, input) {
|
|
|
11081
11092
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
11082
11093
|
expected: "__type.o2",
|
|
11083
11094
|
value: value
|
|
11084
|
-
}, _errorFactory)) &&
|
|
11095
|
+
}, _errorFactory)) && _ao5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11085
11096
|
method: "typia.assert",
|
|
11086
11097
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
11087
11098
|
expected: "__type.o2",
|
|
11088
11099
|
value: value
|
|
11089
11100
|
}, _errorFactory);
|
|
11090
|
-
}); const
|
|
11101
|
+
}); const _ao5 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11091
11102
|
method: "typia.assert",
|
|
11092
11103
|
path: _path + ".style",
|
|
11093
11104
|
expected: "(null | string | undefined)",
|
|
@@ -11097,12 +11108,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
11097
11108
|
path: _path + ".styleOverrides",
|
|
11098
11109
|
expected: "(SubtitleStyle | undefined)",
|
|
11099
11110
|
value: input.styleOverrides
|
|
11100
|
-
}, _errorFactory)) &&
|
|
11111
|
+
}, _errorFactory)) && _ao6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11101
11112
|
method: "typia.assert",
|
|
11102
11113
|
path: _path + ".styleOverrides",
|
|
11103
11114
|
expected: "(SubtitleStyle | undefined)",
|
|
11104
11115
|
value: input.styleOverrides
|
|
11105
|
-
}, _errorFactory)); const
|
|
11116
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11106
11117
|
method: "typia.assert",
|
|
11107
11118
|
path: _path + ".name",
|
|
11108
11119
|
expected: "(string | undefined)",
|
|
@@ -11217,17 +11228,17 @@ function _assertDomainRecord(domain, input) {
|
|
|
11217
11228
|
path: _path + ".encoding",
|
|
11218
11229
|
expected: "(string | undefined)",
|
|
11219
11230
|
value: input.encoding
|
|
11220
|
-
}, _errorFactory)); const
|
|
11231
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11221
11232
|
method: "typia.assert",
|
|
11222
11233
|
path: _path + ".crop",
|
|
11223
11234
|
expected: "(__type.o4 | undefined)",
|
|
11224
11235
|
value: input.crop
|
|
11225
|
-
}, _errorFactory)) &&
|
|
11236
|
+
}, _errorFactory)) && _ao8(input.crop, _path + ".crop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11226
11237
|
method: "typia.assert",
|
|
11227
11238
|
path: _path + ".crop",
|
|
11228
11239
|
expected: "(__type.o4 | undefined)",
|
|
11229
11240
|
value: input.crop
|
|
11230
|
-
}, _errorFactory); const
|
|
11241
|
+
}, _errorFactory); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11231
11242
|
method: "typia.assert",
|
|
11232
11243
|
path: _path + ".x",
|
|
11233
11244
|
expected: "(number | undefined)",
|
|
@@ -11247,7 +11258,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11247
11258
|
path: _path + ".height",
|
|
11248
11259
|
expected: "(number | undefined)",
|
|
11249
11260
|
value: input.height
|
|
11250
|
-
}, _errorFactory)); const
|
|
11261
|
+
}, _errorFactory)); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11251
11262
|
method: "typia.assert",
|
|
11252
11263
|
path: _path + ".language",
|
|
11253
11264
|
expected: "(string | undefined)",
|
|
@@ -11257,9 +11268,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
11257
11268
|
path: _path + ".pan",
|
|
11258
11269
|
expected: "(Array<number> | undefined)",
|
|
11259
11270
|
value: input.pan
|
|
11260
|
-
}, _errorFactory)) && input.pan.every((elem,
|
|
11271
|
+
}, _errorFactory)) && input.pan.every((elem, _index11) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11261
11272
|
method: "typia.assert",
|
|
11262
|
-
path: _path + ".pan[" +
|
|
11273
|
+
path: _path + ".pan[" + _index11 + "]",
|
|
11263
11274
|
expected: "number",
|
|
11264
11275
|
value: elem
|
|
11265
11276
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11267,7 +11278,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11267
11278
|
path: _path + ".pan",
|
|
11268
11279
|
expected: "(Array<number> | undefined)",
|
|
11269
11280
|
value: input.pan
|
|
11270
|
-
}, _errorFactory)); const
|
|
11281
|
+
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11271
11282
|
method: "typia.assert",
|
|
11272
11283
|
path: _path + ".format",
|
|
11273
11284
|
expected: "string",
|
|
@@ -11277,7 +11288,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11277
11288
|
path: _path + ".transcribe",
|
|
11278
11289
|
expected: "(__type.o6 | undefined)",
|
|
11279
11290
|
value: input.transcribe
|
|
11280
|
-
}, _errorFactory)) &&
|
|
11291
|
+
}, _errorFactory)) && _ao11(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11281
11292
|
method: "typia.assert",
|
|
11282
11293
|
path: _path + ".transcribe",
|
|
11283
11294
|
expected: "(__type.o6 | undefined)",
|
|
@@ -11287,7 +11298,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11287
11298
|
path: _path + ".translate",
|
|
11288
11299
|
expected: "(__type.o7 | undefined)",
|
|
11289
11300
|
value: input.translate
|
|
11290
|
-
}, _errorFactory)) &&
|
|
11301
|
+
}, _errorFactory)) && _ao12(input.translate, _path + ".translate", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11291
11302
|
method: "typia.assert",
|
|
11292
11303
|
path: _path + ".translate",
|
|
11293
11304
|
expected: "(__type.o7 | undefined)",
|
|
@@ -11297,7 +11308,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11297
11308
|
path: _path + ".audio",
|
|
11298
11309
|
expected: "(__type.o8 | undefined)",
|
|
11299
11310
|
value: input.audio
|
|
11300
|
-
}, _errorFactory)) &&
|
|
11311
|
+
}, _errorFactory)) && _ao13(input.audio, _path + ".audio", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11301
11312
|
method: "typia.assert",
|
|
11302
11313
|
path: _path + ".audio",
|
|
11303
11314
|
expected: "(__type.o8 | undefined)",
|
|
@@ -11307,9 +11318,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
11307
11318
|
path: _path + ".pick",
|
|
11308
11319
|
expected: "(Array<string> | undefined)",
|
|
11309
11320
|
value: input.pick
|
|
11310
|
-
}, _errorFactory)) && input.pick.every((elem,
|
|
11321
|
+
}, _errorFactory)) && input.pick.every((elem, _index12) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11311
11322
|
method: "typia.assert",
|
|
11312
|
-
path: _path + ".pick[" +
|
|
11323
|
+
path: _path + ".pick[" + _index12 + "]",
|
|
11313
11324
|
expected: "string",
|
|
11314
11325
|
value: elem
|
|
11315
11326
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11327,22 +11338,22 @@ function _assertDomainRecord(domain, input) {
|
|
|
11327
11338
|
path: _path + ".subtitle",
|
|
11328
11339
|
expected: "(SubtitleProfile | string | undefined)",
|
|
11329
11340
|
value: input.subtitle
|
|
11330
|
-
}, _errorFactory)) &&
|
|
11341
|
+
}, _errorFactory)) && _ao14(input.subtitle, _path + ".subtitle", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11331
11342
|
method: "typia.assert",
|
|
11332
11343
|
path: _path + ".subtitle",
|
|
11333
11344
|
expected: "(SubtitleProfile | string | undefined)",
|
|
11334
11345
|
value: input.subtitle
|
|
11335
|
-
}, _errorFactory))); const
|
|
11346
|
+
}, _errorFactory))); const _ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11336
11347
|
method: "typia.assert",
|
|
11337
11348
|
path: _path + ".engine",
|
|
11338
11349
|
expected: "string",
|
|
11339
11350
|
value: input.engine
|
|
11340
|
-
}, _errorFactory); const
|
|
11351
|
+
}, _errorFactory); const _ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11341
11352
|
method: "typia.assert",
|
|
11342
11353
|
path: _path + ".language",
|
|
11343
11354
|
expected: "string",
|
|
11344
11355
|
value: input.language
|
|
11345
|
-
}, _errorFactory); const
|
|
11356
|
+
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11346
11357
|
method: "typia.assert",
|
|
11347
11358
|
path: _path + ".codec",
|
|
11348
11359
|
expected: "(string | undefined)",
|
|
@@ -11362,7 +11373,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11362
11373
|
path: _path + ".split",
|
|
11363
11374
|
expected: "(boolean | undefined)",
|
|
11364
11375
|
value: input.split
|
|
11365
|
-
}, _errorFactory)); const
|
|
11376
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11366
11377
|
method: "typia.assert",
|
|
11367
11378
|
path: _path + ".lang",
|
|
11368
11379
|
expected: "(string | undefined)",
|
|
@@ -11372,12 +11383,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
11372
11383
|
path: _path + ".style",
|
|
11373
11384
|
expected: "(string | undefined)",
|
|
11374
11385
|
value: input.style
|
|
11375
|
-
}, _errorFactory)); const
|
|
11386
|
+
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => "string" === typeof input.method || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11376
11387
|
method: "typia.assert",
|
|
11377
11388
|
path: _path + ".method",
|
|
11378
11389
|
expected: "string",
|
|
11379
11390
|
value: input.method
|
|
11380
|
-
}, _errorFactory); const
|
|
11391
|
+
}, _errorFactory); const _ao16 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11381
11392
|
method: "typia.assert",
|
|
11382
11393
|
path: _path + ".level",
|
|
11383
11394
|
expected: "number",
|
|
@@ -11392,10 +11403,70 @@ function _assertDomainRecord(domain, input) {
|
|
|
11392
11403
|
path: _path + ".msg",
|
|
11393
11404
|
expected: "string",
|
|
11394
11405
|
value: input.msg
|
|
11395
|
-
}, _errorFactory)); const
|
|
11406
|
+
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => (undefined === input.type || "facebook" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11407
|
+
method: "typia.assert",
|
|
11408
|
+
path: _path + ".type",
|
|
11409
|
+
expected: "(\"facebook\" | undefined)",
|
|
11410
|
+
value: input.type
|
|
11411
|
+
}, _errorFactory)) && (undefined === input.pageId || "string" === typeof input.pageId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11412
|
+
method: "typia.assert",
|
|
11413
|
+
path: _path + ".pageId",
|
|
11414
|
+
expected: "(string | undefined)",
|
|
11415
|
+
value: input.pageId
|
|
11416
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11417
|
+
method: "typia.assert",
|
|
11418
|
+
path: _path + ".asset",
|
|
11419
|
+
expected: "(null | string | undefined)",
|
|
11420
|
+
value: input.asset
|
|
11421
|
+
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11422
|
+
method: "typia.assert",
|
|
11423
|
+
path: _path + ".connection",
|
|
11424
|
+
expected: "(string | undefined)",
|
|
11425
|
+
value: input.connection
|
|
11426
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11427
|
+
method: "typia.assert",
|
|
11428
|
+
path: _path + ".render",
|
|
11429
|
+
expected: "(PublishRenderBase | undefined)",
|
|
11430
|
+
value: input.render
|
|
11431
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11432
|
+
method: "typia.assert",
|
|
11433
|
+
path: _path + ".render",
|
|
11434
|
+
expected: "(PublishRenderBase | undefined)",
|
|
11435
|
+
value: input.render
|
|
11436
|
+
}, _errorFactory)) && true && true && true && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11437
|
+
method: "typia.assert",
|
|
11438
|
+
path: _path + ".error",
|
|
11439
|
+
expected: "(__type.o9 | null | undefined)",
|
|
11440
|
+
value: input.error
|
|
11441
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11442
|
+
method: "typia.assert",
|
|
11443
|
+
path: _path + ".error",
|
|
11444
|
+
expected: "(__type.o9 | null | undefined)",
|
|
11445
|
+
value: input.error
|
|
11446
|
+
}, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11447
|
+
method: "typia.assert",
|
|
11448
|
+
path: _path + ".messages",
|
|
11449
|
+
expected: "(Array<Message> | undefined)",
|
|
11450
|
+
value: input.messages
|
|
11451
|
+
}, _errorFactory)) && input.messages.every((elem, _index13) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11452
|
+
method: "typia.assert",
|
|
11453
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
11454
|
+
expected: "Message",
|
|
11455
|
+
value: elem
|
|
11456
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11457
|
+
method: "typia.assert",
|
|
11458
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
11459
|
+
expected: "Message",
|
|
11460
|
+
value: elem
|
|
11461
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11462
|
+
method: "typia.assert",
|
|
11463
|
+
path: _path + ".messages",
|
|
11464
|
+
expected: "(Array<Message> | undefined)",
|
|
11465
|
+
value: input.messages
|
|
11466
|
+
}, _errorFactory)); const _ao18 = (input, _path, _exceptionable = true) => (undefined === input.type || "file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11396
11467
|
method: "typia.assert",
|
|
11397
11468
|
path: _path + ".type",
|
|
11398
|
-
expected: "\"file\"",
|
|
11469
|
+
expected: "(\"file\" | undefined)",
|
|
11399
11470
|
value: input.type
|
|
11400
11471
|
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11401
11472
|
method: "typia.assert",
|
|
@@ -11462,7 +11533,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11462
11533
|
path: _path + ".render",
|
|
11463
11534
|
expected: "(PublishRenderBase | undefined)",
|
|
11464
11535
|
value: input.render
|
|
11465
|
-
}, _errorFactory)) &&
|
|
11536
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11466
11537
|
method: "typia.assert",
|
|
11467
11538
|
path: _path + ".render",
|
|
11468
11539
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -11472,7 +11543,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11472
11543
|
path: _path + ".error",
|
|
11473
11544
|
expected: "(__type.o9 | null | undefined)",
|
|
11474
11545
|
value: input.error
|
|
11475
|
-
}, _errorFactory)) &&
|
|
11546
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11476
11547
|
method: "typia.assert",
|
|
11477
11548
|
path: _path + ".error",
|
|
11478
11549
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -11482,14 +11553,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
11482
11553
|
path: _path + ".messages",
|
|
11483
11554
|
expected: "(Array<Message> | undefined)",
|
|
11484
11555
|
value: input.messages
|
|
11485
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11556
|
+
}, _errorFactory)) && input.messages.every((elem, _index14) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11486
11557
|
method: "typia.assert",
|
|
11487
|
-
path: _path + ".messages[" +
|
|
11558
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
11488
11559
|
expected: "Message",
|
|
11489
11560
|
value: elem
|
|
11490
|
-
}, _errorFactory)) &&
|
|
11561
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11491
11562
|
method: "typia.assert",
|
|
11492
|
-
path: _path + ".messages[" +
|
|
11563
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
11493
11564
|
expected: "Message",
|
|
11494
11565
|
value: elem
|
|
11495
11566
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11557,7 +11628,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11557
11628
|
path: _path + ".scene",
|
|
11558
11629
|
expected: "(RenderSceneObject | undefined)",
|
|
11559
11630
|
value: input.scene
|
|
11560
|
-
}, _errorFactory)) &&
|
|
11631
|
+
}, _errorFactory)) && _ao2(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11561
11632
|
method: "typia.assert",
|
|
11562
11633
|
path: _path + ".scene",
|
|
11563
11634
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -11567,7 +11638,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11567
11638
|
path: _path + ".profile",
|
|
11568
11639
|
expected: "(RenderProfileObject | undefined)",
|
|
11569
11640
|
value: input.profile
|
|
11570
|
-
}, _errorFactory)) &&
|
|
11641
|
+
}, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11571
11642
|
method: "typia.assert",
|
|
11572
11643
|
path: _path + ".profile",
|
|
11573
11644
|
expected: "(RenderProfileObject | undefined)",
|
|
@@ -11592,7 +11663,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11592
11663
|
path: _path + ".__returnValue",
|
|
11593
11664
|
expected: "ResolvedFilePublishRender",
|
|
11594
11665
|
value: input.__returnValue
|
|
11595
|
-
}, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11666
|
+
}, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11596
11667
|
method: "typia.assert",
|
|
11597
11668
|
path: _path + ".publish",
|
|
11598
11669
|
expected: "FilePublishRecord",
|
|
@@ -11667,14 +11738,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
11667
11738
|
path: _path + ".messages",
|
|
11668
11739
|
expected: "(Array<Message> | undefined)",
|
|
11669
11740
|
value: input.messages
|
|
11670
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11741
|
+
}, _errorFactory)) && input.messages.every((elem, _index15) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11671
11742
|
method: "typia.assert",
|
|
11672
|
-
path: _path + ".messages[" +
|
|
11743
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
11673
11744
|
expected: "Message",
|
|
11674
11745
|
value: elem
|
|
11675
|
-
}, _errorFactory)) &&
|
|
11746
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11676
11747
|
method: "typia.assert",
|
|
11677
|
-
path: _path + ".messages[" +
|
|
11748
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
11678
11749
|
expected: "Message",
|
|
11679
11750
|
value: elem
|
|
11680
11751
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11707,10 +11778,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
11707
11778
|
path: _path + ".filename",
|
|
11708
11779
|
expected: "string",
|
|
11709
11780
|
value: input.filename
|
|
11710
|
-
}, _errorFactory)); const _ao28 = (input, _path, _exceptionable = true) => ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11781
|
+
}, _errorFactory)); const _ao28 = (input, _path, _exceptionable = true) => (undefined === input.type || "file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11711
11782
|
method: "typia.assert",
|
|
11712
11783
|
path: _path + ".type",
|
|
11713
|
-
expected: "\"file\"",
|
|
11784
|
+
expected: "(\"file\" | undefined)",
|
|
11714
11785
|
value: input.type
|
|
11715
11786
|
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11716
11787
|
method: "typia.assert",
|
|
@@ -11777,7 +11848,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11777
11848
|
path: _path + ".render",
|
|
11778
11849
|
expected: "(PublishRenderBase | undefined)",
|
|
11779
11850
|
value: input.render
|
|
11780
|
-
}, _errorFactory)) &&
|
|
11851
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11781
11852
|
method: "typia.assert",
|
|
11782
11853
|
path: _path + ".render",
|
|
11783
11854
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -11787,7 +11858,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11787
11858
|
path: _path + ".error",
|
|
11788
11859
|
expected: "(__type.o9 | null | undefined)",
|
|
11789
11860
|
value: input.error
|
|
11790
|
-
}, _errorFactory)) &&
|
|
11861
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11791
11862
|
method: "typia.assert",
|
|
11792
11863
|
path: _path + ".error",
|
|
11793
11864
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -11797,14 +11868,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
11797
11868
|
path: _path + ".messages",
|
|
11798
11869
|
expected: "(Array<Message> | undefined)",
|
|
11799
11870
|
value: input.messages
|
|
11800
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11871
|
+
}, _errorFactory)) && input.messages.every((elem, _index16) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11801
11872
|
method: "typia.assert",
|
|
11802
|
-
path: _path + ".messages[" +
|
|
11873
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11803
11874
|
expected: "Message",
|
|
11804
11875
|
value: elem
|
|
11805
|
-
}, _errorFactory)) &&
|
|
11876
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11806
11877
|
method: "typia.assert",
|
|
11807
|
-
path: _path + ".messages[" +
|
|
11878
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11808
11879
|
expected: "Message",
|
|
11809
11880
|
value: elem
|
|
11810
11881
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11869,10 +11940,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
11869
11940
|
path: _path + ".path",
|
|
11870
11941
|
expected: "string",
|
|
11871
11942
|
value: input.path
|
|
11872
|
-
}, _errorFactory); const _ao32 = (input, _path, _exceptionable = true) => ("youtube" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11943
|
+
}, _errorFactory); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.type || "youtube" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11873
11944
|
method: "typia.assert",
|
|
11874
11945
|
path: _path + ".type",
|
|
11875
|
-
expected: "\"youtube\"",
|
|
11946
|
+
expected: "(\"youtube\" | undefined)",
|
|
11876
11947
|
value: input.type
|
|
11877
11948
|
}, _errorFactory)) && (undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11878
11949
|
method: "typia.assert",
|
|
@@ -11899,7 +11970,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11899
11970
|
path: _path + ".render",
|
|
11900
11971
|
expected: "(PublishRenderBase | undefined)",
|
|
11901
11972
|
value: input.render
|
|
11902
|
-
}, _errorFactory)) &&
|
|
11973
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11903
11974
|
method: "typia.assert",
|
|
11904
11975
|
path: _path + ".render",
|
|
11905
11976
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -11909,7 +11980,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11909
11980
|
path: _path + ".error",
|
|
11910
11981
|
expected: "(__type.o9 | null | undefined)",
|
|
11911
11982
|
value: input.error
|
|
11912
|
-
}, _errorFactory)) &&
|
|
11983
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11913
11984
|
method: "typia.assert",
|
|
11914
11985
|
path: _path + ".error",
|
|
11915
11986
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -11919,14 +11990,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
11919
11990
|
path: _path + ".messages",
|
|
11920
11991
|
expected: "(Array<Message> | undefined)",
|
|
11921
11992
|
value: input.messages
|
|
11922
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11993
|
+
}, _errorFactory)) && input.messages.every((elem, _index17) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11923
11994
|
method: "typia.assert",
|
|
11924
|
-
path: _path + ".messages[" +
|
|
11995
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11925
11996
|
expected: "Message",
|
|
11926
11997
|
value: elem
|
|
11927
|
-
}, _errorFactory)) &&
|
|
11998
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11928
11999
|
method: "typia.assert",
|
|
11929
|
-
path: _path + ".messages[" +
|
|
12000
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11930
12001
|
expected: "Message",
|
|
11931
12002
|
value: elem
|
|
11932
12003
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11954,9 +12025,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
11954
12025
|
path: _path + ".tags",
|
|
11955
12026
|
expected: "(Array<string> | undefined)",
|
|
11956
12027
|
value: input.tags
|
|
11957
|
-
}, _errorFactory)) && input.tags.every((elem,
|
|
12028
|
+
}, _errorFactory)) && input.tags.every((elem, _index18) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11958
12029
|
method: "typia.assert",
|
|
11959
|
-
path: _path + ".tags[" +
|
|
12030
|
+
path: _path + ".tags[" + _index18 + "]",
|
|
11960
12031
|
expected: "string",
|
|
11961
12032
|
value: elem
|
|
11962
12033
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11981,24 +12052,15 @@ function _assertDomainRecord(domain, input) {
|
|
|
11981
12052
|
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
11982
12053
|
value: input
|
|
11983
12054
|
}, _errorFactory);
|
|
11984
|
-
})(); const _au1 = (input, _path, _exceptionable = true) => (()
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
return _ao32(input, _path, true && _exceptionable);
|
|
11991
|
-
else
|
|
11992
|
-
return _ao28(input, _path, false && _exceptionable) || _ao18(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11993
|
-
method: "typia.assert",
|
|
11994
|
-
path: _path,
|
|
11995
|
-
expected: "(FilePublishRecordLegacy | FilePublishRecord)",
|
|
11996
|
-
value: input
|
|
11997
|
-
}, _errorFactory);
|
|
11998
|
-
})(); const __is = input => "object" === typeof input && null !== input && _iu1(input); let _errorFactory; return (input, errorFactory) => {
|
|
12055
|
+
})(); const _au1 = (input, _path, _exceptionable = true) => _ao0(input, _path, false && _exceptionable) || _ao17(input, _path, false && _exceptionable) || _ao28(input, _path, false && _exceptionable) || _ao18(input, _path, false && _exceptionable) || _ao32(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12056
|
+
method: "typia.assert",
|
|
12057
|
+
path: _path,
|
|
12058
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecordLegacy | FilePublishRecord | YoutubePublishRecord)",
|
|
12059
|
+
value: input
|
|
12060
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let _errorFactory; return (input, errorFactory) => {
|
|
11999
12061
|
if (false === __is(input)) {
|
|
12000
12062
|
_errorFactory = errorFactory;
|
|
12001
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
12063
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
12002
12064
|
method: "typia.assert",
|
|
12003
12065
|
path: _path + "",
|
|
12004
12066
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
@@ -12029,7 +12091,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
12029
12091
|
if (undefined === value)
|
|
12030
12092
|
return true;
|
|
12031
12093
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
12032
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (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) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(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) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = 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 _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && _io25(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)); const _io28 = input => Object.keys(input).every(key => {
|
|
12094
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (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) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(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) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = 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 _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io25(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)); const _io28 = input => Object.keys(input).every(key => {
|
|
12033
12095
|
const value = input[key];
|
|
12034
12096
|
if (undefined === value)
|
|
12035
12097
|
return true;
|
|
@@ -12719,7 +12781,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
12719
12781
|
path: _path + ".__returnValue",
|
|
12720
12782
|
expected: "ResolvedFilePublishRender",
|
|
12721
12783
|
value: input.__returnValue
|
|
12722
|
-
}, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12784
|
+
}, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12723
12785
|
method: "typia.assert",
|
|
12724
12786
|
path: _path + ".publish",
|
|
12725
12787
|
expected: "FilePublishRecord",
|
|
@@ -12739,10 +12801,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
12739
12801
|
path: _path + ".name",
|
|
12740
12802
|
expected: "string",
|
|
12741
12803
|
value: input.name
|
|
12742
|
-
}, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12804
|
+
}, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => (undefined === input.type || "file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12743
12805
|
method: "typia.assert",
|
|
12744
12806
|
path: _path + ".type",
|
|
12745
|
-
expected: "\"file\"",
|
|
12807
|
+
expected: "(\"file\" | undefined)",
|
|
12746
12808
|
value: input.type
|
|
12747
12809
|
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12748
12810
|
method: "typia.assert",
|