@nxtedition/types 23.0.41 → 23.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/render-preset.d.ts +2 -2
- package/dist/common/render-profile.d.ts +3 -0
- package/dist/common/render-scene.d.ts +1 -1
- package/dist/nxtpression.d.ts +31 -6
- package/dist/records/domains/deepstream.d.ts +1 -0
- package/dist/records/domains/publish.d.ts +6 -2
- package/dist/records/domains/search.d.ts +15 -1
- package/dist/records/domains/template.d.ts +1 -0
- package/dist/records/index.d.ts +1 -0
- package/dist/records/validate/assert-guard.js +300 -93
- package/dist/records/validate/assert.js +301 -93
- package/dist/records/validate/is.js +25 -15
- package/dist/records/validate/schemas.js +395 -146
- package/dist/records/validate/stringify.js +47 -36
- package/dist/records/validate/utils.js +9 -1
- package/dist/records/validate/validate-equals.d.ts +5 -0
- package/dist/records/validate/validate-equals.js +24363 -0
- package/dist/records/validate/validate.js +267 -83
- package/package.json +1 -1
- package/dist/records/validate/utils.test.d.ts +0 -1
- package/dist/records/validate/utils.test.js +0 -35
|
@@ -1770,7 +1770,7 @@ function _assertExactRecord(name, input) {
|
|
|
1770
1770
|
}; })()(input);
|
|
1771
1771
|
}
|
|
1772
1772
|
case "media.consolidate": {
|
|
1773
|
-
return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && _io2(input.image))); const _io2 = input => "string" === typeof input.type && (null !== input.profile && undefined
|
|
1773
|
+
return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(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) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = 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 _io7 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.presets || ("object" === typeof input.presets && null !== input.presets || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1774
1774
|
method: "typia.assert",
|
|
1775
1775
|
path: _path + ".presets",
|
|
1776
1776
|
expected: "(__type | undefined)",
|
|
@@ -1790,7 +1790,7 @@ function _assertExactRecord(name, input) {
|
|
|
1790
1790
|
path: _path + ".audio",
|
|
1791
1791
|
expected: "(RenderPresetObject | string)",
|
|
1792
1792
|
value: input.audio
|
|
1793
|
-
}, _errorFactory)) && ("string" === typeof input.audio || ("object" === typeof input.audio && null !== input.audio || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1793
|
+
}, _errorFactory)) && ("string" === typeof input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1794
1794
|
method: "typia.assert",
|
|
1795
1795
|
path: _path + ".audio",
|
|
1796
1796
|
expected: "(RenderPresetObject | string)",
|
|
@@ -1810,7 +1810,7 @@ function _assertExactRecord(name, input) {
|
|
|
1810
1810
|
path: _path + ".video",
|
|
1811
1811
|
expected: "(RenderPresetObject | string)",
|
|
1812
1812
|
value: input.video
|
|
1813
|
-
}, _errorFactory)) && ("string" === typeof input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1813
|
+
}, _errorFactory)) && ("string" === typeof input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1814
1814
|
method: "typia.assert",
|
|
1815
1815
|
path: _path + ".video",
|
|
1816
1816
|
expected: "(RenderPresetObject | string)",
|
|
@@ -1830,7 +1830,7 @@ function _assertExactRecord(name, input) {
|
|
|
1830
1830
|
path: _path + ".image",
|
|
1831
1831
|
expected: "(RenderPresetObject | string)",
|
|
1832
1832
|
value: input.image
|
|
1833
|
-
}, _errorFactory)) && ("string" === typeof input.image || ("object" === typeof input.image && null !== input.image || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1833
|
+
}, _errorFactory)) && ("string" === typeof input.image || ("object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1834
1834
|
method: "typia.assert",
|
|
1835
1835
|
path: _path + ".image",
|
|
1836
1836
|
expected: "(RenderPresetObject | string)",
|
|
@@ -1840,22 +1840,17 @@ function _assertExactRecord(name, input) {
|
|
|
1840
1840
|
path: _path + ".image",
|
|
1841
1841
|
expected: "(RenderPresetObject | string)",
|
|
1842
1842
|
value: input.image
|
|
1843
|
-
}, _errorFactory))); const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1843
|
+
}, _errorFactory))); const _ao2 = (input, _path, _exceptionable = true) => (null === input.type || undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1844
1844
|
method: "typia.assert",
|
|
1845
1845
|
path: _path + ".type",
|
|
1846
|
-
expected: "string",
|
|
1846
|
+
expected: "(null | string | undefined)",
|
|
1847
1847
|
value: input.type
|
|
1848
1848
|
}, _errorFactory)) && ((null !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1849
1849
|
method: "typia.assert",
|
|
1850
1850
|
path: _path + ".profile",
|
|
1851
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
1852
|
-
value: input.profile
|
|
1853
|
-
}, _errorFactory)) && (undefined !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1854
|
-
method: "typia.assert",
|
|
1855
|
-
path: _path + ".profile",
|
|
1856
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
1851
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
1857
1852
|
value: input.profile
|
|
1858
|
-
}, _errorFactory)) && ("string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1853
|
+
}, _errorFactory)) && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1859
1854
|
method: "typia.assert",
|
|
1860
1855
|
path: _path + ".profile[" + _index3 + "]",
|
|
1861
1856
|
expected: "(RenderProfileObject | string)",
|
|
@@ -1878,12 +1873,12 @@ function _assertExactRecord(name, input) {
|
|
|
1878
1873
|
}, _errorFactory))) || "object" === typeof input.profile && null !== input.profile && _ao3(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1879
1874
|
method: "typia.assert",
|
|
1880
1875
|
path: _path + ".profile",
|
|
1881
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
1876
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
1882
1877
|
value: input.profile
|
|
1883
1878
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1884
1879
|
method: "typia.assert",
|
|
1885
1880
|
path: _path + ".profile",
|
|
1886
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
1881
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
1887
1882
|
value: input.profile
|
|
1888
1883
|
}, _errorFactory))); const _ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1889
1884
|
method: "typia.assert",
|
|
@@ -1960,12 +1955,27 @@ function _assertExactRecord(name, input) {
|
|
|
1960
1955
|
path: _path + ".language",
|
|
1961
1956
|
expected: "string",
|
|
1962
1957
|
value: input.language
|
|
1963
|
-
}, _errorFactory); const _ao6 = (input, _path, _exceptionable = true) => undefined === input.
|
|
1958
|
+
}, _errorFactory); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1959
|
+
method: "typia.assert",
|
|
1960
|
+
path: _path + ".codec",
|
|
1961
|
+
expected: "(string | undefined)",
|
|
1962
|
+
value: input.codec
|
|
1963
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1964
1964
|
method: "typia.assert",
|
|
1965
1965
|
path: _path + ".pan",
|
|
1966
1966
|
expected: "(string | undefined)",
|
|
1967
1967
|
value: input.pan
|
|
1968
|
-
}, _errorFactory)
|
|
1968
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1969
|
+
method: "typia.assert",
|
|
1970
|
+
path: _path + ".samplerate",
|
|
1971
|
+
expected: "(number | undefined)",
|
|
1972
|
+
value: input.samplerate
|
|
1973
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1974
|
+
method: "typia.assert",
|
|
1975
|
+
path: _path + ".split",
|
|
1976
|
+
expected: "(boolean | undefined)",
|
|
1977
|
+
value: input.split
|
|
1978
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1969
1979
|
method: "typia.assert",
|
|
1970
1980
|
path: _path + ".lang",
|
|
1971
1981
|
expected: "(string | undefined)",
|
|
@@ -4119,7 +4129,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
4119
4129
|
}; })()(input);
|
|
4120
4130
|
}
|
|
4121
4131
|
case ":deepstream.replicate": {
|
|
4122
|
-
return (() => { const _io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.synced || "boolean" === typeof input.synced || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4132
|
+
return (() => { const _io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.synced || "boolean" === typeof input.synced || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4123
4133
|
method: "typia.assert",
|
|
4124
4134
|
path: _path + ".synced",
|
|
4125
4135
|
expected: "(boolean | undefined)",
|
|
@@ -4129,6 +4139,11 @@ function _assertDomainRecord(domain, input) {
|
|
|
4129
4139
|
path: _path + ".since",
|
|
4130
4140
|
expected: "(0 | null | string | undefined)",
|
|
4131
4141
|
value: input.since
|
|
4142
|
+
}, _errorFactory)) && (undefined === input.version || "number" === typeof input.version || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4143
|
+
method: "typia.assert",
|
|
4144
|
+
path: _path + ".version",
|
|
4145
|
+
expected: "(number | undefined)",
|
|
4146
|
+
value: input.version
|
|
4132
4147
|
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
4133
4148
|
if (false === __is(input)) {
|
|
4134
4149
|
_errorFactory = errorFactory;
|
|
@@ -5673,7 +5688,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
5673
5688
|
}; })()(input);
|
|
5674
5689
|
}
|
|
5675
5690
|
case ":media.source": {
|
|
5676
|
-
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io2(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(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) && _io7(input.transcribe)); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io2 = input => Object.keys(input).every(key => {
|
|
5691
|
+
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io2(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(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) && _io7(input.transcribe)); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io2 = input => Object.keys(input).every(key => {
|
|
5677
5692
|
const value = input[key];
|
|
5678
5693
|
if (undefined === value)
|
|
5679
5694
|
return true;
|
|
@@ -5688,15 +5703,15 @@ function _assertDomainRecord(domain, input) {
|
|
|
5688
5703
|
path: _path + ".preset",
|
|
5689
5704
|
expected: "(string | undefined)",
|
|
5690
5705
|
value: input.preset
|
|
5691
|
-
}, _errorFactory)) && (undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5706
|
+
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5692
5707
|
method: "typia.assert",
|
|
5693
5708
|
path: _path + ".input",
|
|
5694
|
-
expected: "(__type | undefined)",
|
|
5709
|
+
expected: "(__type | null | undefined)",
|
|
5695
5710
|
value: input.input
|
|
5696
5711
|
}, _errorFactory)) && _ao1(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5697
5712
|
method: "typia.assert",
|
|
5698
5713
|
path: _path + ".input",
|
|
5699
|
-
expected: "(__type | undefined)",
|
|
5714
|
+
expected: "(__type | null | undefined)",
|
|
5700
5715
|
value: input.input
|
|
5701
5716
|
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5702
5717
|
method: "typia.assert",
|
|
@@ -5972,12 +5987,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
5972
5987
|
}; })()(input);
|
|
5973
5988
|
}
|
|
5974
5989
|
case ":media.consolidate": {
|
|
5975
|
-
return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && _io1(input.preset))) && true; const _io1 = input => "string" === typeof input.type && (null !== input.profile && undefined
|
|
5990
|
+
return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) && _io1(input.preset))) && true; const _io1 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io2(elem))) || "object" === typeof input.profile && null !== input.profile && _io2(input.profile)))); const _io2 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io3(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io4(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io5(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io6(input.subtitle))); const _io3 = input => "string" === typeof input.engine; const _io4 = input => "string" === typeof input.language; const _io5 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io6 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _ao0 = (input, _path, _exceptionable = true) => true && true && ((null !== input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5976
5991
|
method: "typia.assert",
|
|
5977
5992
|
path: _path + ".preset",
|
|
5978
5993
|
expected: "(RenderPresetObject | string | undefined)",
|
|
5979
5994
|
value: input.preset
|
|
5980
|
-
}, _errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || ("object" === typeof input.preset && null !== input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5995
|
+
}, _errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || ("object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5981
5996
|
method: "typia.assert",
|
|
5982
5997
|
path: _path + ".preset",
|
|
5983
5998
|
expected: "(RenderPresetObject | string | undefined)",
|
|
@@ -5987,22 +6002,17 @@ function _assertDomainRecord(domain, input) {
|
|
|
5987
6002
|
path: _path + ".preset",
|
|
5988
6003
|
expected: "(RenderPresetObject | string | undefined)",
|
|
5989
6004
|
value: input.preset
|
|
5990
|
-
}, _errorFactory))) && true; const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6005
|
+
}, _errorFactory))) && true; const _ao1 = (input, _path, _exceptionable = true) => (null === input.type || undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5991
6006
|
method: "typia.assert",
|
|
5992
6007
|
path: _path + ".type",
|
|
5993
|
-
expected: "string",
|
|
6008
|
+
expected: "(null | string | undefined)",
|
|
5994
6009
|
value: input.type
|
|
5995
6010
|
}, _errorFactory)) && ((null !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5996
6011
|
method: "typia.assert",
|
|
5997
6012
|
path: _path + ".profile",
|
|
5998
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
6013
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
5999
6014
|
value: input.profile
|
|
6000
|
-
}, _errorFactory)) && (undefined
|
|
6001
|
-
method: "typia.assert",
|
|
6002
|
-
path: _path + ".profile",
|
|
6003
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
6004
|
-
value: input.profile
|
|
6005
|
-
}, _errorFactory)) && ("string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6015
|
+
}, _errorFactory)) && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6006
6016
|
method: "typia.assert",
|
|
6007
6017
|
path: _path + ".profile[" + _index3 + "]",
|
|
6008
6018
|
expected: "(RenderProfileObject | string)",
|
|
@@ -6025,12 +6035,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
6025
6035
|
}, _errorFactory))) || "object" === typeof input.profile && null !== input.profile && _ao2(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6026
6036
|
method: "typia.assert",
|
|
6027
6037
|
path: _path + ".profile",
|
|
6028
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
6038
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
6029
6039
|
value: input.profile
|
|
6030
6040
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6031
6041
|
method: "typia.assert",
|
|
6032
6042
|
path: _path + ".profile",
|
|
6033
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
6043
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
6034
6044
|
value: input.profile
|
|
6035
6045
|
}, _errorFactory))); const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6036
6046
|
method: "typia.assert",
|
|
@@ -6107,12 +6117,27 @@ function _assertDomainRecord(domain, input) {
|
|
|
6107
6117
|
path: _path + ".language",
|
|
6108
6118
|
expected: "string",
|
|
6109
6119
|
value: input.language
|
|
6110
|
-
}, _errorFactory); const _ao5 = (input, _path, _exceptionable = true) => undefined === input.
|
|
6120
|
+
}, _errorFactory); const _ao5 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6121
|
+
method: "typia.assert",
|
|
6122
|
+
path: _path + ".codec",
|
|
6123
|
+
expected: "(string | undefined)",
|
|
6124
|
+
value: input.codec
|
|
6125
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6111
6126
|
method: "typia.assert",
|
|
6112
6127
|
path: _path + ".pan",
|
|
6113
6128
|
expected: "(string | undefined)",
|
|
6114
6129
|
value: input.pan
|
|
6115
|
-
}, _errorFactory)
|
|
6130
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6131
|
+
method: "typia.assert",
|
|
6132
|
+
path: _path + ".samplerate",
|
|
6133
|
+
expected: "(number | undefined)",
|
|
6134
|
+
value: input.samplerate
|
|
6135
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6136
|
+
method: "typia.assert",
|
|
6137
|
+
path: _path + ".split",
|
|
6138
|
+
expected: "(boolean | undefined)",
|
|
6139
|
+
value: input.split
|
|
6140
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6116
6141
|
method: "typia.assert",
|
|
6117
6142
|
path: _path + ".lang",
|
|
6118
6143
|
expected: "(string | undefined)",
|
|
@@ -8451,17 +8476,17 @@ function _assertDomainRecord(domain, input) {
|
|
|
8451
8476
|
}; })()(input);
|
|
8452
8477
|
}
|
|
8453
8478
|
case ":publish": {
|
|
8454
|
-
return (() => { const _io0 = input => (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io1(input.draft)) && "youtube" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io17(input.published)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io17(input.remote)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io1 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io2(input.snippet); const _io2 = 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 _io3 = 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) && _io4(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io12(input.profile)); const _io4 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io5(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) && _io6(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io9(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) && _io11(input.transcribe)); const _io5 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io6 = input => Object.keys(input).every(key => {
|
|
8479
|
+
return (() => { const _io0 = input => (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io1(input.draft)) && "youtube" === 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 && _io3(input.render)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io17(input.published)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io17(input.remote)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io1 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io2(input.snippet); const _io2 = 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 _io3 = 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) && _io4(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io12(input.profile)); const _io4 = 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) && _io5(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) && _io6(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io9(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) && _io11(input.transcribe)); const _io5 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io6 = input => Object.keys(input).every(key => {
|
|
8455
8480
|
const value = input[key];
|
|
8456
8481
|
if (undefined === value)
|
|
8457
8482
|
return true;
|
|
8458
8483
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
8459
|
-
}); const _io7 = 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) && _io8(input.styleOverrides)); const _io8 = 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 _io9 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io10(input.crop); const _io10 = 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 _io11 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io12 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io13(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io14(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(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) && _io16(input.subtitle))); const _io13 = input => "string" === typeof input.engine; const _io14 = input => "string" === typeof input.language; const _io15 = input => undefined === input.pan || "string" === typeof input.pan; const _io16 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io17 = input => Object.keys(input).every(key => {
|
|
8484
|
+
}); const _io7 = 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) && _io8(input.styleOverrides)); const _io8 = 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 _io9 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io10(input.crop); const _io10 = 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 _io11 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io12 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io13(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io14(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(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) && _io16(input.subtitle))); const _io13 = input => "string" === typeof input.engine; const _io14 = input => "string" === typeof input.language; const _io15 = 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 _io16 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io17 = input => Object.keys(input).every(key => {
|
|
8460
8485
|
const value = input[key];
|
|
8461
8486
|
if (undefined === value)
|
|
8462
8487
|
return true;
|
|
8463
8488
|
return true;
|
|
8464
|
-
}); const _io18 = input => "string" === typeof input.method; const _io19 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io20 = input => (undefined === input.pageId || "string" === typeof input.pageId) && "facebook" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io17(input.draft)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io17(input.published)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io17(input.remote)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io21 = 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) && _io22(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)) && "file" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io22 = input => Object.keys(input).every(key => {
|
|
8489
|
+
}); const _io18 = input => "string" === typeof input.method; const _io19 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io20 = input => (undefined === input.pageId || "string" === typeof input.pageId) && "facebook" === 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 && _io3(input.render)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io17(input.draft)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io17(input.published)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io17(input.remote)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io21 = 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) && _io22(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)) && "file" === 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 && _io3(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io22 = input => Object.keys(input).every(key => {
|
|
8465
8490
|
const value = input[key];
|
|
8466
8491
|
if (undefined === value)
|
|
8467
8492
|
return true;
|
|
@@ -8492,14 +8517,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
8492
8517
|
if (undefined === value)
|
|
8493
8518
|
return true;
|
|
8494
8519
|
return true;
|
|
8495
|
-
}); const _io31 = input => (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) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null !== input.renders && undefined === input.renders) && "file" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io32 = 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 && _io33(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io34(input.metafile)) && Object.keys(input).every(key => {
|
|
8520
|
+
}); const _io31 = input => (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) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null !== input.renders && undefined === input.renders) && "file" === 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 && _io3(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io18(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io32 = 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 && _io33(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io34(input.metafile)) && Object.keys(input).every(key => {
|
|
8496
8521
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
8497
8522
|
return true;
|
|
8498
8523
|
const value = input[key];
|
|
8499
8524
|
if (undefined === value)
|
|
8500
8525
|
return true;
|
|
8501
8526
|
return true;
|
|
8502
|
-
}); const _io33 = input => "string" === typeof input.path; const _io34 = input => "string" === typeof input.path; const _iu0 = input => (() => {
|
|
8527
|
+
}); const _io33 = input => "string" === typeof input.path; const _io34 = input => "string" === typeof input.path; const _io35 = input => undefined !== input.type && null === input.type && (null === input.asset || undefined === input.asset || "string" === typeof input.asset); const _iu0 = input => (() => {
|
|
8503
8528
|
if (undefined !== input.path)
|
|
8504
8529
|
return _io23(input);
|
|
8505
8530
|
else if (undefined !== input.__context)
|
|
@@ -8511,6 +8536,8 @@ function _assertDomainRecord(domain, input) {
|
|
|
8511
8536
|
return _io0(input);
|
|
8512
8537
|
else if ("facebook" === input.type)
|
|
8513
8538
|
return _io20(input);
|
|
8539
|
+
else if (undefined !== input.type && null === input.type)
|
|
8540
|
+
return _io35(input);
|
|
8514
8541
|
else
|
|
8515
8542
|
return (() => {
|
|
8516
8543
|
if (_io31(input))
|
|
@@ -8534,10 +8561,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
8534
8561
|
path: _path + ".type",
|
|
8535
8562
|
expected: "\"youtube\"",
|
|
8536
8563
|
value: input.type
|
|
8537
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8564
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8538
8565
|
method: "typia.assert",
|
|
8539
8566
|
path: _path + ".asset",
|
|
8540
|
-
expected: "(string | undefined)",
|
|
8567
|
+
expected: "(null | string | undefined)",
|
|
8541
8568
|
value: input.asset
|
|
8542
8569
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8543
8570
|
method: "typia.assert",
|
|
@@ -8679,15 +8706,15 @@ function _assertDomainRecord(domain, input) {
|
|
|
8679
8706
|
path: _path + ".preset",
|
|
8680
8707
|
expected: "(string | undefined)",
|
|
8681
8708
|
value: input.preset
|
|
8682
|
-
}, _errorFactory)) && (undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8709
|
+
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8683
8710
|
method: "typia.assert",
|
|
8684
8711
|
path: _path + ".input",
|
|
8685
|
-
expected: "(__type.o2 | undefined)",
|
|
8712
|
+
expected: "(__type.o2 | null | undefined)",
|
|
8686
8713
|
value: input.input
|
|
8687
8714
|
}, _errorFactory)) && _ao5(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8688
8715
|
method: "typia.assert",
|
|
8689
8716
|
path: _path + ".input",
|
|
8690
|
-
expected: "(__type.o2 | undefined)",
|
|
8717
|
+
expected: "(__type.o2 | null | undefined)",
|
|
8691
8718
|
value: input.input
|
|
8692
8719
|
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8693
8720
|
method: "typia.assert",
|
|
@@ -9019,12 +9046,27 @@ function _assertDomainRecord(domain, input) {
|
|
|
9019
9046
|
path: _path + ".language",
|
|
9020
9047
|
expected: "string",
|
|
9021
9048
|
value: input.language
|
|
9022
|
-
}, _errorFactory); const _ao15 = (input, _path, _exceptionable = true) => undefined === input.
|
|
9049
|
+
}, _errorFactory); const _ao15 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9050
|
+
method: "typia.assert",
|
|
9051
|
+
path: _path + ".codec",
|
|
9052
|
+
expected: "(string | undefined)",
|
|
9053
|
+
value: input.codec
|
|
9054
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9023
9055
|
method: "typia.assert",
|
|
9024
9056
|
path: _path + ".pan",
|
|
9025
9057
|
expected: "(string | undefined)",
|
|
9026
9058
|
value: input.pan
|
|
9027
|
-
}, _errorFactory)
|
|
9059
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9060
|
+
method: "typia.assert",
|
|
9061
|
+
path: _path + ".samplerate",
|
|
9062
|
+
expected: "(number | undefined)",
|
|
9063
|
+
value: input.samplerate
|
|
9064
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9065
|
+
method: "typia.assert",
|
|
9066
|
+
path: _path + ".split",
|
|
9067
|
+
expected: "(boolean | undefined)",
|
|
9068
|
+
value: input.split
|
|
9069
|
+
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9028
9070
|
method: "typia.assert",
|
|
9029
9071
|
path: _path + ".lang",
|
|
9030
9072
|
expected: "(string | undefined)",
|
|
@@ -9069,10 +9111,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
9069
9111
|
path: _path + ".type",
|
|
9070
9112
|
expected: "\"facebook\"",
|
|
9071
9113
|
value: input.type
|
|
9072
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9114
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9073
9115
|
method: "typia.assert",
|
|
9074
9116
|
path: _path + ".asset",
|
|
9075
|
-
expected: "(string | undefined)",
|
|
9117
|
+
expected: "(null | string | undefined)",
|
|
9076
9118
|
value: input.asset
|
|
9077
9119
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9078
9120
|
method: "typia.assert",
|
|
@@ -9204,10 +9246,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
9204
9246
|
path: _path + ".type",
|
|
9205
9247
|
expected: "\"file\"",
|
|
9206
9248
|
value: input.type
|
|
9207
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9249
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9208
9250
|
method: "typia.assert",
|
|
9209
9251
|
path: _path + ".asset",
|
|
9210
|
-
expected: "(string | undefined)",
|
|
9252
|
+
expected: "(null | string | undefined)",
|
|
9211
9253
|
value: input.asset
|
|
9212
9254
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9213
9255
|
method: "typia.assert",
|
|
@@ -9540,10 +9582,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
9540
9582
|
path: _path + ".type",
|
|
9541
9583
|
expected: "\"file\"",
|
|
9542
9584
|
value: input.type
|
|
9543
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9585
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9544
9586
|
method: "typia.assert",
|
|
9545
9587
|
path: _path + ".asset",
|
|
9546
|
-
expected: "(string | undefined)",
|
|
9588
|
+
expected: "(null | string | undefined)",
|
|
9547
9589
|
value: input.asset
|
|
9548
9590
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9549
9591
|
method: "typia.assert",
|
|
@@ -9647,7 +9689,22 @@ function _assertDomainRecord(domain, input) {
|
|
|
9647
9689
|
path: _path + ".path",
|
|
9648
9690
|
expected: "string",
|
|
9649
9691
|
value: input.path
|
|
9650
|
-
}, _errorFactory); const
|
|
9692
|
+
}, _errorFactory); const _ao35 = (input, _path, _exceptionable = true) => (undefined !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9693
|
+
method: "typia.assert",
|
|
9694
|
+
path: _path + ".type",
|
|
9695
|
+
expected: "null",
|
|
9696
|
+
value: input.type
|
|
9697
|
+
}, _errorFactory)) && (null === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9698
|
+
method: "typia.assert",
|
|
9699
|
+
path: _path + ".type",
|
|
9700
|
+
expected: "null",
|
|
9701
|
+
value: input.type
|
|
9702
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9703
|
+
method: "typia.assert",
|
|
9704
|
+
path: _path + ".asset",
|
|
9705
|
+
expected: "(null | string | undefined)",
|
|
9706
|
+
value: input.asset
|
|
9707
|
+
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
9651
9708
|
if (undefined !== input.path)
|
|
9652
9709
|
return _ao23(input, _path, true && _exceptionable);
|
|
9653
9710
|
else if (undefined !== input.__context)
|
|
@@ -9664,6 +9721,8 @@ function _assertDomainRecord(domain, input) {
|
|
|
9664
9721
|
return _ao0(input, _path, true && _exceptionable);
|
|
9665
9722
|
else if ("facebook" === input.type)
|
|
9666
9723
|
return _ao20(input, _path, true && _exceptionable);
|
|
9724
|
+
else if (undefined !== input.type && null === input.type)
|
|
9725
|
+
return _ao35(input, _path, true && _exceptionable);
|
|
9667
9726
|
else
|
|
9668
9727
|
return _ao31(input, _path, false && _exceptionable) || _ao21(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9669
9728
|
method: "typia.assert",
|
|
@@ -9677,12 +9736,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
9677
9736
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
9678
9737
|
method: "typia.assert",
|
|
9679
9738
|
path: _path + "",
|
|
9680
|
-
expected: "(FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
9739
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
9681
9740
|
value: input
|
|
9682
9741
|
}, _errorFactory)) && _au1(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9683
9742
|
method: "typia.assert",
|
|
9684
9743
|
path: _path + "",
|
|
9685
|
-
expected: "(FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
9744
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
9686
9745
|
value: input
|
|
9687
9746
|
}, _errorFactory))(input, "$input", true);
|
|
9688
9747
|
}
|
|
@@ -9719,12 +9778,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
9719
9778
|
if (undefined === value)
|
|
9720
9779
|
return true;
|
|
9721
9780
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
9722
|
-
}); const _io10 = input => (undefined === input.preset || "string" === typeof input.preset) && (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) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io11(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io19(input.profile)); const _io11 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io12(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) && _io13(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(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) && _io18(input.transcribe)); const _io12 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io13 = input => Object.keys(input).every(key => {
|
|
9781
|
+
}); const _io10 = input => (undefined === input.preset || "string" === typeof input.preset) && (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) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io11(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io19(input.profile)); const _io11 = 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) && _io12(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) && _io13(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(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) && _io18(input.transcribe)); const _io12 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io13 = input => Object.keys(input).every(key => {
|
|
9723
9782
|
const value = input[key];
|
|
9724
9783
|
if (undefined === value)
|
|
9725
9784
|
return true;
|
|
9726
9785
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io14(value);
|
|
9727
|
-
}); const _io14 = 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) && _io15(input.styleOverrides)); const _io15 = 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 _io16 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io17(input.crop); const _io17 = 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 _io18 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io19 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io20(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io21(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(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) && _io23(input.subtitle))); const _io20 = input => "string" === typeof input.engine; const _io21 = input => "string" === typeof input.language; const _io22 = input => undefined === input.pan || "string" === typeof input.pan; const _io23 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io24 = input => "object" === typeof input.__context && null !== input.__context && _io25(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io10(input.__returnValue)); const _io25 = input => "object" === typeof input.publish && null !== input.publish && _io26(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io26 = 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) && _io9(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io27(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io28(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io31(input.published)) && "file" === input.type && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io32(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io33(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
9786
|
+
}); const _io14 = 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) && _io15(input.styleOverrides)); const _io15 = 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 _io16 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io17(input.crop); const _io17 = 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 _io18 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io19 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io20(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io21(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(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) && _io23(input.subtitle))); const _io20 = input => "string" === typeof input.engine; const _io21 = input => "string" === typeof input.language; const _io22 = 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 _io23 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io24 = input => "object" === typeof input.__context && null !== input.__context && _io25(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io10(input.__returnValue)); const _io25 = input => "object" === typeof input.publish && null !== input.publish && _io26(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io26 = 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) && _io9(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io27(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io28(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io31(input.published)) && "file" === 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 && _io32(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io33(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && Object.keys(input).every(key => {
|
|
9728
9787
|
if (["directory", "filename"].some(prop => key === prop))
|
|
9729
9788
|
return true;
|
|
9730
9789
|
const value = input[key];
|
|
@@ -10104,15 +10163,15 @@ function _assertDomainRecord(domain, input) {
|
|
|
10104
10163
|
path: _path + ".preset",
|
|
10105
10164
|
expected: "(string | undefined)",
|
|
10106
10165
|
value: input.preset
|
|
10107
|
-
}, _errorFactory)) && (undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10166
|
+
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10108
10167
|
method: "typia.assert",
|
|
10109
10168
|
path: _path + ".input",
|
|
10110
|
-
expected: "(__type | undefined)",
|
|
10169
|
+
expected: "(__type | null | undefined)",
|
|
10111
10170
|
value: input.input
|
|
10112
10171
|
}, _errorFactory)) && _ao12(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10113
10172
|
method: "typia.assert",
|
|
10114
10173
|
path: _path + ".input",
|
|
10115
|
-
expected: "(__type | undefined)",
|
|
10174
|
+
expected: "(__type | null | undefined)",
|
|
10116
10175
|
value: input.input
|
|
10117
10176
|
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10118
10177
|
method: "typia.assert",
|
|
@@ -10444,12 +10503,27 @@ function _assertDomainRecord(domain, input) {
|
|
|
10444
10503
|
path: _path + ".language",
|
|
10445
10504
|
expected: "string",
|
|
10446
10505
|
value: input.language
|
|
10447
|
-
}, _errorFactory); const _ao22 = (input, _path, _exceptionable = true) => undefined === input.
|
|
10506
|
+
}, _errorFactory); const _ao22 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10507
|
+
method: "typia.assert",
|
|
10508
|
+
path: _path + ".codec",
|
|
10509
|
+
expected: "(string | undefined)",
|
|
10510
|
+
value: input.codec
|
|
10511
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10448
10512
|
method: "typia.assert",
|
|
10449
10513
|
path: _path + ".pan",
|
|
10450
10514
|
expected: "(string | undefined)",
|
|
10451
10515
|
value: input.pan
|
|
10452
|
-
}, _errorFactory)
|
|
10516
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10517
|
+
method: "typia.assert",
|
|
10518
|
+
path: _path + ".samplerate",
|
|
10519
|
+
expected: "(number | undefined)",
|
|
10520
|
+
value: input.samplerate
|
|
10521
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10522
|
+
method: "typia.assert",
|
|
10523
|
+
path: _path + ".split",
|
|
10524
|
+
expected: "(boolean | undefined)",
|
|
10525
|
+
value: input.split
|
|
10526
|
+
}, _errorFactory)); const _ao23 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10453
10527
|
method: "typia.assert",
|
|
10454
10528
|
path: _path + ".lang",
|
|
10455
10529
|
expected: "(string | undefined)",
|
|
@@ -10554,10 +10628,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
10554
10628
|
path: _path + ".type",
|
|
10555
10629
|
expected: "\"file\"",
|
|
10556
10630
|
value: input.type
|
|
10557
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10631
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10558
10632
|
method: "typia.assert",
|
|
10559
10633
|
path: _path + ".asset",
|
|
10560
|
-
expected: "(string | undefined)",
|
|
10634
|
+
expected: "(null | string | undefined)",
|
|
10561
10635
|
value: input.asset
|
|
10562
10636
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10563
10637
|
method: "typia.assert",
|
|
@@ -10938,22 +11012,17 @@ function _assertDomainRecord(domain, input) {
|
|
|
10938
11012
|
}; })()(input);
|
|
10939
11013
|
}
|
|
10940
11014
|
case ":render-preset": {
|
|
10941
|
-
return (() => { const _io0 = input => "string" === typeof input.type && (null !== input.profile && undefined
|
|
11015
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(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) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = 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 _io5 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _ao0 = (input, _path, _exceptionable = true) => (null === input.type || undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10942
11016
|
method: "typia.assert",
|
|
10943
11017
|
path: _path + ".type",
|
|
10944
|
-
expected: "string",
|
|
11018
|
+
expected: "(null | string | undefined)",
|
|
10945
11019
|
value: input.type
|
|
10946
11020
|
}, _errorFactory)) && ((null !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10947
11021
|
method: "typia.assert",
|
|
10948
11022
|
path: _path + ".profile",
|
|
10949
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
11023
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
10950
11024
|
value: input.profile
|
|
10951
|
-
}, _errorFactory)) && (undefined
|
|
10952
|
-
method: "typia.assert",
|
|
10953
|
-
path: _path + ".profile",
|
|
10954
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
10955
|
-
value: input.profile
|
|
10956
|
-
}, _errorFactory)) && ("string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11025
|
+
}, _errorFactory)) && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10957
11026
|
method: "typia.assert",
|
|
10958
11027
|
path: _path + ".profile[" + _index3 + "]",
|
|
10959
11028
|
expected: "(RenderProfileObject | string)",
|
|
@@ -10976,12 +11045,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
10976
11045
|
}, _errorFactory))) || "object" === typeof input.profile && null !== input.profile && _ao1(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10977
11046
|
method: "typia.assert",
|
|
10978
11047
|
path: _path + ".profile",
|
|
10979
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
11048
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
10980
11049
|
value: input.profile
|
|
10981
11050
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10982
11051
|
method: "typia.assert",
|
|
10983
11052
|
path: _path + ".profile",
|
|
10984
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
11053
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
10985
11054
|
value: input.profile
|
|
10986
11055
|
}, _errorFactory))); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10987
11056
|
method: "typia.assert",
|
|
@@ -11058,12 +11127,27 @@ function _assertDomainRecord(domain, input) {
|
|
|
11058
11127
|
path: _path + ".language",
|
|
11059
11128
|
expected: "string",
|
|
11060
11129
|
value: input.language
|
|
11061
|
-
}, _errorFactory); const _ao4 = (input, _path, _exceptionable = true) => undefined === input.
|
|
11130
|
+
}, _errorFactory); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11131
|
+
method: "typia.assert",
|
|
11132
|
+
path: _path + ".codec",
|
|
11133
|
+
expected: "(string | undefined)",
|
|
11134
|
+
value: input.codec
|
|
11135
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11062
11136
|
method: "typia.assert",
|
|
11063
11137
|
path: _path + ".pan",
|
|
11064
11138
|
expected: "(string | undefined)",
|
|
11065
11139
|
value: input.pan
|
|
11066
|
-
}, _errorFactory)
|
|
11140
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11141
|
+
method: "typia.assert",
|
|
11142
|
+
path: _path + ".samplerate",
|
|
11143
|
+
expected: "(number | undefined)",
|
|
11144
|
+
value: input.samplerate
|
|
11145
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11146
|
+
method: "typia.assert",
|
|
11147
|
+
path: _path + ".split",
|
|
11148
|
+
expected: "(boolean | undefined)",
|
|
11149
|
+
value: input.split
|
|
11150
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11067
11151
|
method: "typia.assert",
|
|
11068
11152
|
path: _path + ".lang",
|
|
11069
11153
|
expected: "(string | undefined)",
|
|
@@ -11073,10 +11157,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
11073
11157
|
path: _path + ".style",
|
|
11074
11158
|
expected: "(string | undefined)",
|
|
11075
11159
|
value: input.style
|
|
11076
|
-
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
11160
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
11077
11161
|
if (false === __is(input)) {
|
|
11078
11162
|
_errorFactory = errorFactory;
|
|
11079
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
11163
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
11080
11164
|
method: "typia.assert",
|
|
11081
11165
|
path: _path + "",
|
|
11082
11166
|
expected: "RenderPresetObject",
|
|
@@ -11576,12 +11660,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
11576
11660
|
}; })()(input);
|
|
11577
11661
|
}
|
|
11578
11662
|
case ":render.query?": {
|
|
11579
|
-
return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && _io1(input.description)); const _io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (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 => {
|
|
11663
|
+
return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && _io1(input.description)); const _io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && _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 => {
|
|
11580
11664
|
const value = input[key];
|
|
11581
11665
|
if (undefined === value)
|
|
11582
11666
|
return true;
|
|
11583
11667
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
11584
|
-
}); 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.pan || "string" === typeof input.pan; const _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11668
|
+
}); 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 _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11585
11669
|
method: "typia.assert",
|
|
11586
11670
|
path: _path + ".type",
|
|
11587
11671
|
expected: "string",
|
|
@@ -11636,15 +11720,15 @@ function _assertDomainRecord(domain, input) {
|
|
|
11636
11720
|
path: _path + ".preset",
|
|
11637
11721
|
expected: "(string | undefined)",
|
|
11638
11722
|
value: input.preset
|
|
11639
|
-
}, _errorFactory)) && (undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11723
|
+
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11640
11724
|
method: "typia.assert",
|
|
11641
11725
|
path: _path + ".input",
|
|
11642
|
-
expected: "(__type.o1 | undefined)",
|
|
11726
|
+
expected: "(__type.o1 | null | undefined)",
|
|
11643
11727
|
value: input.input
|
|
11644
11728
|
}, _errorFactory)) && _ao3(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11645
11729
|
method: "typia.assert",
|
|
11646
11730
|
path: _path + ".input",
|
|
11647
|
-
expected: "(__type.o1 | undefined)",
|
|
11731
|
+
expected: "(__type.o1 | null | undefined)",
|
|
11648
11732
|
value: input.input
|
|
11649
11733
|
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11650
11734
|
method: "typia.assert",
|
|
@@ -11976,12 +12060,27 @@ function _assertDomainRecord(domain, input) {
|
|
|
11976
12060
|
path: _path + ".language",
|
|
11977
12061
|
expected: "string",
|
|
11978
12062
|
value: input.language
|
|
11979
|
-
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => undefined === input.
|
|
12063
|
+
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12064
|
+
method: "typia.assert",
|
|
12065
|
+
path: _path + ".codec",
|
|
12066
|
+
expected: "(string | undefined)",
|
|
12067
|
+
value: input.codec
|
|
12068
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11980
12069
|
method: "typia.assert",
|
|
11981
12070
|
path: _path + ".pan",
|
|
11982
12071
|
expected: "(string | undefined)",
|
|
11983
12072
|
value: input.pan
|
|
11984
|
-
}, _errorFactory)
|
|
12073
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12074
|
+
method: "typia.assert",
|
|
12075
|
+
path: _path + ".samplerate",
|
|
12076
|
+
expected: "(number | undefined)",
|
|
12077
|
+
value: input.samplerate
|
|
12078
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12079
|
+
method: "typia.assert",
|
|
12080
|
+
path: _path + ".split",
|
|
12081
|
+
expected: "(boolean | undefined)",
|
|
12082
|
+
value: input.split
|
|
12083
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11985
12084
|
method: "typia.assert",
|
|
11986
12085
|
path: _path + ".lang",
|
|
11987
12086
|
expected: "(string | undefined)",
|
|
@@ -12968,6 +13067,110 @@ function _assertDomainRecord(domain, input) {
|
|
|
12968
13067
|
return input;
|
|
12969
13068
|
}; })()(input);
|
|
12970
13069
|
}
|
|
13070
|
+
case ":search": {
|
|
13071
|
+
return (() => { const _io0 = input => (undefined === input.type || "conditions_and" === input.type) && (undefined === input.sort || Array.isArray(input.sort) && input.sort.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (undefined === input.showDefault || "boolean" === typeof input.showDefault) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted) && (undefined === input.showHidden || "boolean" === typeof input.showHidden) && (undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view) && (undefined === input.conditions || Array.isArray(input.conditions)) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || Array.isArray(input.visibleColumnKeys) && input.visibleColumnKeys.every(elem => "string" === typeof elem)) && (null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId); const _io1 = input => Object.keys(input).every(key => {
|
|
13072
|
+
const value = input[key];
|
|
13073
|
+
if (undefined === value)
|
|
13074
|
+
return true;
|
|
13075
|
+
return "asc" === value || "desc" === value;
|
|
13076
|
+
}); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.type || "conditions_and" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13077
|
+
method: "typia.assert",
|
|
13078
|
+
path: _path + ".type",
|
|
13079
|
+
expected: "(\"conditions_and\" | undefined)",
|
|
13080
|
+
value: input.type
|
|
13081
|
+
}, _errorFactory)) && (undefined === input.sort || (Array.isArray(input.sort) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13082
|
+
method: "typia.assert",
|
|
13083
|
+
path: _path + ".sort",
|
|
13084
|
+
expected: "(Array<__type> | undefined)",
|
|
13085
|
+
value: input.sort
|
|
13086
|
+
}, _errorFactory)) && input.sort.every((elem, _index3) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13087
|
+
method: "typia.assert",
|
|
13088
|
+
path: _path + ".sort[" + _index3 + "]",
|
|
13089
|
+
expected: "__type",
|
|
13090
|
+
value: elem
|
|
13091
|
+
}, _errorFactory)) && _ao1(elem, _path + ".sort[" + _index3 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13092
|
+
method: "typia.assert",
|
|
13093
|
+
path: _path + ".sort[" + _index3 + "]",
|
|
13094
|
+
expected: "__type",
|
|
13095
|
+
value: elem
|
|
13096
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13097
|
+
method: "typia.assert",
|
|
13098
|
+
path: _path + ".sort",
|
|
13099
|
+
expected: "(Array<__type> | undefined)",
|
|
13100
|
+
value: input.sort
|
|
13101
|
+
}, _errorFactory)) && (undefined === input.showDefault || "boolean" === typeof input.showDefault || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13102
|
+
method: "typia.assert",
|
|
13103
|
+
path: _path + ".showDefault",
|
|
13104
|
+
expected: "(boolean | undefined)",
|
|
13105
|
+
value: input.showDefault
|
|
13106
|
+
}, _errorFactory)) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13107
|
+
method: "typia.assert",
|
|
13108
|
+
path: _path + ".showDeleted",
|
|
13109
|
+
expected: "(boolean | undefined)",
|
|
13110
|
+
value: input.showDeleted
|
|
13111
|
+
}, _errorFactory)) && (undefined === input.showHidden || "boolean" === typeof input.showHidden || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13112
|
+
method: "typia.assert",
|
|
13113
|
+
path: _path + ".showHidden",
|
|
13114
|
+
expected: "(boolean | undefined)",
|
|
13115
|
+
value: input.showHidden
|
|
13116
|
+
}, _errorFactory)) && (undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13117
|
+
method: "typia.assert",
|
|
13118
|
+
path: _path + ".view",
|
|
13119
|
+
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | undefined)",
|
|
13120
|
+
value: input.view
|
|
13121
|
+
}, _errorFactory)) && (undefined === input.conditions || Array.isArray(input.conditions) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13122
|
+
method: "typia.assert",
|
|
13123
|
+
path: _path + ".conditions",
|
|
13124
|
+
expected: "(Array<unknown> | undefined)",
|
|
13125
|
+
value: input.conditions
|
|
13126
|
+
}, _errorFactory)) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || (Array.isArray(input.visibleColumnKeys) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13127
|
+
method: "typia.assert",
|
|
13128
|
+
path: _path + ".visibleColumnKeys",
|
|
13129
|
+
expected: "(Array<string> | null | undefined)",
|
|
13130
|
+
value: input.visibleColumnKeys
|
|
13131
|
+
}, _errorFactory)) && input.visibleColumnKeys.every((elem, _index4) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13132
|
+
method: "typia.assert",
|
|
13133
|
+
path: _path + ".visibleColumnKeys[" + _index4 + "]",
|
|
13134
|
+
expected: "string",
|
|
13135
|
+
value: elem
|
|
13136
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13137
|
+
method: "typia.assert",
|
|
13138
|
+
path: _path + ".visibleColumnKeys",
|
|
13139
|
+
expected: "(Array<string> | null | undefined)",
|
|
13140
|
+
value: input.visibleColumnKeys
|
|
13141
|
+
}, _errorFactory)) && (null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13142
|
+
method: "typia.assert",
|
|
13143
|
+
path: _path + ".connectionId",
|
|
13144
|
+
expected: "(null | string | undefined)",
|
|
13145
|
+
value: input.connectionId
|
|
13146
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
13147
|
+
const value = input[key];
|
|
13148
|
+
if (undefined === value)
|
|
13149
|
+
return true;
|
|
13150
|
+
return "asc" === value || "desc" === value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13151
|
+
method: "typia.assert",
|
|
13152
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13153
|
+
expected: "(\"asc\" | \"desc\")",
|
|
13154
|
+
value: value
|
|
13155
|
+
}, _errorFactory);
|
|
13156
|
+
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
13157
|
+
if (false === __is(input)) {
|
|
13158
|
+
_errorFactory = errorFactory;
|
|
13159
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13160
|
+
method: "typia.assert",
|
|
13161
|
+
path: _path + "",
|
|
13162
|
+
expected: "SearchRecord",
|
|
13163
|
+
value: input
|
|
13164
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13165
|
+
method: "typia.assert",
|
|
13166
|
+
path: _path + "",
|
|
13167
|
+
expected: "SearchRecord",
|
|
13168
|
+
value: input
|
|
13169
|
+
}, _errorFactory))(input, "$input", true);
|
|
13170
|
+
}
|
|
13171
|
+
return input;
|
|
13172
|
+
}; })()(input);
|
|
13173
|
+
}
|
|
12971
13174
|
case ":search?": {
|
|
12972
13175
|
return (() => { const _io0 = input => Array.isArray(input.hits) && input.hits.every(elem => "string" === typeof elem) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error); const _ao0 = (input, _path, _exceptionable = true) => ((Array.isArray(input.hits) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12973
13176
|
method: "typia.assert",
|
|
@@ -13005,12 +13208,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
13005
13208
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
13006
13209
|
method: "typia.assert",
|
|
13007
13210
|
path: _path + "",
|
|
13008
|
-
expected: "
|
|
13211
|
+
expected: "SearchRecordProvided",
|
|
13009
13212
|
value: input
|
|
13010
13213
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13011
13214
|
method: "typia.assert",
|
|
13012
13215
|
path: _path + "",
|
|
13013
|
-
expected: "
|
|
13216
|
+
expected: "SearchRecordProvided",
|
|
13014
13217
|
value: input
|
|
13015
13218
|
}, _errorFactory))(input, "$input", true);
|
|
13016
13219
|
}
|
|
@@ -15347,12 +15550,17 @@ function _assertDomainRecord(domain, input) {
|
|
|
15347
15550
|
}; })()(input);
|
|
15348
15551
|
}
|
|
15349
15552
|
case ":template": {
|
|
15350
|
-
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
|
|
15553
|
+
return (() => { const _io0 = input => (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
|
|
15351
15554
|
const value = input[key];
|
|
15352
15555
|
if (undefined === value)
|
|
15353
15556
|
return true;
|
|
15354
15557
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
15355
|
-
}); const _io2 = input => undefined === input.path || "string" === typeof input.path; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
15558
|
+
}); const _io2 = input => undefined === input.path || "string" === typeof input.path; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15559
|
+
method: "typia.assert",
|
|
15560
|
+
path: _path + ".controller",
|
|
15561
|
+
expected: "(string | undefined)",
|
|
15562
|
+
value: input.controller
|
|
15563
|
+
}, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15356
15564
|
method: "typia.assert",
|
|
15357
15565
|
path: _path + ".mixin",
|
|
15358
15566
|
expected: "(Array<string> | undefined)",
|