@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
|
@@ -2155,6 +2155,39 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
2155
2155
|
}
|
|
2156
2156
|
}; })()(input);
|
|
2157
2157
|
}
|
|
2158
|
+
case ":asset.rawTypes?": {
|
|
2159
|
+
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, {
|
|
2160
|
+
method: "typia.assertGuard",
|
|
2161
|
+
path: _path + ".value",
|
|
2162
|
+
expected: "(Array<string> | undefined)",
|
|
2163
|
+
value: input.value
|
|
2164
|
+
}, _errorFactory)) && input.value.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2165
|
+
method: "typia.assertGuard",
|
|
2166
|
+
path: _path + ".value[" + _index2 + "]",
|
|
2167
|
+
expected: "string",
|
|
2168
|
+
value: elem
|
|
2169
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2170
|
+
method: "typia.assertGuard",
|
|
2171
|
+
path: _path + ".value",
|
|
2172
|
+
expected: "(Array<string> | undefined)",
|
|
2173
|
+
value: input.value
|
|
2174
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
2175
|
+
if (false === __is(input)) {
|
|
2176
|
+
_errorFactory = errorFactory;
|
|
2177
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
2178
|
+
method: "typia.assertGuard",
|
|
2179
|
+
path: _path + "",
|
|
2180
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2181
|
+
value: input
|
|
2182
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
2183
|
+
method: "typia.assertGuard",
|
|
2184
|
+
path: _path + "",
|
|
2185
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2186
|
+
value: input
|
|
2187
|
+
}, _errorFactory))(input, "$input", true);
|
|
2188
|
+
}
|
|
2189
|
+
}; })()(input);
|
|
2190
|
+
}
|
|
2158
2191
|
case ":asset.types?": {
|
|
2159
2192
|
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, {
|
|
2160
2193
|
method: "typia.assertGuard",
|
|
@@ -10745,29 +10778,29 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10745
10778
|
}; })()(input);
|
|
10746
10779
|
}
|
|
10747
10780
|
case ":publish": {
|
|
10748
|
-
return (() => { const _io0 = input =>
|
|
10781
|
+
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 => {
|
|
10749
10782
|
const value = input[key];
|
|
10750
10783
|
if (undefined === value)
|
|
10751
10784
|
return true;
|
|
10752
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
10753
|
-
}); const
|
|
10785
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
10786
|
+
}); 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 => {
|
|
10754
10787
|
const value = input[key];
|
|
10755
10788
|
if (undefined === value)
|
|
10756
10789
|
return true;
|
|
10757
10790
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
10758
|
-
}); 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) &&
|
|
10791
|
+
}); 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 => {
|
|
10759
10792
|
const value = input[key];
|
|
10760
10793
|
if (undefined === value)
|
|
10761
10794
|
return true;
|
|
10762
10795
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
10763
|
-
}); 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 &&
|
|
10796
|
+
}); 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 => {
|
|
10764
10797
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
10765
10798
|
return true;
|
|
10766
10799
|
const value = input[key];
|
|
10767
10800
|
if (undefined === value)
|
|
10768
10801
|
return true;
|
|
10769
10802
|
return true;
|
|
10770
|
-
}); 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 &&
|
|
10803
|
+
}); 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 => (() => {
|
|
10771
10804
|
if (undefined !== input.path)
|
|
10772
10805
|
return _io20(input);
|
|
10773
10806
|
else if (undefined !== input.__context)
|
|
@@ -10775,45 +10808,22 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10775
10808
|
else
|
|
10776
10809
|
return false;
|
|
10777
10810
|
})(); const _iu1 = input => (() => {
|
|
10778
|
-
if (
|
|
10811
|
+
if (_io0(input))
|
|
10779
10812
|
return _io0(input);
|
|
10780
|
-
|
|
10781
|
-
return
|
|
10782
|
-
|
|
10813
|
+
if (_io17(input))
|
|
10814
|
+
return _io17(input);
|
|
10815
|
+
if (_io28(input))
|
|
10816
|
+
return _io28(input);
|
|
10817
|
+
if (_io18(input))
|
|
10818
|
+
return _io18(input);
|
|
10819
|
+
if (_io32(input))
|
|
10783
10820
|
return _io32(input);
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
if (_io28(input))
|
|
10787
|
-
return _io28(input);
|
|
10788
|
-
if (_io18(input))
|
|
10789
|
-
return _io18(input);
|
|
10790
|
-
return false;
|
|
10791
|
-
})();
|
|
10792
|
-
})(); const _ao0 = (input, _path, _exceptionable = true) => (undefined !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10793
|
-
method: "typia.assertGuard",
|
|
10794
|
-
path: _path + ".type",
|
|
10795
|
-
expected: "null",
|
|
10796
|
-
value: input.type
|
|
10797
|
-
}, _errorFactory)) && (null === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10798
|
-
method: "typia.assertGuard",
|
|
10799
|
-
path: _path + ".type",
|
|
10800
|
-
expected: "null",
|
|
10801
|
-
value: input.type
|
|
10802
|
-
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10803
|
-
method: "typia.assertGuard",
|
|
10804
|
-
path: _path + ".asset",
|
|
10805
|
-
expected: "(null | string | undefined)",
|
|
10806
|
-
value: input.asset
|
|
10807
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => ("facebook" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10821
|
+
return false;
|
|
10822
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => (null === input.type || undefined === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10808
10823
|
method: "typia.assertGuard",
|
|
10809
10824
|
path: _path + ".type",
|
|
10810
|
-
expected: "
|
|
10825
|
+
expected: "(null | undefined)",
|
|
10811
10826
|
value: input.type
|
|
10812
|
-
}, _errorFactory)) && (undefined === input.pageId || "string" === typeof input.pageId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10813
|
-
method: "typia.assertGuard",
|
|
10814
|
-
path: _path + ".pageId",
|
|
10815
|
-
expected: "(string | undefined)",
|
|
10816
|
-
value: input.pageId
|
|
10817
10827
|
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10818
10828
|
method: "typia.assertGuard",
|
|
10819
10829
|
path: _path + ".asset",
|
|
@@ -10829,7 +10839,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10829
10839
|
path: _path + ".render",
|
|
10830
10840
|
expected: "(PublishRenderBase | undefined)",
|
|
10831
10841
|
value: input.render
|
|
10832
|
-
}, _errorFactory)) &&
|
|
10842
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10833
10843
|
method: "typia.assertGuard",
|
|
10834
10844
|
path: _path + ".render",
|
|
10835
10845
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -10839,7 +10849,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10839
10849
|
path: _path + ".error",
|
|
10840
10850
|
expected: "(__type.o9 | null | undefined)",
|
|
10841
10851
|
value: input.error
|
|
10842
|
-
}, _errorFactory)) &&
|
|
10852
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10843
10853
|
method: "typia.assertGuard",
|
|
10844
10854
|
path: _path + ".error",
|
|
10845
10855
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -10849,14 +10859,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10849
10859
|
path: _path + ".messages",
|
|
10850
10860
|
expected: "(Array<Message> | undefined)",
|
|
10851
10861
|
value: input.messages
|
|
10852
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
10862
|
+
}, _errorFactory)) && input.messages.every((elem, _index10) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10853
10863
|
method: "typia.assertGuard",
|
|
10854
|
-
path: _path + ".messages[" +
|
|
10864
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10855
10865
|
expected: "Message",
|
|
10856
10866
|
value: elem
|
|
10857
|
-
}, _errorFactory)) &&
|
|
10867
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10858
10868
|
method: "typia.assertGuard",
|
|
10859
|
-
path: _path + ".messages[" +
|
|
10869
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10860
10870
|
expected: "Message",
|
|
10861
10871
|
value: elem
|
|
10862
10872
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10864,7 +10874,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10864
10874
|
path: _path + ".messages",
|
|
10865
10875
|
expected: "(Array<Message> | undefined)",
|
|
10866
10876
|
value: input.messages
|
|
10867
|
-
}, _errorFactory)); const
|
|
10877
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10868
10878
|
method: "typia.assertGuard",
|
|
10869
10879
|
path: _path + ".preset",
|
|
10870
10880
|
expected: "(string | undefined)",
|
|
@@ -10879,7 +10889,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10879
10889
|
path: _path + ".scene",
|
|
10880
10890
|
expected: "(RenderSceneObject | undefined)",
|
|
10881
10891
|
value: input.scene
|
|
10882
|
-
}, _errorFactory)) &&
|
|
10892
|
+
}, _errorFactory)) && _ao2(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10883
10893
|
method: "typia.assertGuard",
|
|
10884
10894
|
path: _path + ".scene",
|
|
10885
10895
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -10889,12 +10899,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10889
10899
|
path: _path + ".profile",
|
|
10890
10900
|
expected: "(RenderProfileObject | undefined)",
|
|
10891
10901
|
value: input.profile
|
|
10892
|
-
}, _errorFactory)) &&
|
|
10902
|
+
}, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10893
10903
|
method: "typia.assertGuard",
|
|
10894
10904
|
path: _path + ".profile",
|
|
10895
10905
|
expected: "(RenderProfileObject | undefined)",
|
|
10896
10906
|
value: input.profile
|
|
10897
|
-
}, _errorFactory)); const
|
|
10907
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10898
10908
|
method: "typia.assertGuard",
|
|
10899
10909
|
path: _path + ".id",
|
|
10900
10910
|
expected: "(string | undefined)",
|
|
@@ -10909,7 +10919,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10909
10919
|
path: _path + ".input",
|
|
10910
10920
|
expected: "(__type | null | undefined)",
|
|
10911
10921
|
value: input.input
|
|
10912
|
-
}, _errorFactory)) &&
|
|
10922
|
+
}, _errorFactory)) && _ao3(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10913
10923
|
method: "typia.assertGuard",
|
|
10914
10924
|
path: _path + ".input",
|
|
10915
10925
|
expected: "(__type | null | undefined)",
|
|
@@ -10929,7 +10939,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10929
10939
|
path: _path + ".subtitleTracks",
|
|
10930
10940
|
expected: "(__type.o1 | undefined)",
|
|
10931
10941
|
value: input.subtitleTracks
|
|
10932
|
-
}, _errorFactory)) &&
|
|
10942
|
+
}, _errorFactory)) && _ao4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10933
10943
|
method: "typia.assertGuard",
|
|
10934
10944
|
path: _path + ".subtitleTracks",
|
|
10935
10945
|
expected: "(__type.o1 | undefined)",
|
|
@@ -10939,7 +10949,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10939
10949
|
path: _path + ".video",
|
|
10940
10950
|
expected: "(__type.o3 | undefined)",
|
|
10941
10951
|
value: input.video
|
|
10942
|
-
}, _errorFactory)) &&
|
|
10952
|
+
}, _errorFactory)) && _ao7(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10943
10953
|
method: "typia.assertGuard",
|
|
10944
10954
|
path: _path + ".video",
|
|
10945
10955
|
expected: "(__type.o3 | undefined)",
|
|
@@ -10959,12 +10969,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10959
10969
|
path: _path + ".transcribe",
|
|
10960
10970
|
expected: "(__type.o5 | undefined)",
|
|
10961
10971
|
value: input.transcribe
|
|
10962
|
-
}, _errorFactory)) &&
|
|
10972
|
+
}, _errorFactory)) && _ao9(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10963
10973
|
method: "typia.assertGuard",
|
|
10964
10974
|
path: _path + ".transcribe",
|
|
10965
10975
|
expected: "(__type.o5 | undefined)",
|
|
10966
10976
|
value: input.transcribe
|
|
10967
|
-
}, _errorFactory)); const
|
|
10977
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10968
10978
|
method: "typia.assertGuard",
|
|
10969
10979
|
path: _path + ".type",
|
|
10970
10980
|
expected: "(string | undefined)",
|
|
@@ -10974,7 +10984,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10974
10984
|
path: _path + ".file",
|
|
10975
10985
|
expected: "(null | string | undefined)",
|
|
10976
10986
|
value: input.file
|
|
10977
|
-
}, _errorFactory)); const
|
|
10987
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10978
10988
|
const value = input[key];
|
|
10979
10989
|
if (undefined === value)
|
|
10980
10990
|
return true;
|
|
@@ -10983,13 +10993,13 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10983
10993
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10984
10994
|
expected: "__type.o2",
|
|
10985
10995
|
value: value
|
|
10986
|
-
}, _errorFactory)) &&
|
|
10996
|
+
}, _errorFactory)) && _ao5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10987
10997
|
method: "typia.assertGuard",
|
|
10988
10998
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10989
10999
|
expected: "__type.o2",
|
|
10990
11000
|
value: value
|
|
10991
11001
|
}, _errorFactory);
|
|
10992
|
-
}); const
|
|
11002
|
+
}); const _ao5 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10993
11003
|
method: "typia.assertGuard",
|
|
10994
11004
|
path: _path + ".style",
|
|
10995
11005
|
expected: "(null | string | undefined)",
|
|
@@ -10999,12 +11009,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10999
11009
|
path: _path + ".styleOverrides",
|
|
11000
11010
|
expected: "(SubtitleStyle | undefined)",
|
|
11001
11011
|
value: input.styleOverrides
|
|
11002
|
-
}, _errorFactory)) &&
|
|
11012
|
+
}, _errorFactory)) && _ao6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11003
11013
|
method: "typia.assertGuard",
|
|
11004
11014
|
path: _path + ".styleOverrides",
|
|
11005
11015
|
expected: "(SubtitleStyle | undefined)",
|
|
11006
11016
|
value: input.styleOverrides
|
|
11007
|
-
}, _errorFactory)); const
|
|
11017
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11008
11018
|
method: "typia.assertGuard",
|
|
11009
11019
|
path: _path + ".name",
|
|
11010
11020
|
expected: "(string | undefined)",
|
|
@@ -11119,17 +11129,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11119
11129
|
path: _path + ".encoding",
|
|
11120
11130
|
expected: "(string | undefined)",
|
|
11121
11131
|
value: input.encoding
|
|
11122
|
-
}, _errorFactory)); const
|
|
11132
|
+
}, _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, {
|
|
11123
11133
|
method: "typia.assertGuard",
|
|
11124
11134
|
path: _path + ".crop",
|
|
11125
11135
|
expected: "(__type.o4 | undefined)",
|
|
11126
11136
|
value: input.crop
|
|
11127
|
-
}, _errorFactory)) &&
|
|
11137
|
+
}, _errorFactory)) && _ao8(input.crop, _path + ".crop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11128
11138
|
method: "typia.assertGuard",
|
|
11129
11139
|
path: _path + ".crop",
|
|
11130
11140
|
expected: "(__type.o4 | undefined)",
|
|
11131
11141
|
value: input.crop
|
|
11132
|
-
}, _errorFactory); const
|
|
11142
|
+
}, _errorFactory); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11133
11143
|
method: "typia.assertGuard",
|
|
11134
11144
|
path: _path + ".x",
|
|
11135
11145
|
expected: "(number | undefined)",
|
|
@@ -11149,7 +11159,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11149
11159
|
path: _path + ".height",
|
|
11150
11160
|
expected: "(number | undefined)",
|
|
11151
11161
|
value: input.height
|
|
11152
|
-
}, _errorFactory)); const
|
|
11162
|
+
}, _errorFactory)); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11153
11163
|
method: "typia.assertGuard",
|
|
11154
11164
|
path: _path + ".language",
|
|
11155
11165
|
expected: "(string | undefined)",
|
|
@@ -11159,9 +11169,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11159
11169
|
path: _path + ".pan",
|
|
11160
11170
|
expected: "(Array<number> | undefined)",
|
|
11161
11171
|
value: input.pan
|
|
11162
|
-
}, _errorFactory)) && input.pan.every((elem,
|
|
11172
|
+
}, _errorFactory)) && input.pan.every((elem, _index11) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11163
11173
|
method: "typia.assertGuard",
|
|
11164
|
-
path: _path + ".pan[" +
|
|
11174
|
+
path: _path + ".pan[" + _index11 + "]",
|
|
11165
11175
|
expected: "number",
|
|
11166
11176
|
value: elem
|
|
11167
11177
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11169,7 +11179,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11169
11179
|
path: _path + ".pan",
|
|
11170
11180
|
expected: "(Array<number> | undefined)",
|
|
11171
11181
|
value: input.pan
|
|
11172
|
-
}, _errorFactory)); const
|
|
11182
|
+
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11173
11183
|
method: "typia.assertGuard",
|
|
11174
11184
|
path: _path + ".format",
|
|
11175
11185
|
expected: "string",
|
|
@@ -11179,7 +11189,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11179
11189
|
path: _path + ".transcribe",
|
|
11180
11190
|
expected: "(__type.o6 | undefined)",
|
|
11181
11191
|
value: input.transcribe
|
|
11182
|
-
}, _errorFactory)) &&
|
|
11192
|
+
}, _errorFactory)) && _ao11(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11183
11193
|
method: "typia.assertGuard",
|
|
11184
11194
|
path: _path + ".transcribe",
|
|
11185
11195
|
expected: "(__type.o6 | undefined)",
|
|
@@ -11189,7 +11199,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11189
11199
|
path: _path + ".translate",
|
|
11190
11200
|
expected: "(__type.o7 | undefined)",
|
|
11191
11201
|
value: input.translate
|
|
11192
|
-
}, _errorFactory)) &&
|
|
11202
|
+
}, _errorFactory)) && _ao12(input.translate, _path + ".translate", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11193
11203
|
method: "typia.assertGuard",
|
|
11194
11204
|
path: _path + ".translate",
|
|
11195
11205
|
expected: "(__type.o7 | undefined)",
|
|
@@ -11199,7 +11209,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11199
11209
|
path: _path + ".audio",
|
|
11200
11210
|
expected: "(__type.o8 | undefined)",
|
|
11201
11211
|
value: input.audio
|
|
11202
|
-
}, _errorFactory)) &&
|
|
11212
|
+
}, _errorFactory)) && _ao13(input.audio, _path + ".audio", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11203
11213
|
method: "typia.assertGuard",
|
|
11204
11214
|
path: _path + ".audio",
|
|
11205
11215
|
expected: "(__type.o8 | undefined)",
|
|
@@ -11209,9 +11219,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11209
11219
|
path: _path + ".pick",
|
|
11210
11220
|
expected: "(Array<string> | undefined)",
|
|
11211
11221
|
value: input.pick
|
|
11212
|
-
}, _errorFactory)) && input.pick.every((elem,
|
|
11222
|
+
}, _errorFactory)) && input.pick.every((elem, _index12) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11213
11223
|
method: "typia.assertGuard",
|
|
11214
|
-
path: _path + ".pick[" +
|
|
11224
|
+
path: _path + ".pick[" + _index12 + "]",
|
|
11215
11225
|
expected: "string",
|
|
11216
11226
|
value: elem
|
|
11217
11227
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11229,22 +11239,22 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11229
11239
|
path: _path + ".subtitle",
|
|
11230
11240
|
expected: "(SubtitleProfile | string | undefined)",
|
|
11231
11241
|
value: input.subtitle
|
|
11232
|
-
}, _errorFactory)) &&
|
|
11242
|
+
}, _errorFactory)) && _ao14(input.subtitle, _path + ".subtitle", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11233
11243
|
method: "typia.assertGuard",
|
|
11234
11244
|
path: _path + ".subtitle",
|
|
11235
11245
|
expected: "(SubtitleProfile | string | undefined)",
|
|
11236
11246
|
value: input.subtitle
|
|
11237
|
-
}, _errorFactory))); const
|
|
11247
|
+
}, _errorFactory))); const _ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11238
11248
|
method: "typia.assertGuard",
|
|
11239
11249
|
path: _path + ".engine",
|
|
11240
11250
|
expected: "string",
|
|
11241
11251
|
value: input.engine
|
|
11242
|
-
}, _errorFactory); const
|
|
11252
|
+
}, _errorFactory); const _ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11243
11253
|
method: "typia.assertGuard",
|
|
11244
11254
|
path: _path + ".language",
|
|
11245
11255
|
expected: "string",
|
|
11246
11256
|
value: input.language
|
|
11247
|
-
}, _errorFactory); const
|
|
11257
|
+
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11248
11258
|
method: "typia.assertGuard",
|
|
11249
11259
|
path: _path + ".codec",
|
|
11250
11260
|
expected: "(string | undefined)",
|
|
@@ -11264,7 +11274,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11264
11274
|
path: _path + ".split",
|
|
11265
11275
|
expected: "(boolean | undefined)",
|
|
11266
11276
|
value: input.split
|
|
11267
|
-
}, _errorFactory)); const
|
|
11277
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11268
11278
|
method: "typia.assertGuard",
|
|
11269
11279
|
path: _path + ".lang",
|
|
11270
11280
|
expected: "(string | undefined)",
|
|
@@ -11274,12 +11284,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11274
11284
|
path: _path + ".style",
|
|
11275
11285
|
expected: "(string | undefined)",
|
|
11276
11286
|
value: input.style
|
|
11277
|
-
}, _errorFactory)); const
|
|
11287
|
+
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => "string" === typeof input.method || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11278
11288
|
method: "typia.assertGuard",
|
|
11279
11289
|
path: _path + ".method",
|
|
11280
11290
|
expected: "string",
|
|
11281
11291
|
value: input.method
|
|
11282
|
-
}, _errorFactory); const
|
|
11292
|
+
}, _errorFactory); const _ao16 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11283
11293
|
method: "typia.assertGuard",
|
|
11284
11294
|
path: _path + ".level",
|
|
11285
11295
|
expected: "number",
|
|
@@ -11294,10 +11304,70 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11294
11304
|
path: _path + ".msg",
|
|
11295
11305
|
expected: "string",
|
|
11296
11306
|
value: input.msg
|
|
11297
|
-
}, _errorFactory)); const
|
|
11307
|
+
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => (undefined === input.type || "facebook" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11298
11308
|
method: "typia.assertGuard",
|
|
11299
11309
|
path: _path + ".type",
|
|
11300
|
-
expected: "\"
|
|
11310
|
+
expected: "(\"facebook\" | undefined)",
|
|
11311
|
+
value: input.type
|
|
11312
|
+
}, _errorFactory)) && (undefined === input.pageId || "string" === typeof input.pageId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11313
|
+
method: "typia.assertGuard",
|
|
11314
|
+
path: _path + ".pageId",
|
|
11315
|
+
expected: "(string | undefined)",
|
|
11316
|
+
value: input.pageId
|
|
11317
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11318
|
+
method: "typia.assertGuard",
|
|
11319
|
+
path: _path + ".asset",
|
|
11320
|
+
expected: "(null | string | undefined)",
|
|
11321
|
+
value: input.asset
|
|
11322
|
+
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11323
|
+
method: "typia.assertGuard",
|
|
11324
|
+
path: _path + ".connection",
|
|
11325
|
+
expected: "(string | undefined)",
|
|
11326
|
+
value: input.connection
|
|
11327
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11328
|
+
method: "typia.assertGuard",
|
|
11329
|
+
path: _path + ".render",
|
|
11330
|
+
expected: "(PublishRenderBase | undefined)",
|
|
11331
|
+
value: input.render
|
|
11332
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11333
|
+
method: "typia.assertGuard",
|
|
11334
|
+
path: _path + ".render",
|
|
11335
|
+
expected: "(PublishRenderBase | undefined)",
|
|
11336
|
+
value: input.render
|
|
11337
|
+
}, _errorFactory)) && true && true && true && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11338
|
+
method: "typia.assertGuard",
|
|
11339
|
+
path: _path + ".error",
|
|
11340
|
+
expected: "(__type.o9 | null | undefined)",
|
|
11341
|
+
value: input.error
|
|
11342
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11343
|
+
method: "typia.assertGuard",
|
|
11344
|
+
path: _path + ".error",
|
|
11345
|
+
expected: "(__type.o9 | null | undefined)",
|
|
11346
|
+
value: input.error
|
|
11347
|
+
}, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11348
|
+
method: "typia.assertGuard",
|
|
11349
|
+
path: _path + ".messages",
|
|
11350
|
+
expected: "(Array<Message> | undefined)",
|
|
11351
|
+
value: input.messages
|
|
11352
|
+
}, _errorFactory)) && input.messages.every((elem, _index13) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11353
|
+
method: "typia.assertGuard",
|
|
11354
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
11355
|
+
expected: "Message",
|
|
11356
|
+
value: elem
|
|
11357
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11358
|
+
method: "typia.assertGuard",
|
|
11359
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
11360
|
+
expected: "Message",
|
|
11361
|
+
value: elem
|
|
11362
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11363
|
+
method: "typia.assertGuard",
|
|
11364
|
+
path: _path + ".messages",
|
|
11365
|
+
expected: "(Array<Message> | undefined)",
|
|
11366
|
+
value: input.messages
|
|
11367
|
+
}, _errorFactory)); const _ao18 = (input, _path, _exceptionable = true) => (undefined === input.type || "file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11368
|
+
method: "typia.assertGuard",
|
|
11369
|
+
path: _path + ".type",
|
|
11370
|
+
expected: "(\"file\" | undefined)",
|
|
11301
11371
|
value: input.type
|
|
11302
11372
|
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11303
11373
|
method: "typia.assertGuard",
|
|
@@ -11364,7 +11434,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11364
11434
|
path: _path + ".render",
|
|
11365
11435
|
expected: "(PublishRenderBase | undefined)",
|
|
11366
11436
|
value: input.render
|
|
11367
|
-
}, _errorFactory)) &&
|
|
11437
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11368
11438
|
method: "typia.assertGuard",
|
|
11369
11439
|
path: _path + ".render",
|
|
11370
11440
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -11374,7 +11444,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11374
11444
|
path: _path + ".error",
|
|
11375
11445
|
expected: "(__type.o9 | null | undefined)",
|
|
11376
11446
|
value: input.error
|
|
11377
|
-
}, _errorFactory)) &&
|
|
11447
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11378
11448
|
method: "typia.assertGuard",
|
|
11379
11449
|
path: _path + ".error",
|
|
11380
11450
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -11384,14 +11454,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11384
11454
|
path: _path + ".messages",
|
|
11385
11455
|
expected: "(Array<Message> | undefined)",
|
|
11386
11456
|
value: input.messages
|
|
11387
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11457
|
+
}, _errorFactory)) && input.messages.every((elem, _index14) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11388
11458
|
method: "typia.assertGuard",
|
|
11389
|
-
path: _path + ".messages[" +
|
|
11459
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
11390
11460
|
expected: "Message",
|
|
11391
11461
|
value: elem
|
|
11392
|
-
}, _errorFactory)) &&
|
|
11462
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11393
11463
|
method: "typia.assertGuard",
|
|
11394
|
-
path: _path + ".messages[" +
|
|
11464
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
11395
11465
|
expected: "Message",
|
|
11396
11466
|
value: elem
|
|
11397
11467
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11459,7 +11529,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11459
11529
|
path: _path + ".scene",
|
|
11460
11530
|
expected: "(RenderSceneObject | undefined)",
|
|
11461
11531
|
value: input.scene
|
|
11462
|
-
}, _errorFactory)) &&
|
|
11532
|
+
}, _errorFactory)) && _ao2(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11463
11533
|
method: "typia.assertGuard",
|
|
11464
11534
|
path: _path + ".scene",
|
|
11465
11535
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -11469,7 +11539,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11469
11539
|
path: _path + ".profile",
|
|
11470
11540
|
expected: "(RenderProfileObject | undefined)",
|
|
11471
11541
|
value: input.profile
|
|
11472
|
-
}, _errorFactory)) &&
|
|
11542
|
+
}, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11473
11543
|
method: "typia.assertGuard",
|
|
11474
11544
|
path: _path + ".profile",
|
|
11475
11545
|
expected: "(RenderProfileObject | undefined)",
|
|
@@ -11494,7 +11564,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11494
11564
|
path: _path + ".__returnValue",
|
|
11495
11565
|
expected: "ResolvedFilePublishRender",
|
|
11496
11566
|
value: input.__returnValue
|
|
11497
|
-
}, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11567
|
+
}, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11498
11568
|
method: "typia.assertGuard",
|
|
11499
11569
|
path: _path + ".publish",
|
|
11500
11570
|
expected: "FilePublishRecord",
|
|
@@ -11569,14 +11639,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11569
11639
|
path: _path + ".messages",
|
|
11570
11640
|
expected: "(Array<Message> | undefined)",
|
|
11571
11641
|
value: input.messages
|
|
11572
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11642
|
+
}, _errorFactory)) && input.messages.every((elem, _index15) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11573
11643
|
method: "typia.assertGuard",
|
|
11574
|
-
path: _path + ".messages[" +
|
|
11644
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
11575
11645
|
expected: "Message",
|
|
11576
11646
|
value: elem
|
|
11577
|
-
}, _errorFactory)) &&
|
|
11647
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11578
11648
|
method: "typia.assertGuard",
|
|
11579
|
-
path: _path + ".messages[" +
|
|
11649
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
11580
11650
|
expected: "Message",
|
|
11581
11651
|
value: elem
|
|
11582
11652
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11609,10 +11679,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11609
11679
|
path: _path + ".filename",
|
|
11610
11680
|
expected: "string",
|
|
11611
11681
|
value: input.filename
|
|
11612
|
-
}, _errorFactory)); const _ao28 = (input, _path, _exceptionable = true) => ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11682
|
+
}, _errorFactory)); const _ao28 = (input, _path, _exceptionable = true) => (undefined === input.type || "file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11613
11683
|
method: "typia.assertGuard",
|
|
11614
11684
|
path: _path + ".type",
|
|
11615
|
-
expected: "\"file\"",
|
|
11685
|
+
expected: "(\"file\" | undefined)",
|
|
11616
11686
|
value: input.type
|
|
11617
11687
|
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11618
11688
|
method: "typia.assertGuard",
|
|
@@ -11679,7 +11749,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11679
11749
|
path: _path + ".render",
|
|
11680
11750
|
expected: "(PublishRenderBase | undefined)",
|
|
11681
11751
|
value: input.render
|
|
11682
|
-
}, _errorFactory)) &&
|
|
11752
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11683
11753
|
method: "typia.assertGuard",
|
|
11684
11754
|
path: _path + ".render",
|
|
11685
11755
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -11689,7 +11759,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11689
11759
|
path: _path + ".error",
|
|
11690
11760
|
expected: "(__type.o9 | null | undefined)",
|
|
11691
11761
|
value: input.error
|
|
11692
|
-
}, _errorFactory)) &&
|
|
11762
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11693
11763
|
method: "typia.assertGuard",
|
|
11694
11764
|
path: _path + ".error",
|
|
11695
11765
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -11699,14 +11769,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11699
11769
|
path: _path + ".messages",
|
|
11700
11770
|
expected: "(Array<Message> | undefined)",
|
|
11701
11771
|
value: input.messages
|
|
11702
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11772
|
+
}, _errorFactory)) && input.messages.every((elem, _index16) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11703
11773
|
method: "typia.assertGuard",
|
|
11704
|
-
path: _path + ".messages[" +
|
|
11774
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11705
11775
|
expected: "Message",
|
|
11706
11776
|
value: elem
|
|
11707
|
-
}, _errorFactory)) &&
|
|
11777
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11708
11778
|
method: "typia.assertGuard",
|
|
11709
|
-
path: _path + ".messages[" +
|
|
11779
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11710
11780
|
expected: "Message",
|
|
11711
11781
|
value: elem
|
|
11712
11782
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11771,10 +11841,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11771
11841
|
path: _path + ".path",
|
|
11772
11842
|
expected: "string",
|
|
11773
11843
|
value: input.path
|
|
11774
|
-
}, _errorFactory); const _ao32 = (input, _path, _exceptionable = true) => ("youtube" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11844
|
+
}, _errorFactory); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.type || "youtube" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11775
11845
|
method: "typia.assertGuard",
|
|
11776
11846
|
path: _path + ".type",
|
|
11777
|
-
expected: "\"youtube\"",
|
|
11847
|
+
expected: "(\"youtube\" | undefined)",
|
|
11778
11848
|
value: input.type
|
|
11779
11849
|
}, _errorFactory)) && (undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11780
11850
|
method: "typia.assertGuard",
|
|
@@ -11801,7 +11871,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11801
11871
|
path: _path + ".render",
|
|
11802
11872
|
expected: "(PublishRenderBase | undefined)",
|
|
11803
11873
|
value: input.render
|
|
11804
|
-
}, _errorFactory)) &&
|
|
11874
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11805
11875
|
method: "typia.assertGuard",
|
|
11806
11876
|
path: _path + ".render",
|
|
11807
11877
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -11811,7 +11881,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11811
11881
|
path: _path + ".error",
|
|
11812
11882
|
expected: "(__type.o9 | null | undefined)",
|
|
11813
11883
|
value: input.error
|
|
11814
|
-
}, _errorFactory)) &&
|
|
11884
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11815
11885
|
method: "typia.assertGuard",
|
|
11816
11886
|
path: _path + ".error",
|
|
11817
11887
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -11821,14 +11891,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11821
11891
|
path: _path + ".messages",
|
|
11822
11892
|
expected: "(Array<Message> | undefined)",
|
|
11823
11893
|
value: input.messages
|
|
11824
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11894
|
+
}, _errorFactory)) && input.messages.every((elem, _index17) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11825
11895
|
method: "typia.assertGuard",
|
|
11826
|
-
path: _path + ".messages[" +
|
|
11896
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11827
11897
|
expected: "Message",
|
|
11828
11898
|
value: elem
|
|
11829
|
-
}, _errorFactory)) &&
|
|
11899
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11830
11900
|
method: "typia.assertGuard",
|
|
11831
|
-
path: _path + ".messages[" +
|
|
11901
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11832
11902
|
expected: "Message",
|
|
11833
11903
|
value: elem
|
|
11834
11904
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11856,9 +11926,9 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11856
11926
|
path: _path + ".tags",
|
|
11857
11927
|
expected: "(Array<string> | undefined)",
|
|
11858
11928
|
value: input.tags
|
|
11859
|
-
}, _errorFactory)) && input.tags.every((elem,
|
|
11929
|
+
}, _errorFactory)) && input.tags.every((elem, _index18) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11860
11930
|
method: "typia.assertGuard",
|
|
11861
|
-
path: _path + ".tags[" +
|
|
11931
|
+
path: _path + ".tags[" + _index18 + "]",
|
|
11862
11932
|
expected: "string",
|
|
11863
11933
|
value: elem
|
|
11864
11934
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11883,24 +11953,15 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11883
11953
|
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
11884
11954
|
value: input
|
|
11885
11955
|
}, _errorFactory);
|
|
11886
|
-
})(); const _au1 = (input, _path, _exceptionable = true) => (()
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
return _ao32(input, _path, true && _exceptionable);
|
|
11893
|
-
else
|
|
11894
|
-
return _ao28(input, _path, false && _exceptionable) || _ao18(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11895
|
-
method: "typia.assertGuard",
|
|
11896
|
-
path: _path,
|
|
11897
|
-
expected: "(FilePublishRecordLegacy | FilePublishRecord)",
|
|
11898
|
-
value: input
|
|
11899
|
-
}, _errorFactory);
|
|
11900
|
-
})(); const __is = input => "object" === typeof input && null !== input && _iu1(input); let _errorFactory; return (input, errorFactory) => {
|
|
11956
|
+
})(); 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, {
|
|
11957
|
+
method: "typia.assertGuard",
|
|
11958
|
+
path: _path,
|
|
11959
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecordLegacy | FilePublishRecord | YoutubePublishRecord)",
|
|
11960
|
+
value: input
|
|
11961
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let _errorFactory; return (input, errorFactory) => {
|
|
11901
11962
|
if (false === __is(input)) {
|
|
11902
11963
|
_errorFactory = errorFactory;
|
|
11903
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
11964
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
11904
11965
|
method: "typia.assertGuard",
|
|
11905
11966
|
path: _path + "",
|
|
11906
11967
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
@@ -11930,7 +11991,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11930
11991
|
if (undefined === value)
|
|
11931
11992
|
return true;
|
|
11932
11993
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
11933
|
-
}); 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 => {
|
|
11994
|
+
}); 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 => {
|
|
11934
11995
|
const value = input[key];
|
|
11935
11996
|
if (undefined === value)
|
|
11936
11997
|
return true;
|
|
@@ -12620,7 +12681,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12620
12681
|
path: _path + ".__returnValue",
|
|
12621
12682
|
expected: "ResolvedFilePublishRender",
|
|
12622
12683
|
value: input.__returnValue
|
|
12623
|
-
}, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12684
|
+
}, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12624
12685
|
method: "typia.assertGuard",
|
|
12625
12686
|
path: _path + ".publish",
|
|
12626
12687
|
expected: "FilePublishRecord",
|
|
@@ -12640,10 +12701,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12640
12701
|
path: _path + ".name",
|
|
12641
12702
|
expected: "string",
|
|
12642
12703
|
value: input.name
|
|
12643
|
-
}, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12704
|
+
}, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => (undefined === input.type || "file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12644
12705
|
method: "typia.assertGuard",
|
|
12645
12706
|
path: _path + ".type",
|
|
12646
|
-
expected: "\"file\"",
|
|
12707
|
+
expected: "(\"file\" | undefined)",
|
|
12647
12708
|
value: input.type
|
|
12648
12709
|
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12649
12710
|
method: "typia.assertGuard",
|