@nxtedition/types 23.1.4 → 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/block.d.ts +1 -0
- package/dist/common/block.js +31 -13
- package/dist/common/file.js +9 -8
- package/dist/common/location.js +1 -1
- package/dist/common/render-scene.d.ts +5 -0
- package/dist/common/rule.js +2 -2
- package/dist/nxtpression.d.ts +120 -163
- package/dist/records/domains/event.d.ts +14 -0
- package/dist/records/validate/assert-guard.js +333 -162
- package/dist/records/validate/assert.js +335 -162
- package/dist/records/validate/is.js +32 -26
- package/dist/records/validate/schemas.js +160 -4
- package/dist/records/validate/stringify.js +269 -262
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +567 -238
- package/dist/records/validate/validate.js +330 -162
- package/dist/rpc.js +2 -2
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +13 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport
|
|
2
|
-
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString
|
|
3
|
-
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64
|
|
1
|
+
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport";
|
|
2
|
+
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString";
|
|
3
|
+
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64";
|
|
4
4
|
import { parseRecordName, isEmptyRecord } from "./utils.js";
|
|
5
5
|
import typia from 'typia';
|
|
6
6
|
export function validateRecord(name, input) {
|
|
@@ -8882,6 +8882,94 @@ function _validateDomainRecord(domain, input) {
|
|
|
8882
8882
|
};
|
|
8883
8883
|
}; })()(input);
|
|
8884
8884
|
}
|
|
8885
|
+
case ":event.readDuration?": {
|
|
8886
|
+
return (() => { const _io0 = input => (undefined === input.numChars || "number" === typeof input.numChars) && (undefined === input.numWords || "number" === typeof input.numWords) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readDuration || "number" === typeof input.readDuration) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.numChars || "number" === typeof input.numChars || _report(_exceptionable, {
|
|
8887
|
+
path: _path + ".numChars",
|
|
8888
|
+
expected: "(number | undefined)",
|
|
8889
|
+
value: input.numChars
|
|
8890
|
+
}), undefined === input.numWords || "number" === typeof input.numWords || _report(_exceptionable, {
|
|
8891
|
+
path: _path + ".numWords",
|
|
8892
|
+
expected: "(number | undefined)",
|
|
8893
|
+
value: input.numWords
|
|
8894
|
+
}), undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
8895
|
+
path: _path + ".readRate",
|
|
8896
|
+
expected: "(number | undefined)",
|
|
8897
|
+
value: input.readRate
|
|
8898
|
+
}), undefined === input.readDuration || "number" === typeof input.readDuration || _report(_exceptionable, {
|
|
8899
|
+
path: _path + ".readDuration",
|
|
8900
|
+
expected: "(number | undefined)",
|
|
8901
|
+
value: input.readDuration
|
|
8902
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
8903
|
+
path: _path + ".readType",
|
|
8904
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
8905
|
+
value: input.readType
|
|
8906
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
8907
|
+
if (false === __is(input)) {
|
|
8908
|
+
errors = [];
|
|
8909
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8910
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
8911
|
+
path: _path + "",
|
|
8912
|
+
expected: "EventReadDurationRecord",
|
|
8913
|
+
value: input
|
|
8914
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8915
|
+
path: _path + "",
|
|
8916
|
+
expected: "EventReadDurationRecord",
|
|
8917
|
+
value: input
|
|
8918
|
+
}))(input, "$input", true);
|
|
8919
|
+
const success = 0 === errors.length;
|
|
8920
|
+
return success ? {
|
|
8921
|
+
success,
|
|
8922
|
+
data: input
|
|
8923
|
+
} : {
|
|
8924
|
+
success,
|
|
8925
|
+
errors,
|
|
8926
|
+
data: input
|
|
8927
|
+
};
|
|
8928
|
+
}
|
|
8929
|
+
return {
|
|
8930
|
+
success: true,
|
|
8931
|
+
data: input
|
|
8932
|
+
};
|
|
8933
|
+
}; })()(input);
|
|
8934
|
+
}
|
|
8935
|
+
case ":event.readRate?": {
|
|
8936
|
+
return (() => { const _io0 = input => (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
8937
|
+
path: _path + ".readRate",
|
|
8938
|
+
expected: "(number | undefined)",
|
|
8939
|
+
value: input.readRate
|
|
8940
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
8941
|
+
path: _path + ".readType",
|
|
8942
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
8943
|
+
value: input.readType
|
|
8944
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
8945
|
+
if (false === __is(input)) {
|
|
8946
|
+
errors = [];
|
|
8947
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8948
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
8949
|
+
path: _path + "",
|
|
8950
|
+
expected: "EventReadRateRecord",
|
|
8951
|
+
value: input
|
|
8952
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8953
|
+
path: _path + "",
|
|
8954
|
+
expected: "EventReadRateRecord",
|
|
8955
|
+
value: input
|
|
8956
|
+
}))(input, "$input", true);
|
|
8957
|
+
const success = 0 === errors.length;
|
|
8958
|
+
return success ? {
|
|
8959
|
+
success,
|
|
8960
|
+
data: input
|
|
8961
|
+
} : {
|
|
8962
|
+
success,
|
|
8963
|
+
errors,
|
|
8964
|
+
data: input
|
|
8965
|
+
};
|
|
8966
|
+
}
|
|
8967
|
+
return {
|
|
8968
|
+
success: true,
|
|
8969
|
+
data: input
|
|
8970
|
+
};
|
|
8971
|
+
}; })()(input);
|
|
8972
|
+
}
|
|
8885
8973
|
case ":file.replicate": {
|
|
8886
8974
|
return (() => { const _io0 = input => Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem) && (null === input.error || "object" === typeof input.error && null !== input.error && _io1(input.error)); const _io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => Object.keys(input).every(key => {
|
|
8887
8975
|
const value = input[key];
|
|
@@ -10258,12 +10346,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10258
10346
|
}; })()(input);
|
|
10259
10347
|
}
|
|
10260
10348
|
case ":media.source": {
|
|
10261
|
-
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 => {
|
|
10262
10350
|
const value = input[key];
|
|
10263
10351
|
if (undefined === value)
|
|
10264
10352
|
return true;
|
|
10265
10353
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io4(value);
|
|
10266
|
-
}); 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, {
|
|
10267
10355
|
path: _path + ".id",
|
|
10268
10356
|
expected: "(string | undefined)",
|
|
10269
10357
|
value: input.id
|
|
@@ -10311,7 +10399,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10311
10399
|
path: _path + ".audio",
|
|
10312
10400
|
expected: "(__type.o6 | undefined)",
|
|
10313
10401
|
value: input.audio
|
|
10314
|
-
})) &&
|
|
10402
|
+
})) && _vo13(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
10315
10403
|
path: _path + ".audio",
|
|
10316
10404
|
expected: "(__type.o6 | undefined)",
|
|
10317
10405
|
value: input.audio
|
|
@@ -10327,7 +10415,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10327
10415
|
path: _path + ".transcribe",
|
|
10328
10416
|
expected: "(__type.o7 | undefined)",
|
|
10329
10417
|
value: input.transcribe
|
|
10330
|
-
})) &&
|
|
10418
|
+
})) && _vo14(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
10331
10419
|
path: _path + ".transcribe",
|
|
10332
10420
|
expected: "(__type.o7 | undefined)",
|
|
10333
10421
|
value: input.transcribe
|
|
@@ -10540,6 +10628,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
10540
10628
|
path: _path + ".crop",
|
|
10541
10629
|
expected: "(RenderSceneCrop | undefined)",
|
|
10542
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
|
|
10543
10639
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
10544
10640
|
path: _path + ".orientation",
|
|
10545
10641
|
expected: "(number | undefined)",
|
|
@@ -10656,7 +10752,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
10656
10752
|
path: _path + ".height",
|
|
10657
10753
|
expected: "(number | undefined)",
|
|
10658
10754
|
value: input.height
|
|
10659
|
-
})].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, {
|
|
10660
10764
|
path: _path + ".pan",
|
|
10661
10765
|
expected: "(Array<Array<number>> | undefined)",
|
|
10662
10766
|
value: input.pan
|
|
@@ -10676,7 +10780,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10676
10780
|
path: _path + ".pan",
|
|
10677
10781
|
expected: "(Array<Array<number>> | undefined)",
|
|
10678
10782
|
value: input.pan
|
|
10679
|
-
})].every(flag => flag); const
|
|
10783
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
10680
10784
|
path: _path + ".language",
|
|
10681
10785
|
expected: "(string | undefined)",
|
|
10682
10786
|
value: input.language
|
|
@@ -11517,12 +11621,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
11517
11621
|
if (undefined === value)
|
|
11518
11622
|
return true;
|
|
11519
11623
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
|
|
11520
|
-
}); 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 => {
|
|
11521
11625
|
const value = input[key];
|
|
11522
11626
|
if (undefined === value)
|
|
11523
11627
|
return true;
|
|
11524
11628
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
11525
|
-
}); 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 => {
|
|
11526
11630
|
const value = input[key];
|
|
11527
11631
|
if (undefined === value)
|
|
11528
11632
|
return true;
|
|
@@ -11583,7 +11687,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11583
11687
|
path: _path + ".audio",
|
|
11584
11688
|
expected: "(__type.o6 | undefined)",
|
|
11585
11689
|
value: input.audio
|
|
11586
|
-
})) &&
|
|
11690
|
+
})) && _vo14(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
11587
11691
|
path: _path + ".audio",
|
|
11588
11692
|
expected: "(__type.o6 | undefined)",
|
|
11589
11693
|
value: input.audio
|
|
@@ -11599,7 +11703,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11599
11703
|
path: _path + ".transcribe",
|
|
11600
11704
|
expected: "(__type.o7 | undefined)",
|
|
11601
11705
|
value: input.transcribe
|
|
11602
|
-
})) &&
|
|
11706
|
+
})) && _vo15(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
11603
11707
|
path: _path + ".transcribe",
|
|
11604
11708
|
expected: "(__type.o7 | undefined)",
|
|
11605
11709
|
value: input.transcribe
|
|
@@ -11812,6 +11916,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
11812
11916
|
path: _path + ".crop",
|
|
11813
11917
|
expected: "(RenderSceneCrop | undefined)",
|
|
11814
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
|
|
11815
11927
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
11816
11928
|
path: _path + ".orientation",
|
|
11817
11929
|
expected: "(number | undefined)",
|
|
@@ -11928,7 +12040,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
11928
12040
|
path: _path + ".height",
|
|
11929
12041
|
expected: "(number | undefined)",
|
|
11930
12042
|
value: input.height
|
|
11931
|
-
})].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, {
|
|
11932
12052
|
path: _path + ".pan",
|
|
11933
12053
|
expected: "(Array<Array<number>> | undefined)",
|
|
11934
12054
|
value: input.pan
|
|
@@ -11948,7 +12068,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11948
12068
|
path: _path + ".pan",
|
|
11949
12069
|
expected: "(Array<Array<number>> | undefined)",
|
|
11950
12070
|
value: input.pan
|
|
11951
|
-
})].every(flag => flag); const
|
|
12071
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
11952
12072
|
path: _path + ".language",
|
|
11953
12073
|
expected: "(string | undefined)",
|
|
11954
12074
|
value: input.language
|
|
@@ -13822,46 +13942,46 @@ function _validateDomainRecord(domain, input) {
|
|
|
13822
13942
|
}; })()(input);
|
|
13823
13943
|
}
|
|
13824
13944
|
case ":publish": {
|
|
13825
|
-
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 => {
|
|
13826
13946
|
const value = input[key];
|
|
13827
13947
|
if (undefined === value)
|
|
13828
13948
|
return true;
|
|
13829
13949
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
13830
|
-
}); 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 => {
|
|
13831
13951
|
const value = input[key];
|
|
13832
13952
|
if (undefined === value)
|
|
13833
13953
|
return true;
|
|
13834
13954
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
13835
|
-
}); 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 => {
|
|
13836
13956
|
const value = input[key];
|
|
13837
13957
|
if (undefined === value)
|
|
13838
13958
|
return true;
|
|
13839
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13840
|
-
}); 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 => {
|
|
13841
13961
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
13842
13962
|
return true;
|
|
13843
13963
|
const value = input[key];
|
|
13844
13964
|
if (undefined === value)
|
|
13845
13965
|
return true;
|
|
13846
13966
|
return true;
|
|
13847
|
-
}); 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 => (() => {
|
|
13848
13968
|
if (undefined !== input.path)
|
|
13849
|
-
return _io28(input);
|
|
13850
|
-
else if (undefined !== input.__context)
|
|
13851
13969
|
return _io29(input);
|
|
13970
|
+
else if (undefined !== input.__context)
|
|
13971
|
+
return _io30(input);
|
|
13852
13972
|
else
|
|
13853
13973
|
return false;
|
|
13854
13974
|
})(); const _iu1 = input => (() => {
|
|
13855
13975
|
if (_io0(input))
|
|
13856
13976
|
return _io0(input);
|
|
13857
|
-
if (_io25(input))
|
|
13858
|
-
return _io25(input);
|
|
13859
|
-
if (_io36(input))
|
|
13860
|
-
return _io36(input);
|
|
13861
13977
|
if (_io26(input))
|
|
13862
13978
|
return _io26(input);
|
|
13863
|
-
if (
|
|
13864
|
-
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);
|
|
13865
13985
|
return false;
|
|
13866
13986
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
13867
13987
|
path: _path + ".type",
|
|
@@ -13887,7 +14007,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13887
14007
|
path: _path + ".error",
|
|
13888
14008
|
expected: "(__type.o13 | null | undefined)",
|
|
13889
14009
|
value: input.error
|
|
13890
|
-
})) &&
|
|
14010
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13891
14011
|
path: _path + ".error",
|
|
13892
14012
|
expected: "(__type.o13 | null | undefined)",
|
|
13893
14013
|
value: input.error
|
|
@@ -13899,7 +14019,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13899
14019
|
path: _path + ".messages[" + _index12 + "]",
|
|
13900
14020
|
expected: "Message",
|
|
13901
14021
|
value: elem
|
|
13902
|
-
})) &&
|
|
14022
|
+
})) && _vo25(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13903
14023
|
path: _path + ".messages[" + _index12 + "]",
|
|
13904
14024
|
expected: "Message",
|
|
13905
14025
|
value: elem
|
|
@@ -13927,7 +14047,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13927
14047
|
path: _path + ".profile",
|
|
13928
14048
|
expected: "(RenderProfileObject | undefined)",
|
|
13929
14049
|
value: input.profile
|
|
13930
|
-
})) &&
|
|
14050
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
13931
14051
|
path: _path + ".profile",
|
|
13932
14052
|
expected: "(RenderProfileObject | undefined)",
|
|
13933
14053
|
value: input.profile
|
|
@@ -13979,7 +14099,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13979
14099
|
path: _path + ".audio",
|
|
13980
14100
|
expected: "(__type.o6 | undefined)",
|
|
13981
14101
|
value: input.audio
|
|
13982
|
-
})) &&
|
|
14102
|
+
})) && _vo15(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
13983
14103
|
path: _path + ".audio",
|
|
13984
14104
|
expected: "(__type.o6 | undefined)",
|
|
13985
14105
|
value: input.audio
|
|
@@ -13995,7 +14115,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13995
14115
|
path: _path + ".transcribe",
|
|
13996
14116
|
expected: "(__type.o7 | undefined)",
|
|
13997
14117
|
value: input.transcribe
|
|
13998
|
-
})) &&
|
|
14118
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13999
14119
|
path: _path + ".transcribe",
|
|
14000
14120
|
expected: "(__type.o7 | undefined)",
|
|
14001
14121
|
value: input.transcribe
|
|
@@ -14208,6 +14328,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
14208
14328
|
path: _path + ".crop",
|
|
14209
14329
|
expected: "(RenderSceneCrop | undefined)",
|
|
14210
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
|
|
14211
14339
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
14212
14340
|
path: _path + ".orientation",
|
|
14213
14341
|
expected: "(number | undefined)",
|
|
@@ -14324,7 +14452,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14324
14452
|
path: _path + ".height",
|
|
14325
14453
|
expected: "(number | undefined)",
|
|
14326
14454
|
value: input.height
|
|
14327
|
-
})].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, {
|
|
14328
14464
|
path: _path + ".pan",
|
|
14329
14465
|
expected: "(Array<Array<number>> | undefined)",
|
|
14330
14466
|
value: input.pan
|
|
@@ -14344,7 +14480,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14344
14480
|
path: _path + ".pan",
|
|
14345
14481
|
expected: "(Array<Array<number>> | undefined)",
|
|
14346
14482
|
value: input.pan
|
|
14347
|
-
})].every(flag => flag); const
|
|
14483
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
14348
14484
|
path: _path + ".language",
|
|
14349
14485
|
expected: "(string | undefined)",
|
|
14350
14486
|
value: input.language
|
|
@@ -14364,7 +14500,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14364
14500
|
path: _path + ".diarization",
|
|
14365
14501
|
expected: "(boolean | undefined)",
|
|
14366
14502
|
value: input.diarization
|
|
14367
|
-
})].every(flag => flag); const
|
|
14503
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
14368
14504
|
path: _path + ".format",
|
|
14369
14505
|
expected: "string",
|
|
14370
14506
|
value: input.format
|
|
@@ -14372,7 +14508,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14372
14508
|
path: _path + ".transcribe",
|
|
14373
14509
|
expected: "(__type.o8 | undefined)",
|
|
14374
14510
|
value: input.transcribe
|
|
14375
|
-
})) &&
|
|
14511
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
14376
14512
|
path: _path + ".transcribe",
|
|
14377
14513
|
expected: "(__type.o8 | undefined)",
|
|
14378
14514
|
value: input.transcribe
|
|
@@ -14380,7 +14516,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14380
14516
|
path: _path + ".translate",
|
|
14381
14517
|
expected: "(__type.o9 | undefined)",
|
|
14382
14518
|
value: input.translate
|
|
14383
|
-
})) &&
|
|
14519
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
14384
14520
|
path: _path + ".translate",
|
|
14385
14521
|
expected: "(__type.o9 | undefined)",
|
|
14386
14522
|
value: input.translate
|
|
@@ -14388,7 +14524,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14388
14524
|
path: _path + ".audio",
|
|
14389
14525
|
expected: "(__type.o10 | undefined)",
|
|
14390
14526
|
value: input.audio
|
|
14391
|
-
})) &&
|
|
14527
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
14392
14528
|
path: _path + ".audio",
|
|
14393
14529
|
expected: "(__type.o10 | undefined)",
|
|
14394
14530
|
value: input.audio
|
|
@@ -14412,19 +14548,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
14412
14548
|
path: _path + ".subtitle",
|
|
14413
14549
|
expected: "(SubtitleProfile | string | undefined)",
|
|
14414
14550
|
value: input.subtitle
|
|
14415
|
-
})) &&
|
|
14551
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
14416
14552
|
path: _path + ".subtitle",
|
|
14417
14553
|
expected: "(SubtitleProfile | string | undefined)",
|
|
14418
14554
|
value: input.subtitle
|
|
14419
|
-
}))].every(flag => flag); const
|
|
14555
|
+
}))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
14420
14556
|
path: _path + ".engine",
|
|
14421
14557
|
expected: "string",
|
|
14422
14558
|
value: input.engine
|
|
14423
|
-
})].every(flag => flag); const
|
|
14559
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
14424
14560
|
path: _path + ".language",
|
|
14425
14561
|
expected: "string",
|
|
14426
14562
|
value: input.language
|
|
14427
|
-
})].every(flag => flag); const
|
|
14563
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
14428
14564
|
path: _path + ".codec",
|
|
14429
14565
|
expected: "(string | undefined)",
|
|
14430
14566
|
value: input.codec
|
|
@@ -14440,7 +14576,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14440
14576
|
path: _path + ".split",
|
|
14441
14577
|
expected: "(boolean | undefined)",
|
|
14442
14578
|
value: input.split
|
|
14443
|
-
})].every(flag => flag); const
|
|
14579
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
14444
14580
|
path: _path + ".lang",
|
|
14445
14581
|
expected: "(string | undefined)",
|
|
14446
14582
|
value: input.lang
|
|
@@ -14452,7 +14588,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14452
14588
|
path: _path + ".ccconverter",
|
|
14453
14589
|
expected: "(__type.o11 | undefined)",
|
|
14454
14590
|
value: input.ccconverter
|
|
14455
|
-
})) &&
|
|
14591
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
14456
14592
|
path: _path + ".ccconverter",
|
|
14457
14593
|
expected: "(__type.o11 | undefined)",
|
|
14458
14594
|
value: input.ccconverter
|
|
@@ -14460,15 +14596,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14460
14596
|
path: _path + ".ass",
|
|
14461
14597
|
expected: "(__type.o12 | undefined)",
|
|
14462
14598
|
value: input.ass
|
|
14463
|
-
})) &&
|
|
14599
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
14464
14600
|
path: _path + ".ass",
|
|
14465
14601
|
expected: "(__type.o12 | undefined)",
|
|
14466
14602
|
value: input.ass
|
|
14467
|
-
})].every(flag => flag); const
|
|
14603
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
14468
14604
|
path: _path + ".preset",
|
|
14469
14605
|
expected: "(string | undefined)",
|
|
14470
14606
|
value: input.preset
|
|
14471
|
-
})].every(flag => flag); const
|
|
14607
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
14472
14608
|
path: _path + ".futureWordWrapping",
|
|
14473
14609
|
expected: "(boolean | undefined)",
|
|
14474
14610
|
value: input.futureWordWrapping
|
|
@@ -14480,11 +14616,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
14480
14616
|
path: _path + ".enableUnsafeLineSpacingHack",
|
|
14481
14617
|
expected: "(boolean | undefined)",
|
|
14482
14618
|
value: input.enableUnsafeLineSpacingHack
|
|
14483
|
-
})].every(flag => flag); const
|
|
14619
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
14484
14620
|
path: _path + ".method",
|
|
14485
14621
|
expected: "string",
|
|
14486
14622
|
value: input.method
|
|
14487
|
-
})].every(flag => flag); const
|
|
14623
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
14488
14624
|
path: _path + ".level",
|
|
14489
14625
|
expected: "number",
|
|
14490
14626
|
value: input.level
|
|
@@ -14496,7 +14632,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14496
14632
|
path: _path + ".msg",
|
|
14497
14633
|
expected: "string",
|
|
14498
14634
|
value: input.msg
|
|
14499
|
-
})].every(flag => flag); const
|
|
14635
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
14500
14636
|
path: _path + ".type",
|
|
14501
14637
|
expected: "(\"facebook\" | undefined)",
|
|
14502
14638
|
value: input.type
|
|
@@ -14524,7 +14660,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14524
14660
|
path: _path + ".error",
|
|
14525
14661
|
expected: "(__type.o13 | null | undefined)",
|
|
14526
14662
|
value: input.error
|
|
14527
|
-
})) &&
|
|
14663
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14528
14664
|
path: _path + ".error",
|
|
14529
14665
|
expected: "(__type.o13 | null | undefined)",
|
|
14530
14666
|
value: input.error
|
|
@@ -14536,7 +14672,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14536
14672
|
path: _path + ".messages[" + _index17 + "]",
|
|
14537
14673
|
expected: "Message",
|
|
14538
14674
|
value: elem
|
|
14539
|
-
})) &&
|
|
14675
|
+
})) && _vo25(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14540
14676
|
path: _path + ".messages[" + _index17 + "]",
|
|
14541
14677
|
expected: "Message",
|
|
14542
14678
|
value: elem
|
|
@@ -14544,7 +14680,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14544
14680
|
path: _path + ".messages",
|
|
14545
14681
|
expected: "(Array<Message> | undefined)",
|
|
14546
14682
|
value: input.messages
|
|
14547
|
-
})].every(flag => flag); const
|
|
14683
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
14548
14684
|
path: _path + ".type",
|
|
14549
14685
|
expected: "(\"file\" | undefined)",
|
|
14550
14686
|
value: input.type
|
|
@@ -14560,7 +14696,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14560
14696
|
path: _path + ".renders",
|
|
14561
14697
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14562
14698
|
value: input.renders
|
|
14563
|
-
})) &&
|
|
14699
|
+
})) && _vo28(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14564
14700
|
path: _path + ".renders",
|
|
14565
14701
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14566
14702
|
value: input.renders
|
|
@@ -14568,7 +14704,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14568
14704
|
path: _path + ".draft",
|
|
14569
14705
|
expected: "(FilePublishDraft | undefined)",
|
|
14570
14706
|
value: input.draft
|
|
14571
|
-
})) &&
|
|
14707
|
+
})) && _vo32(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14572
14708
|
path: _path + ".draft",
|
|
14573
14709
|
expected: "(FilePublishDraft | undefined)",
|
|
14574
14710
|
value: input.draft
|
|
@@ -14576,7 +14712,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14576
14712
|
path: _path + ".remote",
|
|
14577
14713
|
expected: "(FilePublishRemote | undefined)",
|
|
14578
14714
|
value: input.remote
|
|
14579
|
-
})) &&
|
|
14715
|
+
})) && _vo33(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14580
14716
|
path: _path + ".remote",
|
|
14581
14717
|
expected: "(FilePublishRemote | undefined)",
|
|
14582
14718
|
value: input.remote
|
|
@@ -14584,7 +14720,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14584
14720
|
path: _path + ".published",
|
|
14585
14721
|
expected: "(FilePublishPublished | undefined)",
|
|
14586
14722
|
value: input.published
|
|
14587
|
-
})) &&
|
|
14723
|
+
})) && _vo36(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14588
14724
|
path: _path + ".published",
|
|
14589
14725
|
expected: "(FilePublishPublished | undefined)",
|
|
14590
14726
|
value: input.published
|
|
@@ -14608,7 +14744,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14608
14744
|
path: _path + ".error",
|
|
14609
14745
|
expected: "(__type.o13 | null | undefined)",
|
|
14610
14746
|
value: input.error
|
|
14611
|
-
})) &&
|
|
14747
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14612
14748
|
path: _path + ".error",
|
|
14613
14749
|
expected: "(__type.o13 | null | undefined)",
|
|
14614
14750
|
value: input.error
|
|
@@ -14620,7 +14756,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14620
14756
|
path: _path + ".messages[" + _index18 + "]",
|
|
14621
14757
|
expected: "Message",
|
|
14622
14758
|
value: elem
|
|
14623
|
-
})) &&
|
|
14759
|
+
})) && _vo25(elem, _path + ".messages[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14624
14760
|
path: _path + ".messages[" + _index18 + "]",
|
|
14625
14761
|
expected: "Message",
|
|
14626
14762
|
value: elem
|
|
@@ -14628,7 +14764,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14628
14764
|
path: _path + ".messages",
|
|
14629
14765
|
expected: "(Array<Message> | undefined)",
|
|
14630
14766
|
value: input.messages
|
|
14631
|
-
})].every(flag => flag); const
|
|
14767
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14632
14768
|
const value = input[key];
|
|
14633
14769
|
if (undefined === value)
|
|
14634
14770
|
return true;
|
|
@@ -14649,7 +14785,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14649
14785
|
expected: "(ResolvedFilePublishRender | __type.o14 | string)",
|
|
14650
14786
|
value: value
|
|
14651
14787
|
}));
|
|
14652
|
-
}).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, {
|
|
14653
14789
|
path: _path + ".name",
|
|
14654
14790
|
expected: "(string | undefined)",
|
|
14655
14791
|
value: input.name
|
|
@@ -14685,15 +14821,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14685
14821
|
path: _path + ".profile",
|
|
14686
14822
|
expected: "(RenderProfileObject | undefined)",
|
|
14687
14823
|
value: input.profile
|
|
14688
|
-
})) &&
|
|
14824
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
14689
14825
|
path: _path + ".profile",
|
|
14690
14826
|
expected: "(RenderProfileObject | undefined)",
|
|
14691
14827
|
value: input.profile
|
|
14692
|
-
})].every(flag => flag); const
|
|
14828
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
14693
14829
|
path: _path + ".__context",
|
|
14694
14830
|
expected: "__type.o15",
|
|
14695
14831
|
value: input.__context
|
|
14696
|
-
})) &&
|
|
14832
|
+
})) && _vo31(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
14697
14833
|
path: _path + ".__context",
|
|
14698
14834
|
expected: "__type.o15",
|
|
14699
14835
|
value: input.__context
|
|
@@ -14701,15 +14837,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14701
14837
|
path: _path + ".__returnValue",
|
|
14702
14838
|
expected: "ResolvedFilePublishRender",
|
|
14703
14839
|
value: input.__returnValue
|
|
14704
|
-
})) &&
|
|
14840
|
+
})) && _vo29(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
14705
14841
|
path: _path + ".__returnValue",
|
|
14706
14842
|
expected: "ResolvedFilePublishRender",
|
|
14707
14843
|
value: input.__returnValue
|
|
14708
|
-
})].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, {
|
|
14709
14845
|
path: _path + ".publish",
|
|
14710
14846
|
expected: "FilePublishRecord",
|
|
14711
14847
|
value: input.publish
|
|
14712
|
-
})) &&
|
|
14848
|
+
})) && _vo27(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
14713
14849
|
path: _path + ".publish",
|
|
14714
14850
|
expected: "FilePublishRecord",
|
|
14715
14851
|
value: input.publish
|
|
@@ -14721,7 +14857,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14721
14857
|
path: _path + ".name",
|
|
14722
14858
|
expected: "string",
|
|
14723
14859
|
value: input.name
|
|
14724
|
-
})].every(flag => flag); const
|
|
14860
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14725
14861
|
path: _path + ".directory",
|
|
14726
14862
|
expected: "(string | undefined)",
|
|
14727
14863
|
value: input.directory
|
|
@@ -14729,7 +14865,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14729
14865
|
path: _path + ".filename",
|
|
14730
14866
|
expected: "(string | undefined)",
|
|
14731
14867
|
value: input.filename
|
|
14732
|
-
})].every(flag => flag); const
|
|
14868
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14733
14869
|
path: _path + ".directory",
|
|
14734
14870
|
expected: "(string | undefined)",
|
|
14735
14871
|
value: input.directory
|
|
@@ -14741,11 +14877,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
14741
14877
|
path: _path + ".renders",
|
|
14742
14878
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14743
14879
|
value: input.renders
|
|
14744
|
-
})) &&
|
|
14880
|
+
})) && _vo34(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14745
14881
|
path: _path + ".renders",
|
|
14746
14882
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14747
14883
|
value: input.renders
|
|
14748
|
-
})].every(flag => flag); const
|
|
14884
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14749
14885
|
const value = input[key];
|
|
14750
14886
|
if (undefined === value)
|
|
14751
14887
|
return true;
|
|
@@ -14753,12 +14889,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14753
14889
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14754
14890
|
expected: "FilePublishRemoteRender",
|
|
14755
14891
|
value: value
|
|
14756
|
-
})) &&
|
|
14892
|
+
})) && _vo35(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
14757
14893
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14758
14894
|
expected: "FilePublishRemoteRender",
|
|
14759
14895
|
value: value
|
|
14760
14896
|
});
|
|
14761
|
-
}).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, {
|
|
14762
14898
|
path: _path + ".path",
|
|
14763
14899
|
expected: "(string | undefined)",
|
|
14764
14900
|
value: input.path
|
|
@@ -14770,7 +14906,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14770
14906
|
path: _path + ".messages[" + _index19 + "]",
|
|
14771
14907
|
expected: "Message",
|
|
14772
14908
|
value: elem
|
|
14773
|
-
})) &&
|
|
14909
|
+
})) && _vo25(elem, _path + ".messages[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14774
14910
|
path: _path + ".messages[" + _index19 + "]",
|
|
14775
14911
|
expected: "Message",
|
|
14776
14912
|
value: elem
|
|
@@ -14790,7 +14926,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14790
14926
|
path: _path + ".source",
|
|
14791
14927
|
expected: "(string | undefined)",
|
|
14792
14928
|
value: input.source
|
|
14793
|
-
})].every(flag => flag); const
|
|
14929
|
+
})].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14794
14930
|
path: _path + ".directory",
|
|
14795
14931
|
expected: "(string | undefined)",
|
|
14796
14932
|
value: input.directory
|
|
@@ -14798,7 +14934,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14798
14934
|
path: _path + ".filename",
|
|
14799
14935
|
expected: "string",
|
|
14800
14936
|
value: input.filename
|
|
14801
|
-
})].every(flag => flag); const
|
|
14937
|
+
})].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
14802
14938
|
path: _path + ".type",
|
|
14803
14939
|
expected: "(\"file\" | undefined)",
|
|
14804
14940
|
value: input.type
|
|
@@ -14814,7 +14950,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14814
14950
|
path: _path + ".draft",
|
|
14815
14951
|
expected: "(FilePublishDraft | undefined)",
|
|
14816
14952
|
value: input.draft
|
|
14817
|
-
})) &&
|
|
14953
|
+
})) && _vo32(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14818
14954
|
path: _path + ".draft",
|
|
14819
14955
|
expected: "(FilePublishDraft | undefined)",
|
|
14820
14956
|
value: input.draft
|
|
@@ -14822,7 +14958,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14822
14958
|
path: _path + ".remote",
|
|
14823
14959
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
14824
14960
|
value: input.remote
|
|
14825
|
-
})) &&
|
|
14961
|
+
})) && _vo38(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14826
14962
|
path: _path + ".remote",
|
|
14827
14963
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
14828
14964
|
value: input.remote
|
|
@@ -14830,7 +14966,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14830
14966
|
path: _path + ".published",
|
|
14831
14967
|
expected: "(FilePublishPublished | undefined)",
|
|
14832
14968
|
value: input.published
|
|
14833
|
-
})) &&
|
|
14969
|
+
})) && _vo36(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14834
14970
|
path: _path + ".published",
|
|
14835
14971
|
expected: "(FilePublishPublished | undefined)",
|
|
14836
14972
|
value: input.published
|
|
@@ -14862,7 +14998,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14862
14998
|
path: _path + ".error",
|
|
14863
14999
|
expected: "(__type.o13 | null | undefined)",
|
|
14864
15000
|
value: input.error
|
|
14865
|
-
})) &&
|
|
15001
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14866
15002
|
path: _path + ".error",
|
|
14867
15003
|
expected: "(__type.o13 | null | undefined)",
|
|
14868
15004
|
value: input.error
|
|
@@ -14874,7 +15010,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14874
15010
|
path: _path + ".messages[" + _index20 + "]",
|
|
14875
15011
|
expected: "Message",
|
|
14876
15012
|
value: elem
|
|
14877
|
-
})) &&
|
|
15013
|
+
})) && _vo25(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14878
15014
|
path: _path + ".messages[" + _index20 + "]",
|
|
14879
15015
|
expected: "Message",
|
|
14880
15016
|
value: elem
|
|
@@ -14882,7 +15018,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14882
15018
|
path: _path + ".messages",
|
|
14883
15019
|
expected: "(Array<Message> | undefined)",
|
|
14884
15020
|
value: input.messages
|
|
14885
|
-
})].every(flag => flag); const
|
|
15021
|
+
})].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
14886
15022
|
path: _path + ".id",
|
|
14887
15023
|
expected: "(string | undefined)",
|
|
14888
15024
|
value: input.id
|
|
@@ -14902,7 +15038,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14902
15038
|
path: _path + ".subtitle",
|
|
14903
15039
|
expected: "(__type.o16 | undefined)",
|
|
14904
15040
|
value: input.subtitle
|
|
14905
|
-
})) &&
|
|
15041
|
+
})) && _vo39(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
14906
15042
|
path: _path + ".subtitle",
|
|
14907
15043
|
expected: "(__type.o16 | undefined)",
|
|
14908
15044
|
value: input.subtitle
|
|
@@ -14910,7 +15046,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14910
15046
|
path: _path + ".metafile",
|
|
14911
15047
|
expected: "(__type.o17 | undefined)",
|
|
14912
15048
|
value: input.metafile
|
|
14913
|
-
})) &&
|
|
15049
|
+
})) && _vo40(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
14914
15050
|
path: _path + ".metafile",
|
|
14915
15051
|
expected: "(__type.o17 | undefined)",
|
|
14916
15052
|
value: input.metafile
|
|
@@ -14921,15 +15057,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14921
15057
|
if (undefined === value)
|
|
14922
15058
|
return true;
|
|
14923
15059
|
return true;
|
|
14924
|
-
}).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, {
|
|
14925
15061
|
path: _path + ".path",
|
|
14926
15062
|
expected: "string",
|
|
14927
15063
|
value: input.path
|
|
14928
|
-
})].every(flag => flag); const
|
|
15064
|
+
})].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
14929
15065
|
path: _path + ".path",
|
|
14930
15066
|
expected: "string",
|
|
14931
15067
|
value: input.path
|
|
14932
|
-
})].every(flag => flag); const
|
|
15068
|
+
})].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
14933
15069
|
path: _path + ".type",
|
|
14934
15070
|
expected: "(\"youtube\" | undefined)",
|
|
14935
15071
|
value: input.type
|
|
@@ -14937,7 +15073,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14937
15073
|
path: _path + ".draft",
|
|
14938
15074
|
expected: "(__type.o18 | undefined)",
|
|
14939
15075
|
value: input.draft
|
|
14940
|
-
})) &&
|
|
15076
|
+
})) && _vo42(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14941
15077
|
path: _path + ".draft",
|
|
14942
15078
|
expected: "(__type.o18 | undefined)",
|
|
14943
15079
|
value: input.draft
|
|
@@ -14961,7 +15097,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14961
15097
|
path: _path + ".error",
|
|
14962
15098
|
expected: "(__type.o13 | null | undefined)",
|
|
14963
15099
|
value: input.error
|
|
14964
|
-
})) &&
|
|
15100
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14965
15101
|
path: _path + ".error",
|
|
14966
15102
|
expected: "(__type.o13 | null | undefined)",
|
|
14967
15103
|
value: input.error
|
|
@@ -14973,7 +15109,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14973
15109
|
path: _path + ".messages[" + _index21 + "]",
|
|
14974
15110
|
expected: "Message",
|
|
14975
15111
|
value: elem
|
|
14976
|
-
})) &&
|
|
15112
|
+
})) && _vo25(elem, _path + ".messages[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14977
15113
|
path: _path + ".messages[" + _index21 + "]",
|
|
14978
15114
|
expected: "Message",
|
|
14979
15115
|
value: elem
|
|
@@ -14981,15 +15117,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
14981
15117
|
path: _path + ".messages",
|
|
14982
15118
|
expected: "(Array<Message> | undefined)",
|
|
14983
15119
|
value: input.messages
|
|
14984
|
-
})].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, {
|
|
14985
15121
|
path: _path + ".snippet",
|
|
14986
15122
|
expected: "(__type.o19 | undefined)",
|
|
14987
15123
|
value: input.snippet
|
|
14988
|
-
})) &&
|
|
15124
|
+
})) && _vo43(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
14989
15125
|
path: _path + ".snippet",
|
|
14990
15126
|
expected: "(__type.o19 | undefined)",
|
|
14991
15127
|
value: input.snippet
|
|
14992
|
-
})].every(flag => flag); const
|
|
15128
|
+
})].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
14993
15129
|
path: _path + ".title",
|
|
14994
15130
|
expected: "(string | undefined)",
|
|
14995
15131
|
value: input.title
|
|
@@ -15011,16 +15147,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
15011
15147
|
value: input.description
|
|
15012
15148
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
15013
15149
|
if (undefined !== input.path)
|
|
15014
|
-
return _vo28(input, _path, true && _exceptionable);
|
|
15015
|
-
else if (undefined !== input.__context)
|
|
15016
15150
|
return _vo29(input, _path, true && _exceptionable);
|
|
15151
|
+
else if (undefined !== input.__context)
|
|
15152
|
+
return _vo30(input, _path, true && _exceptionable);
|
|
15017
15153
|
else
|
|
15018
15154
|
return _report(_exceptionable, {
|
|
15019
15155
|
path: _path,
|
|
15020
15156
|
expected: "(ResolvedFilePublishRender | __type.o14)",
|
|
15021
15157
|
value: input
|
|
15022
15158
|
});
|
|
15023
|
-
})(); 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 => {
|
|
15024
15160
|
if (false === __is(input)) {
|
|
15025
15161
|
errors = [];
|
|
15026
15162
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -15060,21 +15196,21 @@ function _validateDomainRecord(domain, input) {
|
|
|
15060
15196
|
if (undefined === value)
|
|
15061
15197
|
return true;
|
|
15062
15198
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
15063
|
-
}); 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 => {
|
|
15064
15200
|
const value = input[key];
|
|
15065
15201
|
if (undefined === value)
|
|
15066
15202
|
return true;
|
|
15067
15203
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
15068
|
-
}); 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 => {
|
|
15069
15205
|
const value = input[key];
|
|
15070
15206
|
if (undefined === value)
|
|
15071
15207
|
return true;
|
|
15072
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
15073
|
-
}); 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 => (() => {
|
|
15074
15210
|
if (undefined !== input.path)
|
|
15075
15211
|
return _io8(input);
|
|
15076
15212
|
else if (undefined !== input.__context)
|
|
15077
|
-
return
|
|
15213
|
+
return _io31(input);
|
|
15078
15214
|
else
|
|
15079
15215
|
return false;
|
|
15080
15216
|
})(); const _iu1 = input => (() => {
|
|
@@ -15273,7 +15409,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15273
15409
|
path: _path + ".profile",
|
|
15274
15410
|
expected: "(RenderProfileObject | undefined)",
|
|
15275
15411
|
value: input.profile
|
|
15276
|
-
})) &&
|
|
15412
|
+
})) && _vo24(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
15277
15413
|
path: _path + ".profile",
|
|
15278
15414
|
expected: "(RenderProfileObject | undefined)",
|
|
15279
15415
|
value: input.profile
|
|
@@ -15325,7 +15461,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15325
15461
|
path: _path + ".audio",
|
|
15326
15462
|
expected: "(__type.o6 | undefined)",
|
|
15327
15463
|
value: input.audio
|
|
15328
|
-
})) &&
|
|
15464
|
+
})) && _vo22(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
15329
15465
|
path: _path + ".audio",
|
|
15330
15466
|
expected: "(__type.o6 | undefined)",
|
|
15331
15467
|
value: input.audio
|
|
@@ -15341,7 +15477,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15341
15477
|
path: _path + ".transcribe",
|
|
15342
15478
|
expected: "(__type.o7 | undefined)",
|
|
15343
15479
|
value: input.transcribe
|
|
15344
|
-
})) &&
|
|
15480
|
+
})) && _vo23(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
15345
15481
|
path: _path + ".transcribe",
|
|
15346
15482
|
expected: "(__type.o7 | undefined)",
|
|
15347
15483
|
value: input.transcribe
|
|
@@ -15554,6 +15690,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
15554
15690
|
path: _path + ".crop",
|
|
15555
15691
|
expected: "(RenderSceneCrop | undefined)",
|
|
15556
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
|
|
15557
15701
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
15558
15702
|
path: _path + ".orientation",
|
|
15559
15703
|
expected: "(number | undefined)",
|
|
@@ -15670,7 +15814,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
15670
15814
|
path: _path + ".height",
|
|
15671
15815
|
expected: "(number | undefined)",
|
|
15672
15816
|
value: input.height
|
|
15673
|
-
})].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, {
|
|
15674
15826
|
path: _path + ".pan",
|
|
15675
15827
|
expected: "(Array<Array<number>> | undefined)",
|
|
15676
15828
|
value: input.pan
|
|
@@ -15690,7 +15842,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15690
15842
|
path: _path + ".pan",
|
|
15691
15843
|
expected: "(Array<Array<number>> | undefined)",
|
|
15692
15844
|
value: input.pan
|
|
15693
|
-
})].every(flag => flag); const
|
|
15845
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
15694
15846
|
path: _path + ".language",
|
|
15695
15847
|
expected: "(string | undefined)",
|
|
15696
15848
|
value: input.language
|
|
@@ -15710,7 +15862,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15710
15862
|
path: _path + ".diarization",
|
|
15711
15863
|
expected: "(boolean | undefined)",
|
|
15712
15864
|
value: input.diarization
|
|
15713
|
-
})].every(flag => flag); const
|
|
15865
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
15714
15866
|
path: _path + ".format",
|
|
15715
15867
|
expected: "string",
|
|
15716
15868
|
value: input.format
|
|
@@ -15718,7 +15870,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15718
15870
|
path: _path + ".transcribe",
|
|
15719
15871
|
expected: "(__type.o8 | undefined)",
|
|
15720
15872
|
value: input.transcribe
|
|
15721
|
-
})) &&
|
|
15873
|
+
})) && _vo25(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
15722
15874
|
path: _path + ".transcribe",
|
|
15723
15875
|
expected: "(__type.o8 | undefined)",
|
|
15724
15876
|
value: input.transcribe
|
|
@@ -15726,7 +15878,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15726
15878
|
path: _path + ".translate",
|
|
15727
15879
|
expected: "(__type.o9 | undefined)",
|
|
15728
15880
|
value: input.translate
|
|
15729
|
-
})) &&
|
|
15881
|
+
})) && _vo26(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
15730
15882
|
path: _path + ".translate",
|
|
15731
15883
|
expected: "(__type.o9 | undefined)",
|
|
15732
15884
|
value: input.translate
|
|
@@ -15734,7 +15886,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15734
15886
|
path: _path + ".audio",
|
|
15735
15887
|
expected: "(__type.o10 | undefined)",
|
|
15736
15888
|
value: input.audio
|
|
15737
|
-
})) &&
|
|
15889
|
+
})) && _vo27(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
15738
15890
|
path: _path + ".audio",
|
|
15739
15891
|
expected: "(__type.o10 | undefined)",
|
|
15740
15892
|
value: input.audio
|
|
@@ -15758,19 +15910,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15758
15910
|
path: _path + ".subtitle",
|
|
15759
15911
|
expected: "(SubtitleProfile | string | undefined)",
|
|
15760
15912
|
value: input.subtitle
|
|
15761
|
-
})) &&
|
|
15913
|
+
})) && _vo28(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
15762
15914
|
path: _path + ".subtitle",
|
|
15763
15915
|
expected: "(SubtitleProfile | string | undefined)",
|
|
15764
15916
|
value: input.subtitle
|
|
15765
|
-
}))].every(flag => flag); const
|
|
15917
|
+
}))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
15766
15918
|
path: _path + ".engine",
|
|
15767
15919
|
expected: "string",
|
|
15768
15920
|
value: input.engine
|
|
15769
|
-
})].every(flag => flag); const
|
|
15921
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
15770
15922
|
path: _path + ".language",
|
|
15771
15923
|
expected: "string",
|
|
15772
15924
|
value: input.language
|
|
15773
|
-
})].every(flag => flag); const
|
|
15925
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
15774
15926
|
path: _path + ".codec",
|
|
15775
15927
|
expected: "(string | undefined)",
|
|
15776
15928
|
value: input.codec
|
|
@@ -15786,7 +15938,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15786
15938
|
path: _path + ".split",
|
|
15787
15939
|
expected: "(boolean | undefined)",
|
|
15788
15940
|
value: input.split
|
|
15789
|
-
})].every(flag => flag); const
|
|
15941
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
15790
15942
|
path: _path + ".lang",
|
|
15791
15943
|
expected: "(string | undefined)",
|
|
15792
15944
|
value: input.lang
|
|
@@ -15798,7 +15950,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15798
15950
|
path: _path + ".ccconverter",
|
|
15799
15951
|
expected: "(__type.o11 | undefined)",
|
|
15800
15952
|
value: input.ccconverter
|
|
15801
|
-
})) &&
|
|
15953
|
+
})) && _vo29(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
15802
15954
|
path: _path + ".ccconverter",
|
|
15803
15955
|
expected: "(__type.o11 | undefined)",
|
|
15804
15956
|
value: input.ccconverter
|
|
@@ -15806,15 +15958,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
15806
15958
|
path: _path + ".ass",
|
|
15807
15959
|
expected: "(__type.o12 | undefined)",
|
|
15808
15960
|
value: input.ass
|
|
15809
|
-
})) &&
|
|
15961
|
+
})) && _vo30(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
15810
15962
|
path: _path + ".ass",
|
|
15811
15963
|
expected: "(__type.o12 | undefined)",
|
|
15812
15964
|
value: input.ass
|
|
15813
|
-
})].every(flag => flag); const
|
|
15965
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
15814
15966
|
path: _path + ".preset",
|
|
15815
15967
|
expected: "(string | undefined)",
|
|
15816
15968
|
value: input.preset
|
|
15817
|
-
})].every(flag => flag); const
|
|
15969
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
15818
15970
|
path: _path + ".futureWordWrapping",
|
|
15819
15971
|
expected: "(boolean | undefined)",
|
|
15820
15972
|
value: input.futureWordWrapping
|
|
@@ -15826,11 +15978,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
15826
15978
|
path: _path + ".enableUnsafeLineSpacingHack",
|
|
15827
15979
|
expected: "(boolean | undefined)",
|
|
15828
15980
|
value: input.enableUnsafeLineSpacingHack
|
|
15829
|
-
})].every(flag => flag); const
|
|
15981
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
15830
15982
|
path: _path + ".__context",
|
|
15831
15983
|
expected: "__type.o14",
|
|
15832
15984
|
value: input.__context
|
|
15833
|
-
})) &&
|
|
15985
|
+
})) && _vo32(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
15834
15986
|
path: _path + ".__context",
|
|
15835
15987
|
expected: "__type.o14",
|
|
15836
15988
|
value: input.__context
|
|
@@ -15842,11 +15994,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
15842
15994
|
path: _path + ".__returnValue",
|
|
15843
15995
|
expected: "ResolvedFilePublishRender",
|
|
15844
15996
|
value: input.__returnValue
|
|
15845
|
-
})].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, {
|
|
15846
15998
|
path: _path + ".publish",
|
|
15847
15999
|
expected: "FilePublishRecord",
|
|
15848
16000
|
value: input.publish
|
|
15849
|
-
})) &&
|
|
16001
|
+
})) && _vo33(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
15850
16002
|
path: _path + ".publish",
|
|
15851
16003
|
expected: "FilePublishRecord",
|
|
15852
16004
|
value: input.publish
|
|
@@ -15858,7 +16010,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15858
16010
|
path: _path + ".name",
|
|
15859
16011
|
expected: "string",
|
|
15860
16012
|
value: input.name
|
|
15861
|
-
})].every(flag => flag); const
|
|
16013
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
15862
16014
|
path: _path + ".type",
|
|
15863
16015
|
expected: "(\"file\" | undefined)",
|
|
15864
16016
|
value: input.type
|
|
@@ -15882,7 +16034,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15882
16034
|
path: _path + ".draft",
|
|
15883
16035
|
expected: "(FilePublishDraft | undefined)",
|
|
15884
16036
|
value: input.draft
|
|
15885
|
-
})) &&
|
|
16037
|
+
})) && _vo34(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
15886
16038
|
path: _path + ".draft",
|
|
15887
16039
|
expected: "(FilePublishDraft | undefined)",
|
|
15888
16040
|
value: input.draft
|
|
@@ -15890,7 +16042,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15890
16042
|
path: _path + ".remote",
|
|
15891
16043
|
expected: "(FilePublishRemote | undefined)",
|
|
15892
16044
|
value: input.remote
|
|
15893
|
-
})) &&
|
|
16045
|
+
})) && _vo35(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
15894
16046
|
path: _path + ".remote",
|
|
15895
16047
|
expected: "(FilePublishRemote | undefined)",
|
|
15896
16048
|
value: input.remote
|
|
@@ -15898,7 +16050,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15898
16050
|
path: _path + ".published",
|
|
15899
16051
|
expected: "(FilePublishPublished | undefined)",
|
|
15900
16052
|
value: input.published
|
|
15901
|
-
})) &&
|
|
16053
|
+
})) && _vo38(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
15902
16054
|
path: _path + ".published",
|
|
15903
16055
|
expected: "(FilePublishPublished | undefined)",
|
|
15904
16056
|
value: input.published
|
|
@@ -15914,7 +16066,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15914
16066
|
path: _path + ".render",
|
|
15915
16067
|
expected: "(PublishRenderBase | undefined)",
|
|
15916
16068
|
value: input.render
|
|
15917
|
-
})) &&
|
|
16069
|
+
})) && _vo39(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
15918
16070
|
path: _path + ".render",
|
|
15919
16071
|
expected: "(PublishRenderBase | undefined)",
|
|
15920
16072
|
value: input.render
|
|
@@ -15922,7 +16074,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15922
16074
|
path: _path + ".error",
|
|
15923
16075
|
expected: "(__type.o15 | null | undefined)",
|
|
15924
16076
|
value: input.error
|
|
15925
|
-
})) &&
|
|
16077
|
+
})) && _vo40(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
15926
16078
|
path: _path + ".error",
|
|
15927
16079
|
expected: "(__type.o15 | null | undefined)",
|
|
15928
16080
|
value: input.error
|
|
@@ -15942,7 +16094,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15942
16094
|
path: _path + ".messages",
|
|
15943
16095
|
expected: "(Array<Message> | undefined)",
|
|
15944
16096
|
value: input.messages
|
|
15945
|
-
})].every(flag => flag); const
|
|
16097
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
15946
16098
|
path: _path + ".directory",
|
|
15947
16099
|
expected: "(string | undefined)",
|
|
15948
16100
|
value: input.directory
|
|
@@ -15950,7 +16102,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15950
16102
|
path: _path + ".filename",
|
|
15951
16103
|
expected: "(string | undefined)",
|
|
15952
16104
|
value: input.filename
|
|
15953
|
-
})].every(flag => flag); const
|
|
16105
|
+
})].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
15954
16106
|
path: _path + ".directory",
|
|
15955
16107
|
expected: "(string | undefined)",
|
|
15956
16108
|
value: input.directory
|
|
@@ -15962,11 +16114,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
15962
16114
|
path: _path + ".renders",
|
|
15963
16115
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
15964
16116
|
value: input.renders
|
|
15965
|
-
})) &&
|
|
16117
|
+
})) && _vo36(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
15966
16118
|
path: _path + ".renders",
|
|
15967
16119
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
15968
16120
|
value: input.renders
|
|
15969
|
-
})].every(flag => flag); const
|
|
16121
|
+
})].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
15970
16122
|
const value = input[key];
|
|
15971
16123
|
if (undefined === value)
|
|
15972
16124
|
return true;
|
|
@@ -15974,12 +16126,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15974
16126
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15975
16127
|
expected: "FilePublishRemoteRender",
|
|
15976
16128
|
value: value
|
|
15977
|
-
})) &&
|
|
16129
|
+
})) && _vo37(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
15978
16130
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15979
16131
|
expected: "FilePublishRemoteRender",
|
|
15980
16132
|
value: value
|
|
15981
16133
|
});
|
|
15982
|
-
}).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, {
|
|
15983
16135
|
path: _path + ".path",
|
|
15984
16136
|
expected: "(string | undefined)",
|
|
15985
16137
|
value: input.path
|
|
@@ -16011,7 +16163,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16011
16163
|
path: _path + ".source",
|
|
16012
16164
|
expected: "(string | undefined)",
|
|
16013
16165
|
value: input.source
|
|
16014
|
-
})].every(flag => flag); const
|
|
16166
|
+
})].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
16015
16167
|
path: _path + ".directory",
|
|
16016
16168
|
expected: "(string | undefined)",
|
|
16017
16169
|
value: input.directory
|
|
@@ -16019,7 +16171,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16019
16171
|
path: _path + ".filename",
|
|
16020
16172
|
expected: "string",
|
|
16021
16173
|
value: input.filename
|
|
16022
|
-
})].every(flag => flag); const
|
|
16174
|
+
})].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
16023
16175
|
path: _path + ".preset",
|
|
16024
16176
|
expected: "(string | undefined)",
|
|
16025
16177
|
value: input.preset
|
|
@@ -16039,11 +16191,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
16039
16191
|
path: _path + ".profile",
|
|
16040
16192
|
expected: "(RenderProfileObject | undefined)",
|
|
16041
16193
|
value: input.profile
|
|
16042
|
-
})) &&
|
|
16194
|
+
})) && _vo24(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
16043
16195
|
path: _path + ".profile",
|
|
16044
16196
|
expected: "(RenderProfileObject | undefined)",
|
|
16045
16197
|
value: input.profile
|
|
16046
|
-
})].every(flag => flag); const
|
|
16198
|
+
})].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
16047
16199
|
path: _path + ".method",
|
|
16048
16200
|
expected: "string",
|
|
16049
16201
|
value: input.method
|
|
@@ -16051,7 +16203,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16051
16203
|
if (undefined !== input.path)
|
|
16052
16204
|
return _vo8(input, _path, true && _exceptionable);
|
|
16053
16205
|
else if (undefined !== input.__context)
|
|
16054
|
-
return
|
|
16206
|
+
return _vo31(input, _path, true && _exceptionable);
|
|
16055
16207
|
else
|
|
16056
16208
|
return _report(_exceptionable, {
|
|
16057
16209
|
path: _path,
|
|
@@ -16846,12 +16998,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16846
16998
|
}; })()(input);
|
|
16847
16999
|
}
|
|
16848
17000
|
case ":render.query?": {
|
|
16849
|
-
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 => {
|
|
16850
17002
|
const value = input[key];
|
|
16851
17003
|
if (undefined === value)
|
|
16852
17004
|
return true;
|
|
16853
17005
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
16854
|
-
}); 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, {
|
|
16855
17007
|
path: _path + ".type",
|
|
16856
17008
|
expected: "string",
|
|
16857
17009
|
value: input.type
|
|
@@ -16883,7 +17035,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16883
17035
|
path: _path + ".profile",
|
|
16884
17036
|
expected: "RenderProfileObject",
|
|
16885
17037
|
value: input.profile
|
|
16886
|
-
})) &&
|
|
17038
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
16887
17039
|
path: _path + ".profile",
|
|
16888
17040
|
expected: "RenderProfileObject",
|
|
16889
17041
|
value: input.profile
|
|
@@ -16935,7 +17087,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16935
17087
|
path: _path + ".audio",
|
|
16936
17088
|
expected: "(__type.o7 | undefined)",
|
|
16937
17089
|
value: input.audio
|
|
16938
|
-
})) &&
|
|
17090
|
+
})) && _vo15(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
16939
17091
|
path: _path + ".audio",
|
|
16940
17092
|
expected: "(__type.o7 | undefined)",
|
|
16941
17093
|
value: input.audio
|
|
@@ -16951,7 +17103,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16951
17103
|
path: _path + ".transcribe",
|
|
16952
17104
|
expected: "(__type.o8 | undefined)",
|
|
16953
17105
|
value: input.transcribe
|
|
16954
|
-
})) &&
|
|
17106
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
16955
17107
|
path: _path + ".transcribe",
|
|
16956
17108
|
expected: "(__type.o8 | undefined)",
|
|
16957
17109
|
value: input.transcribe
|
|
@@ -17164,6 +17316,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
17164
17316
|
path: _path + ".crop",
|
|
17165
17317
|
expected: "(RenderSceneCrop | undefined)",
|
|
17166
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
|
|
17167
17327
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
17168
17328
|
path: _path + ".orientation",
|
|
17169
17329
|
expected: "(number | undefined)",
|
|
@@ -17280,7 +17440,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
17280
17440
|
path: _path + ".height",
|
|
17281
17441
|
expected: "(number | undefined)",
|
|
17282
17442
|
value: input.height
|
|
17283
|
-
})].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, {
|
|
17284
17452
|
path: _path + ".pan",
|
|
17285
17453
|
expected: "(Array<Array<number>> | undefined)",
|
|
17286
17454
|
value: input.pan
|
|
@@ -17300,7 +17468,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17300
17468
|
path: _path + ".pan",
|
|
17301
17469
|
expected: "(Array<Array<number>> | undefined)",
|
|
17302
17470
|
value: input.pan
|
|
17303
|
-
})].every(flag => flag); const
|
|
17471
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
17304
17472
|
path: _path + ".language",
|
|
17305
17473
|
expected: "(string | undefined)",
|
|
17306
17474
|
value: input.language
|
|
@@ -17320,7 +17488,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17320
17488
|
path: _path + ".diarization",
|
|
17321
17489
|
expected: "(boolean | undefined)",
|
|
17322
17490
|
value: input.diarization
|
|
17323
|
-
})].every(flag => flag); const
|
|
17491
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
17324
17492
|
path: _path + ".format",
|
|
17325
17493
|
expected: "string",
|
|
17326
17494
|
value: input.format
|
|
@@ -17328,7 +17496,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17328
17496
|
path: _path + ".transcribe",
|
|
17329
17497
|
expected: "(__type.o9 | undefined)",
|
|
17330
17498
|
value: input.transcribe
|
|
17331
|
-
})) &&
|
|
17499
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
17332
17500
|
path: _path + ".transcribe",
|
|
17333
17501
|
expected: "(__type.o9 | undefined)",
|
|
17334
17502
|
value: input.transcribe
|
|
@@ -17336,7 +17504,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17336
17504
|
path: _path + ".translate",
|
|
17337
17505
|
expected: "(__type.o10 | undefined)",
|
|
17338
17506
|
value: input.translate
|
|
17339
|
-
})) &&
|
|
17507
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
17340
17508
|
path: _path + ".translate",
|
|
17341
17509
|
expected: "(__type.o10 | undefined)",
|
|
17342
17510
|
value: input.translate
|
|
@@ -17344,7 +17512,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17344
17512
|
path: _path + ".audio",
|
|
17345
17513
|
expected: "(__type.o11 | undefined)",
|
|
17346
17514
|
value: input.audio
|
|
17347
|
-
})) &&
|
|
17515
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
17348
17516
|
path: _path + ".audio",
|
|
17349
17517
|
expected: "(__type.o11 | undefined)",
|
|
17350
17518
|
value: input.audio
|
|
@@ -17368,19 +17536,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
17368
17536
|
path: _path + ".subtitle",
|
|
17369
17537
|
expected: "(SubtitleProfile | string | undefined)",
|
|
17370
17538
|
value: input.subtitle
|
|
17371
|
-
})) &&
|
|
17539
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
17372
17540
|
path: _path + ".subtitle",
|
|
17373
17541
|
expected: "(SubtitleProfile | string | undefined)",
|
|
17374
17542
|
value: input.subtitle
|
|
17375
|
-
}))].every(flag => flag); const
|
|
17543
|
+
}))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
17376
17544
|
path: _path + ".engine",
|
|
17377
17545
|
expected: "string",
|
|
17378
17546
|
value: input.engine
|
|
17379
|
-
})].every(flag => flag); const
|
|
17547
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
17380
17548
|
path: _path + ".language",
|
|
17381
17549
|
expected: "string",
|
|
17382
17550
|
value: input.language
|
|
17383
|
-
})].every(flag => flag); const
|
|
17551
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
17384
17552
|
path: _path + ".codec",
|
|
17385
17553
|
expected: "(string | undefined)",
|
|
17386
17554
|
value: input.codec
|
|
@@ -17396,7 +17564,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17396
17564
|
path: _path + ".split",
|
|
17397
17565
|
expected: "(boolean | undefined)",
|
|
17398
17566
|
value: input.split
|
|
17399
|
-
})].every(flag => flag); const
|
|
17567
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
17400
17568
|
path: _path + ".lang",
|
|
17401
17569
|
expected: "(string | undefined)",
|
|
17402
17570
|
value: input.lang
|
|
@@ -17408,7 +17576,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17408
17576
|
path: _path + ".ccconverter",
|
|
17409
17577
|
expected: "(__type.o12 | undefined)",
|
|
17410
17578
|
value: input.ccconverter
|
|
17411
|
-
})) &&
|
|
17579
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
17412
17580
|
path: _path + ".ccconverter",
|
|
17413
17581
|
expected: "(__type.o12 | undefined)",
|
|
17414
17582
|
value: input.ccconverter
|
|
@@ -17416,15 +17584,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
17416
17584
|
path: _path + ".ass",
|
|
17417
17585
|
expected: "(__type.o13 | undefined)",
|
|
17418
17586
|
value: input.ass
|
|
17419
|
-
})) &&
|
|
17587
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
17420
17588
|
path: _path + ".ass",
|
|
17421
17589
|
expected: "(__type.o13 | undefined)",
|
|
17422
17590
|
value: input.ass
|
|
17423
|
-
})].every(flag => flag); const
|
|
17591
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
17424
17592
|
path: _path + ".preset",
|
|
17425
17593
|
expected: "(string | undefined)",
|
|
17426
17594
|
value: input.preset
|
|
17427
|
-
})].every(flag => flag); const
|
|
17595
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
17428
17596
|
path: _path + ".futureWordWrapping",
|
|
17429
17597
|
expected: "(boolean | undefined)",
|
|
17430
17598
|
value: input.futureWordWrapping
|