@nxtedition/types 23.1.5 → 23.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/render-scene.d.ts +5 -0
- package/dist/nxtpression.d.ts +6 -0
- package/dist/records/validate/assert-guard.js +259 -159
- package/dist/records/validate/assert.js +259 -159
- package/dist/records/validate/is.js +25 -25
- package/dist/records/validate/schemas.js +75 -0
- package/dist/records/validate/stringify.js +50 -50
- package/dist/records/validate/validate-equals.js +430 -235
- package/dist/records/validate/validate.js +239 -159
- package/package.json +1 -1
|
@@ -16669,7 +16669,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16669
16669
|
}; })()(input);
|
|
16670
16670
|
}
|
|
16671
16671
|
case ":media.source": {
|
|
16672
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io6(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) &&
|
|
16672
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io6(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop, true && _exceptionable)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16673
16673
|
if (["id", "preset", "input", "lang", "subtitle", "graphics", "subtitleTracks", "video", "audio", "start", "end", "transcribe", "crop", "filters", "orientation", "rotate", "interlaced", "alpha"].some(prop => key === prop))
|
|
16674
16674
|
return true;
|
|
16675
16675
|
const value = input[key];
|
|
@@ -16709,8 +16709,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16709
16709
|
if (undefined === value)
|
|
16710
16710
|
return true;
|
|
16711
16711
|
return false;
|
|
16712
|
-
})); const _io6 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16713
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
16712
|
+
})); const _io6 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop, true && _exceptionable)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io12(input.focus, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16713
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
16714
16714
|
return true;
|
|
16715
16715
|
const value = input[key];
|
|
16716
16716
|
if (undefined === value)
|
|
@@ -16751,14 +16751,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16751
16751
|
if (undefined === value)
|
|
16752
16752
|
return true;
|
|
16753
16753
|
return false;
|
|
16754
|
-
})); const _io12 = (input, _exceptionable = true) => (undefined === input.
|
|
16754
|
+
})); const _io12 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16755
|
+
if (["x", "y"].some(prop => key === prop))
|
|
16756
|
+
return true;
|
|
16757
|
+
const value = input[key];
|
|
16758
|
+
if (undefined === value)
|
|
16759
|
+
return true;
|
|
16760
|
+
return false;
|
|
16761
|
+
})); const _io13 = (input, _exceptionable = true) => (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index1) => Array.isArray(elem) && elem.every((elem, _index2) => "number" === typeof elem))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16755
16762
|
if (["pan"].some(prop => key === prop))
|
|
16756
16763
|
return true;
|
|
16757
16764
|
const value = input[key];
|
|
16758
16765
|
if (undefined === value)
|
|
16759
16766
|
return true;
|
|
16760
16767
|
return false;
|
|
16761
|
-
})); const
|
|
16768
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16762
16769
|
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
16763
16770
|
return true;
|
|
16764
16771
|
const value = input[key];
|
|
@@ -16813,7 +16820,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16813
16820
|
path: _path + ".audio",
|
|
16814
16821
|
expected: "(__type.o6 | undefined)",
|
|
16815
16822
|
value: input.audio
|
|
16816
|
-
})) &&
|
|
16823
|
+
})) && _vo13(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
16817
16824
|
path: _path + ".audio",
|
|
16818
16825
|
expected: "(__type.o6 | undefined)",
|
|
16819
16826
|
value: input.audio
|
|
@@ -16829,7 +16836,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16829
16836
|
path: _path + ".transcribe",
|
|
16830
16837
|
expected: "(__type.o7 | undefined)",
|
|
16831
16838
|
value: input.transcribe
|
|
16832
|
-
})) &&
|
|
16839
|
+
})) && _vo14(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
16833
16840
|
path: _path + ".transcribe",
|
|
16834
16841
|
expected: "(__type.o7 | undefined)",
|
|
16835
16842
|
value: input.transcribe
|
|
@@ -17122,6 +17129,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17122
17129
|
path: _path + ".crop",
|
|
17123
17130
|
expected: "(RenderSceneCrop | undefined)",
|
|
17124
17131
|
value: input.crop
|
|
17132
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
17133
|
+
path: _path + ".focus",
|
|
17134
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
17135
|
+
value: input.focus
|
|
17136
|
+
})) && _vo12(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
17137
|
+
path: _path + ".focus",
|
|
17138
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
17139
|
+
value: input.focus
|
|
17125
17140
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
17126
17141
|
path: _path + ".orientation",
|
|
17127
17142
|
expected: "(number | undefined)",
|
|
@@ -17135,7 +17150,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17135
17150
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
17136
17151
|
value: input.alpha
|
|
17137
17152
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17138
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
17153
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
17139
17154
|
return true;
|
|
17140
17155
|
const value = input[key];
|
|
17141
17156
|
if (undefined === value)
|
|
@@ -17334,7 +17349,31 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17334
17349
|
"Please remove the property next time."
|
|
17335
17350
|
].join("\n")
|
|
17336
17351
|
});
|
|
17337
|
-
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
17352
|
+
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
17353
|
+
path: _path + ".x",
|
|
17354
|
+
expected: "(number | undefined)",
|
|
17355
|
+
value: input.x
|
|
17356
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
17357
|
+
path: _path + ".y",
|
|
17358
|
+
expected: "(number | undefined)",
|
|
17359
|
+
value: input.y
|
|
17360
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17361
|
+
if (["x", "y"].some(prop => key === prop))
|
|
17362
|
+
return true;
|
|
17363
|
+
const value = input[key];
|
|
17364
|
+
if (undefined === value)
|
|
17365
|
+
return true;
|
|
17366
|
+
return _report(_exceptionable, {
|
|
17367
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17368
|
+
expected: "undefined",
|
|
17369
|
+
value: value,
|
|
17370
|
+
description: [
|
|
17371
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
17372
|
+
"",
|
|
17373
|
+
"Please remove the property next time."
|
|
17374
|
+
].join("\n")
|
|
17375
|
+
});
|
|
17376
|
+
}).every(flag => flag))].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
17338
17377
|
path: _path + ".pan",
|
|
17339
17378
|
expected: "(Array<Array<number>> | undefined)",
|
|
17340
17379
|
value: input.pan
|
|
@@ -17370,7 +17409,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17370
17409
|
"Please remove the property next time."
|
|
17371
17410
|
].join("\n")
|
|
17372
17411
|
});
|
|
17373
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17412
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
17374
17413
|
path: _path + ".language",
|
|
17375
17414
|
expected: "(string | undefined)",
|
|
17376
17415
|
value: input.language
|
|
@@ -18798,7 +18837,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18798
18837
|
if (undefined === value)
|
|
18799
18838
|
return true;
|
|
18800
18839
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value, true && _exceptionable);
|
|
18801
|
-
}); const _io1 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) &&
|
|
18840
|
+
}); const _io1 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(input.audio, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop, true && _exceptionable)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18802
18841
|
if (["id", "preset", "input", "lang", "subtitle", "graphics", "subtitleTracks", "video", "audio", "start", "end", "transcribe", "crop", "filters", "orientation", "rotate", "interlaced", "alpha"].some(prop => key === prop))
|
|
18803
18842
|
return true;
|
|
18804
18843
|
const value = input[key];
|
|
@@ -18838,8 +18877,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18838
18877
|
if (undefined === value)
|
|
18839
18878
|
return true;
|
|
18840
18879
|
return false;
|
|
18841
|
-
})); const _io7 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18842
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
18880
|
+
})); const _io7 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop, true && _exceptionable)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io13(input.focus, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18881
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
18843
18882
|
return true;
|
|
18844
18883
|
const value = input[key];
|
|
18845
18884
|
if (undefined === value)
|
|
@@ -18880,14 +18919,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18880
18919
|
if (undefined === value)
|
|
18881
18920
|
return true;
|
|
18882
18921
|
return false;
|
|
18883
|
-
})); const _io13 = (input, _exceptionable = true) => (undefined === input.
|
|
18922
|
+
})); const _io13 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18923
|
+
if (["x", "y"].some(prop => key === prop))
|
|
18924
|
+
return true;
|
|
18925
|
+
const value = input[key];
|
|
18926
|
+
if (undefined === value)
|
|
18927
|
+
return true;
|
|
18928
|
+
return false;
|
|
18929
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index1) => Array.isArray(elem) && elem.every((elem, _index2) => "number" === typeof elem))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18884
18930
|
if (["pan"].some(prop => key === prop))
|
|
18885
18931
|
return true;
|
|
18886
18932
|
const value = input[key];
|
|
18887
18933
|
if (undefined === value)
|
|
18888
18934
|
return true;
|
|
18889
18935
|
return false;
|
|
18890
|
-
})); const
|
|
18936
|
+
})); const _io15 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18891
18937
|
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
18892
18938
|
return true;
|
|
18893
18939
|
const value = input[key];
|
|
@@ -18955,7 +19001,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18955
19001
|
path: _path + ".audio",
|
|
18956
19002
|
expected: "(__type.o6 | undefined)",
|
|
18957
19003
|
value: input.audio
|
|
18958
|
-
})) &&
|
|
19004
|
+
})) && _vo14(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
18959
19005
|
path: _path + ".audio",
|
|
18960
19006
|
expected: "(__type.o6 | undefined)",
|
|
18961
19007
|
value: input.audio
|
|
@@ -18971,7 +19017,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18971
19017
|
path: _path + ".transcribe",
|
|
18972
19018
|
expected: "(__type.o7 | undefined)",
|
|
18973
19019
|
value: input.transcribe
|
|
18974
|
-
})) &&
|
|
19020
|
+
})) && _vo15(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
18975
19021
|
path: _path + ".transcribe",
|
|
18976
19022
|
expected: "(__type.o7 | undefined)",
|
|
18977
19023
|
value: input.transcribe
|
|
@@ -19264,6 +19310,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19264
19310
|
path: _path + ".crop",
|
|
19265
19311
|
expected: "(RenderSceneCrop | undefined)",
|
|
19266
19312
|
value: input.crop
|
|
19313
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
19314
|
+
path: _path + ".focus",
|
|
19315
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
19316
|
+
value: input.focus
|
|
19317
|
+
})) && _vo13(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
19318
|
+
path: _path + ".focus",
|
|
19319
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
19320
|
+
value: input.focus
|
|
19267
19321
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
19268
19322
|
path: _path + ".orientation",
|
|
19269
19323
|
expected: "(number | undefined)",
|
|
@@ -19277,7 +19331,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19277
19331
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
19278
19332
|
value: input.alpha
|
|
19279
19333
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
19280
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
19334
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
19281
19335
|
return true;
|
|
19282
19336
|
const value = input[key];
|
|
19283
19337
|
if (undefined === value)
|
|
@@ -19476,7 +19530,31 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19476
19530
|
"Please remove the property next time."
|
|
19477
19531
|
].join("\n")
|
|
19478
19532
|
});
|
|
19479
|
-
}).every(flag => flag))].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
19533
|
+
}).every(flag => flag))].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
19534
|
+
path: _path + ".x",
|
|
19535
|
+
expected: "(number | undefined)",
|
|
19536
|
+
value: input.x
|
|
19537
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
19538
|
+
path: _path + ".y",
|
|
19539
|
+
expected: "(number | undefined)",
|
|
19540
|
+
value: input.y
|
|
19541
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
19542
|
+
if (["x", "y"].some(prop => key === prop))
|
|
19543
|
+
return true;
|
|
19544
|
+
const value = input[key];
|
|
19545
|
+
if (undefined === value)
|
|
19546
|
+
return true;
|
|
19547
|
+
return _report(_exceptionable, {
|
|
19548
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
19549
|
+
expected: "undefined",
|
|
19550
|
+
value: value,
|
|
19551
|
+
description: [
|
|
19552
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
19553
|
+
"",
|
|
19554
|
+
"Please remove the property next time."
|
|
19555
|
+
].join("\n")
|
|
19556
|
+
});
|
|
19557
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
19480
19558
|
path: _path + ".pan",
|
|
19481
19559
|
expected: "(Array<Array<number>> | undefined)",
|
|
19482
19560
|
value: input.pan
|
|
@@ -19512,7 +19590,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19512
19590
|
"Please remove the property next time."
|
|
19513
19591
|
].join("\n")
|
|
19514
19592
|
});
|
|
19515
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
19593
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
19516
19594
|
path: _path + ".language",
|
|
19517
19595
|
expected: "(string | undefined)",
|
|
19518
19596
|
value: input.language
|
|
@@ -22092,21 +22170,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22092
22170
|
}; })()(input);
|
|
22093
22171
|
}
|
|
22094
22172
|
case ":publish": {
|
|
22095
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (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 && _exceptionable)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error &&
|
|
22173
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (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 && _exceptionable)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index1) => "object" === typeof elem && null !== elem && _io25(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22096
22174
|
if (["type", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
22097
22175
|
return true;
|
|
22098
22176
|
const value = input[key];
|
|
22099
22177
|
if (undefined === value)
|
|
22100
22178
|
return true;
|
|
22101
22179
|
return false;
|
|
22102
|
-
})); const _io1 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile &&
|
|
22180
|
+
})); const _io1 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io17(input.profile, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22103
22181
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
22104
22182
|
return true;
|
|
22105
22183
|
const value = input[key];
|
|
22106
22184
|
if (undefined === value)
|
|
22107
22185
|
return true;
|
|
22108
22186
|
return false;
|
|
22109
|
-
})); const _io2 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) &&
|
|
22187
|
+
})); const _io2 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(input.audio, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop, true && _exceptionable)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22110
22188
|
if (["id", "preset", "input", "lang", "subtitle", "graphics", "subtitleTracks", "video", "audio", "start", "end", "transcribe", "crop", "filters", "orientation", "rotate", "interlaced", "alpha"].some(prop => key === prop))
|
|
22111
22189
|
return true;
|
|
22112
22190
|
const value = input[key];
|
|
@@ -22146,8 +22224,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22146
22224
|
if (undefined === value)
|
|
22147
22225
|
return true;
|
|
22148
22226
|
return false;
|
|
22149
|
-
})); const _io8 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22150
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
22227
|
+
})); const _io8 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop, true && _exceptionable)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io14(input.focus, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22228
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
22151
22229
|
return true;
|
|
22152
22230
|
const value = input[key];
|
|
22153
22231
|
if (undefined === value)
|
|
@@ -22188,199 +22266,206 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22188
22266
|
if (undefined === value)
|
|
22189
22267
|
return true;
|
|
22190
22268
|
return false;
|
|
22191
|
-
})); const _io14 = (input, _exceptionable = true) => (undefined === input.
|
|
22269
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22270
|
+
if (["x", "y"].some(prop => key === prop))
|
|
22271
|
+
return true;
|
|
22272
|
+
const value = input[key];
|
|
22273
|
+
if (undefined === value)
|
|
22274
|
+
return true;
|
|
22275
|
+
return false;
|
|
22276
|
+
})); const _io15 = (input, _exceptionable = true) => (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index2) => Array.isArray(elem) && elem.every((elem, _index3) => "number" === typeof elem))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22192
22277
|
if (["pan"].some(prop => key === prop))
|
|
22193
22278
|
return true;
|
|
22194
22279
|
const value = input[key];
|
|
22195
22280
|
if (undefined === value)
|
|
22196
22281
|
return true;
|
|
22197
22282
|
return false;
|
|
22198
|
-
})); const
|
|
22283
|
+
})); const _io16 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index4) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22199
22284
|
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
22200
22285
|
return true;
|
|
22201
22286
|
const value = input[key];
|
|
22202
22287
|
if (undefined === value)
|
|
22203
22288
|
return true;
|
|
22204
22289
|
return false;
|
|
22205
|
-
})); const
|
|
22290
|
+
})); const _io17 = (input, _exceptionable = true) => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io18(input.transcribe, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io19(input.translate, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io20(input.audio, true && _exceptionable)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every((elem, _index5) => "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, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22206
22291
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
22207
22292
|
return true;
|
|
22208
22293
|
const value = input[key];
|
|
22209
22294
|
if (undefined === value)
|
|
22210
22295
|
return true;
|
|
22211
22296
|
return false;
|
|
22212
|
-
})); const
|
|
22297
|
+
})); const _io18 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22213
22298
|
if (["engine"].some(prop => key === prop))
|
|
22214
22299
|
return true;
|
|
22215
22300
|
const value = input[key];
|
|
22216
22301
|
if (undefined === value)
|
|
22217
22302
|
return true;
|
|
22218
22303
|
return false;
|
|
22219
|
-
})); const
|
|
22304
|
+
})); const _io19 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22220
22305
|
if (["language"].some(prop => key === prop))
|
|
22221
22306
|
return true;
|
|
22222
22307
|
const value = input[key];
|
|
22223
22308
|
if (undefined === value)
|
|
22224
22309
|
return true;
|
|
22225
22310
|
return false;
|
|
22226
|
-
})); const
|
|
22311
|
+
})); const _io20 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22227
22312
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
22228
22313
|
return true;
|
|
22229
22314
|
const value = input[key];
|
|
22230
22315
|
if (undefined === value)
|
|
22231
22316
|
return true;
|
|
22232
22317
|
return false;
|
|
22233
|
-
})); const
|
|
22318
|
+
})); const _io21 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io23(input.ass, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22234
22319
|
if (["lang", "style", "ccconverter", "ass"].some(prop => key === prop))
|
|
22235
22320
|
return true;
|
|
22236
22321
|
const value = input[key];
|
|
22237
22322
|
if (undefined === value)
|
|
22238
22323
|
return true;
|
|
22239
22324
|
return false;
|
|
22240
|
-
})); const
|
|
22325
|
+
})); const _io22 = (input, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22241
22326
|
if (["preset"].some(prop => key === prop))
|
|
22242
22327
|
return true;
|
|
22243
22328
|
const value = input[key];
|
|
22244
22329
|
if (undefined === value)
|
|
22245
22330
|
return true;
|
|
22246
22331
|
return false;
|
|
22247
|
-
})); const
|
|
22332
|
+
})); const _io23 = (input, _exceptionable = true) => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22248
22333
|
if (["futureWordWrapping", "scaledBorderAndShadow", "enableUnsafeLineSpacingHack"].some(prop => key === prop))
|
|
22249
22334
|
return true;
|
|
22250
22335
|
const value = input[key];
|
|
22251
22336
|
if (undefined === value)
|
|
22252
22337
|
return true;
|
|
22253
22338
|
return false;
|
|
22254
|
-
})); const
|
|
22339
|
+
})); const _io24 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22255
22340
|
if (["method"].some(prop => key === prop))
|
|
22256
22341
|
return true;
|
|
22257
22342
|
const value = input[key];
|
|
22258
22343
|
if (undefined === value)
|
|
22259
22344
|
return true;
|
|
22260
22345
|
return false;
|
|
22261
|
-
})); const
|
|
22346
|
+
})); const _io25 = (input, _exceptionable = true) => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22262
22347
|
if (["level", "code", "msg"].some(prop => key === prop))
|
|
22263
22348
|
return true;
|
|
22264
22349
|
const value = input[key];
|
|
22265
22350
|
if (undefined === value)
|
|
22266
22351
|
return true;
|
|
22267
22352
|
return false;
|
|
22268
|
-
})); const
|
|
22353
|
+
})); const _io26 = (input, _exceptionable = true) => (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 && _exceptionable)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io25(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22269
22354
|
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
22270
22355
|
return true;
|
|
22271
22356
|
const value = input[key];
|
|
22272
22357
|
if (undefined === value)
|
|
22273
22358
|
return true;
|
|
22274
22359
|
return false;
|
|
22275
|
-
})); const
|
|
22360
|
+
})); const _io27 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io32(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io33(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io36(input.published, true && _exceptionable)) && (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 && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index7) => "object" === typeof elem && null !== elem && _io25(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22276
22361
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
22277
22362
|
return true;
|
|
22278
22363
|
const value = input[key];
|
|
22279
22364
|
if (undefined === value)
|
|
22280
22365
|
return true;
|
|
22281
22366
|
return false;
|
|
22282
|
-
})); const
|
|
22367
|
+
})); const _io28 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
22283
22368
|
const value = input[key];
|
|
22284
22369
|
if (undefined === value)
|
|
22285
22370
|
return true;
|
|
22286
22371
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
22287
|
-
}); const
|
|
22372
|
+
}); const _io29 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io17(input.profile, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22288
22373
|
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
22289
22374
|
return true;
|
|
22290
22375
|
const value = input[key];
|
|
22291
22376
|
if (undefined === value)
|
|
22292
22377
|
return true;
|
|
22293
22378
|
return false;
|
|
22294
|
-
})); const
|
|
22379
|
+
})); const _io30 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io31(input.__context, true && _exceptionable) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io29(input.__returnValue, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22295
22380
|
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
22296
22381
|
return true;
|
|
22297
22382
|
const value = input[key];
|
|
22298
22383
|
if (undefined === value)
|
|
22299
22384
|
return true;
|
|
22300
22385
|
return false;
|
|
22301
|
-
})); const
|
|
22386
|
+
})); const _io31 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io27(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22302
22387
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
22303
22388
|
return true;
|
|
22304
22389
|
const value = input[key];
|
|
22305
22390
|
if (undefined === value)
|
|
22306
22391
|
return true;
|
|
22307
22392
|
return false;
|
|
22308
|
-
})); const
|
|
22393
|
+
})); const _io32 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22309
22394
|
if (["directory", "filename"].some(prop => key === prop))
|
|
22310
22395
|
return true;
|
|
22311
22396
|
const value = input[key];
|
|
22312
22397
|
if (undefined === value)
|
|
22313
22398
|
return true;
|
|
22314
22399
|
return false;
|
|
22315
|
-
})); const
|
|
22400
|
+
})); const _io33 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22316
22401
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
22317
22402
|
return true;
|
|
22318
22403
|
const value = input[key];
|
|
22319
22404
|
if (undefined === value)
|
|
22320
22405
|
return true;
|
|
22321
22406
|
return false;
|
|
22322
|
-
})); const
|
|
22407
|
+
})); const _io34 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
22323
22408
|
const value = input[key];
|
|
22324
22409
|
if (undefined === value)
|
|
22325
22410
|
return true;
|
|
22326
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
22327
|
-
}); const
|
|
22411
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io35(value, true && _exceptionable);
|
|
22412
|
+
}); const _io35 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index8) => "object" === typeof elem && null !== elem && _io25(elem, true && _exceptionable))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22328
22413
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
22329
22414
|
return true;
|
|
22330
22415
|
const value = input[key];
|
|
22331
22416
|
if (undefined === value)
|
|
22332
22417
|
return true;
|
|
22333
22418
|
return false;
|
|
22334
|
-
})); const
|
|
22419
|
+
})); const _io36 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22335
22420
|
if (["directory", "filename"].some(prop => key === prop))
|
|
22336
22421
|
return true;
|
|
22337
22422
|
const value = input[key];
|
|
22338
22423
|
if (undefined === value)
|
|
22339
22424
|
return true;
|
|
22340
22425
|
return false;
|
|
22341
|
-
})); const
|
|
22426
|
+
})); const _io37 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io38(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io36(input.published, true && _exceptionable)) && (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, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index9) => "object" === typeof elem && null !== elem && _io25(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22342
22427
|
if (["type", "directory", "filename", "draft", "remote", "published", "renders", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
22343
22428
|
return true;
|
|
22344
22429
|
const value = input[key];
|
|
22345
22430
|
if (undefined === value)
|
|
22346
22431
|
return true;
|
|
22347
22432
|
return false;
|
|
22348
|
-
})); const
|
|
22433
|
+
})); const _io38 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io40(input.metafile, true && _exceptionable)) && Object.keys(input).every(key => {
|
|
22349
22434
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
22350
22435
|
return true;
|
|
22351
22436
|
const value = input[key];
|
|
22352
22437
|
if (undefined === value)
|
|
22353
22438
|
return true;
|
|
22354
22439
|
return true;
|
|
22355
|
-
}); const
|
|
22440
|
+
}); const _io39 = (input, _exceptionable = true) => "string" === typeof input.path && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22356
22441
|
if (["path"].some(prop => key === prop))
|
|
22357
22442
|
return true;
|
|
22358
22443
|
const value = input[key];
|
|
22359
22444
|
if (undefined === value)
|
|
22360
22445
|
return true;
|
|
22361
22446
|
return false;
|
|
22362
|
-
})); const
|
|
22447
|
+
})); const _io40 = (input, _exceptionable = true) => "string" === typeof input.path && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22363
22448
|
if (["path"].some(prop => key === prop))
|
|
22364
22449
|
return true;
|
|
22365
22450
|
const value = input[key];
|
|
22366
22451
|
if (undefined === value)
|
|
22367
22452
|
return true;
|
|
22368
22453
|
return false;
|
|
22369
|
-
})); const
|
|
22454
|
+
})); const _io41 = (input, _exceptionable = true) => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io42(input.draft, true && _exceptionable)) && (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 && _exceptionable)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io24(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index10) => "object" === typeof elem && null !== elem && _io25(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22370
22455
|
if (["type", "draft", "asset", "connection", "render", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
22371
22456
|
return true;
|
|
22372
22457
|
const value = input[key];
|
|
22373
22458
|
if (undefined === value)
|
|
22374
22459
|
return true;
|
|
22375
22460
|
return false;
|
|
22376
|
-
})); const
|
|
22461
|
+
})); const _io42 = (input, _exceptionable = true) => (undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io43(input.snippet, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22377
22462
|
if (["snippet"].some(prop => key === prop))
|
|
22378
22463
|
return true;
|
|
22379
22464
|
const value = input[key];
|
|
22380
22465
|
if (undefined === value)
|
|
22381
22466
|
return true;
|
|
22382
22467
|
return false;
|
|
22383
|
-
})); const
|
|
22468
|
+
})); const _io43 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem, _index11) => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22384
22469
|
if (["title", "tags", "description"].some(prop => key === prop))
|
|
22385
22470
|
return true;
|
|
22386
22471
|
const value = input[key];
|
|
@@ -22389,22 +22474,22 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22389
22474
|
return false;
|
|
22390
22475
|
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
22391
22476
|
if (undefined !== input.path)
|
|
22392
|
-
return _io28(input, true && _exceptionable);
|
|
22393
|
-
else if (undefined !== input.__context)
|
|
22394
22477
|
return _io29(input, true && _exceptionable);
|
|
22478
|
+
else if (undefined !== input.__context)
|
|
22479
|
+
return _io30(input, true && _exceptionable);
|
|
22395
22480
|
else
|
|
22396
22481
|
return false;
|
|
22397
22482
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
22398
22483
|
if (_io0(input, false && _exceptionable))
|
|
22399
22484
|
return _io0(input, true && _exceptionable);
|
|
22400
|
-
if (_io25(input, false && _exceptionable))
|
|
22401
|
-
return _io25(input, true && _exceptionable);
|
|
22402
|
-
if (_io36(input, false && _exceptionable))
|
|
22403
|
-
return _io36(input, true && _exceptionable);
|
|
22404
22485
|
if (_io26(input, false && _exceptionable))
|
|
22405
22486
|
return _io26(input, true && _exceptionable);
|
|
22406
|
-
if (
|
|
22407
|
-
return
|
|
22487
|
+
if (_io37(input, false && _exceptionable))
|
|
22488
|
+
return _io37(input, true && _exceptionable);
|
|
22489
|
+
if (_io27(input, false && _exceptionable))
|
|
22490
|
+
return _io27(input, true && _exceptionable);
|
|
22491
|
+
if (_io41(input, false && _exceptionable))
|
|
22492
|
+
return _io41(input, true && _exceptionable);
|
|
22408
22493
|
return false;
|
|
22409
22494
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
22410
22495
|
path: _path + ".type",
|
|
@@ -22430,7 +22515,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22430
22515
|
path: _path + ".error",
|
|
22431
22516
|
expected: "(__type.o13 | null | undefined)",
|
|
22432
22517
|
value: input.error
|
|
22433
|
-
})) &&
|
|
22518
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
22434
22519
|
path: _path + ".error",
|
|
22435
22520
|
expected: "(__type.o13 | null | undefined)",
|
|
22436
22521
|
value: input.error
|
|
@@ -22442,7 +22527,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22442
22527
|
path: _path + ".messages[" + _index12 + "]",
|
|
22443
22528
|
expected: "Message",
|
|
22444
22529
|
value: elem
|
|
22445
|
-
})) &&
|
|
22530
|
+
})) && _vo25(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
22446
22531
|
path: _path + ".messages[" + _index12 + "]",
|
|
22447
22532
|
expected: "Message",
|
|
22448
22533
|
value: elem
|
|
@@ -22486,7 +22571,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22486
22571
|
path: _path + ".profile",
|
|
22487
22572
|
expected: "(RenderProfileObject | undefined)",
|
|
22488
22573
|
value: input.profile
|
|
22489
|
-
})) &&
|
|
22574
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
22490
22575
|
path: _path + ".profile",
|
|
22491
22576
|
expected: "(RenderProfileObject | undefined)",
|
|
22492
22577
|
value: input.profile
|
|
@@ -22554,7 +22639,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22554
22639
|
path: _path + ".audio",
|
|
22555
22640
|
expected: "(__type.o6 | undefined)",
|
|
22556
22641
|
value: input.audio
|
|
22557
|
-
})) &&
|
|
22642
|
+
})) && _vo15(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
22558
22643
|
path: _path + ".audio",
|
|
22559
22644
|
expected: "(__type.o6 | undefined)",
|
|
22560
22645
|
value: input.audio
|
|
@@ -22570,7 +22655,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22570
22655
|
path: _path + ".transcribe",
|
|
22571
22656
|
expected: "(__type.o7 | undefined)",
|
|
22572
22657
|
value: input.transcribe
|
|
22573
|
-
})) &&
|
|
22658
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
22574
22659
|
path: _path + ".transcribe",
|
|
22575
22660
|
expected: "(__type.o7 | undefined)",
|
|
22576
22661
|
value: input.transcribe
|
|
@@ -22863,6 +22948,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22863
22948
|
path: _path + ".crop",
|
|
22864
22949
|
expected: "(RenderSceneCrop | undefined)",
|
|
22865
22950
|
value: input.crop
|
|
22951
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
22952
|
+
path: _path + ".focus",
|
|
22953
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
22954
|
+
value: input.focus
|
|
22955
|
+
})) && _vo14(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
22956
|
+
path: _path + ".focus",
|
|
22957
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
22958
|
+
value: input.focus
|
|
22866
22959
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
22867
22960
|
path: _path + ".orientation",
|
|
22868
22961
|
expected: "(number | undefined)",
|
|
@@ -22876,7 +22969,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22876
22969
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
22877
22970
|
value: input.alpha
|
|
22878
22971
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
22879
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
22972
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
22880
22973
|
return true;
|
|
22881
22974
|
const value = input[key];
|
|
22882
22975
|
if (undefined === value)
|
|
@@ -23075,7 +23168,31 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23075
23168
|
"Please remove the property next time."
|
|
23076
23169
|
].join("\n")
|
|
23077
23170
|
});
|
|
23078
|
-
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
23171
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
23172
|
+
path: _path + ".x",
|
|
23173
|
+
expected: "(number | undefined)",
|
|
23174
|
+
value: input.x
|
|
23175
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
23176
|
+
path: _path + ".y",
|
|
23177
|
+
expected: "(number | undefined)",
|
|
23178
|
+
value: input.y
|
|
23179
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23180
|
+
if (["x", "y"].some(prop => key === prop))
|
|
23181
|
+
return true;
|
|
23182
|
+
const value = input[key];
|
|
23183
|
+
if (undefined === value)
|
|
23184
|
+
return true;
|
|
23185
|
+
return _report(_exceptionable, {
|
|
23186
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23187
|
+
expected: "undefined",
|
|
23188
|
+
value: value,
|
|
23189
|
+
description: [
|
|
23190
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
23191
|
+
"",
|
|
23192
|
+
"Please remove the property next time."
|
|
23193
|
+
].join("\n")
|
|
23194
|
+
});
|
|
23195
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
23079
23196
|
path: _path + ".pan",
|
|
23080
23197
|
expected: "(Array<Array<number>> | undefined)",
|
|
23081
23198
|
value: input.pan
|
|
@@ -23111,7 +23228,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23111
23228
|
"Please remove the property next time."
|
|
23112
23229
|
].join("\n")
|
|
23113
23230
|
});
|
|
23114
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23231
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
23115
23232
|
path: _path + ".language",
|
|
23116
23233
|
expected: "(string | undefined)",
|
|
23117
23234
|
value: input.language
|
|
@@ -23147,7 +23264,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23147
23264
|
"Please remove the property next time."
|
|
23148
23265
|
].join("\n")
|
|
23149
23266
|
});
|
|
23150
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23267
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
23151
23268
|
path: _path + ".format",
|
|
23152
23269
|
expected: "string",
|
|
23153
23270
|
value: input.format
|
|
@@ -23155,7 +23272,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23155
23272
|
path: _path + ".transcribe",
|
|
23156
23273
|
expected: "(__type.o8 | undefined)",
|
|
23157
23274
|
value: input.transcribe
|
|
23158
|
-
})) &&
|
|
23275
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
23159
23276
|
path: _path + ".transcribe",
|
|
23160
23277
|
expected: "(__type.o8 | undefined)",
|
|
23161
23278
|
value: input.transcribe
|
|
@@ -23163,7 +23280,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23163
23280
|
path: _path + ".translate",
|
|
23164
23281
|
expected: "(__type.o9 | undefined)",
|
|
23165
23282
|
value: input.translate
|
|
23166
|
-
})) &&
|
|
23283
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
23167
23284
|
path: _path + ".translate",
|
|
23168
23285
|
expected: "(__type.o9 | undefined)",
|
|
23169
23286
|
value: input.translate
|
|
@@ -23171,7 +23288,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23171
23288
|
path: _path + ".audio",
|
|
23172
23289
|
expected: "(__type.o10 | undefined)",
|
|
23173
23290
|
value: input.audio
|
|
23174
|
-
})) &&
|
|
23291
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
23175
23292
|
path: _path + ".audio",
|
|
23176
23293
|
expected: "(__type.o10 | undefined)",
|
|
23177
23294
|
value: input.audio
|
|
@@ -23195,7 +23312,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23195
23312
|
path: _path + ".subtitle",
|
|
23196
23313
|
expected: "(SubtitleProfile | string | undefined)",
|
|
23197
23314
|
value: input.subtitle
|
|
23198
|
-
})) &&
|
|
23315
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
23199
23316
|
path: _path + ".subtitle",
|
|
23200
23317
|
expected: "(SubtitleProfile | string | undefined)",
|
|
23201
23318
|
value: input.subtitle
|
|
@@ -23215,7 +23332,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23215
23332
|
"Please remove the property next time."
|
|
23216
23333
|
].join("\n")
|
|
23217
23334
|
});
|
|
23218
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23335
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
23219
23336
|
path: _path + ".engine",
|
|
23220
23337
|
expected: "string",
|
|
23221
23338
|
value: input.engine
|
|
@@ -23235,7 +23352,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23235
23352
|
"Please remove the property next time."
|
|
23236
23353
|
].join("\n")
|
|
23237
23354
|
});
|
|
23238
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23355
|
+
}).every(flag => flag))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
23239
23356
|
path: _path + ".language",
|
|
23240
23357
|
expected: "string",
|
|
23241
23358
|
value: input.language
|
|
@@ -23255,7 +23372,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23255
23372
|
"Please remove the property next time."
|
|
23256
23373
|
].join("\n")
|
|
23257
23374
|
});
|
|
23258
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23375
|
+
}).every(flag => flag))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
23259
23376
|
path: _path + ".codec",
|
|
23260
23377
|
expected: "(string | undefined)",
|
|
23261
23378
|
value: input.codec
|
|
@@ -23287,7 +23404,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23287
23404
|
"Please remove the property next time."
|
|
23288
23405
|
].join("\n")
|
|
23289
23406
|
});
|
|
23290
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23407
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
23291
23408
|
path: _path + ".lang",
|
|
23292
23409
|
expected: "(string | undefined)",
|
|
23293
23410
|
value: input.lang
|
|
@@ -23299,7 +23416,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23299
23416
|
path: _path + ".ccconverter",
|
|
23300
23417
|
expected: "(__type.o11 | undefined)",
|
|
23301
23418
|
value: input.ccconverter
|
|
23302
|
-
})) &&
|
|
23419
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
23303
23420
|
path: _path + ".ccconverter",
|
|
23304
23421
|
expected: "(__type.o11 | undefined)",
|
|
23305
23422
|
value: input.ccconverter
|
|
@@ -23307,7 +23424,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23307
23424
|
path: _path + ".ass",
|
|
23308
23425
|
expected: "(__type.o12 | undefined)",
|
|
23309
23426
|
value: input.ass
|
|
23310
|
-
})) &&
|
|
23427
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
23311
23428
|
path: _path + ".ass",
|
|
23312
23429
|
expected: "(__type.o12 | undefined)",
|
|
23313
23430
|
value: input.ass
|
|
@@ -23327,7 +23444,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23327
23444
|
"Please remove the property next time."
|
|
23328
23445
|
].join("\n")
|
|
23329
23446
|
});
|
|
23330
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23447
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
23331
23448
|
path: _path + ".preset",
|
|
23332
23449
|
expected: "(string | undefined)",
|
|
23333
23450
|
value: input.preset
|
|
@@ -23347,7 +23464,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23347
23464
|
"Please remove the property next time."
|
|
23348
23465
|
].join("\n")
|
|
23349
23466
|
});
|
|
23350
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23467
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
23351
23468
|
path: _path + ".futureWordWrapping",
|
|
23352
23469
|
expected: "(boolean | undefined)",
|
|
23353
23470
|
value: input.futureWordWrapping
|
|
@@ -23375,7 +23492,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23375
23492
|
"Please remove the property next time."
|
|
23376
23493
|
].join("\n")
|
|
23377
23494
|
});
|
|
23378
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23495
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
23379
23496
|
path: _path + ".method",
|
|
23380
23497
|
expected: "string",
|
|
23381
23498
|
value: input.method
|
|
@@ -23395,7 +23512,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23395
23512
|
"Please remove the property next time."
|
|
23396
23513
|
].join("\n")
|
|
23397
23514
|
});
|
|
23398
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23515
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
23399
23516
|
path: _path + ".level",
|
|
23400
23517
|
expected: "number",
|
|
23401
23518
|
value: input.level
|
|
@@ -23423,7 +23540,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23423
23540
|
"Please remove the property next time."
|
|
23424
23541
|
].join("\n")
|
|
23425
23542
|
});
|
|
23426
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23543
|
+
}).every(flag => flag))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
23427
23544
|
path: _path + ".type",
|
|
23428
23545
|
expected: "(\"facebook\" | undefined)",
|
|
23429
23546
|
value: input.type
|
|
@@ -23451,7 +23568,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23451
23568
|
path: _path + ".error",
|
|
23452
23569
|
expected: "(__type.o13 | null | undefined)",
|
|
23453
23570
|
value: input.error
|
|
23454
|
-
})) &&
|
|
23571
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
23455
23572
|
path: _path + ".error",
|
|
23456
23573
|
expected: "(__type.o13 | null | undefined)",
|
|
23457
23574
|
value: input.error
|
|
@@ -23463,7 +23580,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23463
23580
|
path: _path + ".messages[" + _index17 + "]",
|
|
23464
23581
|
expected: "Message",
|
|
23465
23582
|
value: elem
|
|
23466
|
-
})) &&
|
|
23583
|
+
})) && _vo25(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23467
23584
|
path: _path + ".messages[" + _index17 + "]",
|
|
23468
23585
|
expected: "Message",
|
|
23469
23586
|
value: elem
|
|
@@ -23487,7 +23604,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23487
23604
|
"Please remove the property next time."
|
|
23488
23605
|
].join("\n")
|
|
23489
23606
|
});
|
|
23490
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23607
|
+
}).every(flag => flag))].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
23491
23608
|
path: _path + ".type",
|
|
23492
23609
|
expected: "(\"file\" | undefined)",
|
|
23493
23610
|
value: input.type
|
|
@@ -23503,7 +23620,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23503
23620
|
path: _path + ".renders",
|
|
23504
23621
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
23505
23622
|
value: input.renders
|
|
23506
|
-
})) &&
|
|
23623
|
+
})) && _vo28(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
23507
23624
|
path: _path + ".renders",
|
|
23508
23625
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
23509
23626
|
value: input.renders
|
|
@@ -23511,7 +23628,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23511
23628
|
path: _path + ".draft",
|
|
23512
23629
|
expected: "(FilePublishDraft | undefined)",
|
|
23513
23630
|
value: input.draft
|
|
23514
|
-
})) &&
|
|
23631
|
+
})) && _vo32(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
23515
23632
|
path: _path + ".draft",
|
|
23516
23633
|
expected: "(FilePublishDraft | undefined)",
|
|
23517
23634
|
value: input.draft
|
|
@@ -23519,7 +23636,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23519
23636
|
path: _path + ".remote",
|
|
23520
23637
|
expected: "(FilePublishRemote | undefined)",
|
|
23521
23638
|
value: input.remote
|
|
23522
|
-
})) &&
|
|
23639
|
+
})) && _vo33(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
23523
23640
|
path: _path + ".remote",
|
|
23524
23641
|
expected: "(FilePublishRemote | undefined)",
|
|
23525
23642
|
value: input.remote
|
|
@@ -23527,7 +23644,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23527
23644
|
path: _path + ".published",
|
|
23528
23645
|
expected: "(FilePublishPublished | undefined)",
|
|
23529
23646
|
value: input.published
|
|
23530
|
-
})) &&
|
|
23647
|
+
})) && _vo36(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
23531
23648
|
path: _path + ".published",
|
|
23532
23649
|
expected: "(FilePublishPublished | undefined)",
|
|
23533
23650
|
value: input.published
|
|
@@ -23551,7 +23668,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23551
23668
|
path: _path + ".error",
|
|
23552
23669
|
expected: "(__type.o13 | null | undefined)",
|
|
23553
23670
|
value: input.error
|
|
23554
|
-
})) &&
|
|
23671
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
23555
23672
|
path: _path + ".error",
|
|
23556
23673
|
expected: "(__type.o13 | null | undefined)",
|
|
23557
23674
|
value: input.error
|
|
@@ -23563,7 +23680,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23563
23680
|
path: _path + ".messages[" + _index18 + "]",
|
|
23564
23681
|
expected: "Message",
|
|
23565
23682
|
value: elem
|
|
23566
|
-
})) &&
|
|
23683
|
+
})) && _vo25(elem, _path + ".messages[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23567
23684
|
path: _path + ".messages[" + _index18 + "]",
|
|
23568
23685
|
expected: "Message",
|
|
23569
23686
|
value: elem
|
|
@@ -23587,7 +23704,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23587
23704
|
"Please remove the property next time."
|
|
23588
23705
|
].join("\n")
|
|
23589
23706
|
});
|
|
23590
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23707
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
23591
23708
|
const value = input[key];
|
|
23592
23709
|
if (undefined === value)
|
|
23593
23710
|
return true;
|
|
@@ -23608,7 +23725,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23608
23725
|
expected: "(ResolvedFilePublishRender | __type.o14 | string)",
|
|
23609
23726
|
value: value
|
|
23610
23727
|
}));
|
|
23611
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
23728
|
+
}).every(flag => flag)].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
23612
23729
|
path: _path + ".name",
|
|
23613
23730
|
expected: "(string | undefined)",
|
|
23614
23731
|
value: input.name
|
|
@@ -23644,7 +23761,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23644
23761
|
path: _path + ".profile",
|
|
23645
23762
|
expected: "(RenderProfileObject | undefined)",
|
|
23646
23763
|
value: input.profile
|
|
23647
|
-
})) &&
|
|
23764
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
23648
23765
|
path: _path + ".profile",
|
|
23649
23766
|
expected: "(RenderProfileObject | undefined)",
|
|
23650
23767
|
value: input.profile
|
|
@@ -23664,11 +23781,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23664
23781
|
"Please remove the property next time."
|
|
23665
23782
|
].join("\n")
|
|
23666
23783
|
});
|
|
23667
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23784
|
+
}).every(flag => flag))].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
23668
23785
|
path: _path + ".__context",
|
|
23669
23786
|
expected: "__type.o15",
|
|
23670
23787
|
value: input.__context
|
|
23671
|
-
})) &&
|
|
23788
|
+
})) && _vo31(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
23672
23789
|
path: _path + ".__context",
|
|
23673
23790
|
expected: "__type.o15",
|
|
23674
23791
|
value: input.__context
|
|
@@ -23676,7 +23793,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23676
23793
|
path: _path + ".__returnValue",
|
|
23677
23794
|
expected: "ResolvedFilePublishRender",
|
|
23678
23795
|
value: input.__returnValue
|
|
23679
|
-
})) &&
|
|
23796
|
+
})) && _vo29(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
23680
23797
|
path: _path + ".__returnValue",
|
|
23681
23798
|
expected: "ResolvedFilePublishRender",
|
|
23682
23799
|
value: input.__returnValue
|
|
@@ -23696,11 +23813,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23696
23813
|
"Please remove the property next time."
|
|
23697
23814
|
].join("\n")
|
|
23698
23815
|
});
|
|
23699
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23816
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
23700
23817
|
path: _path + ".publish",
|
|
23701
23818
|
expected: "FilePublishRecord",
|
|
23702
23819
|
value: input.publish
|
|
23703
|
-
})) &&
|
|
23820
|
+
})) && _vo27(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
23704
23821
|
path: _path + ".publish",
|
|
23705
23822
|
expected: "FilePublishRecord",
|
|
23706
23823
|
value: input.publish
|
|
@@ -23728,7 +23845,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23728
23845
|
"Please remove the property next time."
|
|
23729
23846
|
].join("\n")
|
|
23730
23847
|
});
|
|
23731
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23848
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
23732
23849
|
path: _path + ".directory",
|
|
23733
23850
|
expected: "(string | undefined)",
|
|
23734
23851
|
value: input.directory
|
|
@@ -23752,7 +23869,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23752
23869
|
"Please remove the property next time."
|
|
23753
23870
|
].join("\n")
|
|
23754
23871
|
});
|
|
23755
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23872
|
+
}).every(flag => flag))].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
23756
23873
|
path: _path + ".directory",
|
|
23757
23874
|
expected: "(string | undefined)",
|
|
23758
23875
|
value: input.directory
|
|
@@ -23764,7 +23881,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23764
23881
|
path: _path + ".renders",
|
|
23765
23882
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
23766
23883
|
value: input.renders
|
|
23767
|
-
})) &&
|
|
23884
|
+
})) && _vo34(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
23768
23885
|
path: _path + ".renders",
|
|
23769
23886
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
23770
23887
|
value: input.renders
|
|
@@ -23784,7 +23901,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23784
23901
|
"Please remove the property next time."
|
|
23785
23902
|
].join("\n")
|
|
23786
23903
|
});
|
|
23787
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23904
|
+
}).every(flag => flag))].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
23788
23905
|
const value = input[key];
|
|
23789
23906
|
if (undefined === value)
|
|
23790
23907
|
return true;
|
|
@@ -23792,12 +23909,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23792
23909
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23793
23910
|
expected: "FilePublishRemoteRender",
|
|
23794
23911
|
value: value
|
|
23795
|
-
})) &&
|
|
23912
|
+
})) && _vo35(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
23796
23913
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23797
23914
|
expected: "FilePublishRemoteRender",
|
|
23798
23915
|
value: value
|
|
23799
23916
|
});
|
|
23800
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
23917
|
+
}).every(flag => flag)].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
23801
23918
|
path: _path + ".path",
|
|
23802
23919
|
expected: "(string | undefined)",
|
|
23803
23920
|
value: input.path
|
|
@@ -23809,7 +23926,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23809
23926
|
path: _path + ".messages[" + _index19 + "]",
|
|
23810
23927
|
expected: "Message",
|
|
23811
23928
|
value: elem
|
|
23812
|
-
})) &&
|
|
23929
|
+
})) && _vo25(elem, _path + ".messages[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23813
23930
|
path: _path + ".messages[" + _index19 + "]",
|
|
23814
23931
|
expected: "Message",
|
|
23815
23932
|
value: elem
|
|
@@ -23845,7 +23962,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23845
23962
|
"Please remove the property next time."
|
|
23846
23963
|
].join("\n")
|
|
23847
23964
|
});
|
|
23848
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23965
|
+
}).every(flag => flag))].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
23849
23966
|
path: _path + ".directory",
|
|
23850
23967
|
expected: "(string | undefined)",
|
|
23851
23968
|
value: input.directory
|
|
@@ -23869,7 +23986,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23869
23986
|
"Please remove the property next time."
|
|
23870
23987
|
].join("\n")
|
|
23871
23988
|
});
|
|
23872
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23989
|
+
}).every(flag => flag))].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
23873
23990
|
path: _path + ".type",
|
|
23874
23991
|
expected: "(\"file\" | undefined)",
|
|
23875
23992
|
value: input.type
|
|
@@ -23885,7 +24002,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23885
24002
|
path: _path + ".draft",
|
|
23886
24003
|
expected: "(FilePublishDraft | undefined)",
|
|
23887
24004
|
value: input.draft
|
|
23888
|
-
})) &&
|
|
24005
|
+
})) && _vo32(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
23889
24006
|
path: _path + ".draft",
|
|
23890
24007
|
expected: "(FilePublishDraft | undefined)",
|
|
23891
24008
|
value: input.draft
|
|
@@ -23893,7 +24010,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23893
24010
|
path: _path + ".remote",
|
|
23894
24011
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
23895
24012
|
value: input.remote
|
|
23896
|
-
})) &&
|
|
24013
|
+
})) && _vo38(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
23897
24014
|
path: _path + ".remote",
|
|
23898
24015
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
23899
24016
|
value: input.remote
|
|
@@ -23901,7 +24018,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23901
24018
|
path: _path + ".published",
|
|
23902
24019
|
expected: "(FilePublishPublished | undefined)",
|
|
23903
24020
|
value: input.published
|
|
23904
|
-
})) &&
|
|
24021
|
+
})) && _vo36(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
23905
24022
|
path: _path + ".published",
|
|
23906
24023
|
expected: "(FilePublishPublished | undefined)",
|
|
23907
24024
|
value: input.published
|
|
@@ -23933,7 +24050,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23933
24050
|
path: _path + ".error",
|
|
23934
24051
|
expected: "(__type.o13 | null | undefined)",
|
|
23935
24052
|
value: input.error
|
|
23936
|
-
})) &&
|
|
24053
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
23937
24054
|
path: _path + ".error",
|
|
23938
24055
|
expected: "(__type.o13 | null | undefined)",
|
|
23939
24056
|
value: input.error
|
|
@@ -23945,7 +24062,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23945
24062
|
path: _path + ".messages[" + _index20 + "]",
|
|
23946
24063
|
expected: "Message",
|
|
23947
24064
|
value: elem
|
|
23948
|
-
})) &&
|
|
24065
|
+
})) && _vo25(elem, _path + ".messages[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23949
24066
|
path: _path + ".messages[" + _index20 + "]",
|
|
23950
24067
|
expected: "Message",
|
|
23951
24068
|
value: elem
|
|
@@ -23969,7 +24086,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23969
24086
|
"Please remove the property next time."
|
|
23970
24087
|
].join("\n")
|
|
23971
24088
|
});
|
|
23972
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
24089
|
+
}).every(flag => flag))].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
23973
24090
|
path: _path + ".id",
|
|
23974
24091
|
expected: "(string | undefined)",
|
|
23975
24092
|
value: input.id
|
|
@@ -23989,7 +24106,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23989
24106
|
path: _path + ".subtitle",
|
|
23990
24107
|
expected: "(__type.o16 | undefined)",
|
|
23991
24108
|
value: input.subtitle
|
|
23992
|
-
})) &&
|
|
24109
|
+
})) && _vo39(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
23993
24110
|
path: _path + ".subtitle",
|
|
23994
24111
|
expected: "(__type.o16 | undefined)",
|
|
23995
24112
|
value: input.subtitle
|
|
@@ -23997,7 +24114,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23997
24114
|
path: _path + ".metafile",
|
|
23998
24115
|
expected: "(__type.o17 | undefined)",
|
|
23999
24116
|
value: input.metafile
|
|
24000
|
-
})) &&
|
|
24117
|
+
})) && _vo40(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
24001
24118
|
path: _path + ".metafile",
|
|
24002
24119
|
expected: "(__type.o17 | undefined)",
|
|
24003
24120
|
value: input.metafile
|
|
@@ -24008,7 +24125,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24008
24125
|
if (undefined === value)
|
|
24009
24126
|
return true;
|
|
24010
24127
|
return true;
|
|
24011
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
24128
|
+
}).every(flag => flag)].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
24012
24129
|
path: _path + ".path",
|
|
24013
24130
|
expected: "string",
|
|
24014
24131
|
value: input.path
|
|
@@ -24028,7 +24145,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24028
24145
|
"Please remove the property next time."
|
|
24029
24146
|
].join("\n")
|
|
24030
24147
|
});
|
|
24031
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
24148
|
+
}).every(flag => flag))].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
24032
24149
|
path: _path + ".path",
|
|
24033
24150
|
expected: "string",
|
|
24034
24151
|
value: input.path
|
|
@@ -24048,7 +24165,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24048
24165
|
"Please remove the property next time."
|
|
24049
24166
|
].join("\n")
|
|
24050
24167
|
});
|
|
24051
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
24168
|
+
}).every(flag => flag))].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
24052
24169
|
path: _path + ".type",
|
|
24053
24170
|
expected: "(\"youtube\" | undefined)",
|
|
24054
24171
|
value: input.type
|
|
@@ -24056,7 +24173,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24056
24173
|
path: _path + ".draft",
|
|
24057
24174
|
expected: "(__type.o18 | undefined)",
|
|
24058
24175
|
value: input.draft
|
|
24059
|
-
})) &&
|
|
24176
|
+
})) && _vo42(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
24060
24177
|
path: _path + ".draft",
|
|
24061
24178
|
expected: "(__type.o18 | undefined)",
|
|
24062
24179
|
value: input.draft
|
|
@@ -24080,7 +24197,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24080
24197
|
path: _path + ".error",
|
|
24081
24198
|
expected: "(__type.o13 | null | undefined)",
|
|
24082
24199
|
value: input.error
|
|
24083
|
-
})) &&
|
|
24200
|
+
})) && _vo24(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
24084
24201
|
path: _path + ".error",
|
|
24085
24202
|
expected: "(__type.o13 | null | undefined)",
|
|
24086
24203
|
value: input.error
|
|
@@ -24092,7 +24209,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24092
24209
|
path: _path + ".messages[" + _index21 + "]",
|
|
24093
24210
|
expected: "Message",
|
|
24094
24211
|
value: elem
|
|
24095
|
-
})) &&
|
|
24212
|
+
})) && _vo25(elem, _path + ".messages[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
24096
24213
|
path: _path + ".messages[" + _index21 + "]",
|
|
24097
24214
|
expected: "Message",
|
|
24098
24215
|
value: elem
|
|
@@ -24116,11 +24233,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24116
24233
|
"Please remove the property next time."
|
|
24117
24234
|
].join("\n")
|
|
24118
24235
|
});
|
|
24119
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
24236
|
+
}).every(flag => flag))].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, {
|
|
24120
24237
|
path: _path + ".snippet",
|
|
24121
24238
|
expected: "(__type.o19 | undefined)",
|
|
24122
24239
|
value: input.snippet
|
|
24123
|
-
})) &&
|
|
24240
|
+
})) && _vo43(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
24124
24241
|
path: _path + ".snippet",
|
|
24125
24242
|
expected: "(__type.o19 | undefined)",
|
|
24126
24243
|
value: input.snippet
|
|
@@ -24140,7 +24257,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24140
24257
|
"Please remove the property next time."
|
|
24141
24258
|
].join("\n")
|
|
24142
24259
|
});
|
|
24143
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
24260
|
+
}).every(flag => flag))].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
24144
24261
|
path: _path + ".title",
|
|
24145
24262
|
expected: "(string | undefined)",
|
|
24146
24263
|
value: input.title
|
|
@@ -24178,9 +24295,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24178
24295
|
});
|
|
24179
24296
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
24180
24297
|
if (undefined !== input.path)
|
|
24181
|
-
return _vo28(input, _path, true && _exceptionable);
|
|
24182
|
-
else if (undefined !== input.__context)
|
|
24183
24298
|
return _vo29(input, _path, true && _exceptionable);
|
|
24299
|
+
else if (undefined !== input.__context)
|
|
24300
|
+
return _vo30(input, _path, true && _exceptionable);
|
|
24184
24301
|
else
|
|
24185
24302
|
return _report(_exceptionable, {
|
|
24186
24303
|
path: _path,
|
|
@@ -24190,14 +24307,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24190
24307
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
24191
24308
|
if (_vo0(input, _path, false && _exceptionable))
|
|
24192
24309
|
return _vo0(input, _path, true && _exceptionable);
|
|
24193
|
-
if (_vo25(input, _path, false && _exceptionable))
|
|
24194
|
-
return _vo25(input, _path, true && _exceptionable);
|
|
24195
|
-
if (_vo36(input, _path, false && _exceptionable))
|
|
24196
|
-
return _vo36(input, _path, true && _exceptionable);
|
|
24197
24310
|
if (_vo26(input, _path, false && _exceptionable))
|
|
24198
24311
|
return _vo26(input, _path, true && _exceptionable);
|
|
24199
|
-
if (
|
|
24200
|
-
return
|
|
24312
|
+
if (_vo37(input, _path, false && _exceptionable))
|
|
24313
|
+
return _vo37(input, _path, true && _exceptionable);
|
|
24314
|
+
if (_vo27(input, _path, false && _exceptionable))
|
|
24315
|
+
return _vo27(input, _path, true && _exceptionable);
|
|
24316
|
+
if (_vo41(input, _path, false && _exceptionable))
|
|
24317
|
+
return _vo41(input, _path, true && _exceptionable);
|
|
24201
24318
|
return _report(_exceptionable, {
|
|
24202
24319
|
path: _path,
|
|
24203
24320
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecordLegacy | FilePublishRecord | YoutubePublishRecord)",
|
|
@@ -24285,14 +24402,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24285
24402
|
if (undefined === value)
|
|
24286
24403
|
return true;
|
|
24287
24404
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
24288
|
-
}); const _io8 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile &&
|
|
24405
|
+
}); const _io8 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io24(input.profile, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24289
24406
|
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
24290
24407
|
return true;
|
|
24291
24408
|
const value = input[key];
|
|
24292
24409
|
if (undefined === value)
|
|
24293
24410
|
return true;
|
|
24294
24411
|
return false;
|
|
24295
|
-
})); const _io9 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io15(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) &&
|
|
24412
|
+
})); const _io9 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io15(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io22(input.audio, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop, true && _exceptionable)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24296
24413
|
if (["id", "preset", "input", "lang", "subtitle", "graphics", "subtitleTracks", "video", "audio", "start", "end", "transcribe", "crop", "filters", "orientation", "rotate", "interlaced", "alpha"].some(prop => key === prop))
|
|
24297
24414
|
return true;
|
|
24298
24415
|
const value = input[key];
|
|
@@ -24332,8 +24449,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24332
24449
|
if (undefined === value)
|
|
24333
24450
|
return true;
|
|
24334
24451
|
return false;
|
|
24335
|
-
})); const _io15 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24336
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
24452
|
+
})); const _io15 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop, true && _exceptionable)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io21(input.focus, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24453
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
24337
24454
|
return true;
|
|
24338
24455
|
const value = input[key];
|
|
24339
24456
|
if (undefined === value)
|
|
@@ -24374,131 +24491,138 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24374
24491
|
if (undefined === value)
|
|
24375
24492
|
return true;
|
|
24376
24493
|
return false;
|
|
24377
|
-
})); const _io21 = (input, _exceptionable = true) => (undefined === input.
|
|
24494
|
+
})); const _io21 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24495
|
+
if (["x", "y"].some(prop => key === prop))
|
|
24496
|
+
return true;
|
|
24497
|
+
const value = input[key];
|
|
24498
|
+
if (undefined === value)
|
|
24499
|
+
return true;
|
|
24500
|
+
return false;
|
|
24501
|
+
})); const _io22 = (input, _exceptionable = true) => (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => Array.isArray(elem) && elem.every((elem, _index4) => "number" === typeof elem))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24378
24502
|
if (["pan"].some(prop => key === prop))
|
|
24379
24503
|
return true;
|
|
24380
24504
|
const value = input[key];
|
|
24381
24505
|
if (undefined === value)
|
|
24382
24506
|
return true;
|
|
24383
24507
|
return false;
|
|
24384
|
-
})); const
|
|
24508
|
+
})); const _io23 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index5) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24385
24509
|
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
24386
24510
|
return true;
|
|
24387
24511
|
const value = input[key];
|
|
24388
24512
|
if (undefined === value)
|
|
24389
24513
|
return true;
|
|
24390
24514
|
return false;
|
|
24391
|
-
})); const
|
|
24515
|
+
})); const _io24 = (input, _exceptionable = true) => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io25(input.transcribe, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io26(input.translate, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(input.audio, true && _exceptionable)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every((elem, _index6) => "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, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24392
24516
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
24393
24517
|
return true;
|
|
24394
24518
|
const value = input[key];
|
|
24395
24519
|
if (undefined === value)
|
|
24396
24520
|
return true;
|
|
24397
24521
|
return false;
|
|
24398
|
-
})); const
|
|
24522
|
+
})); const _io25 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24399
24523
|
if (["engine"].some(prop => key === prop))
|
|
24400
24524
|
return true;
|
|
24401
24525
|
const value = input[key];
|
|
24402
24526
|
if (undefined === value)
|
|
24403
24527
|
return true;
|
|
24404
24528
|
return false;
|
|
24405
|
-
})); const
|
|
24529
|
+
})); const _io26 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24406
24530
|
if (["language"].some(prop => key === prop))
|
|
24407
24531
|
return true;
|
|
24408
24532
|
const value = input[key];
|
|
24409
24533
|
if (undefined === value)
|
|
24410
24534
|
return true;
|
|
24411
24535
|
return false;
|
|
24412
|
-
})); const
|
|
24536
|
+
})); const _io27 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24413
24537
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
24414
24538
|
return true;
|
|
24415
24539
|
const value = input[key];
|
|
24416
24540
|
if (undefined === value)
|
|
24417
24541
|
return true;
|
|
24418
24542
|
return false;
|
|
24419
|
-
})); const
|
|
24543
|
+
})); const _io28 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io30(input.ass, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24420
24544
|
if (["lang", "style", "ccconverter", "ass"].some(prop => key === prop))
|
|
24421
24545
|
return true;
|
|
24422
24546
|
const value = input[key];
|
|
24423
24547
|
if (undefined === value)
|
|
24424
24548
|
return true;
|
|
24425
24549
|
return false;
|
|
24426
|
-
})); const
|
|
24550
|
+
})); const _io29 = (input, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24427
24551
|
if (["preset"].some(prop => key === prop))
|
|
24428
24552
|
return true;
|
|
24429
24553
|
const value = input[key];
|
|
24430
24554
|
if (undefined === value)
|
|
24431
24555
|
return true;
|
|
24432
24556
|
return false;
|
|
24433
|
-
})); const
|
|
24557
|
+
})); const _io30 = (input, _exceptionable = true) => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24434
24558
|
if (["futureWordWrapping", "scaledBorderAndShadow", "enableUnsafeLineSpacingHack"].some(prop => key === prop))
|
|
24435
24559
|
return true;
|
|
24436
24560
|
const value = input[key];
|
|
24437
24561
|
if (undefined === value)
|
|
24438
24562
|
return true;
|
|
24439
24563
|
return false;
|
|
24440
|
-
})); const
|
|
24564
|
+
})); const _io31 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io32(input.__context, true && _exceptionable) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io8(input.__returnValue, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24441
24565
|
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
24442
24566
|
return true;
|
|
24443
24567
|
const value = input[key];
|
|
24444
24568
|
if (undefined === value)
|
|
24445
24569
|
return true;
|
|
24446
24570
|
return false;
|
|
24447
|
-
})); const
|
|
24571
|
+
})); const _io32 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io33(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24448
24572
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
24449
24573
|
return true;
|
|
24450
24574
|
const value = input[key];
|
|
24451
24575
|
if (undefined === value)
|
|
24452
24576
|
return true;
|
|
24453
24577
|
return false;
|
|
24454
|
-
})); const
|
|
24578
|
+
})); const _io33 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io34(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io35(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io38(input.published, true && _exceptionable)) && (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, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io40(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index7) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24455
24579
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
24456
24580
|
return true;
|
|
24457
24581
|
const value = input[key];
|
|
24458
24582
|
if (undefined === value)
|
|
24459
24583
|
return true;
|
|
24460
24584
|
return false;
|
|
24461
|
-
})); const
|
|
24585
|
+
})); const _io34 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24462
24586
|
if (["directory", "filename"].some(prop => key === prop))
|
|
24463
24587
|
return true;
|
|
24464
24588
|
const value = input[key];
|
|
24465
24589
|
if (undefined === value)
|
|
24466
24590
|
return true;
|
|
24467
24591
|
return false;
|
|
24468
|
-
})); const
|
|
24592
|
+
})); const _io35 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24469
24593
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
24470
24594
|
return true;
|
|
24471
24595
|
const value = input[key];
|
|
24472
24596
|
if (undefined === value)
|
|
24473
24597
|
return true;
|
|
24474
24598
|
return false;
|
|
24475
|
-
})); const
|
|
24599
|
+
})); const _io36 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
24476
24600
|
const value = input[key];
|
|
24477
24601
|
if (undefined === value)
|
|
24478
24602
|
return true;
|
|
24479
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
24480
|
-
}); const
|
|
24603
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io37(value, true && _exceptionable);
|
|
24604
|
+
}); const _io37 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index8) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24481
24605
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
24482
24606
|
return true;
|
|
24483
24607
|
const value = input[key];
|
|
24484
24608
|
if (undefined === value)
|
|
24485
24609
|
return true;
|
|
24486
24610
|
return false;
|
|
24487
|
-
})); const
|
|
24611
|
+
})); const _io38 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24488
24612
|
if (["directory", "filename"].some(prop => key === prop))
|
|
24489
24613
|
return true;
|
|
24490
24614
|
const value = input[key];
|
|
24491
24615
|
if (undefined === value)
|
|
24492
24616
|
return true;
|
|
24493
24617
|
return false;
|
|
24494
|
-
})); const
|
|
24618
|
+
})); const _io39 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io24(input.profile, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24495
24619
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
24496
24620
|
return true;
|
|
24497
24621
|
const value = input[key];
|
|
24498
24622
|
if (undefined === value)
|
|
24499
24623
|
return true;
|
|
24500
24624
|
return false;
|
|
24501
|
-
})); const
|
|
24625
|
+
})); const _io40 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
24502
24626
|
if (["method"].some(prop => key === prop))
|
|
24503
24627
|
return true;
|
|
24504
24628
|
const value = input[key];
|
|
@@ -24509,7 +24633,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24509
24633
|
if (undefined !== input.path)
|
|
24510
24634
|
return _io8(input, true && _exceptionable);
|
|
24511
24635
|
else if (undefined !== input.__context)
|
|
24512
|
-
return
|
|
24636
|
+
return _io31(input, true && _exceptionable);
|
|
24513
24637
|
else
|
|
24514
24638
|
return false;
|
|
24515
24639
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
@@ -24804,7 +24928,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24804
24928
|
path: _path + ".profile",
|
|
24805
24929
|
expected: "(RenderProfileObject | undefined)",
|
|
24806
24930
|
value: input.profile
|
|
24807
|
-
})) &&
|
|
24931
|
+
})) && _vo24(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
24808
24932
|
path: _path + ".profile",
|
|
24809
24933
|
expected: "(RenderProfileObject | undefined)",
|
|
24810
24934
|
value: input.profile
|
|
@@ -24872,7 +24996,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24872
24996
|
path: _path + ".audio",
|
|
24873
24997
|
expected: "(__type.o6 | undefined)",
|
|
24874
24998
|
value: input.audio
|
|
24875
|
-
})) &&
|
|
24999
|
+
})) && _vo22(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
24876
25000
|
path: _path + ".audio",
|
|
24877
25001
|
expected: "(__type.o6 | undefined)",
|
|
24878
25002
|
value: input.audio
|
|
@@ -24888,7 +25012,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
24888
25012
|
path: _path + ".transcribe",
|
|
24889
25013
|
expected: "(__type.o7 | undefined)",
|
|
24890
25014
|
value: input.transcribe
|
|
24891
|
-
})) &&
|
|
25015
|
+
})) && _vo23(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
24892
25016
|
path: _path + ".transcribe",
|
|
24893
25017
|
expected: "(__type.o7 | undefined)",
|
|
24894
25018
|
value: input.transcribe
|
|
@@ -25181,6 +25305,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25181
25305
|
path: _path + ".crop",
|
|
25182
25306
|
expected: "(RenderSceneCrop | undefined)",
|
|
25183
25307
|
value: input.crop
|
|
25308
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
25309
|
+
path: _path + ".focus",
|
|
25310
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
25311
|
+
value: input.focus
|
|
25312
|
+
})) && _vo21(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
25313
|
+
path: _path + ".focus",
|
|
25314
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
25315
|
+
value: input.focus
|
|
25184
25316
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
25185
25317
|
path: _path + ".orientation",
|
|
25186
25318
|
expected: "(number | undefined)",
|
|
@@ -25194,7 +25326,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25194
25326
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
25195
25327
|
value: input.alpha
|
|
25196
25328
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25197
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
25329
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
25198
25330
|
return true;
|
|
25199
25331
|
const value = input[key];
|
|
25200
25332
|
if (undefined === value)
|
|
@@ -25393,7 +25525,31 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25393
25525
|
"Please remove the property next time."
|
|
25394
25526
|
].join("\n")
|
|
25395
25527
|
});
|
|
25396
|
-
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
25528
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
25529
|
+
path: _path + ".x",
|
|
25530
|
+
expected: "(number | undefined)",
|
|
25531
|
+
value: input.x
|
|
25532
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
25533
|
+
path: _path + ".y",
|
|
25534
|
+
expected: "(number | undefined)",
|
|
25535
|
+
value: input.y
|
|
25536
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
25537
|
+
if (["x", "y"].some(prop => key === prop))
|
|
25538
|
+
return true;
|
|
25539
|
+
const value = input[key];
|
|
25540
|
+
if (undefined === value)
|
|
25541
|
+
return true;
|
|
25542
|
+
return _report(_exceptionable, {
|
|
25543
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25544
|
+
expected: "undefined",
|
|
25545
|
+
value: value,
|
|
25546
|
+
description: [
|
|
25547
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
25548
|
+
"",
|
|
25549
|
+
"Please remove the property next time."
|
|
25550
|
+
].join("\n")
|
|
25551
|
+
});
|
|
25552
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
25397
25553
|
path: _path + ".pan",
|
|
25398
25554
|
expected: "(Array<Array<number>> | undefined)",
|
|
25399
25555
|
value: input.pan
|
|
@@ -25429,7 +25585,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25429
25585
|
"Please remove the property next time."
|
|
25430
25586
|
].join("\n")
|
|
25431
25587
|
});
|
|
25432
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25588
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
25433
25589
|
path: _path + ".language",
|
|
25434
25590
|
expected: "(string | undefined)",
|
|
25435
25591
|
value: input.language
|
|
@@ -25465,7 +25621,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25465
25621
|
"Please remove the property next time."
|
|
25466
25622
|
].join("\n")
|
|
25467
25623
|
});
|
|
25468
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25624
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
25469
25625
|
path: _path + ".format",
|
|
25470
25626
|
expected: "string",
|
|
25471
25627
|
value: input.format
|
|
@@ -25473,7 +25629,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25473
25629
|
path: _path + ".transcribe",
|
|
25474
25630
|
expected: "(__type.o8 | undefined)",
|
|
25475
25631
|
value: input.transcribe
|
|
25476
|
-
})) &&
|
|
25632
|
+
})) && _vo25(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
25477
25633
|
path: _path + ".transcribe",
|
|
25478
25634
|
expected: "(__type.o8 | undefined)",
|
|
25479
25635
|
value: input.transcribe
|
|
@@ -25481,7 +25637,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25481
25637
|
path: _path + ".translate",
|
|
25482
25638
|
expected: "(__type.o9 | undefined)",
|
|
25483
25639
|
value: input.translate
|
|
25484
|
-
})) &&
|
|
25640
|
+
})) && _vo26(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
25485
25641
|
path: _path + ".translate",
|
|
25486
25642
|
expected: "(__type.o9 | undefined)",
|
|
25487
25643
|
value: input.translate
|
|
@@ -25489,7 +25645,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25489
25645
|
path: _path + ".audio",
|
|
25490
25646
|
expected: "(__type.o10 | undefined)",
|
|
25491
25647
|
value: input.audio
|
|
25492
|
-
})) &&
|
|
25648
|
+
})) && _vo27(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
25493
25649
|
path: _path + ".audio",
|
|
25494
25650
|
expected: "(__type.o10 | undefined)",
|
|
25495
25651
|
value: input.audio
|
|
@@ -25513,7 +25669,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25513
25669
|
path: _path + ".subtitle",
|
|
25514
25670
|
expected: "(SubtitleProfile | string | undefined)",
|
|
25515
25671
|
value: input.subtitle
|
|
25516
|
-
})) &&
|
|
25672
|
+
})) && _vo28(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
25517
25673
|
path: _path + ".subtitle",
|
|
25518
25674
|
expected: "(SubtitleProfile | string | undefined)",
|
|
25519
25675
|
value: input.subtitle
|
|
@@ -25533,7 +25689,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25533
25689
|
"Please remove the property next time."
|
|
25534
25690
|
].join("\n")
|
|
25535
25691
|
});
|
|
25536
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25692
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
25537
25693
|
path: _path + ".engine",
|
|
25538
25694
|
expected: "string",
|
|
25539
25695
|
value: input.engine
|
|
@@ -25553,7 +25709,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25553
25709
|
"Please remove the property next time."
|
|
25554
25710
|
].join("\n")
|
|
25555
25711
|
});
|
|
25556
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25712
|
+
}).every(flag => flag))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
25557
25713
|
path: _path + ".language",
|
|
25558
25714
|
expected: "string",
|
|
25559
25715
|
value: input.language
|
|
@@ -25573,7 +25729,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25573
25729
|
"Please remove the property next time."
|
|
25574
25730
|
].join("\n")
|
|
25575
25731
|
});
|
|
25576
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25732
|
+
}).every(flag => flag))].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
25577
25733
|
path: _path + ".codec",
|
|
25578
25734
|
expected: "(string | undefined)",
|
|
25579
25735
|
value: input.codec
|
|
@@ -25605,7 +25761,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25605
25761
|
"Please remove the property next time."
|
|
25606
25762
|
].join("\n")
|
|
25607
25763
|
});
|
|
25608
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25764
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
25609
25765
|
path: _path + ".lang",
|
|
25610
25766
|
expected: "(string | undefined)",
|
|
25611
25767
|
value: input.lang
|
|
@@ -25617,7 +25773,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25617
25773
|
path: _path + ".ccconverter",
|
|
25618
25774
|
expected: "(__type.o11 | undefined)",
|
|
25619
25775
|
value: input.ccconverter
|
|
25620
|
-
})) &&
|
|
25776
|
+
})) && _vo29(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
25621
25777
|
path: _path + ".ccconverter",
|
|
25622
25778
|
expected: "(__type.o11 | undefined)",
|
|
25623
25779
|
value: input.ccconverter
|
|
@@ -25625,7 +25781,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25625
25781
|
path: _path + ".ass",
|
|
25626
25782
|
expected: "(__type.o12 | undefined)",
|
|
25627
25783
|
value: input.ass
|
|
25628
|
-
})) &&
|
|
25784
|
+
})) && _vo30(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
25629
25785
|
path: _path + ".ass",
|
|
25630
25786
|
expected: "(__type.o12 | undefined)",
|
|
25631
25787
|
value: input.ass
|
|
@@ -25645,7 +25801,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25645
25801
|
"Please remove the property next time."
|
|
25646
25802
|
].join("\n")
|
|
25647
25803
|
});
|
|
25648
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25804
|
+
}).every(flag => flag))].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
25649
25805
|
path: _path + ".preset",
|
|
25650
25806
|
expected: "(string | undefined)",
|
|
25651
25807
|
value: input.preset
|
|
@@ -25665,7 +25821,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25665
25821
|
"Please remove the property next time."
|
|
25666
25822
|
].join("\n")
|
|
25667
25823
|
});
|
|
25668
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25824
|
+
}).every(flag => flag))].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
25669
25825
|
path: _path + ".futureWordWrapping",
|
|
25670
25826
|
expected: "(boolean | undefined)",
|
|
25671
25827
|
value: input.futureWordWrapping
|
|
@@ -25693,11 +25849,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25693
25849
|
"Please remove the property next time."
|
|
25694
25850
|
].join("\n")
|
|
25695
25851
|
});
|
|
25696
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25852
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
25697
25853
|
path: _path + ".__context",
|
|
25698
25854
|
expected: "__type.o14",
|
|
25699
25855
|
value: input.__context
|
|
25700
|
-
})) &&
|
|
25856
|
+
})) && _vo32(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
25701
25857
|
path: _path + ".__context",
|
|
25702
25858
|
expected: "__type.o14",
|
|
25703
25859
|
value: input.__context
|
|
@@ -25725,11 +25881,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25725
25881
|
"Please remove the property next time."
|
|
25726
25882
|
].join("\n")
|
|
25727
25883
|
});
|
|
25728
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25884
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
25729
25885
|
path: _path + ".publish",
|
|
25730
25886
|
expected: "FilePublishRecord",
|
|
25731
25887
|
value: input.publish
|
|
25732
|
-
})) &&
|
|
25888
|
+
})) && _vo33(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
25733
25889
|
path: _path + ".publish",
|
|
25734
25890
|
expected: "FilePublishRecord",
|
|
25735
25891
|
value: input.publish
|
|
@@ -25757,7 +25913,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25757
25913
|
"Please remove the property next time."
|
|
25758
25914
|
].join("\n")
|
|
25759
25915
|
});
|
|
25760
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
25916
|
+
}).every(flag => flag))].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
25761
25917
|
path: _path + ".type",
|
|
25762
25918
|
expected: "(\"file\" | undefined)",
|
|
25763
25919
|
value: input.type
|
|
@@ -25781,7 +25937,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25781
25937
|
path: _path + ".draft",
|
|
25782
25938
|
expected: "(FilePublishDraft | undefined)",
|
|
25783
25939
|
value: input.draft
|
|
25784
|
-
})) &&
|
|
25940
|
+
})) && _vo34(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
25785
25941
|
path: _path + ".draft",
|
|
25786
25942
|
expected: "(FilePublishDraft | undefined)",
|
|
25787
25943
|
value: input.draft
|
|
@@ -25789,7 +25945,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25789
25945
|
path: _path + ".remote",
|
|
25790
25946
|
expected: "(FilePublishRemote | undefined)",
|
|
25791
25947
|
value: input.remote
|
|
25792
|
-
})) &&
|
|
25948
|
+
})) && _vo35(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
25793
25949
|
path: _path + ".remote",
|
|
25794
25950
|
expected: "(FilePublishRemote | undefined)",
|
|
25795
25951
|
value: input.remote
|
|
@@ -25797,7 +25953,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25797
25953
|
path: _path + ".published",
|
|
25798
25954
|
expected: "(FilePublishPublished | undefined)",
|
|
25799
25955
|
value: input.published
|
|
25800
|
-
})) &&
|
|
25956
|
+
})) && _vo38(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
25801
25957
|
path: _path + ".published",
|
|
25802
25958
|
expected: "(FilePublishPublished | undefined)",
|
|
25803
25959
|
value: input.published
|
|
@@ -25813,7 +25969,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25813
25969
|
path: _path + ".render",
|
|
25814
25970
|
expected: "(PublishRenderBase | undefined)",
|
|
25815
25971
|
value: input.render
|
|
25816
|
-
})) &&
|
|
25972
|
+
})) && _vo39(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
25817
25973
|
path: _path + ".render",
|
|
25818
25974
|
expected: "(PublishRenderBase | undefined)",
|
|
25819
25975
|
value: input.render
|
|
@@ -25821,7 +25977,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25821
25977
|
path: _path + ".error",
|
|
25822
25978
|
expected: "(__type.o15 | null | undefined)",
|
|
25823
25979
|
value: input.error
|
|
25824
|
-
})) &&
|
|
25980
|
+
})) && _vo40(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
25825
25981
|
path: _path + ".error",
|
|
25826
25982
|
expected: "(__type.o15 | null | undefined)",
|
|
25827
25983
|
value: input.error
|
|
@@ -25857,7 +26013,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25857
26013
|
"Please remove the property next time."
|
|
25858
26014
|
].join("\n")
|
|
25859
26015
|
});
|
|
25860
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26016
|
+
}).every(flag => flag))].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
25861
26017
|
path: _path + ".directory",
|
|
25862
26018
|
expected: "(string | undefined)",
|
|
25863
26019
|
value: input.directory
|
|
@@ -25881,7 +26037,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25881
26037
|
"Please remove the property next time."
|
|
25882
26038
|
].join("\n")
|
|
25883
26039
|
});
|
|
25884
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26040
|
+
}).every(flag => flag))].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
25885
26041
|
path: _path + ".directory",
|
|
25886
26042
|
expected: "(string | undefined)",
|
|
25887
26043
|
value: input.directory
|
|
@@ -25893,7 +26049,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25893
26049
|
path: _path + ".renders",
|
|
25894
26050
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
25895
26051
|
value: input.renders
|
|
25896
|
-
})) &&
|
|
26052
|
+
})) && _vo36(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
25897
26053
|
path: _path + ".renders",
|
|
25898
26054
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
25899
26055
|
value: input.renders
|
|
@@ -25913,7 +26069,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25913
26069
|
"Please remove the property next time."
|
|
25914
26070
|
].join("\n")
|
|
25915
26071
|
});
|
|
25916
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26072
|
+
}).every(flag => flag))].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
25917
26073
|
const value = input[key];
|
|
25918
26074
|
if (undefined === value)
|
|
25919
26075
|
return true;
|
|
@@ -25921,12 +26077,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25921
26077
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25922
26078
|
expected: "FilePublishRemoteRender",
|
|
25923
26079
|
value: value
|
|
25924
|
-
})) &&
|
|
26080
|
+
})) && _vo37(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
25925
26081
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
25926
26082
|
expected: "FilePublishRemoteRender",
|
|
25927
26083
|
value: value
|
|
25928
26084
|
});
|
|
25929
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
26085
|
+
}).every(flag => flag)].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
25930
26086
|
path: _path + ".path",
|
|
25931
26087
|
expected: "(string | undefined)",
|
|
25932
26088
|
value: input.path
|
|
@@ -25974,7 +26130,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25974
26130
|
"Please remove the property next time."
|
|
25975
26131
|
].join("\n")
|
|
25976
26132
|
});
|
|
25977
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26133
|
+
}).every(flag => flag))].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
25978
26134
|
path: _path + ".directory",
|
|
25979
26135
|
expected: "(string | undefined)",
|
|
25980
26136
|
value: input.directory
|
|
@@ -25998,7 +26154,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25998
26154
|
"Please remove the property next time."
|
|
25999
26155
|
].join("\n")
|
|
26000
26156
|
});
|
|
26001
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26157
|
+
}).every(flag => flag))].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
26002
26158
|
path: _path + ".preset",
|
|
26003
26159
|
expected: "(string | undefined)",
|
|
26004
26160
|
value: input.preset
|
|
@@ -26018,7 +26174,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26018
26174
|
path: _path + ".profile",
|
|
26019
26175
|
expected: "(RenderProfileObject | undefined)",
|
|
26020
26176
|
value: input.profile
|
|
26021
|
-
})) &&
|
|
26177
|
+
})) && _vo24(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
26022
26178
|
path: _path + ".profile",
|
|
26023
26179
|
expected: "(RenderProfileObject | undefined)",
|
|
26024
26180
|
value: input.profile
|
|
@@ -26038,7 +26194,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26038
26194
|
"Please remove the property next time."
|
|
26039
26195
|
].join("\n")
|
|
26040
26196
|
});
|
|
26041
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
26197
|
+
}).every(flag => flag))].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
26042
26198
|
path: _path + ".method",
|
|
26043
26199
|
expected: "string",
|
|
26044
26200
|
value: input.method
|
|
@@ -26062,7 +26218,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26062
26218
|
if (undefined !== input.path)
|
|
26063
26219
|
return _vo8(input, _path, true && _exceptionable);
|
|
26064
26220
|
else if (undefined !== input.__context)
|
|
26065
|
-
return
|
|
26221
|
+
return _vo31(input, _path, true && _exceptionable);
|
|
26066
26222
|
else
|
|
26067
26223
|
return _report(_exceptionable, {
|
|
26068
26224
|
path: _path,
|
|
@@ -27288,14 +27444,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27288
27444
|
if (undefined === value)
|
|
27289
27445
|
return true;
|
|
27290
27446
|
return false;
|
|
27291
|
-
})); const _io1 = (input, _exceptionable = true) => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene, true && _exceptionable) && ("object" === typeof input.profile && null !== input.profile &&
|
|
27447
|
+
})); const _io1 = (input, _exceptionable = true) => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene, true && _exceptionable) && ("object" === typeof input.profile && null !== input.profile && _io17(input.profile, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27292
27448
|
if (["scene", "profile"].some(prop => key === prop))
|
|
27293
27449
|
return true;
|
|
27294
27450
|
const value = input[key];
|
|
27295
27451
|
if (undefined === value)
|
|
27296
27452
|
return true;
|
|
27297
27453
|
return false;
|
|
27298
|
-
})); const _io2 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) &&
|
|
27454
|
+
})); const _io2 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io15(input.audio, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop, true && _exceptionable)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27299
27455
|
if (["id", "preset", "input", "lang", "subtitle", "graphics", "subtitleTracks", "video", "audio", "start", "end", "transcribe", "crop", "filters", "orientation", "rotate", "interlaced", "alpha"].some(prop => key === prop))
|
|
27300
27456
|
return true;
|
|
27301
27457
|
const value = input[key];
|
|
@@ -27335,8 +27491,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27335
27491
|
if (undefined === value)
|
|
27336
27492
|
return true;
|
|
27337
27493
|
return false;
|
|
27338
|
-
})); const _io8 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27339
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
27494
|
+
})); const _io8 = (input, _exceptionable = true) => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters, true && _exceptionable)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop, true && _exceptionable)) && (undefined === input.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io14(input.focus, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27495
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
27340
27496
|
return true;
|
|
27341
27497
|
const value = input[key];
|
|
27342
27498
|
if (undefined === value)
|
|
@@ -27377,63 +27533,70 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27377
27533
|
if (undefined === value)
|
|
27378
27534
|
return true;
|
|
27379
27535
|
return false;
|
|
27380
|
-
})); const _io14 = (input, _exceptionable = true) => (undefined === input.
|
|
27536
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27537
|
+
if (["x", "y"].some(prop => key === prop))
|
|
27538
|
+
return true;
|
|
27539
|
+
const value = input[key];
|
|
27540
|
+
if (undefined === value)
|
|
27541
|
+
return true;
|
|
27542
|
+
return false;
|
|
27543
|
+
})); const _io15 = (input, _exceptionable = true) => (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index1) => Array.isArray(elem) && elem.every((elem, _index2) => "number" === typeof elem))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27381
27544
|
if (["pan"].some(prop => key === prop))
|
|
27382
27545
|
return true;
|
|
27383
27546
|
const value = input[key];
|
|
27384
27547
|
if (undefined === value)
|
|
27385
27548
|
return true;
|
|
27386
27549
|
return false;
|
|
27387
|
-
})); const
|
|
27550
|
+
})); const _io16 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27388
27551
|
if (["language", "pan", "diarization"].some(prop => key === prop))
|
|
27389
27552
|
return true;
|
|
27390
27553
|
const value = input[key];
|
|
27391
27554
|
if (undefined === value)
|
|
27392
27555
|
return true;
|
|
27393
27556
|
return false;
|
|
27394
|
-
})); const
|
|
27557
|
+
})); const _io17 = (input, _exceptionable = true) => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io18(input.transcribe, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io19(input.translate, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io20(input.audio, true && _exceptionable)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every((elem, _index4) => "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, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27395
27558
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
27396
27559
|
return true;
|
|
27397
27560
|
const value = input[key];
|
|
27398
27561
|
if (undefined === value)
|
|
27399
27562
|
return true;
|
|
27400
27563
|
return false;
|
|
27401
|
-
})); const
|
|
27564
|
+
})); const _io18 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27402
27565
|
if (["engine"].some(prop => key === prop))
|
|
27403
27566
|
return true;
|
|
27404
27567
|
const value = input[key];
|
|
27405
27568
|
if (undefined === value)
|
|
27406
27569
|
return true;
|
|
27407
27570
|
return false;
|
|
27408
|
-
})); const
|
|
27571
|
+
})); const _io19 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27409
27572
|
if (["language"].some(prop => key === prop))
|
|
27410
27573
|
return true;
|
|
27411
27574
|
const value = input[key];
|
|
27412
27575
|
if (undefined === value)
|
|
27413
27576
|
return true;
|
|
27414
27577
|
return false;
|
|
27415
|
-
})); const
|
|
27578
|
+
})); const _io20 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27416
27579
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
27417
27580
|
return true;
|
|
27418
27581
|
const value = input[key];
|
|
27419
27582
|
if (undefined === value)
|
|
27420
27583
|
return true;
|
|
27421
27584
|
return false;
|
|
27422
|
-
})); const
|
|
27585
|
+
})); const _io21 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io23(input.ass, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27423
27586
|
if (["lang", "style", "ccconverter", "ass"].some(prop => key === prop))
|
|
27424
27587
|
return true;
|
|
27425
27588
|
const value = input[key];
|
|
27426
27589
|
if (undefined === value)
|
|
27427
27590
|
return true;
|
|
27428
27591
|
return false;
|
|
27429
|
-
})); const
|
|
27592
|
+
})); const _io22 = (input, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27430
27593
|
if (["preset"].some(prop => key === prop))
|
|
27431
27594
|
return true;
|
|
27432
27595
|
const value = input[key];
|
|
27433
27596
|
if (undefined === value)
|
|
27434
27597
|
return true;
|
|
27435
27598
|
return false;
|
|
27436
|
-
})); const
|
|
27599
|
+
})); const _io23 = (input, _exceptionable = true) => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27437
27600
|
if (["futureWordWrapping", "scaledBorderAndShadow", "enableUnsafeLineSpacingHack"].some(prop => key === prop))
|
|
27438
27601
|
return true;
|
|
27439
27602
|
const value = input[key];
|
|
@@ -27488,7 +27651,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27488
27651
|
path: _path + ".profile",
|
|
27489
27652
|
expected: "RenderProfileObject",
|
|
27490
27653
|
value: input.profile
|
|
27491
|
-
})) &&
|
|
27654
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
27492
27655
|
path: _path + ".profile",
|
|
27493
27656
|
expected: "RenderProfileObject",
|
|
27494
27657
|
value: input.profile
|
|
@@ -27556,7 +27719,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27556
27719
|
path: _path + ".audio",
|
|
27557
27720
|
expected: "(__type.o7 | undefined)",
|
|
27558
27721
|
value: input.audio
|
|
27559
|
-
})) &&
|
|
27722
|
+
})) && _vo15(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
27560
27723
|
path: _path + ".audio",
|
|
27561
27724
|
expected: "(__type.o7 | undefined)",
|
|
27562
27725
|
value: input.audio
|
|
@@ -27572,7 +27735,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27572
27735
|
path: _path + ".transcribe",
|
|
27573
27736
|
expected: "(__type.o8 | undefined)",
|
|
27574
27737
|
value: input.transcribe
|
|
27575
|
-
})) &&
|
|
27738
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
27576
27739
|
path: _path + ".transcribe",
|
|
27577
27740
|
expected: "(__type.o8 | undefined)",
|
|
27578
27741
|
value: input.transcribe
|
|
@@ -27865,6 +28028,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27865
28028
|
path: _path + ".crop",
|
|
27866
28029
|
expected: "(RenderSceneCrop | undefined)",
|
|
27867
28030
|
value: input.crop
|
|
28031
|
+
}), undefined === input.focus || ("object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) || _report(_exceptionable, {
|
|
28032
|
+
path: _path + ".focus",
|
|
28033
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
28034
|
+
value: input.focus
|
|
28035
|
+
})) && _vo14(input.focus, _path + ".focus", true && _exceptionable) || _report(_exceptionable, {
|
|
28036
|
+
path: _path + ".focus",
|
|
28037
|
+
expected: "(RenderSceneFocus | undefined)",
|
|
28038
|
+
value: input.focus
|
|
27868
28039
|
}), undefined === input.orientation || "number" === typeof input.orientation || _report(_exceptionable, {
|
|
27869
28040
|
path: _path + ".orientation",
|
|
27870
28041
|
expected: "(number | undefined)",
|
|
@@ -27878,7 +28049,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27878
28049
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
27879
28050
|
value: input.alpha
|
|
27880
28051
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
27881
|
-
if (["filters", "crop", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
28052
|
+
if (["filters", "crop", "focus", "orientation", "interlaced", "alpha"].some(prop => key === prop))
|
|
27882
28053
|
return true;
|
|
27883
28054
|
const value = input[key];
|
|
27884
28055
|
if (undefined === value)
|
|
@@ -28077,7 +28248,31 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28077
28248
|
"Please remove the property next time."
|
|
28078
28249
|
].join("\n")
|
|
28079
28250
|
});
|
|
28080
|
-
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
28251
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
28252
|
+
path: _path + ".x",
|
|
28253
|
+
expected: "(number | undefined)",
|
|
28254
|
+
value: input.x
|
|
28255
|
+
}), undefined === input.y || "number" === typeof input.y || _report(_exceptionable, {
|
|
28256
|
+
path: _path + ".y",
|
|
28257
|
+
expected: "(number | undefined)",
|
|
28258
|
+
value: input.y
|
|
28259
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28260
|
+
if (["x", "y"].some(prop => key === prop))
|
|
28261
|
+
return true;
|
|
28262
|
+
const value = input[key];
|
|
28263
|
+
if (undefined === value)
|
|
28264
|
+
return true;
|
|
28265
|
+
return _report(_exceptionable, {
|
|
28266
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
28267
|
+
expected: "undefined",
|
|
28268
|
+
value: value,
|
|
28269
|
+
description: [
|
|
28270
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
28271
|
+
"",
|
|
28272
|
+
"Please remove the property next time."
|
|
28273
|
+
].join("\n")
|
|
28274
|
+
});
|
|
28275
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.pan || (Array.isArray(input.pan) || _report(_exceptionable, {
|
|
28081
28276
|
path: _path + ".pan",
|
|
28082
28277
|
expected: "(Array<Array<number>> | undefined)",
|
|
28083
28278
|
value: input.pan
|
|
@@ -28113,7 +28308,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28113
28308
|
"Please remove the property next time."
|
|
28114
28309
|
].join("\n")
|
|
28115
28310
|
});
|
|
28116
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
28311
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
28117
28312
|
path: _path + ".language",
|
|
28118
28313
|
expected: "(string | undefined)",
|
|
28119
28314
|
value: input.language
|
|
@@ -28149,7 +28344,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28149
28344
|
"Please remove the property next time."
|
|
28150
28345
|
].join("\n")
|
|
28151
28346
|
});
|
|
28152
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
28347
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
28153
28348
|
path: _path + ".format",
|
|
28154
28349
|
expected: "string",
|
|
28155
28350
|
value: input.format
|
|
@@ -28157,7 +28352,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28157
28352
|
path: _path + ".transcribe",
|
|
28158
28353
|
expected: "(__type.o9 | undefined)",
|
|
28159
28354
|
value: input.transcribe
|
|
28160
|
-
})) &&
|
|
28355
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
28161
28356
|
path: _path + ".transcribe",
|
|
28162
28357
|
expected: "(__type.o9 | undefined)",
|
|
28163
28358
|
value: input.transcribe
|
|
@@ -28165,7 +28360,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28165
28360
|
path: _path + ".translate",
|
|
28166
28361
|
expected: "(__type.o10 | undefined)",
|
|
28167
28362
|
value: input.translate
|
|
28168
|
-
})) &&
|
|
28363
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
28169
28364
|
path: _path + ".translate",
|
|
28170
28365
|
expected: "(__type.o10 | undefined)",
|
|
28171
28366
|
value: input.translate
|
|
@@ -28173,7 +28368,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28173
28368
|
path: _path + ".audio",
|
|
28174
28369
|
expected: "(__type.o11 | undefined)",
|
|
28175
28370
|
value: input.audio
|
|
28176
|
-
})) &&
|
|
28371
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
28177
28372
|
path: _path + ".audio",
|
|
28178
28373
|
expected: "(__type.o11 | undefined)",
|
|
28179
28374
|
value: input.audio
|
|
@@ -28197,7 +28392,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28197
28392
|
path: _path + ".subtitle",
|
|
28198
28393
|
expected: "(SubtitleProfile | string | undefined)",
|
|
28199
28394
|
value: input.subtitle
|
|
28200
|
-
})) &&
|
|
28395
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
28201
28396
|
path: _path + ".subtitle",
|
|
28202
28397
|
expected: "(SubtitleProfile | string | undefined)",
|
|
28203
28398
|
value: input.subtitle
|
|
@@ -28217,7 +28412,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28217
28412
|
"Please remove the property next time."
|
|
28218
28413
|
].join("\n")
|
|
28219
28414
|
});
|
|
28220
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
28415
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
28221
28416
|
path: _path + ".engine",
|
|
28222
28417
|
expected: "string",
|
|
28223
28418
|
value: input.engine
|
|
@@ -28237,7 +28432,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28237
28432
|
"Please remove the property next time."
|
|
28238
28433
|
].join("\n")
|
|
28239
28434
|
});
|
|
28240
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
28435
|
+
}).every(flag => flag))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
28241
28436
|
path: _path + ".language",
|
|
28242
28437
|
expected: "string",
|
|
28243
28438
|
value: input.language
|
|
@@ -28257,7 +28452,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28257
28452
|
"Please remove the property next time."
|
|
28258
28453
|
].join("\n")
|
|
28259
28454
|
});
|
|
28260
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
28455
|
+
}).every(flag => flag))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
28261
28456
|
path: _path + ".codec",
|
|
28262
28457
|
expected: "(string | undefined)",
|
|
28263
28458
|
value: input.codec
|
|
@@ -28289,7 +28484,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28289
28484
|
"Please remove the property next time."
|
|
28290
28485
|
].join("\n")
|
|
28291
28486
|
});
|
|
28292
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
28487
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
28293
28488
|
path: _path + ".lang",
|
|
28294
28489
|
expected: "(string | undefined)",
|
|
28295
28490
|
value: input.lang
|
|
@@ -28301,7 +28496,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28301
28496
|
path: _path + ".ccconverter",
|
|
28302
28497
|
expected: "(__type.o12 | undefined)",
|
|
28303
28498
|
value: input.ccconverter
|
|
28304
|
-
})) &&
|
|
28499
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
28305
28500
|
path: _path + ".ccconverter",
|
|
28306
28501
|
expected: "(__type.o12 | undefined)",
|
|
28307
28502
|
value: input.ccconverter
|
|
@@ -28309,7 +28504,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28309
28504
|
path: _path + ".ass",
|
|
28310
28505
|
expected: "(__type.o13 | undefined)",
|
|
28311
28506
|
value: input.ass
|
|
28312
|
-
})) &&
|
|
28507
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
28313
28508
|
path: _path + ".ass",
|
|
28314
28509
|
expected: "(__type.o13 | undefined)",
|
|
28315
28510
|
value: input.ass
|
|
@@ -28329,7 +28524,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28329
28524
|
"Please remove the property next time."
|
|
28330
28525
|
].join("\n")
|
|
28331
28526
|
});
|
|
28332
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
28527
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
28333
28528
|
path: _path + ".preset",
|
|
28334
28529
|
expected: "(string | undefined)",
|
|
28335
28530
|
value: input.preset
|
|
@@ -28349,7 +28544,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28349
28544
|
"Please remove the property next time."
|
|
28350
28545
|
].join("\n")
|
|
28351
28546
|
});
|
|
28352
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
28547
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
28353
28548
|
path: _path + ".futureWordWrapping",
|
|
28354
28549
|
expected: "(boolean | undefined)",
|
|
28355
28550
|
value: input.futureWordWrapping
|