@nxtedition/types 23.1.5 → 23.1.6
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-scene.d.ts +5 -0
- package/dist/nxtpression.d.ts +6 -0
- package/dist/records/validate/assert-guard.js +259 -159
- package/dist/records/validate/assert.js +259 -159
- package/dist/records/validate/is.js +25 -25
- package/dist/records/validate/schemas.js +75 -0
- package/dist/records/validate/stringify.js +50 -50
- package/dist/records/validate/validate-equals.js +430 -235
- package/dist/records/validate/validate.js +239 -159
- package/package.json +1 -1
|
@@ -10346,12 +10346,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10346
10346
|
}; })()(input);
|
|
10347
10347
|
}
|
|
10348
10348
|
case ":media.source": {
|
|
10349
|
-
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.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io3(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io6(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) &&
|
|
10349
|
+
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.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io3(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io6(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio)) && (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) && _io14(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io2 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io3 = input => Object.keys(input).every(key => {
|
|
10350
10350
|
const value = input[key];
|
|
10351
10351
|
if (undefined === value)
|
|
10352
10352
|
return true;
|
|
10353
10353
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io4(value);
|
|
10354
|
-
}); const _io4 = 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) && _io5(input.styleOverrides)); const _io5 = 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.lineSpacing || "string" === typeof input.lineSpacing) && (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 _io6 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io7 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io8(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io9(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io10(input.colorbalance)); const _io8 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io9 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io10 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io11 = 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 _io12 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const
|
|
10354
|
+
}); const _io4 = 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) && _io5(input.styleOverrides)); const _io5 = 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.lineSpacing || "string" === typeof input.lineSpacing) && (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 _io6 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io12(input.focus)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io7 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io8(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io9(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io10(input.colorbalance)); const _io8 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io9 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io10 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io11 = 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 _io12 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io13 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io14 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
10355
10355
|
path: _path + ".id",
|
|
10356
10356
|
expected: "(string | undefined)",
|
|
10357
10357
|
value: input.id
|
|
@@ -10399,7 +10399,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10399
10399
|
path: _path + ".audio",
|
|
10400
10400
|
expected: "(__type.o6 | undefined)",
|
|
10401
10401
|
value: input.audio
|
|
10402
|
-
})) &&
|
|
10402
|
+
})) && _vo13(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
10403
10403
|
path: _path + ".audio",
|
|
10404
10404
|
expected: "(__type.o6 | undefined)",
|
|
10405
10405
|
value: input.audio
|
|
@@ -10415,7 +10415,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10415
10415
|
path: _path + ".transcribe",
|
|
10416
10416
|
expected: "(__type.o7 | undefined)",
|
|
10417
10417
|
value: input.transcribe
|
|
10418
|
-
})) &&
|
|
10418
|
+
})) && _vo14(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
10419
10419
|
path: _path + ".transcribe",
|
|
10420
10420
|
expected: "(__type.o7 | undefined)",
|
|
10421
10421
|
value: input.transcribe
|
|
@@ -10628,6 +10628,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
10628
10628
|
path: _path + ".crop",
|
|
10629
10629
|
expected: "(RenderSceneCrop | undefined)",
|
|
10630
10630
|
value: input.crop
|
|
10631
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
10632
|
+
path: _path + ".focus",
|
|
10633
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
10634
|
+
value: input.focus
|
|
10635
|
+
})) && _vo12(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
10636
|
+
path: _path + ".focus",
|
|
10637
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
10638
|
+
value: input.focus
|
|
10631
10639
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
10632
10640
|
path: _path + ".orientation",
|
|
10633
10641
|
expected: "(number | undefined)",
|
|
@@ -10744,7 +10752,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
10744
10752
|
path: _path + ".height",
|
|
10745
10753
|
expected: "(number | undefined)",
|
|
10746
10754
|
value: input.height
|
|
10747
|
-
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
10755
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
10756
|
+
path: _path + ".x",
|
|
10757
|
+
expected: "(number | undefined)",
|
|
10758
|
+
value: input.x
|
|
10759
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
10760
|
+
path: _path + ".y",
|
|
10761
|
+
expected: "(number | undefined)",
|
|
10762
|
+
value: input.y
|
|
10763
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
10748
10764
|
path: _path + ".pan",
|
|
10749
10765
|
expected: "(Array<Array<number>> | undefined)",
|
|
10750
10766
|
value: input.pan
|
|
@@ -10764,7 +10780,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10764
10780
|
path: _path + ".pan",
|
|
10765
10781
|
expected: "(Array<Array<number>> | undefined)",
|
|
10766
10782
|
value: input.pan
|
|
10767
|
-
})].every(flag => flag); const
|
|
10783
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
10768
10784
|
path: _path + ".language",
|
|
10769
10785
|
expected: "(string | undefined)",
|
|
10770
10786
|
value: input.language
|
|
@@ -11605,12 +11621,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
11605
11621
|
if (undefined === value)
|
|
11606
11622
|
return true;
|
|
11607
11623
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
|
|
11608
|
-
}); const _io1 = 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) && _io2(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (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.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) &&
|
|
11624
|
+
}); const _io1 = 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) && _io2(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (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.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(input.audio)) && (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) && _io15(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io2 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io3(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io3 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io4 = input => Object.keys(input).every(key => {
|
|
11609
11625
|
const value = input[key];
|
|
11610
11626
|
if (undefined === value)
|
|
11611
11627
|
return true;
|
|
11612
11628
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
11613
|
-
}); 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.lineSpacing || "string" === typeof input.lineSpacing) && (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.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io8 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io9(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io10(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io11(input.colorbalance)); const _io9 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io10 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io11 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io12 = 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 _io13 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const
|
|
11629
|
+
}); 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.lineSpacing || "string" === typeof input.lineSpacing) && (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.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io13(input.focus)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io8 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io9(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io10(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io11(input.colorbalance)); const _io9 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io10 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io11 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io12 = 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 _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
11614
11630
|
const value = input[key];
|
|
11615
11631
|
if (undefined === value)
|
|
11616
11632
|
return true;
|
|
@@ -11671,7 +11687,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11671
11687
|
path: _path + ".audio",
|
|
11672
11688
|
expected: "(__type.o6 | undefined)",
|
|
11673
11689
|
value: input.audio
|
|
11674
|
-
})) &&
|
|
11690
|
+
})) && _vo14(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
11675
11691
|
path: _path + ".audio",
|
|
11676
11692
|
expected: "(__type.o6 | undefined)",
|
|
11677
11693
|
value: input.audio
|
|
@@ -11687,7 +11703,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11687
11703
|
path: _path + ".transcribe",
|
|
11688
11704
|
expected: "(__type.o7 | undefined)",
|
|
11689
11705
|
value: input.transcribe
|
|
11690
|
-
})) &&
|
|
11706
|
+
})) && _vo15(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
11691
11707
|
path: _path + ".transcribe",
|
|
11692
11708
|
expected: "(__type.o7 | undefined)",
|
|
11693
11709
|
value: input.transcribe
|
|
@@ -11900,6 +11916,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
11900
11916
|
path: _path + ".crop",
|
|
11901
11917
|
expected: "(RenderSceneCrop | undefined)",
|
|
11902
11918
|
value: input.crop
|
|
11919
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
11920
|
+
path: _path + ".focus",
|
|
11921
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
11922
|
+
value: input.focus
|
|
11923
|
+
})) && _vo13(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
11924
|
+
path: _path + ".focus",
|
|
11925
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
11926
|
+
value: input.focus
|
|
11903
11927
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
11904
11928
|
path: _path + ".orientation",
|
|
11905
11929
|
expected: "(number | undefined)",
|
|
@@ -12016,7 +12040,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
12016
12040
|
path: _path + ".height",
|
|
12017
12041
|
expected: "(number | undefined)",
|
|
12018
12042
|
value: input.height
|
|
12019
|
-
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
12043
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
12044
|
+
path: _path + ".x",
|
|
12045
|
+
expected: "(number | undefined)",
|
|
12046
|
+
value: input.x
|
|
12047
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
12048
|
+
path: _path + ".y",
|
|
12049
|
+
expected: "(number | undefined)",
|
|
12050
|
+
value: input.y
|
|
12051
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
12020
12052
|
path: _path + ".pan",
|
|
12021
12053
|
expected: "(Array<Array<number>> | undefined)",
|
|
12022
12054
|
value: input.pan
|
|
@@ -12036,7 +12068,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12036
12068
|
path: _path + ".pan",
|
|
12037
12069
|
expected: "(Array<Array<number>> | undefined)",
|
|
12038
12070
|
value: input.pan
|
|
12039
|
-
})].every(flag => flag); const
|
|
12071
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
12040
12072
|
path: _path + ".language",
|
|
12041
12073
|
expected: "(string | undefined)",
|
|
12042
12074
|
value: input.language
|
|
@@ -13910,46 +13942,46 @@ function _validateDomainRecord(domain, input) {
|
|
|
13910
13942
|
}; })()(input);
|
|
13911
13943
|
}
|
|
13912
13944
|
case ":publish": {
|
|
13913
|
-
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error &&
|
|
13945
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io17(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.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(input.audio)) && (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) && _io16(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io4(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io4 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io5 = input => Object.keys(input).every(key => {
|
|
13914
13946
|
const value = input[key];
|
|
13915
13947
|
if (undefined === value)
|
|
13916
13948
|
return true;
|
|
13917
13949
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
13918
|
-
}); const _io6 = 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) && _io7(input.styleOverrides)); const _io7 = 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.lineSpacing || "string" === typeof input.lineSpacing) && (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 _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = 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 _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const
|
|
13950
|
+
}); const _io6 = 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) && _io7(input.styleOverrides)); const _io7 = 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.lineSpacing || "string" === typeof input.lineSpacing) && (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 _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io14(input.focus)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = 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 _io14 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io15 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io16 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io17 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io18(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io19(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io20(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) && _io21(input.subtitle))); const _io18 = input => "string" === typeof input.engine; const _io19 = input => "string" === typeof input.language; const _io20 = 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 _io21 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io22(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io23(input.ass)); const _io22 = input => undefined === input.preset || "string" === typeof input.preset; const _io23 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io24 = input => "string" === typeof input.method; const _io25 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io26 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io27 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io32(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io33(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io36(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io28 = input => Object.keys(input).every(key => {
|
|
13919
13951
|
const value = input[key];
|
|
13920
13952
|
if (undefined === value)
|
|
13921
13953
|
return true;
|
|
13922
13954
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
13923
|
-
}); const
|
|
13955
|
+
}); const _io29 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io17(input.profile)); const _io30 = input => "object" === typeof input.__context && null !== input.__context && _io31(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io29(input.__returnValue)); const _io31 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io27(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io32 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io33 = 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) && _io34(input.renders)); const _io34 = input => Object.keys(input).every(key => {
|
|
13924
13956
|
const value = input[key];
|
|
13925
13957
|
if (undefined === value)
|
|
13926
13958
|
return true;
|
|
13927
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13928
|
-
}); const
|
|
13959
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io35(value);
|
|
13960
|
+
}); const _io35 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io36 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io37 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io32(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io38(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io36(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io38 = 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 && _io39(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io40(input.metafile)) && Object.keys(input).every(key => {
|
|
13929
13961
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
13930
13962
|
return true;
|
|
13931
13963
|
const value = input[key];
|
|
13932
13964
|
if (undefined === value)
|
|
13933
13965
|
return true;
|
|
13934
13966
|
return true;
|
|
13935
|
-
}); const
|
|
13967
|
+
}); const _io39 = input => "string" === typeof input.path; const _io40 = input => "string" === typeof input.path; const _io41 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io42(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io42 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io43(input.snippet); const _io43 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
13936
13968
|
if (undefined !== input.path)
|
|
13937
|
-
return _io28(input);
|
|
13938
|
-
else if (undefined !== input.__context)
|
|
13939
13969
|
return _io29(input);
|
|
13970
|
+
else if (undefined !== input.__context)
|
|
13971
|
+
return _io30(input);
|
|
13940
13972
|
else
|
|
13941
13973
|
return false;
|
|
13942
13974
|
})(); const _iu1 = input => (() => {
|
|
13943
13975
|
if (_io0(input))
|
|
13944
13976
|
return _io0(input);
|
|
13945
|
-
if (_io25(input))
|
|
13946
|
-
return _io25(input);
|
|
13947
|
-
if (_io36(input))
|
|
13948
|
-
return _io36(input);
|
|
13949
13977
|
if (_io26(input))
|
|
13950
13978
|
return _io26(input);
|
|
13951
|
-
if (
|
|
13952
|
-
return
|
|
13979
|
+
if (_io37(input))
|
|
13980
|
+
return _io37(input);
|
|
13981
|
+
if (_io27(input))
|
|
13982
|
+
return _io27(input);
|
|
13983
|
+
if (_io41(input))
|
|
13984
|
+
return _io41(input);
|
|
13953
13985
|
return false;
|
|
13954
13986
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
13955
13987
|
path: _path + ".type",
|
|
@@ -13975,7 +14007,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13975
14007
|
path: _path + ".error",
|
|
13976
14008
|
expected: "(__type.o13 | null | undefined)",
|
|
13977
14009
|
value: input.error
|
|
13978
|
-
})) &&
|
|
14010
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13979
14011
|
path: _path + ".error",
|
|
13980
14012
|
expected: "(__type.o13 | null | undefined)",
|
|
13981
14013
|
value: input.error
|
|
@@ -13987,7 +14019,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13987
14019
|
path: _path + ".messages[" + _index12 + "]",
|
|
13988
14020
|
expected: "Message",
|
|
13989
14021
|
value: elem
|
|
13990
|
-
})) &&
|
|
14022
|
+
})) && _vo25(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13991
14023
|
path: _path + ".messages[" + _index12 + "]",
|
|
13992
14024
|
expected: "Message",
|
|
13993
14025
|
value: elem
|
|
@@ -14015,7 +14047,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14015
14047
|
path: _path + ".profile",
|
|
14016
14048
|
expected: "(RenderProfileObject | undefined)",
|
|
14017
14049
|
value: input.profile
|
|
14018
|
-
})) &&
|
|
14050
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
14019
14051
|
path: _path + ".profile",
|
|
14020
14052
|
expected: "(RenderProfileObject | undefined)",
|
|
14021
14053
|
value: input.profile
|
|
@@ -14067,7 +14099,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14067
14099
|
path: _path + ".audio",
|
|
14068
14100
|
expected: "(__type.o6 | undefined)",
|
|
14069
14101
|
value: input.audio
|
|
14070
|
-
})) &&
|
|
14102
|
+
})) && _vo15(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
14071
14103
|
path: _path + ".audio",
|
|
14072
14104
|
expected: "(__type.o6 | undefined)",
|
|
14073
14105
|
value: input.audio
|
|
@@ -14083,7 +14115,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14083
14115
|
path: _path + ".transcribe",
|
|
14084
14116
|
expected: "(__type.o7 | undefined)",
|
|
14085
14117
|
value: input.transcribe
|
|
14086
|
-
})) &&
|
|
14118
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
14087
14119
|
path: _path + ".transcribe",
|
|
14088
14120
|
expected: "(__type.o7 | undefined)",
|
|
14089
14121
|
value: input.transcribe
|
|
@@ -14296,6 +14328,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
14296
14328
|
path: _path + ".crop",
|
|
14297
14329
|
expected: "(RenderSceneCrop | undefined)",
|
|
14298
14330
|
value: input.crop
|
|
14331
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
14332
|
+
path: _path + ".focus",
|
|
14333
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
14334
|
+
value: input.focus
|
|
14335
|
+
})) && _vo14(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
14336
|
+
path: _path + ".focus",
|
|
14337
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
14338
|
+
value: input.focus
|
|
14299
14339
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
14300
14340
|
path: _path + ".orientation",
|
|
14301
14341
|
expected: "(number | undefined)",
|
|
@@ -14412,7 +14452,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14412
14452
|
path: _path + ".height",
|
|
14413
14453
|
expected: "(number | undefined)",
|
|
14414
14454
|
value: input.height
|
|
14415
|
-
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
14455
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
14456
|
+
path: _path + ".x",
|
|
14457
|
+
expected: "(number | undefined)",
|
|
14458
|
+
value: input.x
|
|
14459
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
14460
|
+
path: _path + ".y",
|
|
14461
|
+
expected: "(number | undefined)",
|
|
14462
|
+
value: input.y
|
|
14463
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
14416
14464
|
path: _path + ".pan",
|
|
14417
14465
|
expected: "(Array<Array<number>> | undefined)",
|
|
14418
14466
|
value: input.pan
|
|
@@ -14432,7 +14480,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14432
14480
|
path: _path + ".pan",
|
|
14433
14481
|
expected: "(Array<Array<number>> | undefined)",
|
|
14434
14482
|
value: input.pan
|
|
14435
|
-
})].every(flag => flag); const
|
|
14483
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
14436
14484
|
path: _path + ".language",
|
|
14437
14485
|
expected: "(string | undefined)",
|
|
14438
14486
|
value: input.language
|
|
@@ -14452,7 +14500,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14452
14500
|
path: _path + ".diarization",
|
|
14453
14501
|
expected: "(boolean | undefined)",
|
|
14454
14502
|
value: input.diarization
|
|
14455
|
-
})].every(flag => flag); const
|
|
14503
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
14456
14504
|
path: _path + ".format",
|
|
14457
14505
|
expected: "string",
|
|
14458
14506
|
value: input.format
|
|
@@ -14460,7 +14508,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14460
14508
|
path: _path + ".transcribe",
|
|
14461
14509
|
expected: "(__type.o8 | undefined)",
|
|
14462
14510
|
value: input.transcribe
|
|
14463
|
-
})) &&
|
|
14511
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
14464
14512
|
path: _path + ".transcribe",
|
|
14465
14513
|
expected: "(__type.o8 | undefined)",
|
|
14466
14514
|
value: input.transcribe
|
|
@@ -14468,7 +14516,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14468
14516
|
path: _path + ".translate",
|
|
14469
14517
|
expected: "(__type.o9 | undefined)",
|
|
14470
14518
|
value: input.translate
|
|
14471
|
-
})) &&
|
|
14519
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
14472
14520
|
path: _path + ".translate",
|
|
14473
14521
|
expected: "(__type.o9 | undefined)",
|
|
14474
14522
|
value: input.translate
|
|
@@ -14476,7 +14524,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14476
14524
|
path: _path + ".audio",
|
|
14477
14525
|
expected: "(__type.o10 | undefined)",
|
|
14478
14526
|
value: input.audio
|
|
14479
|
-
})) &&
|
|
14527
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
14480
14528
|
path: _path + ".audio",
|
|
14481
14529
|
expected: "(__type.o10 | undefined)",
|
|
14482
14530
|
value: input.audio
|
|
@@ -14500,19 +14548,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
14500
14548
|
path: _path + ".subtitle",
|
|
14501
14549
|
expected: "(SubtitleProfile | string | undefined)",
|
|
14502
14550
|
value: input.subtitle
|
|
14503
|
-
})) &&
|
|
14551
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
14504
14552
|
path: _path + ".subtitle",
|
|
14505
14553
|
expected: "(SubtitleProfile | string | undefined)",
|
|
14506
14554
|
value: input.subtitle
|
|
14507
|
-
}))].every(flag => flag); const
|
|
14555
|
+
}))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
14508
14556
|
path: _path + ".engine",
|
|
14509
14557
|
expected: "string",
|
|
14510
14558
|
value: input.engine
|
|
14511
|
-
})].every(flag => flag); const
|
|
14559
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
14512
14560
|
path: _path + ".language",
|
|
14513
14561
|
expected: "string",
|
|
14514
14562
|
value: input.language
|
|
14515
|
-
})].every(flag => flag); const
|
|
14563
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
14516
14564
|
path: _path + ".codec",
|
|
14517
14565
|
expected: "(string | undefined)",
|
|
14518
14566
|
value: input.codec
|
|
@@ -14528,7 +14576,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14528
14576
|
path: _path + ".split",
|
|
14529
14577
|
expected: "(boolean | undefined)",
|
|
14530
14578
|
value: input.split
|
|
14531
|
-
})].every(flag => flag); const
|
|
14579
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
14532
14580
|
path: _path + ".lang",
|
|
14533
14581
|
expected: "(string | undefined)",
|
|
14534
14582
|
value: input.lang
|
|
@@ -14540,7 +14588,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14540
14588
|
path: _path + ".ccconverter",
|
|
14541
14589
|
expected: "(__type.o11 | undefined)",
|
|
14542
14590
|
value: input.ccconverter
|
|
14543
|
-
})) &&
|
|
14591
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
14544
14592
|
path: _path + ".ccconverter",
|
|
14545
14593
|
expected: "(__type.o11 | undefined)",
|
|
14546
14594
|
value: input.ccconverter
|
|
@@ -14548,15 +14596,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14548
14596
|
path: _path + ".ass",
|
|
14549
14597
|
expected: "(__type.o12 | undefined)",
|
|
14550
14598
|
value: input.ass
|
|
14551
|
-
})) &&
|
|
14599
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
14552
14600
|
path: _path + ".ass",
|
|
14553
14601
|
expected: "(__type.o12 | undefined)",
|
|
14554
14602
|
value: input.ass
|
|
14555
|
-
})].every(flag => flag); const
|
|
14603
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
14556
14604
|
path: _path + ".preset",
|
|
14557
14605
|
expected: "(string | undefined)",
|
|
14558
14606
|
value: input.preset
|
|
14559
|
-
})].every(flag => flag); const
|
|
14607
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
14560
14608
|
path: _path + ".futureWordWrapping",
|
|
14561
14609
|
expected: "(boolean | undefined)",
|
|
14562
14610
|
value: input.futureWordWrapping
|
|
@@ -14568,11 +14616,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
14568
14616
|
path: _path + ".enableUnsafeLineSpacingHack",
|
|
14569
14617
|
expected: "(boolean | undefined)",
|
|
14570
14618
|
value: input.enableUnsafeLineSpacingHack
|
|
14571
|
-
})].every(flag => flag); const
|
|
14619
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
14572
14620
|
path: _path + ".method",
|
|
14573
14621
|
expected: "string",
|
|
14574
14622
|
value: input.method
|
|
14575
|
-
})].every(flag => flag); const
|
|
14623
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
14576
14624
|
path: _path + ".level",
|
|
14577
14625
|
expected: "number",
|
|
14578
14626
|
value: input.level
|
|
@@ -14584,7 +14632,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14584
14632
|
path: _path + ".msg",
|
|
14585
14633
|
expected: "string",
|
|
14586
14634
|
value: input.msg
|
|
14587
|
-
})].every(flag => flag); const
|
|
14635
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
14588
14636
|
path: _path + ".type",
|
|
14589
14637
|
expected: "(\"facebook\" | undefined)",
|
|
14590
14638
|
value: input.type
|
|
@@ -14612,7 +14660,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14612
14660
|
path: _path + ".error",
|
|
14613
14661
|
expected: "(__type.o13 | null | undefined)",
|
|
14614
14662
|
value: input.error
|
|
14615
|
-
})) &&
|
|
14663
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14616
14664
|
path: _path + ".error",
|
|
14617
14665
|
expected: "(__type.o13 | null | undefined)",
|
|
14618
14666
|
value: input.error
|
|
@@ -14624,7 +14672,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14624
14672
|
path: _path + ".messages[" + _index17 + "]",
|
|
14625
14673
|
expected: "Message",
|
|
14626
14674
|
value: elem
|
|
14627
|
-
})) &&
|
|
14675
|
+
})) && _vo25(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14628
14676
|
path: _path + ".messages[" + _index17 + "]",
|
|
14629
14677
|
expected: "Message",
|
|
14630
14678
|
value: elem
|
|
@@ -14632,7 +14680,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14632
14680
|
path: _path + ".messages",
|
|
14633
14681
|
expected: "(Array<Message> | undefined)",
|
|
14634
14682
|
value: input.messages
|
|
14635
|
-
})].every(flag => flag); const
|
|
14683
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
14636
14684
|
path: _path + ".type",
|
|
14637
14685
|
expected: "(\"file\" | undefined)",
|
|
14638
14686
|
value: input.type
|
|
@@ -14648,7 +14696,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14648
14696
|
path: _path + ".renders",
|
|
14649
14697
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14650
14698
|
value: input.renders
|
|
14651
|
-
})) &&
|
|
14699
|
+
})) && _vo28(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14652
14700
|
path: _path + ".renders",
|
|
14653
14701
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14654
14702
|
value: input.renders
|
|
@@ -14656,7 +14704,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14656
14704
|
path: _path + ".draft",
|
|
14657
14705
|
expected: "(FilePublishDraft | undefined)",
|
|
14658
14706
|
value: input.draft
|
|
14659
|
-
})) &&
|
|
14707
|
+
})) && _vo32(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14660
14708
|
path: _path + ".draft",
|
|
14661
14709
|
expected: "(FilePublishDraft | undefined)",
|
|
14662
14710
|
value: input.draft
|
|
@@ -14664,7 +14712,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14664
14712
|
path: _path + ".remote",
|
|
14665
14713
|
expected: "(FilePublishRemote | undefined)",
|
|
14666
14714
|
value: input.remote
|
|
14667
|
-
})) &&
|
|
14715
|
+
})) && _vo33(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14668
14716
|
path: _path + ".remote",
|
|
14669
14717
|
expected: "(FilePublishRemote | undefined)",
|
|
14670
14718
|
value: input.remote
|
|
@@ -14672,7 +14720,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14672
14720
|
path: _path + ".published",
|
|
14673
14721
|
expected: "(FilePublishPublished | undefined)",
|
|
14674
14722
|
value: input.published
|
|
14675
|
-
})) &&
|
|
14723
|
+
})) && _vo36(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14676
14724
|
path: _path + ".published",
|
|
14677
14725
|
expected: "(FilePublishPublished | undefined)",
|
|
14678
14726
|
value: input.published
|
|
@@ -14696,7 +14744,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14696
14744
|
path: _path + ".error",
|
|
14697
14745
|
expected: "(__type.o13 | null | undefined)",
|
|
14698
14746
|
value: input.error
|
|
14699
|
-
})) &&
|
|
14747
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14700
14748
|
path: _path + ".error",
|
|
14701
14749
|
expected: "(__type.o13 | null | undefined)",
|
|
14702
14750
|
value: input.error
|
|
@@ -14708,7 +14756,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14708
14756
|
path: _path + ".messages[" + _index18 + "]",
|
|
14709
14757
|
expected: "Message",
|
|
14710
14758
|
value: elem
|
|
14711
|
-
})) &&
|
|
14759
|
+
})) && _vo25(elem, _path + ".messages[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14712
14760
|
path: _path + ".messages[" + _index18 + "]",
|
|
14713
14761
|
expected: "Message",
|
|
14714
14762
|
value: elem
|
|
@@ -14716,7 +14764,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14716
14764
|
path: _path + ".messages",
|
|
14717
14765
|
expected: "(Array<Message> | undefined)",
|
|
14718
14766
|
value: input.messages
|
|
14719
|
-
})].every(flag => flag); const
|
|
14767
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14720
14768
|
const value = input[key];
|
|
14721
14769
|
if (undefined === value)
|
|
14722
14770
|
return true;
|
|
@@ -14737,7 +14785,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14737
14785
|
expected: "(ResolvedFilePublishRender | __type.o14 | string)",
|
|
14738
14786
|
value: value
|
|
14739
14787
|
}));
|
|
14740
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14788
|
+
}).every(flag => flag)].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
14741
14789
|
path: _path + ".name",
|
|
14742
14790
|
expected: "(string | undefined)",
|
|
14743
14791
|
value: input.name
|
|
@@ -14773,15 +14821,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14773
14821
|
path: _path + ".profile",
|
|
14774
14822
|
expected: "(RenderProfileObject | undefined)",
|
|
14775
14823
|
value: input.profile
|
|
14776
|
-
})) &&
|
|
14824
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
14777
14825
|
path: _path + ".profile",
|
|
14778
14826
|
expected: "(RenderProfileObject | undefined)",
|
|
14779
14827
|
value: input.profile
|
|
14780
|
-
})].every(flag => flag); const
|
|
14828
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
14781
14829
|
path: _path + ".__context",
|
|
14782
14830
|
expected: "__type.o15",
|
|
14783
14831
|
value: input.__context
|
|
14784
|
-
})) &&
|
|
14832
|
+
})) && _vo31(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
14785
14833
|
path: _path + ".__context",
|
|
14786
14834
|
expected: "__type.o15",
|
|
14787
14835
|
value: input.__context
|
|
@@ -14789,15 +14837,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14789
14837
|
path: _path + ".__returnValue",
|
|
14790
14838
|
expected: "ResolvedFilePublishRender",
|
|
14791
14839
|
value: input.__returnValue
|
|
14792
|
-
})) &&
|
|
14840
|
+
})) && _vo29(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
14793
14841
|
path: _path + ".__returnValue",
|
|
14794
14842
|
expected: "ResolvedFilePublishRender",
|
|
14795
14843
|
value: input.__returnValue
|
|
14796
|
-
})].every(flag => flag); const
|
|
14844
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
14797
14845
|
path: _path + ".publish",
|
|
14798
14846
|
expected: "FilePublishRecord",
|
|
14799
14847
|
value: input.publish
|
|
14800
|
-
})) &&
|
|
14848
|
+
})) && _vo27(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
14801
14849
|
path: _path + ".publish",
|
|
14802
14850
|
expected: "FilePublishRecord",
|
|
14803
14851
|
value: input.publish
|
|
@@ -14809,7 +14857,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14809
14857
|
path: _path + ".name",
|
|
14810
14858
|
expected: "string",
|
|
14811
14859
|
value: input.name
|
|
14812
|
-
})].every(flag => flag); const
|
|
14860
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14813
14861
|
path: _path + ".directory",
|
|
14814
14862
|
expected: "(string | undefined)",
|
|
14815
14863
|
value: input.directory
|
|
@@ -14817,7 +14865,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14817
14865
|
path: _path + ".filename",
|
|
14818
14866
|
expected: "(string | undefined)",
|
|
14819
14867
|
value: input.filename
|
|
14820
|
-
})].every(flag => flag); const
|
|
14868
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14821
14869
|
path: _path + ".directory",
|
|
14822
14870
|
expected: "(string | undefined)",
|
|
14823
14871
|
value: input.directory
|
|
@@ -14829,11 +14877,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
14829
14877
|
path: _path + ".renders",
|
|
14830
14878
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14831
14879
|
value: input.renders
|
|
14832
|
-
})) &&
|
|
14880
|
+
})) && _vo34(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14833
14881
|
path: _path + ".renders",
|
|
14834
14882
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14835
14883
|
value: input.renders
|
|
14836
|
-
})].every(flag => flag); const
|
|
14884
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14837
14885
|
const value = input[key];
|
|
14838
14886
|
if (undefined === value)
|
|
14839
14887
|
return true;
|
|
@@ -14841,12 +14889,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14841
14889
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14842
14890
|
expected: "FilePublishRemoteRender",
|
|
14843
14891
|
value: value
|
|
14844
|
-
})) &&
|
|
14892
|
+
})) && _vo35(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
14845
14893
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14846
14894
|
expected: "FilePublishRemoteRender",
|
|
14847
14895
|
value: value
|
|
14848
14896
|
});
|
|
14849
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14897
|
+
}).every(flag => flag)].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
14850
14898
|
path: _path + ".path",
|
|
14851
14899
|
expected: "(string | undefined)",
|
|
14852
14900
|
value: input.path
|
|
@@ -14858,7 +14906,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14858
14906
|
path: _path + ".messages[" + _index19 + "]",
|
|
14859
14907
|
expected: "Message",
|
|
14860
14908
|
value: elem
|
|
14861
|
-
})) &&
|
|
14909
|
+
})) && _vo25(elem, _path + ".messages[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14862
14910
|
path: _path + ".messages[" + _index19 + "]",
|
|
14863
14911
|
expected: "Message",
|
|
14864
14912
|
value: elem
|
|
@@ -14878,7 +14926,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14878
14926
|
path: _path + ".source",
|
|
14879
14927
|
expected: "(string | undefined)",
|
|
14880
14928
|
value: input.source
|
|
14881
|
-
})].every(flag => flag); const
|
|
14929
|
+
})].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14882
14930
|
path: _path + ".directory",
|
|
14883
14931
|
expected: "(string | undefined)",
|
|
14884
14932
|
value: input.directory
|
|
@@ -14886,7 +14934,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14886
14934
|
path: _path + ".filename",
|
|
14887
14935
|
expected: "string",
|
|
14888
14936
|
value: input.filename
|
|
14889
|
-
})].every(flag => flag); const
|
|
14937
|
+
})].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
14890
14938
|
path: _path + ".type",
|
|
14891
14939
|
expected: "(\"file\" | undefined)",
|
|
14892
14940
|
value: input.type
|
|
@@ -14902,7 +14950,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14902
14950
|
path: _path + ".draft",
|
|
14903
14951
|
expected: "(FilePublishDraft | undefined)",
|
|
14904
14952
|
value: input.draft
|
|
14905
|
-
})) &&
|
|
14953
|
+
})) && _vo32(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14906
14954
|
path: _path + ".draft",
|
|
14907
14955
|
expected: "(FilePublishDraft | undefined)",
|
|
14908
14956
|
value: input.draft
|
|
@@ -14910,7 +14958,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14910
14958
|
path: _path + ".remote",
|
|
14911
14959
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
14912
14960
|
value: input.remote
|
|
14913
|
-
})) &&
|
|
14961
|
+
})) && _vo38(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14914
14962
|
path: _path + ".remote",
|
|
14915
14963
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
14916
14964
|
value: input.remote
|
|
@@ -14918,7 +14966,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14918
14966
|
path: _path + ".published",
|
|
14919
14967
|
expected: "(FilePublishPublished | undefined)",
|
|
14920
14968
|
value: input.published
|
|
14921
|
-
})) &&
|
|
14969
|
+
})) && _vo36(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14922
14970
|
path: _path + ".published",
|
|
14923
14971
|
expected: "(FilePublishPublished | undefined)",
|
|
14924
14972
|
value: input.published
|
|
@@ -14950,7 +14998,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14950
14998
|
path: _path + ".error",
|
|
14951
14999
|
expected: "(__type.o13 | null | undefined)",
|
|
14952
15000
|
value: input.error
|
|
14953
|
-
})) &&
|
|
15001
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14954
15002
|
path: _path + ".error",
|
|
14955
15003
|
expected: "(__type.o13 | null | undefined)",
|
|
14956
15004
|
value: input.error
|
|
@@ -14962,7 +15010,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14962
15010
|
path: _path + ".messages[" + _index20 + "]",
|
|
14963
15011
|
expected: "Message",
|
|
14964
15012
|
value: elem
|
|
14965
|
-
})) &&
|
|
15013
|
+
})) && _vo25(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14966
15014
|
path: _path + ".messages[" + _index20 + "]",
|
|
14967
15015
|
expected: "Message",
|
|
14968
15016
|
value: elem
|
|
@@ -14970,7 +15018,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14970
15018
|
path: _path + ".messages",
|
|
14971
15019
|
expected: "(Array<Message> | undefined)",
|
|
14972
15020
|
value: input.messages
|
|
14973
|
-
})].every(flag => flag); const
|
|
15021
|
+
})].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
14974
15022
|
path: _path + ".id",
|
|
14975
15023
|
expected: "(string | undefined)",
|
|
14976
15024
|
value: input.id
|
|
@@ -14990,7 +15038,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14990
15038
|
path: _path + ".subtitle",
|
|
14991
15039
|
expected: "(__type.o16 | undefined)",
|
|
14992
15040
|
value: input.subtitle
|
|
14993
|
-
})) &&
|
|
15041
|
+
})) && _vo39(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
14994
15042
|
path: _path + ".subtitle",
|
|
14995
15043
|
expected: "(__type.o16 | undefined)",
|
|
14996
15044
|
value: input.subtitle
|
|
@@ -14998,7 +15046,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14998
15046
|
path: _path + ".metafile",
|
|
14999
15047
|
expected: "(__type.o17 | undefined)",
|
|
15000
15048
|
value: input.metafile
|
|
15001
|
-
})) &&
|
|
15049
|
+
})) && _vo40(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
15002
15050
|
path: _path + ".metafile",
|
|
15003
15051
|
expected: "(__type.o17 | undefined)",
|
|
15004
15052
|
value: input.metafile
|
|
@@ -15009,15 +15057,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
15009
15057
|
if (undefined === value)
|
|
15010
15058
|
return true;
|
|
15011
15059
|
return true;
|
|
15012
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
15060
|
+
}).every(flag => flag)].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
15013
15061
|
path: _path + ".path",
|
|
15014
15062
|
expected: "string",
|
|
15015
15063
|
value: input.path
|
|
15016
|
-
})].every(flag => flag); const
|
|
15064
|
+
})].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
15017
15065
|
path: _path + ".path",
|
|
15018
15066
|
expected: "string",
|
|
15019
15067
|
value: input.path
|
|
15020
|
-
})].every(flag => flag); const
|
|
15068
|
+
})].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
15021
15069
|
path: _path + ".type",
|
|
15022
15070
|
expected: "(\"youtube\" | undefined)",
|
|
15023
15071
|
value: input.type
|
|
@@ -15025,7 +15073,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15025
15073
|
path: _path + ".draft",
|
|
15026
15074
|
expected: "(__type.o18 | undefined)",
|
|
15027
15075
|
value: input.draft
|
|
15028
|
-
})) &&
|
|
15076
|
+
})) && _vo42(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
15029
15077
|
path: _path + ".draft",
|
|
15030
15078
|
expected: "(__type.o18 | undefined)",
|
|
15031
15079
|
value: input.draft
|
|
@@ -15049,7 +15097,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15049
15097
|
path: _path + ".error",
|
|
15050
15098
|
expected: "(__type.o13 | null | undefined)",
|
|
15051
15099
|
value: input.error
|
|
15052
|
-
})) &&
|
|
15100
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
15053
15101
|
path: _path + ".error",
|
|
15054
15102
|
expected: "(__type.o13 | null | undefined)",
|
|
15055
15103
|
value: input.error
|
|
@@ -15061,7 +15109,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15061
15109
|
path: _path + ".messages[" + _index21 + "]",
|
|
15062
15110
|
expected: "Message",
|
|
15063
15111
|
value: elem
|
|
15064
|
-
})) &&
|
|
15112
|
+
})) && _vo25(elem, _path + ".messages[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15065
15113
|
path: _path + ".messages[" + _index21 + "]",
|
|
15066
15114
|
expected: "Message",
|
|
15067
15115
|
value: elem
|
|
@@ -15069,15 +15117,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
15069
15117
|
path: _path + ".messages",
|
|
15070
15118
|
expected: "(Array<Message> | undefined)",
|
|
15071
15119
|
value: input.messages
|
|
15072
|
-
})].every(flag => flag); const
|
|
15120
|
+
})].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [undefined === input.snippet || ("object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) || _report(_exceptionable, {
|
|
15073
15121
|
path: _path + ".snippet",
|
|
15074
15122
|
expected: "(__type.o19 | undefined)",
|
|
15075
15123
|
value: input.snippet
|
|
15076
|
-
})) &&
|
|
15124
|
+
})) && _vo43(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
15077
15125
|
path: _path + ".snippet",
|
|
15078
15126
|
expected: "(__type.o19 | undefined)",
|
|
15079
15127
|
value: input.snippet
|
|
15080
|
-
})].every(flag => flag); const
|
|
15128
|
+
})].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
15081
15129
|
path: _path + ".title",
|
|
15082
15130
|
expected: "(string | undefined)",
|
|
15083
15131
|
value: input.title
|
|
@@ -15099,16 +15147,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
15099
15147
|
value: input.description
|
|
15100
15148
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
15101
15149
|
if (undefined !== input.path)
|
|
15102
|
-
return _vo28(input, _path, true && _exceptionable);
|
|
15103
|
-
else if (undefined !== input.__context)
|
|
15104
15150
|
return _vo29(input, _path, true && _exceptionable);
|
|
15151
|
+
else if (undefined !== input.__context)
|
|
15152
|
+
return _vo30(input, _path, true && _exceptionable);
|
|
15105
15153
|
else
|
|
15106
15154
|
return _report(_exceptionable, {
|
|
15107
15155
|
path: _path,
|
|
15108
15156
|
expected: "(ResolvedFilePublishRender | __type.o14)",
|
|
15109
15157
|
value: input
|
|
15110
15158
|
});
|
|
15111
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) ||
|
|
15159
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo26(input, _path, false && _exceptionable) || _vo37(input, _path, false && _exceptionable) || _vo27(input, _path, false && _exceptionable) || _vo41(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
15112
15160
|
if (false === __is(input)) {
|
|
15113
15161
|
errors = [];
|
|
15114
15162
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -15148,21 +15196,21 @@ function _validateDomainRecord(domain, input) {
|
|
|
15148
15196
|
if (undefined === value)
|
|
15149
15197
|
return true;
|
|
15150
15198
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
15151
|
-
}); const _io8 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile &&
|
|
15199
|
+
}); const _io8 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io24(input.profile)); const _io9 = 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) && _io10(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io12(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io15(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(input.audio)) && (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) && _io23(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io10 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io11(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io11 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io12 = input => Object.keys(input).every(key => {
|
|
15152
15200
|
const value = input[key];
|
|
15153
15201
|
if (undefined === value)
|
|
15154
15202
|
return true;
|
|
15155
15203
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
15156
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io16 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io17(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io18(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io19(input.colorbalance)); const _io17 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io18 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io19 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io20 = 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 _io21 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const
|
|
15204
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io21(input.focus)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io16 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io17(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io18(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io19(input.colorbalance)); const _io17 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io18 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io19 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io20 = 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 _io21 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io22 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io23 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io24 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io25(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io26(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(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) && _io28(input.subtitle))); const _io25 = input => "string" === typeof input.engine; const _io26 = input => "string" === typeof input.language; const _io27 = 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 _io28 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io29(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io30(input.ass)); const _io29 = input => undefined === input.preset || "string" === typeof input.preset; const _io30 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io32(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io8(input.__returnValue)); const _io32 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io33(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io33 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io7(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io34(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io35(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io38(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io39(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io40(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io34 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io35 = 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) && _io36(input.renders)); const _io36 = input => Object.keys(input).every(key => {
|
|
15157
15205
|
const value = input[key];
|
|
15158
15206
|
if (undefined === value)
|
|
15159
15207
|
return true;
|
|
15160
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
15161
|
-
}); const
|
|
15208
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io37(value);
|
|
15209
|
+
}); const _io37 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io38 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io39 = 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) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io24(input.profile)); const _io40 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
15162
15210
|
if (undefined !== input.path)
|
|
15163
15211
|
return _io8(input);
|
|
15164
15212
|
else if (undefined !== input.__context)
|
|
15165
|
-
return
|
|
15213
|
+
return _io31(input);
|
|
15166
15214
|
else
|
|
15167
15215
|
return false;
|
|
15168
15216
|
})(); const _iu1 = input => (() => {
|
|
@@ -15361,7 +15409,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15361
15409
|
path: _path + ".profile",
|
|
15362
15410
|
expected: "(RenderProfileObject | undefined)",
|
|
15363
15411
|
value: input.profile
|
|
15364
|
-
})) &&
|
|
15412
|
+
})) && _vo24(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
15365
15413
|
path: _path + ".profile",
|
|
15366
15414
|
expected: "(RenderProfileObject | undefined)",
|
|
15367
15415
|
value: input.profile
|
|
@@ -15413,7 +15461,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15413
15461
|
path: _path + ".audio",
|
|
15414
15462
|
expected: "(__type.o6 | undefined)",
|
|
15415
15463
|
value: input.audio
|
|
15416
|
-
})) &&
|
|
15464
|
+
})) && _vo22(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
15417
15465
|
path: _path + ".audio",
|
|
15418
15466
|
expected: "(__type.o6 | undefined)",
|
|
15419
15467
|
value: input.audio
|
|
@@ -15429,7 +15477,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15429
15477
|
path: _path + ".transcribe",
|
|
15430
15478
|
expected: "(__type.o7 | undefined)",
|
|
15431
15479
|
value: input.transcribe
|
|
15432
|
-
})) &&
|
|
15480
|
+
})) && _vo23(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
15433
15481
|
path: _path + ".transcribe",
|
|
15434
15482
|
expected: "(__type.o7 | undefined)",
|
|
15435
15483
|
value: input.transcribe
|
|
@@ -15642,6 +15690,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
15642
15690
|
path: _path + ".crop",
|
|
15643
15691
|
expected: "(RenderSceneCrop | undefined)",
|
|
15644
15692
|
value: input.crop
|
|
15693
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
15694
|
+
path: _path + ".focus",
|
|
15695
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
15696
|
+
value: input.focus
|
|
15697
|
+
})) && _vo21(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
15698
|
+
path: _path + ".focus",
|
|
15699
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
15700
|
+
value: input.focus
|
|
15645
15701
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
15646
15702
|
path: _path + ".orientation",
|
|
15647
15703
|
expected: "(number | undefined)",
|
|
@@ -15758,7 +15814,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
15758
15814
|
path: _path + ".height",
|
|
15759
15815
|
expected: "(number | undefined)",
|
|
15760
15816
|
value: input.height
|
|
15761
|
-
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
15817
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
15818
|
+
path: _path + ".x",
|
|
15819
|
+
expected: "(number | undefined)",
|
|
15820
|
+
value: input.x
|
|
15821
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
15822
|
+
path: _path + ".y",
|
|
15823
|
+
expected: "(number | undefined)",
|
|
15824
|
+
value: input.y
|
|
15825
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
15762
15826
|
path: _path + ".pan",
|
|
15763
15827
|
expected: "(Array<Array<number>> | undefined)",
|
|
15764
15828
|
value: input.pan
|
|
@@ -15778,7 +15842,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15778
15842
|
path: _path + ".pan",
|
|
15779
15843
|
expected: "(Array<Array<number>> | undefined)",
|
|
15780
15844
|
value: input.pan
|
|
15781
|
-
})].every(flag => flag); const
|
|
15845
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
15782
15846
|
path: _path + ".language",
|
|
15783
15847
|
expected: "(string | undefined)",
|
|
15784
15848
|
value: input.language
|
|
@@ -15798,7 +15862,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15798
15862
|
path: _path + ".diarization",
|
|
15799
15863
|
expected: "(boolean | undefined)",
|
|
15800
15864
|
value: input.diarization
|
|
15801
|
-
})].every(flag => flag); const
|
|
15865
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
15802
15866
|
path: _path + ".format",
|
|
15803
15867
|
expected: "string",
|
|
15804
15868
|
value: input.format
|
|
@@ -15806,7 +15870,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15806
15870
|
path: _path + ".transcribe",
|
|
15807
15871
|
expected: "(__type.o8 | undefined)",
|
|
15808
15872
|
value: input.transcribe
|
|
15809
|
-
})) &&
|
|
15873
|
+
})) && _vo25(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
15810
15874
|
path: _path + ".transcribe",
|
|
15811
15875
|
expected: "(__type.o8 | undefined)",
|
|
15812
15876
|
value: input.transcribe
|
|
@@ -15814,7 +15878,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15814
15878
|
path: _path + ".translate",
|
|
15815
15879
|
expected: "(__type.o9 | undefined)",
|
|
15816
15880
|
value: input.translate
|
|
15817
|
-
})) &&
|
|
15881
|
+
})) && _vo26(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
15818
15882
|
path: _path + ".translate",
|
|
15819
15883
|
expected: "(__type.o9 | undefined)",
|
|
15820
15884
|
value: input.translate
|
|
@@ -15822,7 +15886,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15822
15886
|
path: _path + ".audio",
|
|
15823
15887
|
expected: "(__type.o10 | undefined)",
|
|
15824
15888
|
value: input.audio
|
|
15825
|
-
})) &&
|
|
15889
|
+
})) && _vo27(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
15826
15890
|
path: _path + ".audio",
|
|
15827
15891
|
expected: "(__type.o10 | undefined)",
|
|
15828
15892
|
value: input.audio
|
|
@@ -15846,19 +15910,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15846
15910
|
path: _path + ".subtitle",
|
|
15847
15911
|
expected: "(SubtitleProfile | string | undefined)",
|
|
15848
15912
|
value: input.subtitle
|
|
15849
|
-
})) &&
|
|
15913
|
+
})) && _vo28(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
15850
15914
|
path: _path + ".subtitle",
|
|
15851
15915
|
expected: "(SubtitleProfile | string | undefined)",
|
|
15852
15916
|
value: input.subtitle
|
|
15853
|
-
}))].every(flag => flag); const
|
|
15917
|
+
}))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
15854
15918
|
path: _path + ".engine",
|
|
15855
15919
|
expected: "string",
|
|
15856
15920
|
value: input.engine
|
|
15857
|
-
})].every(flag => flag); const
|
|
15921
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
15858
15922
|
path: _path + ".language",
|
|
15859
15923
|
expected: "string",
|
|
15860
15924
|
value: input.language
|
|
15861
|
-
})].every(flag => flag); const
|
|
15925
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
15862
15926
|
path: _path + ".codec",
|
|
15863
15927
|
expected: "(string | undefined)",
|
|
15864
15928
|
value: input.codec
|
|
@@ -15874,7 +15938,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15874
15938
|
path: _path + ".split",
|
|
15875
15939
|
expected: "(boolean | undefined)",
|
|
15876
15940
|
value: input.split
|
|
15877
|
-
})].every(flag => flag); const
|
|
15941
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
15878
15942
|
path: _path + ".lang",
|
|
15879
15943
|
expected: "(string | undefined)",
|
|
15880
15944
|
value: input.lang
|
|
@@ -15886,7 +15950,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15886
15950
|
path: _path + ".ccconverter",
|
|
15887
15951
|
expected: "(__type.o11 | undefined)",
|
|
15888
15952
|
value: input.ccconverter
|
|
15889
|
-
})) &&
|
|
15953
|
+
})) && _vo29(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
15890
15954
|
path: _path + ".ccconverter",
|
|
15891
15955
|
expected: "(__type.o11 | undefined)",
|
|
15892
15956
|
value: input.ccconverter
|
|
@@ -15894,15 +15958,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
15894
15958
|
path: _path + ".ass",
|
|
15895
15959
|
expected: "(__type.o12 | undefined)",
|
|
15896
15960
|
value: input.ass
|
|
15897
|
-
})) &&
|
|
15961
|
+
})) && _vo30(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
15898
15962
|
path: _path + ".ass",
|
|
15899
15963
|
expected: "(__type.o12 | undefined)",
|
|
15900
15964
|
value: input.ass
|
|
15901
|
-
})].every(flag => flag); const
|
|
15965
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
15902
15966
|
path: _path + ".preset",
|
|
15903
15967
|
expected: "(string | undefined)",
|
|
15904
15968
|
value: input.preset
|
|
15905
|
-
})].every(flag => flag); const
|
|
15969
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
15906
15970
|
path: _path + ".futureWordWrapping",
|
|
15907
15971
|
expected: "(boolean | undefined)",
|
|
15908
15972
|
value: input.futureWordWrapping
|
|
@@ -15914,11 +15978,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
15914
15978
|
path: _path + ".enableUnsafeLineSpacingHack",
|
|
15915
15979
|
expected: "(boolean | undefined)",
|
|
15916
15980
|
value: input.enableUnsafeLineSpacingHack
|
|
15917
|
-
})].every(flag => flag); const
|
|
15981
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
15918
15982
|
path: _path + ".__context",
|
|
15919
15983
|
expected: "__type.o14",
|
|
15920
15984
|
value: input.__context
|
|
15921
|
-
})) &&
|
|
15985
|
+
})) && _vo32(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
15922
15986
|
path: _path + ".__context",
|
|
15923
15987
|
expected: "__type.o14",
|
|
15924
15988
|
value: input.__context
|
|
@@ -15930,11 +15994,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
15930
15994
|
path: _path + ".__returnValue",
|
|
15931
15995
|
expected: "ResolvedFilePublishRender",
|
|
15932
15996
|
value: input.__returnValue
|
|
15933
|
-
})].every(flag => flag); const
|
|
15997
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
15934
15998
|
path: _path + ".publish",
|
|
15935
15999
|
expected: "FilePublishRecord",
|
|
15936
16000
|
value: input.publish
|
|
15937
|
-
})) &&
|
|
16001
|
+
})) && _vo33(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
15938
16002
|
path: _path + ".publish",
|
|
15939
16003
|
expected: "FilePublishRecord",
|
|
15940
16004
|
value: input.publish
|
|
@@ -15946,7 +16010,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15946
16010
|
path: _path + ".name",
|
|
15947
16011
|
expected: "string",
|
|
15948
16012
|
value: input.name
|
|
15949
|
-
})].every(flag => flag); const
|
|
16013
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
15950
16014
|
path: _path + ".type",
|
|
15951
16015
|
expected: "(\"file\" | undefined)",
|
|
15952
16016
|
value: input.type
|
|
@@ -15970,7 +16034,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15970
16034
|
path: _path + ".draft",
|
|
15971
16035
|
expected: "(FilePublishDraft | undefined)",
|
|
15972
16036
|
value: input.draft
|
|
15973
|
-
})) &&
|
|
16037
|
+
})) && _vo34(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
15974
16038
|
path: _path + ".draft",
|
|
15975
16039
|
expected: "(FilePublishDraft | undefined)",
|
|
15976
16040
|
value: input.draft
|
|
@@ -15978,7 +16042,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15978
16042
|
path: _path + ".remote",
|
|
15979
16043
|
expected: "(FilePublishRemote | undefined)",
|
|
15980
16044
|
value: input.remote
|
|
15981
|
-
})) &&
|
|
16045
|
+
})) && _vo35(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
15982
16046
|
path: _path + ".remote",
|
|
15983
16047
|
expected: "(FilePublishRemote | undefined)",
|
|
15984
16048
|
value: input.remote
|
|
@@ -15986,7 +16050,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15986
16050
|
path: _path + ".published",
|
|
15987
16051
|
expected: "(FilePublishPublished | undefined)",
|
|
15988
16052
|
value: input.published
|
|
15989
|
-
})) &&
|
|
16053
|
+
})) && _vo38(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
15990
16054
|
path: _path + ".published",
|
|
15991
16055
|
expected: "(FilePublishPublished | undefined)",
|
|
15992
16056
|
value: input.published
|
|
@@ -16002,7 +16066,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16002
16066
|
path: _path + ".render",
|
|
16003
16067
|
expected: "(PublishRenderBase | undefined)",
|
|
16004
16068
|
value: input.render
|
|
16005
|
-
})) &&
|
|
16069
|
+
})) && _vo39(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
16006
16070
|
path: _path + ".render",
|
|
16007
16071
|
expected: "(PublishRenderBase | undefined)",
|
|
16008
16072
|
value: input.render
|
|
@@ -16010,7 +16074,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16010
16074
|
path: _path + ".error",
|
|
16011
16075
|
expected: "(__type.o15 | null | undefined)",
|
|
16012
16076
|
value: input.error
|
|
16013
|
-
})) &&
|
|
16077
|
+
})) && _vo40(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
16014
16078
|
path: _path + ".error",
|
|
16015
16079
|
expected: "(__type.o15 | null | undefined)",
|
|
16016
16080
|
value: input.error
|
|
@@ -16030,7 +16094,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16030
16094
|
path: _path + ".messages",
|
|
16031
16095
|
expected: "(Array<Message> | undefined)",
|
|
16032
16096
|
value: input.messages
|
|
16033
|
-
})].every(flag => flag); const
|
|
16097
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
16034
16098
|
path: _path + ".directory",
|
|
16035
16099
|
expected: "(string | undefined)",
|
|
16036
16100
|
value: input.directory
|
|
@@ -16038,7 +16102,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16038
16102
|
path: _path + ".filename",
|
|
16039
16103
|
expected: "(string | undefined)",
|
|
16040
16104
|
value: input.filename
|
|
16041
|
-
})].every(flag => flag); const
|
|
16105
|
+
})].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
16042
16106
|
path: _path + ".directory",
|
|
16043
16107
|
expected: "(string | undefined)",
|
|
16044
16108
|
value: input.directory
|
|
@@ -16050,11 +16114,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
16050
16114
|
path: _path + ".renders",
|
|
16051
16115
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
16052
16116
|
value: input.renders
|
|
16053
|
-
})) &&
|
|
16117
|
+
})) && _vo36(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
16054
16118
|
path: _path + ".renders",
|
|
16055
16119
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
16056
16120
|
value: input.renders
|
|
16057
|
-
})].every(flag => flag); const
|
|
16121
|
+
})].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16058
16122
|
const value = input[key];
|
|
16059
16123
|
if (undefined === value)
|
|
16060
16124
|
return true;
|
|
@@ -16062,12 +16126,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16062
16126
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16063
16127
|
expected: "FilePublishRemoteRender",
|
|
16064
16128
|
value: value
|
|
16065
|
-
})) &&
|
|
16129
|
+
})) && _vo37(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
16066
16130
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16067
16131
|
expected: "FilePublishRemoteRender",
|
|
16068
16132
|
value: value
|
|
16069
16133
|
});
|
|
16070
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
16134
|
+
}).every(flag => flag)].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
16071
16135
|
path: _path + ".path",
|
|
16072
16136
|
expected: "(string | undefined)",
|
|
16073
16137
|
value: input.path
|
|
@@ -16099,7 +16163,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16099
16163
|
path: _path + ".source",
|
|
16100
16164
|
expected: "(string | undefined)",
|
|
16101
16165
|
value: input.source
|
|
16102
|
-
})].every(flag => flag); const
|
|
16166
|
+
})].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
16103
16167
|
path: _path + ".directory",
|
|
16104
16168
|
expected: "(string | undefined)",
|
|
16105
16169
|
value: input.directory
|
|
@@ -16107,7 +16171,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16107
16171
|
path: _path + ".filename",
|
|
16108
16172
|
expected: "string",
|
|
16109
16173
|
value: input.filename
|
|
16110
|
-
})].every(flag => flag); const
|
|
16174
|
+
})].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
16111
16175
|
path: _path + ".preset",
|
|
16112
16176
|
expected: "(string | undefined)",
|
|
16113
16177
|
value: input.preset
|
|
@@ -16127,11 +16191,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
16127
16191
|
path: _path + ".profile",
|
|
16128
16192
|
expected: "(RenderProfileObject | undefined)",
|
|
16129
16193
|
value: input.profile
|
|
16130
|
-
})) &&
|
|
16194
|
+
})) && _vo24(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
16131
16195
|
path: _path + ".profile",
|
|
16132
16196
|
expected: "(RenderProfileObject | undefined)",
|
|
16133
16197
|
value: input.profile
|
|
16134
|
-
})].every(flag => flag); const
|
|
16198
|
+
})].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
16135
16199
|
path: _path + ".method",
|
|
16136
16200
|
expected: "string",
|
|
16137
16201
|
value: input.method
|
|
@@ -16139,7 +16203,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16139
16203
|
if (undefined !== input.path)
|
|
16140
16204
|
return _vo8(input, _path, true && _exceptionable);
|
|
16141
16205
|
else if (undefined !== input.__context)
|
|
16142
|
-
return
|
|
16206
|
+
return _vo31(input, _path, true && _exceptionable);
|
|
16143
16207
|
else
|
|
16144
16208
|
return _report(_exceptionable, {
|
|
16145
16209
|
path: _path,
|
|
@@ -16934,12 +16998,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16934
16998
|
}; })()(input);
|
|
16935
16999
|
}
|
|
16936
17000
|
case ":render.query?": {
|
|
16937
|
-
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 &&
|
|
17001
|
+
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 && _io17(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.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(input.audio)) && (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) && _io16(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io4(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io4 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io5 = input => Object.keys(input).every(key => {
|
|
16938
17002
|
const value = input[key];
|
|
16939
17003
|
if (undefined === value)
|
|
16940
17004
|
return true;
|
|
16941
17005
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
16942
|
-
}); const _io6 = 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) && _io7(input.styleOverrides)); const _io7 = 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.lineSpacing || "string" === typeof input.lineSpacing) && (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 _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = 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 _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const
|
|
17006
|
+
}); const _io6 = 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) && _io7(input.styleOverrides)); const _io7 = 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.lineSpacing || "string" === typeof input.lineSpacing) && (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 _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io14(input.focus)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = 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 _io14 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io15 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io16 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io17 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io18(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io19(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io20(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) && _io21(input.subtitle))); const _io18 = input => "string" === typeof input.engine; const _io19 = input => "string" === typeof input.language; const _io20 = 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 _io21 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io22(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io23(input.ass)); const _io22 = input => undefined === input.preset || "string" === typeof input.preset; const _io23 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
16943
17007
|
path: _path + ".type",
|
|
16944
17008
|
expected: "string",
|
|
16945
17009
|
value: input.type
|
|
@@ -16971,7 +17035,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16971
17035
|
path: _path + ".profile",
|
|
16972
17036
|
expected: "RenderProfileObject",
|
|
16973
17037
|
value: input.profile
|
|
16974
|
-
})) &&
|
|
17038
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
16975
17039
|
path: _path + ".profile",
|
|
16976
17040
|
expected: "RenderProfileObject",
|
|
16977
17041
|
value: input.profile
|
|
@@ -17023,7 +17087,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17023
17087
|
path: _path + ".audio",
|
|
17024
17088
|
expected: "(__type.o7 | undefined)",
|
|
17025
17089
|
value: input.audio
|
|
17026
|
-
})) &&
|
|
17090
|
+
})) && _vo15(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
17027
17091
|
path: _path + ".audio",
|
|
17028
17092
|
expected: "(__type.o7 | undefined)",
|
|
17029
17093
|
value: input.audio
|
|
@@ -17039,7 +17103,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17039
17103
|
path: _path + ".transcribe",
|
|
17040
17104
|
expected: "(__type.o8 | undefined)",
|
|
17041
17105
|
value: input.transcribe
|
|
17042
|
-
})) &&
|
|
17106
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
17043
17107
|
path: _path + ".transcribe",
|
|
17044
17108
|
expected: "(__type.o8 | undefined)",
|
|
17045
17109
|
value: input.transcribe
|
|
@@ -17252,6 +17316,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
17252
17316
|
path: _path + ".crop",
|
|
17253
17317
|
expected: "(RenderSceneCrop | undefined)",
|
|
17254
17318
|
value: input.crop
|
|
17319
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
17320
|
+
path: _path + ".focus",
|
|
17321
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
17322
|
+
value: input.focus
|
|
17323
|
+
})) && _vo14(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
17324
|
+
path: _path + ".focus",
|
|
17325
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
17326
|
+
value: input.focus
|
|
17255
17327
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
17256
17328
|
path: _path + ".orientation",
|
|
17257
17329
|
expected: "(number | undefined)",
|
|
@@ -17368,7 +17440,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
17368
17440
|
path: _path + ".height",
|
|
17369
17441
|
expected: "(number | undefined)",
|
|
17370
17442
|
value: input.height
|
|
17371
|
-
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
17443
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
17444
|
+
path: _path + ".x",
|
|
17445
|
+
expected: "(number | undefined)",
|
|
17446
|
+
value: input.x
|
|
17447
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
17448
|
+
path: _path + ".y",
|
|
17449
|
+
expected: "(number | undefined)",
|
|
17450
|
+
value: input.y
|
|
17451
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
17372
17452
|
path: _path + ".pan",
|
|
17373
17453
|
expected: "(Array<Array<number>> | undefined)",
|
|
17374
17454
|
value: input.pan
|
|
@@ -17388,7 +17468,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17388
17468
|
path: _path + ".pan",
|
|
17389
17469
|
expected: "(Array<Array<number>> | undefined)",
|
|
17390
17470
|
value: input.pan
|
|
17391
|
-
})].every(flag => flag); const
|
|
17471
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
17392
17472
|
path: _path + ".language",
|
|
17393
17473
|
expected: "(string | undefined)",
|
|
17394
17474
|
value: input.language
|
|
@@ -17408,7 +17488,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17408
17488
|
path: _path + ".diarization",
|
|
17409
17489
|
expected: "(boolean | undefined)",
|
|
17410
17490
|
value: input.diarization
|
|
17411
|
-
})].every(flag => flag); const
|
|
17491
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
17412
17492
|
path: _path + ".format",
|
|
17413
17493
|
expected: "string",
|
|
17414
17494
|
value: input.format
|
|
@@ -17416,7 +17496,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17416
17496
|
path: _path + ".transcribe",
|
|
17417
17497
|
expected: "(__type.o9 | undefined)",
|
|
17418
17498
|
value: input.transcribe
|
|
17419
|
-
})) &&
|
|
17499
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
17420
17500
|
path: _path + ".transcribe",
|
|
17421
17501
|
expected: "(__type.o9 | undefined)",
|
|
17422
17502
|
value: input.transcribe
|
|
@@ -17424,7 +17504,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17424
17504
|
path: _path + ".translate",
|
|
17425
17505
|
expected: "(__type.o10 | undefined)",
|
|
17426
17506
|
value: input.translate
|
|
17427
|
-
})) &&
|
|
17507
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
17428
17508
|
path: _path + ".translate",
|
|
17429
17509
|
expected: "(__type.o10 | undefined)",
|
|
17430
17510
|
value: input.translate
|
|
@@ -17432,7 +17512,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17432
17512
|
path: _path + ".audio",
|
|
17433
17513
|
expected: "(__type.o11 | undefined)",
|
|
17434
17514
|
value: input.audio
|
|
17435
|
-
})) &&
|
|
17515
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
17436
17516
|
path: _path + ".audio",
|
|
17437
17517
|
expected: "(__type.o11 | undefined)",
|
|
17438
17518
|
value: input.audio
|
|
@@ -17456,19 +17536,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
17456
17536
|
path: _path + ".subtitle",
|
|
17457
17537
|
expected: "(SubtitleProfile | string | undefined)",
|
|
17458
17538
|
value: input.subtitle
|
|
17459
|
-
})) &&
|
|
17539
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
17460
17540
|
path: _path + ".subtitle",
|
|
17461
17541
|
expected: "(SubtitleProfile | string | undefined)",
|
|
17462
17542
|
value: input.subtitle
|
|
17463
|
-
}))].every(flag => flag); const
|
|
17543
|
+
}))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
17464
17544
|
path: _path + ".engine",
|
|
17465
17545
|
expected: "string",
|
|
17466
17546
|
value: input.engine
|
|
17467
|
-
})].every(flag => flag); const
|
|
17547
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
17468
17548
|
path: _path + ".language",
|
|
17469
17549
|
expected: "string",
|
|
17470
17550
|
value: input.language
|
|
17471
|
-
})].every(flag => flag); const
|
|
17551
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
17472
17552
|
path: _path + ".codec",
|
|
17473
17553
|
expected: "(string | undefined)",
|
|
17474
17554
|
value: input.codec
|
|
@@ -17484,7 +17564,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17484
17564
|
path: _path + ".split",
|
|
17485
17565
|
expected: "(boolean | undefined)",
|
|
17486
17566
|
value: input.split
|
|
17487
|
-
})].every(flag => flag); const
|
|
17567
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
17488
17568
|
path: _path + ".lang",
|
|
17489
17569
|
expected: "(string | undefined)",
|
|
17490
17570
|
value: input.lang
|
|
@@ -17496,7 +17576,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17496
17576
|
path: _path + ".ccconverter",
|
|
17497
17577
|
expected: "(__type.o12 | undefined)",
|
|
17498
17578
|
value: input.ccconverter
|
|
17499
|
-
})) &&
|
|
17579
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
17500
17580
|
path: _path + ".ccconverter",
|
|
17501
17581
|
expected: "(__type.o12 | undefined)",
|
|
17502
17582
|
value: input.ccconverter
|
|
@@ -17504,15 +17584,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
17504
17584
|
path: _path + ".ass",
|
|
17505
17585
|
expected: "(__type.o13 | undefined)",
|
|
17506
17586
|
value: input.ass
|
|
17507
|
-
})) &&
|
|
17587
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
17508
17588
|
path: _path + ".ass",
|
|
17509
17589
|
expected: "(__type.o13 | undefined)",
|
|
17510
17590
|
value: input.ass
|
|
17511
|
-
})].every(flag => flag); const
|
|
17591
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
17512
17592
|
path: _path + ".preset",
|
|
17513
17593
|
expected: "(string | undefined)",
|
|
17514
17594
|
value: input.preset
|
|
17515
|
-
})].every(flag => flag); const
|
|
17595
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
17516
17596
|
path: _path + ".futureWordWrapping",
|
|
17517
17597
|
expected: "(boolean | undefined)",
|
|
17518
17598
|
value: input.futureWordWrapping
|