@nxtedition/types 23.0.41 → 23.0.42
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/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
|
@@ -1751,7 +1751,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
1751
1751
|
}; })()(input);
|
|
1752
1752
|
}
|
|
1753
1753
|
case "media.consolidate": {
|
|
1754
|
-
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
|
|
1754
|
+
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, {
|
|
1755
1755
|
method: "typia.assertGuard",
|
|
1756
1756
|
path: _path + ".presets",
|
|
1757
1757
|
expected: "(__type | undefined)",
|
|
@@ -1771,7 +1771,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
1771
1771
|
path: _path + ".audio",
|
|
1772
1772
|
expected: "(RenderPresetObject | string)",
|
|
1773
1773
|
value: input.audio
|
|
1774
|
-
}, _errorFactory)) && ("string" === typeof input.audio || ("object" === typeof input.audio && null !== input.audio || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1774
|
+
}, _errorFactory)) && ("string" === typeof input.audio || ("object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1775
1775
|
method: "typia.assertGuard",
|
|
1776
1776
|
path: _path + ".audio",
|
|
1777
1777
|
expected: "(RenderPresetObject | string)",
|
|
@@ -1791,7 +1791,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
1791
1791
|
path: _path + ".video",
|
|
1792
1792
|
expected: "(RenderPresetObject | string)",
|
|
1793
1793
|
value: input.video
|
|
1794
|
-
}, _errorFactory)) && ("string" === typeof input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1794
|
+
}, _errorFactory)) && ("string" === typeof input.video || ("object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1795
1795
|
method: "typia.assertGuard",
|
|
1796
1796
|
path: _path + ".video",
|
|
1797
1797
|
expected: "(RenderPresetObject | string)",
|
|
@@ -1811,7 +1811,7 @@ function _assertGuardExactRecord(name, input) {
|
|
|
1811
1811
|
path: _path + ".image",
|
|
1812
1812
|
expected: "(RenderPresetObject | string)",
|
|
1813
1813
|
value: input.image
|
|
1814
|
-
}, _errorFactory)) && ("string" === typeof input.image || ("object" === typeof input.image && null !== input.image || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1814
|
+
}, _errorFactory)) && ("string" === typeof input.image || ("object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1815
1815
|
method: "typia.assertGuard",
|
|
1816
1816
|
path: _path + ".image",
|
|
1817
1817
|
expected: "(RenderPresetObject | string)",
|
|
@@ -1821,22 +1821,17 @@ function _assertGuardExactRecord(name, input) {
|
|
|
1821
1821
|
path: _path + ".image",
|
|
1822
1822
|
expected: "(RenderPresetObject | string)",
|
|
1823
1823
|
value: input.image
|
|
1824
|
-
}, _errorFactory))); const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1824
|
+
}, _errorFactory))); const _ao2 = (input, _path, _exceptionable = true) => (null === input.type || undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1825
1825
|
method: "typia.assertGuard",
|
|
1826
1826
|
path: _path + ".type",
|
|
1827
|
-
expected: "string",
|
|
1827
|
+
expected: "(null | string | undefined)",
|
|
1828
1828
|
value: input.type
|
|
1829
1829
|
}, _errorFactory)) && ((null !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1830
1830
|
method: "typia.assertGuard",
|
|
1831
1831
|
path: _path + ".profile",
|
|
1832
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
1833
|
-
value: input.profile
|
|
1834
|
-
}, _errorFactory)) && (undefined !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1835
|
-
method: "typia.assertGuard",
|
|
1836
|
-
path: _path + ".profile",
|
|
1837
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
1832
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
1838
1833
|
value: input.profile
|
|
1839
|
-
}, _errorFactory)) && ("string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1834
|
+
}, _errorFactory)) && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1840
1835
|
method: "typia.assertGuard",
|
|
1841
1836
|
path: _path + ".profile[" + _index3 + "]",
|
|
1842
1837
|
expected: "(RenderProfileObject | string)",
|
|
@@ -1859,12 +1854,12 @@ function _assertGuardExactRecord(name, input) {
|
|
|
1859
1854
|
}, _errorFactory))) || "object" === typeof input.profile && null !== input.profile && _ao3(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1860
1855
|
method: "typia.assertGuard",
|
|
1861
1856
|
path: _path + ".profile",
|
|
1862
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
1857
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
1863
1858
|
value: input.profile
|
|
1864
1859
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1865
1860
|
method: "typia.assertGuard",
|
|
1866
1861
|
path: _path + ".profile",
|
|
1867
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
1862
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
1868
1863
|
value: input.profile
|
|
1869
1864
|
}, _errorFactory))); const _ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1870
1865
|
method: "typia.assertGuard",
|
|
@@ -1941,12 +1936,27 @@ function _assertGuardExactRecord(name, input) {
|
|
|
1941
1936
|
path: _path + ".language",
|
|
1942
1937
|
expected: "string",
|
|
1943
1938
|
value: input.language
|
|
1944
|
-
}, _errorFactory); const _ao6 = (input, _path, _exceptionable = true) => undefined === input.
|
|
1939
|
+
}, _errorFactory); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1940
|
+
method: "typia.assertGuard",
|
|
1941
|
+
path: _path + ".codec",
|
|
1942
|
+
expected: "(string | undefined)",
|
|
1943
|
+
value: input.codec
|
|
1944
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1945
1945
|
method: "typia.assertGuard",
|
|
1946
1946
|
path: _path + ".pan",
|
|
1947
1947
|
expected: "(string | undefined)",
|
|
1948
1948
|
value: input.pan
|
|
1949
|
-
}, _errorFactory)
|
|
1949
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1950
|
+
method: "typia.assertGuard",
|
|
1951
|
+
path: _path + ".samplerate",
|
|
1952
|
+
expected: "(number | undefined)",
|
|
1953
|
+
value: input.samplerate
|
|
1954
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1955
|
+
method: "typia.assertGuard",
|
|
1956
|
+
path: _path + ".split",
|
|
1957
|
+
expected: "(boolean | undefined)",
|
|
1958
|
+
value: input.split
|
|
1959
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1950
1960
|
method: "typia.assertGuard",
|
|
1951
1961
|
path: _path + ".lang",
|
|
1952
1962
|
expected: "(string | undefined)",
|
|
@@ -4063,7 +4073,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
4063
4073
|
}; })()(input);
|
|
4064
4074
|
}
|
|
4065
4075
|
case ":deepstream.replicate": {
|
|
4066
|
-
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, {
|
|
4076
|
+
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, {
|
|
4067
4077
|
method: "typia.assertGuard",
|
|
4068
4078
|
path: _path + ".synced",
|
|
4069
4079
|
expected: "(boolean | undefined)",
|
|
@@ -4073,6 +4083,11 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
4073
4083
|
path: _path + ".since",
|
|
4074
4084
|
expected: "(0 | null | string | undefined)",
|
|
4075
4085
|
value: input.since
|
|
4086
|
+
}, _errorFactory)) && (undefined === input.version || "number" === typeof input.version || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
4087
|
+
method: "typia.assertGuard",
|
|
4088
|
+
path: _path + ".version",
|
|
4089
|
+
expected: "(number | undefined)",
|
|
4090
|
+
value: input.version
|
|
4076
4091
|
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
4077
4092
|
if (false === __is(input)) {
|
|
4078
4093
|
_errorFactory = errorFactory;
|
|
@@ -5598,7 +5613,7 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
5598
5613
|
}; })()(input);
|
|
5599
5614
|
}
|
|
5600
5615
|
case ":media.source": {
|
|
5601
|
-
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 => {
|
|
5616
|
+
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 => {
|
|
5602
5617
|
const value = input[key];
|
|
5603
5618
|
if (undefined === value)
|
|
5604
5619
|
return true;
|
|
@@ -5613,15 +5628,15 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
5613
5628
|
path: _path + ".preset",
|
|
5614
5629
|
expected: "(string | undefined)",
|
|
5615
5630
|
value: input.preset
|
|
5616
|
-
}, _errorFactory)) && (undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5631
|
+
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5617
5632
|
method: "typia.assertGuard",
|
|
5618
5633
|
path: _path + ".input",
|
|
5619
|
-
expected: "(__type | undefined)",
|
|
5634
|
+
expected: "(__type | null | undefined)",
|
|
5620
5635
|
value: input.input
|
|
5621
5636
|
}, _errorFactory)) && _ao1(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5622
5637
|
method: "typia.assertGuard",
|
|
5623
5638
|
path: _path + ".input",
|
|
5624
|
-
expected: "(__type | undefined)",
|
|
5639
|
+
expected: "(__type | null | undefined)",
|
|
5625
5640
|
value: input.input
|
|
5626
5641
|
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5627
5642
|
method: "typia.assertGuard",
|
|
@@ -5896,12 +5911,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
5896
5911
|
}; })()(input);
|
|
5897
5912
|
}
|
|
5898
5913
|
case ":media.consolidate": {
|
|
5899
|
-
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
|
|
5914
|
+
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, {
|
|
5900
5915
|
method: "typia.assertGuard",
|
|
5901
5916
|
path: _path + ".preset",
|
|
5902
5917
|
expected: "(RenderPresetObject | string | undefined)",
|
|
5903
5918
|
value: input.preset
|
|
5904
|
-
}, _errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || ("object" === typeof input.preset && null !== input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5919
|
+
}, _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, {
|
|
5905
5920
|
method: "typia.assertGuard",
|
|
5906
5921
|
path: _path + ".preset",
|
|
5907
5922
|
expected: "(RenderPresetObject | string | undefined)",
|
|
@@ -5911,22 +5926,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
5911
5926
|
path: _path + ".preset",
|
|
5912
5927
|
expected: "(RenderPresetObject | string | undefined)",
|
|
5913
5928
|
value: input.preset
|
|
5914
|
-
}, _errorFactory))) && true; const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5929
|
+
}, _errorFactory))) && true; const _ao1 = (input, _path, _exceptionable = true) => (null === input.type || undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5915
5930
|
method: "typia.assertGuard",
|
|
5916
5931
|
path: _path + ".type",
|
|
5917
|
-
expected: "string",
|
|
5932
|
+
expected: "(null | string | undefined)",
|
|
5918
5933
|
value: input.type
|
|
5919
5934
|
}, _errorFactory)) && ((null !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5920
5935
|
method: "typia.assertGuard",
|
|
5921
5936
|
path: _path + ".profile",
|
|
5922
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
5937
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
5923
5938
|
value: input.profile
|
|
5924
|
-
}, _errorFactory)) && (undefined
|
|
5925
|
-
method: "typia.assertGuard",
|
|
5926
|
-
path: _path + ".profile",
|
|
5927
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
5928
|
-
value: input.profile
|
|
5929
|
-
}, _errorFactory)) && ("string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5939
|
+
}, _errorFactory)) && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5930
5940
|
method: "typia.assertGuard",
|
|
5931
5941
|
path: _path + ".profile[" + _index3 + "]",
|
|
5932
5942
|
expected: "(RenderProfileObject | string)",
|
|
@@ -5949,12 +5959,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
5949
5959
|
}, _errorFactory))) || "object" === typeof input.profile && null !== input.profile && _ao2(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5950
5960
|
method: "typia.assertGuard",
|
|
5951
5961
|
path: _path + ".profile",
|
|
5952
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
5962
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
5953
5963
|
value: input.profile
|
|
5954
5964
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5955
5965
|
method: "typia.assertGuard",
|
|
5956
5966
|
path: _path + ".profile",
|
|
5957
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
5967
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
5958
5968
|
value: input.profile
|
|
5959
5969
|
}, _errorFactory))); const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
5960
5970
|
method: "typia.assertGuard",
|
|
@@ -6031,12 +6041,27 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
6031
6041
|
path: _path + ".language",
|
|
6032
6042
|
expected: "string",
|
|
6033
6043
|
value: input.language
|
|
6034
|
-
}, _errorFactory); const _ao5 = (input, _path, _exceptionable = true) => undefined === input.
|
|
6044
|
+
}, _errorFactory); const _ao5 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6045
|
+
method: "typia.assertGuard",
|
|
6046
|
+
path: _path + ".codec",
|
|
6047
|
+
expected: "(string | undefined)",
|
|
6048
|
+
value: input.codec
|
|
6049
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6035
6050
|
method: "typia.assertGuard",
|
|
6036
6051
|
path: _path + ".pan",
|
|
6037
6052
|
expected: "(string | undefined)",
|
|
6038
6053
|
value: input.pan
|
|
6039
|
-
}, _errorFactory)
|
|
6054
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6055
|
+
method: "typia.assertGuard",
|
|
6056
|
+
path: _path + ".samplerate",
|
|
6057
|
+
expected: "(number | undefined)",
|
|
6058
|
+
value: input.samplerate
|
|
6059
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6060
|
+
method: "typia.assertGuard",
|
|
6061
|
+
path: _path + ".split",
|
|
6062
|
+
expected: "(boolean | undefined)",
|
|
6063
|
+
value: input.split
|
|
6064
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
6040
6065
|
method: "typia.assertGuard",
|
|
6041
6066
|
path: _path + ".lang",
|
|
6042
6067
|
expected: "(string | undefined)",
|
|
@@ -8356,17 +8381,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8356
8381
|
}; })()(input);
|
|
8357
8382
|
}
|
|
8358
8383
|
case ":publish": {
|
|
8359
|
-
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 => {
|
|
8384
|
+
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 => {
|
|
8360
8385
|
const value = input[key];
|
|
8361
8386
|
if (undefined === value)
|
|
8362
8387
|
return true;
|
|
8363
8388
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
8364
|
-
}); 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 => {
|
|
8389
|
+
}); 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 => {
|
|
8365
8390
|
const value = input[key];
|
|
8366
8391
|
if (undefined === value)
|
|
8367
8392
|
return true;
|
|
8368
8393
|
return true;
|
|
8369
|
-
}); 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 => {
|
|
8394
|
+
}); 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 => {
|
|
8370
8395
|
const value = input[key];
|
|
8371
8396
|
if (undefined === value)
|
|
8372
8397
|
return true;
|
|
@@ -8397,14 +8422,14 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8397
8422
|
if (undefined === value)
|
|
8398
8423
|
return true;
|
|
8399
8424
|
return true;
|
|
8400
|
-
}); 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 => {
|
|
8425
|
+
}); 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 => {
|
|
8401
8426
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
8402
8427
|
return true;
|
|
8403
8428
|
const value = input[key];
|
|
8404
8429
|
if (undefined === value)
|
|
8405
8430
|
return true;
|
|
8406
8431
|
return true;
|
|
8407
|
-
}); const _io33 = input => "string" === typeof input.path; const _io34 = input => "string" === typeof input.path; const _iu0 = input => (() => {
|
|
8432
|
+
}); 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 => (() => {
|
|
8408
8433
|
if (undefined !== input.path)
|
|
8409
8434
|
return _io23(input);
|
|
8410
8435
|
else if (undefined !== input.__context)
|
|
@@ -8416,6 +8441,8 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8416
8441
|
return _io0(input);
|
|
8417
8442
|
else if ("facebook" === input.type)
|
|
8418
8443
|
return _io20(input);
|
|
8444
|
+
else if (undefined !== input.type && null === input.type)
|
|
8445
|
+
return _io35(input);
|
|
8419
8446
|
else
|
|
8420
8447
|
return (() => {
|
|
8421
8448
|
if (_io31(input))
|
|
@@ -8439,10 +8466,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8439
8466
|
path: _path + ".type",
|
|
8440
8467
|
expected: "\"youtube\"",
|
|
8441
8468
|
value: input.type
|
|
8442
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8469
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8443
8470
|
method: "typia.assertGuard",
|
|
8444
8471
|
path: _path + ".asset",
|
|
8445
|
-
expected: "(string | undefined)",
|
|
8472
|
+
expected: "(null | string | undefined)",
|
|
8446
8473
|
value: input.asset
|
|
8447
8474
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8448
8475
|
method: "typia.assertGuard",
|
|
@@ -8584,15 +8611,15 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8584
8611
|
path: _path + ".preset",
|
|
8585
8612
|
expected: "(string | undefined)",
|
|
8586
8613
|
value: input.preset
|
|
8587
|
-
}, _errorFactory)) && (undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8614
|
+
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8588
8615
|
method: "typia.assertGuard",
|
|
8589
8616
|
path: _path + ".input",
|
|
8590
|
-
expected: "(__type.o2 | undefined)",
|
|
8617
|
+
expected: "(__type.o2 | null | undefined)",
|
|
8591
8618
|
value: input.input
|
|
8592
8619
|
}, _errorFactory)) && _ao5(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8593
8620
|
method: "typia.assertGuard",
|
|
8594
8621
|
path: _path + ".input",
|
|
8595
|
-
expected: "(__type.o2 | undefined)",
|
|
8622
|
+
expected: "(__type.o2 | null | undefined)",
|
|
8596
8623
|
value: input.input
|
|
8597
8624
|
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8598
8625
|
method: "typia.assertGuard",
|
|
@@ -8924,12 +8951,27 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8924
8951
|
path: _path + ".language",
|
|
8925
8952
|
expected: "string",
|
|
8926
8953
|
value: input.language
|
|
8927
|
-
}, _errorFactory); const _ao15 = (input, _path, _exceptionable = true) => undefined === input.
|
|
8954
|
+
}, _errorFactory); const _ao15 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8955
|
+
method: "typia.assertGuard",
|
|
8956
|
+
path: _path + ".codec",
|
|
8957
|
+
expected: "(string | undefined)",
|
|
8958
|
+
value: input.codec
|
|
8959
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8928
8960
|
method: "typia.assertGuard",
|
|
8929
8961
|
path: _path + ".pan",
|
|
8930
8962
|
expected: "(string | undefined)",
|
|
8931
8963
|
value: input.pan
|
|
8932
|
-
}, _errorFactory)
|
|
8964
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8965
|
+
method: "typia.assertGuard",
|
|
8966
|
+
path: _path + ".samplerate",
|
|
8967
|
+
expected: "(number | undefined)",
|
|
8968
|
+
value: input.samplerate
|
|
8969
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8970
|
+
method: "typia.assertGuard",
|
|
8971
|
+
path: _path + ".split",
|
|
8972
|
+
expected: "(boolean | undefined)",
|
|
8973
|
+
value: input.split
|
|
8974
|
+
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8933
8975
|
method: "typia.assertGuard",
|
|
8934
8976
|
path: _path + ".lang",
|
|
8935
8977
|
expected: "(string | undefined)",
|
|
@@ -8974,10 +9016,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
8974
9016
|
path: _path + ".type",
|
|
8975
9017
|
expected: "\"facebook\"",
|
|
8976
9018
|
value: input.type
|
|
8977
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9019
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8978
9020
|
method: "typia.assertGuard",
|
|
8979
9021
|
path: _path + ".asset",
|
|
8980
|
-
expected: "(string | undefined)",
|
|
9022
|
+
expected: "(null | string | undefined)",
|
|
8981
9023
|
value: input.asset
|
|
8982
9024
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8983
9025
|
method: "typia.assertGuard",
|
|
@@ -9109,10 +9151,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9109
9151
|
path: _path + ".type",
|
|
9110
9152
|
expected: "\"file\"",
|
|
9111
9153
|
value: input.type
|
|
9112
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9154
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9113
9155
|
method: "typia.assertGuard",
|
|
9114
9156
|
path: _path + ".asset",
|
|
9115
|
-
expected: "(string | undefined)",
|
|
9157
|
+
expected: "(null | string | undefined)",
|
|
9116
9158
|
value: input.asset
|
|
9117
9159
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9118
9160
|
method: "typia.assertGuard",
|
|
@@ -9445,10 +9487,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9445
9487
|
path: _path + ".type",
|
|
9446
9488
|
expected: "\"file\"",
|
|
9447
9489
|
value: input.type
|
|
9448
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9490
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9449
9491
|
method: "typia.assertGuard",
|
|
9450
9492
|
path: _path + ".asset",
|
|
9451
|
-
expected: "(string | undefined)",
|
|
9493
|
+
expected: "(null | string | undefined)",
|
|
9452
9494
|
value: input.asset
|
|
9453
9495
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9454
9496
|
method: "typia.assertGuard",
|
|
@@ -9552,7 +9594,22 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9552
9594
|
path: _path + ".path",
|
|
9553
9595
|
expected: "string",
|
|
9554
9596
|
value: input.path
|
|
9555
|
-
}, _errorFactory); const
|
|
9597
|
+
}, _errorFactory); const _ao35 = (input, _path, _exceptionable = true) => (undefined !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9598
|
+
method: "typia.assertGuard",
|
|
9599
|
+
path: _path + ".type",
|
|
9600
|
+
expected: "null",
|
|
9601
|
+
value: input.type
|
|
9602
|
+
}, _errorFactory)) && (null === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9603
|
+
method: "typia.assertGuard",
|
|
9604
|
+
path: _path + ".type",
|
|
9605
|
+
expected: "null",
|
|
9606
|
+
value: input.type
|
|
9607
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9608
|
+
method: "typia.assertGuard",
|
|
9609
|
+
path: _path + ".asset",
|
|
9610
|
+
expected: "(null | string | undefined)",
|
|
9611
|
+
value: input.asset
|
|
9612
|
+
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
9556
9613
|
if (undefined !== input.path)
|
|
9557
9614
|
return _ao23(input, _path, true && _exceptionable);
|
|
9558
9615
|
else if (undefined !== input.__context)
|
|
@@ -9569,6 +9626,8 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9569
9626
|
return _ao0(input, _path, true && _exceptionable);
|
|
9570
9627
|
else if ("facebook" === input.type)
|
|
9571
9628
|
return _ao20(input, _path, true && _exceptionable);
|
|
9629
|
+
else if (undefined !== input.type && null === input.type)
|
|
9630
|
+
return _ao35(input, _path, true && _exceptionable);
|
|
9572
9631
|
else
|
|
9573
9632
|
return _ao31(input, _path, false && _exceptionable) || _ao21(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9574
9633
|
method: "typia.assertGuard",
|
|
@@ -9582,12 +9641,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9582
9641
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
9583
9642
|
method: "typia.assertGuard",
|
|
9584
9643
|
path: _path + "",
|
|
9585
|
-
expected: "(FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
9644
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
9586
9645
|
value: input
|
|
9587
9646
|
}, _errorFactory)) && _au1(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
9588
9647
|
method: "typia.assertGuard",
|
|
9589
9648
|
path: _path + "",
|
|
9590
|
-
expected: "(FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
9649
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
9591
9650
|
value: input
|
|
9592
9651
|
}, _errorFactory))(input, "$input", true);
|
|
9593
9652
|
}
|
|
@@ -9623,12 +9682,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
9623
9682
|
if (undefined === value)
|
|
9624
9683
|
return true;
|
|
9625
9684
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
9626
|
-
}); 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 => {
|
|
9685
|
+
}); 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 => {
|
|
9627
9686
|
const value = input[key];
|
|
9628
9687
|
if (undefined === value)
|
|
9629
9688
|
return true;
|
|
9630
9689
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io14(value);
|
|
9631
|
-
}); 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 => {
|
|
9690
|
+
}); 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 => {
|
|
9632
9691
|
if (["directory", "filename"].some(prop => key === prop))
|
|
9633
9692
|
return true;
|
|
9634
9693
|
const value = input[key];
|
|
@@ -10008,15 +10067,15 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10008
10067
|
path: _path + ".preset",
|
|
10009
10068
|
expected: "(string | undefined)",
|
|
10010
10069
|
value: input.preset
|
|
10011
|
-
}, _errorFactory)) && (undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10070
|
+
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10012
10071
|
method: "typia.assertGuard",
|
|
10013
10072
|
path: _path + ".input",
|
|
10014
|
-
expected: "(__type | undefined)",
|
|
10073
|
+
expected: "(__type | null | undefined)",
|
|
10015
10074
|
value: input.input
|
|
10016
10075
|
}, _errorFactory)) && _ao12(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10017
10076
|
method: "typia.assertGuard",
|
|
10018
10077
|
path: _path + ".input",
|
|
10019
|
-
expected: "(__type | undefined)",
|
|
10078
|
+
expected: "(__type | null | undefined)",
|
|
10020
10079
|
value: input.input
|
|
10021
10080
|
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10022
10081
|
method: "typia.assertGuard",
|
|
@@ -10348,12 +10407,27 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10348
10407
|
path: _path + ".language",
|
|
10349
10408
|
expected: "string",
|
|
10350
10409
|
value: input.language
|
|
10351
|
-
}, _errorFactory); const _ao22 = (input, _path, _exceptionable = true) => undefined === input.
|
|
10410
|
+
}, _errorFactory); const _ao22 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10411
|
+
method: "typia.assertGuard",
|
|
10412
|
+
path: _path + ".codec",
|
|
10413
|
+
expected: "(string | undefined)",
|
|
10414
|
+
value: input.codec
|
|
10415
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10352
10416
|
method: "typia.assertGuard",
|
|
10353
10417
|
path: _path + ".pan",
|
|
10354
10418
|
expected: "(string | undefined)",
|
|
10355
10419
|
value: input.pan
|
|
10356
|
-
}, _errorFactory)
|
|
10420
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10421
|
+
method: "typia.assertGuard",
|
|
10422
|
+
path: _path + ".samplerate",
|
|
10423
|
+
expected: "(number | undefined)",
|
|
10424
|
+
value: input.samplerate
|
|
10425
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10426
|
+
method: "typia.assertGuard",
|
|
10427
|
+
path: _path + ".split",
|
|
10428
|
+
expected: "(boolean | undefined)",
|
|
10429
|
+
value: input.split
|
|
10430
|
+
}, _errorFactory)); const _ao23 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10357
10431
|
method: "typia.assertGuard",
|
|
10358
10432
|
path: _path + ".lang",
|
|
10359
10433
|
expected: "(string | undefined)",
|
|
@@ -10458,10 +10532,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10458
10532
|
path: _path + ".type",
|
|
10459
10533
|
expected: "\"file\"",
|
|
10460
10534
|
value: input.type
|
|
10461
|
-
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10535
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10462
10536
|
method: "typia.assertGuard",
|
|
10463
10537
|
path: _path + ".asset",
|
|
10464
|
-
expected: "(string | undefined)",
|
|
10538
|
+
expected: "(null | string | undefined)",
|
|
10465
10539
|
value: input.asset
|
|
10466
10540
|
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10467
10541
|
method: "typia.assertGuard",
|
|
@@ -10838,22 +10912,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10838
10912
|
}; })()(input);
|
|
10839
10913
|
}
|
|
10840
10914
|
case ":render-preset": {
|
|
10841
|
-
return (() => { const _io0 = input => "string" === typeof input.type && (null !== input.profile && undefined
|
|
10915
|
+
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, {
|
|
10842
10916
|
method: "typia.assertGuard",
|
|
10843
10917
|
path: _path + ".type",
|
|
10844
|
-
expected: "string",
|
|
10918
|
+
expected: "(null | string | undefined)",
|
|
10845
10919
|
value: input.type
|
|
10846
10920
|
}, _errorFactory)) && ((null !== input.profile || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10847
10921
|
method: "typia.assertGuard",
|
|
10848
10922
|
path: _path + ".profile",
|
|
10849
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
10923
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
10850
10924
|
value: input.profile
|
|
10851
|
-
}, _errorFactory)) && (undefined
|
|
10852
|
-
method: "typia.assertGuard",
|
|
10853
|
-
path: _path + ".profile",
|
|
10854
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
10855
|
-
value: input.profile
|
|
10856
|
-
}, _errorFactory)) && ("string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10925
|
+
}, _errorFactory)) && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every((elem, _index3) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10857
10926
|
method: "typia.assertGuard",
|
|
10858
10927
|
path: _path + ".profile[" + _index3 + "]",
|
|
10859
10928
|
expected: "(RenderProfileObject | string)",
|
|
@@ -10876,12 +10945,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10876
10945
|
}, _errorFactory))) || "object" === typeof input.profile && null !== input.profile && _ao1(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10877
10946
|
method: "typia.assertGuard",
|
|
10878
10947
|
path: _path + ".profile",
|
|
10879
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
10948
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
10880
10949
|
value: input.profile
|
|
10881
10950
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10882
10951
|
method: "typia.assertGuard",
|
|
10883
10952
|
path: _path + ".profile",
|
|
10884
|
-
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string)",
|
|
10953
|
+
expected: "(Array<string | RenderProfileObject> | RenderProfileObject | string | undefined)",
|
|
10885
10954
|
value: input.profile
|
|
10886
10955
|
}, _errorFactory))); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10887
10956
|
method: "typia.assertGuard",
|
|
@@ -10958,12 +11027,27 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10958
11027
|
path: _path + ".language",
|
|
10959
11028
|
expected: "string",
|
|
10960
11029
|
value: input.language
|
|
10961
|
-
}, _errorFactory); const _ao4 = (input, _path, _exceptionable = true) => undefined === input.
|
|
11030
|
+
}, _errorFactory); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11031
|
+
method: "typia.assertGuard",
|
|
11032
|
+
path: _path + ".codec",
|
|
11033
|
+
expected: "(string | undefined)",
|
|
11034
|
+
value: input.codec
|
|
11035
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10962
11036
|
method: "typia.assertGuard",
|
|
10963
11037
|
path: _path + ".pan",
|
|
10964
11038
|
expected: "(string | undefined)",
|
|
10965
11039
|
value: input.pan
|
|
10966
|
-
}, _errorFactory)
|
|
11040
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11041
|
+
method: "typia.assertGuard",
|
|
11042
|
+
path: _path + ".samplerate",
|
|
11043
|
+
expected: "(number | undefined)",
|
|
11044
|
+
value: input.samplerate
|
|
11045
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11046
|
+
method: "typia.assertGuard",
|
|
11047
|
+
path: _path + ".split",
|
|
11048
|
+
expected: "(boolean | undefined)",
|
|
11049
|
+
value: input.split
|
|
11050
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10967
11051
|
method: "typia.assertGuard",
|
|
10968
11052
|
path: _path + ".lang",
|
|
10969
11053
|
expected: "(string | undefined)",
|
|
@@ -10973,10 +11057,10 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
10973
11057
|
path: _path + ".style",
|
|
10974
11058
|
expected: "(string | undefined)",
|
|
10975
11059
|
value: input.style
|
|
10976
|
-
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
11060
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
10977
11061
|
if (false === __is(input)) {
|
|
10978
11062
|
_errorFactory = errorFactory;
|
|
10979
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
11063
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
10980
11064
|
method: "typia.assertGuard",
|
|
10981
11065
|
path: _path + "",
|
|
10982
11066
|
expected: "RenderPresetObject",
|
|
@@ -11474,12 +11558,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11474
11558
|
}; })()(input);
|
|
11475
11559
|
}
|
|
11476
11560
|
case ":render.query?": {
|
|
11477
|
-
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 => {
|
|
11561
|
+
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 => {
|
|
11478
11562
|
const value = input[key];
|
|
11479
11563
|
if (undefined === value)
|
|
11480
11564
|
return true;
|
|
11481
11565
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
11482
|
-
}); 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, {
|
|
11566
|
+
}); 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, {
|
|
11483
11567
|
method: "typia.assertGuard",
|
|
11484
11568
|
path: _path + ".type",
|
|
11485
11569
|
expected: "string",
|
|
@@ -11534,15 +11618,15 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11534
11618
|
path: _path + ".preset",
|
|
11535
11619
|
expected: "(string | undefined)",
|
|
11536
11620
|
value: input.preset
|
|
11537
|
-
}, _errorFactory)) && (undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11621
|
+
}, _errorFactory)) && (null === input.input || undefined === input.input || ("object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11538
11622
|
method: "typia.assertGuard",
|
|
11539
11623
|
path: _path + ".input",
|
|
11540
|
-
expected: "(__type.o1 | undefined)",
|
|
11624
|
+
expected: "(__type.o1 | null | undefined)",
|
|
11541
11625
|
value: input.input
|
|
11542
11626
|
}, _errorFactory)) && _ao3(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11543
11627
|
method: "typia.assertGuard",
|
|
11544
11628
|
path: _path + ".input",
|
|
11545
|
-
expected: "(__type.o1 | undefined)",
|
|
11629
|
+
expected: "(__type.o1 | null | undefined)",
|
|
11546
11630
|
value: input.input
|
|
11547
11631
|
}, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11548
11632
|
method: "typia.assertGuard",
|
|
@@ -11874,12 +11958,27 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
11874
11958
|
path: _path + ".language",
|
|
11875
11959
|
expected: "string",
|
|
11876
11960
|
value: input.language
|
|
11877
|
-
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => undefined === input.
|
|
11961
|
+
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11962
|
+
method: "typia.assertGuard",
|
|
11963
|
+
path: _path + ".codec",
|
|
11964
|
+
expected: "(string | undefined)",
|
|
11965
|
+
value: input.codec
|
|
11966
|
+
}, _errorFactory)) && (undefined === input.pan || "string" === typeof input.pan || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11878
11967
|
method: "typia.assertGuard",
|
|
11879
11968
|
path: _path + ".pan",
|
|
11880
11969
|
expected: "(string | undefined)",
|
|
11881
11970
|
value: input.pan
|
|
11882
|
-
}, _errorFactory)
|
|
11971
|
+
}, _errorFactory)) && (undefined === input.samplerate || "number" === typeof input.samplerate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11972
|
+
method: "typia.assertGuard",
|
|
11973
|
+
path: _path + ".samplerate",
|
|
11974
|
+
expected: "(number | undefined)",
|
|
11975
|
+
value: input.samplerate
|
|
11976
|
+
}, _errorFactory)) && (undefined === input.split || "boolean" === typeof input.split || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11977
|
+
method: "typia.assertGuard",
|
|
11978
|
+
path: _path + ".split",
|
|
11979
|
+
expected: "(boolean | undefined)",
|
|
11980
|
+
value: input.split
|
|
11981
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11883
11982
|
method: "typia.assertGuard",
|
|
11884
11983
|
path: _path + ".lang",
|
|
11885
11984
|
expected: "(string | undefined)",
|
|
@@ -12853,6 +12952,109 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12853
12952
|
}
|
|
12854
12953
|
}; })()(input);
|
|
12855
12954
|
}
|
|
12955
|
+
case ":search": {
|
|
12956
|
+
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 => {
|
|
12957
|
+
const value = input[key];
|
|
12958
|
+
if (undefined === value)
|
|
12959
|
+
return true;
|
|
12960
|
+
return "asc" === value || "desc" === value;
|
|
12961
|
+
}); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.type || "conditions_and" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12962
|
+
method: "typia.assertGuard",
|
|
12963
|
+
path: _path + ".type",
|
|
12964
|
+
expected: "(\"conditions_and\" | undefined)",
|
|
12965
|
+
value: input.type
|
|
12966
|
+
}, _errorFactory)) && (undefined === input.sort || (Array.isArray(input.sort) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12967
|
+
method: "typia.assertGuard",
|
|
12968
|
+
path: _path + ".sort",
|
|
12969
|
+
expected: "(Array<__type> | undefined)",
|
|
12970
|
+
value: input.sort
|
|
12971
|
+
}, _errorFactory)) && input.sort.every((elem, _index3) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12972
|
+
method: "typia.assertGuard",
|
|
12973
|
+
path: _path + ".sort[" + _index3 + "]",
|
|
12974
|
+
expected: "__type",
|
|
12975
|
+
value: elem
|
|
12976
|
+
}, _errorFactory)) && _ao1(elem, _path + ".sort[" + _index3 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12977
|
+
method: "typia.assertGuard",
|
|
12978
|
+
path: _path + ".sort[" + _index3 + "]",
|
|
12979
|
+
expected: "__type",
|
|
12980
|
+
value: elem
|
|
12981
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12982
|
+
method: "typia.assertGuard",
|
|
12983
|
+
path: _path + ".sort",
|
|
12984
|
+
expected: "(Array<__type> | undefined)",
|
|
12985
|
+
value: input.sort
|
|
12986
|
+
}, _errorFactory)) && (undefined === input.showDefault || "boolean" === typeof input.showDefault || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12987
|
+
method: "typia.assertGuard",
|
|
12988
|
+
path: _path + ".showDefault",
|
|
12989
|
+
expected: "(boolean | undefined)",
|
|
12990
|
+
value: input.showDefault
|
|
12991
|
+
}, _errorFactory)) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12992
|
+
method: "typia.assertGuard",
|
|
12993
|
+
path: _path + ".showDeleted",
|
|
12994
|
+
expected: "(boolean | undefined)",
|
|
12995
|
+
value: input.showDeleted
|
|
12996
|
+
}, _errorFactory)) && (undefined === input.showHidden || "boolean" === typeof input.showHidden || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12997
|
+
method: "typia.assertGuard",
|
|
12998
|
+
path: _path + ".showHidden",
|
|
12999
|
+
expected: "(boolean | undefined)",
|
|
13000
|
+
value: input.showHidden
|
|
13001
|
+
}, _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, {
|
|
13002
|
+
method: "typia.assertGuard",
|
|
13003
|
+
path: _path + ".view",
|
|
13004
|
+
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | undefined)",
|
|
13005
|
+
value: input.view
|
|
13006
|
+
}, _errorFactory)) && (undefined === input.conditions || Array.isArray(input.conditions) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13007
|
+
method: "typia.assertGuard",
|
|
13008
|
+
path: _path + ".conditions",
|
|
13009
|
+
expected: "(Array<unknown> | undefined)",
|
|
13010
|
+
value: input.conditions
|
|
13011
|
+
}, _errorFactory)) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || (Array.isArray(input.visibleColumnKeys) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13012
|
+
method: "typia.assertGuard",
|
|
13013
|
+
path: _path + ".visibleColumnKeys",
|
|
13014
|
+
expected: "(Array<string> | null | undefined)",
|
|
13015
|
+
value: input.visibleColumnKeys
|
|
13016
|
+
}, _errorFactory)) && input.visibleColumnKeys.every((elem, _index4) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13017
|
+
method: "typia.assertGuard",
|
|
13018
|
+
path: _path + ".visibleColumnKeys[" + _index4 + "]",
|
|
13019
|
+
expected: "string",
|
|
13020
|
+
value: elem
|
|
13021
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13022
|
+
method: "typia.assertGuard",
|
|
13023
|
+
path: _path + ".visibleColumnKeys",
|
|
13024
|
+
expected: "(Array<string> | null | undefined)",
|
|
13025
|
+
value: input.visibleColumnKeys
|
|
13026
|
+
}, _errorFactory)) && (null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13027
|
+
method: "typia.assertGuard",
|
|
13028
|
+
path: _path + ".connectionId",
|
|
13029
|
+
expected: "(null | string | undefined)",
|
|
13030
|
+
value: input.connectionId
|
|
13031
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
13032
|
+
const value = input[key];
|
|
13033
|
+
if (undefined === value)
|
|
13034
|
+
return true;
|
|
13035
|
+
return "asc" === value || "desc" === value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13036
|
+
method: "typia.assertGuard",
|
|
13037
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13038
|
+
expected: "(\"asc\" | \"desc\")",
|
|
13039
|
+
value: value
|
|
13040
|
+
}, _errorFactory);
|
|
13041
|
+
}); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
13042
|
+
if (false === __is(input)) {
|
|
13043
|
+
_errorFactory = errorFactory;
|
|
13044
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13045
|
+
method: "typia.assertGuard",
|
|
13046
|
+
path: _path + "",
|
|
13047
|
+
expected: "SearchRecord",
|
|
13048
|
+
value: input
|
|
13049
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13050
|
+
method: "typia.assertGuard",
|
|
13051
|
+
path: _path + "",
|
|
13052
|
+
expected: "SearchRecord",
|
|
13053
|
+
value: input
|
|
13054
|
+
}, _errorFactory))(input, "$input", true);
|
|
13055
|
+
}
|
|
13056
|
+
}; })()(input);
|
|
13057
|
+
}
|
|
12856
13058
|
case ":search?": {
|
|
12857
13059
|
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, {
|
|
12858
13060
|
method: "typia.assertGuard",
|
|
@@ -12890,12 +13092,12 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
12890
13092
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
12891
13093
|
method: "typia.assertGuard",
|
|
12892
13094
|
path: _path + "",
|
|
12893
|
-
expected: "
|
|
13095
|
+
expected: "SearchRecordProvided",
|
|
12894
13096
|
value: input
|
|
12895
13097
|
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
12896
13098
|
method: "typia.assertGuard",
|
|
12897
13099
|
path: _path + "",
|
|
12898
|
-
expected: "
|
|
13100
|
+
expected: "SearchRecordProvided",
|
|
12899
13101
|
value: input
|
|
12900
13102
|
}, _errorFactory))(input, "$input", true);
|
|
12901
13103
|
}
|
|
@@ -15226,12 +15428,17 @@ function _assertGuardDomainRecord(domain, input) {
|
|
|
15226
15428
|
}; })()(input);
|
|
15227
15429
|
}
|
|
15228
15430
|
case ":template": {
|
|
15229
|
-
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 => {
|
|
15431
|
+
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 => {
|
|
15230
15432
|
const value = input[key];
|
|
15231
15433
|
if (undefined === value)
|
|
15232
15434
|
return true;
|
|
15233
15435
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
15234
|
-
}); const _io2 = input => undefined === input.path || "string" === typeof input.path; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
15436
|
+
}); 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, {
|
|
15437
|
+
method: "typia.assertGuard",
|
|
15438
|
+
path: _path + ".controller",
|
|
15439
|
+
expected: "(string | undefined)",
|
|
15440
|
+
value: input.controller
|
|
15441
|
+
}, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15235
15442
|
method: "typia.assertGuard",
|
|
15236
15443
|
path: _path + ".mixin",
|
|
15237
15444
|
expected: "(Array<string> | undefined)",
|