@nxtedition/types 23.0.55 → 23.0.57
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/nxtpression.d.ts +14 -8
- package/dist/records/domains/asset.d.ts +4 -0
- package/dist/records/domains/publish/empty.d.ts +3 -3
- package/dist/records/domains/publish/facebook.d.ts +1 -1
- package/dist/records/domains/publish/file-legacy.d.ts +1 -1
- package/dist/records/domains/publish/file.d.ts +1 -1
- package/dist/records/domains/publish/index.d.ts +6 -2
- package/dist/records/domains/publish/youtube.d.ts +1 -1
- package/dist/records/validate/assert-guard.js +193 -132
- package/dist/records/validate/assert.js +194 -132
- package/dist/records/validate/is.js +20 -20
- package/dist/records/validate/schemas.js +86 -39
- package/dist/records/validate/stringify.js +31 -31
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +271 -180
- package/dist/records/validate/validate.js +185 -123
- package/package.json +1 -1
|
@@ -3604,6 +3604,71 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
3604
3604
|
};
|
|
3605
3605
|
}; })()(input);
|
|
3606
3606
|
}
|
|
3607
|
+
case ":asset.rawTypes?": {
|
|
3608
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value || Array.isArray(input.value) && input.value.every((elem, _index1) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3609
|
+
if (["value"].some(prop => key === prop))
|
|
3610
|
+
return true;
|
|
3611
|
+
const value = input[key];
|
|
3612
|
+
if (undefined === value)
|
|
3613
|
+
return true;
|
|
3614
|
+
return false;
|
|
3615
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
3616
|
+
path: _path + ".value",
|
|
3617
|
+
expected: "(Array<string> | undefined)",
|
|
3618
|
+
value: input.value
|
|
3619
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
3620
|
+
path: _path + ".value[" + _index2 + "]",
|
|
3621
|
+
expected: "string",
|
|
3622
|
+
value: elem
|
|
3623
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3624
|
+
path: _path + ".value",
|
|
3625
|
+
expected: "(Array<string> | undefined)",
|
|
3626
|
+
value: input.value
|
|
3627
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3628
|
+
if (["value"].some(prop => key === prop))
|
|
3629
|
+
return true;
|
|
3630
|
+
const value = input[key];
|
|
3631
|
+
if (undefined === value)
|
|
3632
|
+
return true;
|
|
3633
|
+
return _report(_exceptionable, {
|
|
3634
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3635
|
+
expected: "undefined",
|
|
3636
|
+
value: value,
|
|
3637
|
+
description: [
|
|
3638
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3639
|
+
"",
|
|
3640
|
+
"Please remove the property next time."
|
|
3641
|
+
].join("\n")
|
|
3642
|
+
});
|
|
3643
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
3644
|
+
if (false === __is(input)) {
|
|
3645
|
+
errors = [];
|
|
3646
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
3647
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
3648
|
+
path: _path + "",
|
|
3649
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
3650
|
+
value: input
|
|
3651
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
3652
|
+
path: _path + "",
|
|
3653
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
3654
|
+
value: input
|
|
3655
|
+
}))(input, "$input", true);
|
|
3656
|
+
const success = 0 === errors.length;
|
|
3657
|
+
return success ? {
|
|
3658
|
+
success,
|
|
3659
|
+
data: input
|
|
3660
|
+
} : {
|
|
3661
|
+
success,
|
|
3662
|
+
errors,
|
|
3663
|
+
data: input
|
|
3664
|
+
};
|
|
3665
|
+
}
|
|
3666
|
+
return {
|
|
3667
|
+
success: true,
|
|
3668
|
+
data: input
|
|
3669
|
+
};
|
|
3670
|
+
}; })()(input);
|
|
3671
|
+
}
|
|
3607
3672
|
case ":asset.types?": {
|
|
3608
3673
|
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value || Array.isArray(input.value) && input.value.every((elem, _index1) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3609
3674
|
if (["value"].some(prop => key === prop))
|
|
@@ -16544,131 +16609,131 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16544
16609
|
}; })()(input);
|
|
16545
16610
|
}
|
|
16546
16611
|
case ":publish": {
|
|
16547
|
-
return (() => { const _io0 = (input, _exceptionable = true) =>
|
|
16548
|
-
if (["type", "asset"].some(prop => key === prop))
|
|
16612
|
+
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 && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index1) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16613
|
+
if (["type", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
16549
16614
|
return true;
|
|
16550
16615
|
const value = input[key];
|
|
16551
16616
|
if (undefined === value)
|
|
16552
16617
|
return true;
|
|
16553
16618
|
return false;
|
|
16554
|
-
})); const _io1 = (input, _exceptionable = true) =>
|
|
16555
|
-
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
16556
|
-
return true;
|
|
16557
|
-
const value = input[key];
|
|
16558
|
-
if (undefined === value)
|
|
16559
|
-
return true;
|
|
16560
|
-
return false;
|
|
16561
|
-
})); const _io2 = (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) && _io3(input.scene, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io11(input.profile, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16619
|
+
})); 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 && _io10(input.profile, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16562
16620
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
16563
16621
|
return true;
|
|
16564
16622
|
const value = input[key];
|
|
16565
16623
|
if (undefined === value)
|
|
16566
16624
|
return true;
|
|
16567
16625
|
return false;
|
|
16568
|
-
})); const
|
|
16626
|
+
})); 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.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.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io9(input.transcribe, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16569
16627
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
16570
16628
|
return true;
|
|
16571
16629
|
const value = input[key];
|
|
16572
16630
|
if (undefined === value)
|
|
16573
16631
|
return true;
|
|
16574
16632
|
return false;
|
|
16575
|
-
})); const
|
|
16633
|
+
})); const _io3 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16576
16634
|
if (["type", "file"].some(prop => key === prop))
|
|
16577
16635
|
return true;
|
|
16578
16636
|
const value = input[key];
|
|
16579
16637
|
if (undefined === value)
|
|
16580
16638
|
return true;
|
|
16581
16639
|
return false;
|
|
16582
|
-
})); const
|
|
16640
|
+
})); const _io4 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
16583
16641
|
const value = input[key];
|
|
16584
16642
|
if (undefined === value)
|
|
16585
16643
|
return true;
|
|
16586
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16587
|
-
}); const
|
|
16644
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value, true && _exceptionable);
|
|
16645
|
+
}); const _io5 = (input, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16588
16646
|
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
16589
16647
|
return true;
|
|
16590
16648
|
const value = input[key];
|
|
16591
16649
|
if (undefined === value)
|
|
16592
16650
|
return true;
|
|
16593
16651
|
return false;
|
|
16594
|
-
})); const
|
|
16652
|
+
})); const _io6 = (input, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16595
16653
|
if (["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"].some(prop => key === prop))
|
|
16596
16654
|
return true;
|
|
16597
16655
|
const value = input[key];
|
|
16598
16656
|
if (undefined === value)
|
|
16599
16657
|
return true;
|
|
16600
16658
|
return false;
|
|
16601
|
-
})); const
|
|
16659
|
+
})); const _io7 = (input, _exceptionable = true) => (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16602
16660
|
if (["crop"].some(prop => key === prop))
|
|
16603
16661
|
return true;
|
|
16604
16662
|
const value = input[key];
|
|
16605
16663
|
if (undefined === value)
|
|
16606
16664
|
return true;
|
|
16607
16665
|
return false;
|
|
16608
|
-
})); const
|
|
16666
|
+
})); const _io8 = (input, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16609
16667
|
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
16610
16668
|
return true;
|
|
16611
16669
|
const value = input[key];
|
|
16612
16670
|
if (undefined === value)
|
|
16613
16671
|
return true;
|
|
16614
16672
|
return false;
|
|
16615
|
-
})); const
|
|
16673
|
+
})); const _io9 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index2) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16616
16674
|
if (["language", "pan"].some(prop => key === prop))
|
|
16617
16675
|
return true;
|
|
16618
16676
|
const value = input[key];
|
|
16619
16677
|
if (undefined === value)
|
|
16620
16678
|
return true;
|
|
16621
16679
|
return false;
|
|
16622
|
-
})); const
|
|
16680
|
+
})); const _io10 = (input, _exceptionable = true) => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio, true && _exceptionable)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every((elem, _index3) => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io14(input.subtitle, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16623
16681
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
16624
16682
|
return true;
|
|
16625
16683
|
const value = input[key];
|
|
16626
16684
|
if (undefined === value)
|
|
16627
16685
|
return true;
|
|
16628
16686
|
return false;
|
|
16629
|
-
})); const
|
|
16687
|
+
})); const _io11 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16630
16688
|
if (["engine"].some(prop => key === prop))
|
|
16631
16689
|
return true;
|
|
16632
16690
|
const value = input[key];
|
|
16633
16691
|
if (undefined === value)
|
|
16634
16692
|
return true;
|
|
16635
16693
|
return false;
|
|
16636
|
-
})); const
|
|
16694
|
+
})); const _io12 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16637
16695
|
if (["language"].some(prop => key === prop))
|
|
16638
16696
|
return true;
|
|
16639
16697
|
const value = input[key];
|
|
16640
16698
|
if (undefined === value)
|
|
16641
16699
|
return true;
|
|
16642
16700
|
return false;
|
|
16643
|
-
})); const
|
|
16701
|
+
})); const _io13 = (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 => {
|
|
16644
16702
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
16645
16703
|
return true;
|
|
16646
16704
|
const value = input[key];
|
|
16647
16705
|
if (undefined === value)
|
|
16648
16706
|
return true;
|
|
16649
16707
|
return false;
|
|
16650
|
-
})); const
|
|
16708
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16651
16709
|
if (["lang", "style"].some(prop => key === prop))
|
|
16652
16710
|
return true;
|
|
16653
16711
|
const value = input[key];
|
|
16654
16712
|
if (undefined === value)
|
|
16655
16713
|
return true;
|
|
16656
16714
|
return false;
|
|
16657
|
-
})); const
|
|
16715
|
+
})); const _io15 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16658
16716
|
if (["method"].some(prop => key === prop))
|
|
16659
16717
|
return true;
|
|
16660
16718
|
const value = input[key];
|
|
16661
16719
|
if (undefined === value)
|
|
16662
16720
|
return true;
|
|
16663
16721
|
return false;
|
|
16664
|
-
})); const
|
|
16722
|
+
})); const _io16 = (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 => {
|
|
16665
16723
|
if (["level", "code", "msg"].some(prop => key === prop))
|
|
16666
16724
|
return true;
|
|
16667
16725
|
const value = input[key];
|
|
16668
16726
|
if (undefined === value)
|
|
16669
16727
|
return true;
|
|
16670
16728
|
return false;
|
|
16671
|
-
})); const
|
|
16729
|
+
})); const _io17 = (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 && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index4) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16730
|
+
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
16731
|
+
return true;
|
|
16732
|
+
const value = input[key];
|
|
16733
|
+
if (undefined === value)
|
|
16734
|
+
return true;
|
|
16735
|
+
return false;
|
|
16736
|
+
})); const _io18 = (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) && _io19(input.renders, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io24(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(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 && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index5) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16672
16737
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
16673
16738
|
return true;
|
|
16674
16739
|
const value = input[key];
|
|
@@ -16680,7 +16745,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16680
16745
|
if (undefined === value)
|
|
16681
16746
|
return true;
|
|
16682
16747
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
16683
|
-
}); const _io20 = (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) &&
|
|
16748
|
+
}); const _io20 = (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 && _io10(input.profile, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16684
16749
|
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
16685
16750
|
return true;
|
|
16686
16751
|
const value = input[key];
|
|
@@ -16694,7 +16759,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16694
16759
|
if (undefined === value)
|
|
16695
16760
|
return true;
|
|
16696
16761
|
return false;
|
|
16697
|
-
})); const _io22 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && _io18(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16762
|
+
})); const _io22 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io18(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16698
16763
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
16699
16764
|
return true;
|
|
16700
16765
|
const value = input[key];
|
|
@@ -16720,7 +16785,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16720
16785
|
if (undefined === value)
|
|
16721
16786
|
return true;
|
|
16722
16787
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value, true && _exceptionable);
|
|
16723
|
-
}); const _io26 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem,
|
|
16788
|
+
}); const _io26 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io16(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 => {
|
|
16724
16789
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
16725
16790
|
return true;
|
|
16726
16791
|
const value = input[key];
|
|
@@ -16734,7 +16799,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16734
16799
|
if (undefined === value)
|
|
16735
16800
|
return true;
|
|
16736
16801
|
return false;
|
|
16737
|
-
})); const _io28 = (input, _exceptionable = true) => "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) && _io23(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(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 &&
|
|
16802
|
+
})); const _io28 = (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) && _io23(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(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 && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index7) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16738
16803
|
if (["type", "directory", "filename", "draft", "remote", "published", "renders", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
16739
16804
|
return true;
|
|
16740
16805
|
const value = input[key];
|
|
@@ -16762,7 +16827,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16762
16827
|
if (undefined === value)
|
|
16763
16828
|
return true;
|
|
16764
16829
|
return false;
|
|
16765
|
-
})); const _io32 = (input, _exceptionable = true) => "youtube" === input.type && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(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 &&
|
|
16830
|
+
})); const _io32 = (input, _exceptionable = true) => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(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 && _io15(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index8) => "object" === typeof elem && null !== elem && _io16(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16766
16831
|
if (["type", "draft", "asset", "connection", "render", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
16767
16832
|
return true;
|
|
16768
16833
|
const value = input[key];
|
|
@@ -16776,7 +16841,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16776
16841
|
if (undefined === value)
|
|
16777
16842
|
return true;
|
|
16778
16843
|
return false;
|
|
16779
|
-
})); const _io34 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem,
|
|
16844
|
+
})); const _io34 = (input, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem, _index9) => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16780
16845
|
if (["title", "tags", "description"].some(prop => key === prop))
|
|
16781
16846
|
return true;
|
|
16782
16847
|
const value = input[key];
|
|
@@ -16791,56 +16856,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16791
16856
|
else
|
|
16792
16857
|
return false;
|
|
16793
16858
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
16794
|
-
if (
|
|
16859
|
+
if (_io0(input, false && _exceptionable))
|
|
16795
16860
|
return _io0(input, true && _exceptionable);
|
|
16796
|
-
|
|
16797
|
-
return
|
|
16798
|
-
|
|
16861
|
+
if (_io17(input, false && _exceptionable))
|
|
16862
|
+
return _io17(input, true && _exceptionable);
|
|
16863
|
+
if (_io28(input, false && _exceptionable))
|
|
16864
|
+
return _io28(input, true && _exceptionable);
|
|
16865
|
+
if (_io18(input, false && _exceptionable))
|
|
16866
|
+
return _io18(input, true && _exceptionable);
|
|
16867
|
+
if (_io32(input, false && _exceptionable))
|
|
16799
16868
|
return _io32(input, true && _exceptionable);
|
|
16800
|
-
|
|
16801
|
-
|
|
16802
|
-
if (_io28(input, false && _exceptionable))
|
|
16803
|
-
return _io28(input, true && _exceptionable);
|
|
16804
|
-
if (_io18(input, false && _exceptionable))
|
|
16805
|
-
return _io18(input, true && _exceptionable);
|
|
16806
|
-
return false;
|
|
16807
|
-
})();
|
|
16808
|
-
})(); const _vo0 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
16809
|
-
path: _path + ".type",
|
|
16810
|
-
expected: "null",
|
|
16811
|
-
value: input.type
|
|
16812
|
-
})) && (null === input.type || _report(_exceptionable, {
|
|
16813
|
-
path: _path + ".type",
|
|
16814
|
-
expected: "null",
|
|
16815
|
-
value: input.type
|
|
16816
|
-
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
16817
|
-
path: _path + ".asset",
|
|
16818
|
-
expected: "(null | string | undefined)",
|
|
16819
|
-
value: input.asset
|
|
16820
|
-
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16821
|
-
if (["type", "asset"].some(prop => key === prop))
|
|
16822
|
-
return true;
|
|
16823
|
-
const value = input[key];
|
|
16824
|
-
if (undefined === value)
|
|
16825
|
-
return true;
|
|
16826
|
-
return _report(_exceptionable, {
|
|
16827
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16828
|
-
expected: "undefined",
|
|
16829
|
-
value: value,
|
|
16830
|
-
description: [
|
|
16831
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
16832
|
-
"",
|
|
16833
|
-
"Please remove the property next time."
|
|
16834
|
-
].join("\n")
|
|
16835
|
-
});
|
|
16836
|
-
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
16869
|
+
return false;
|
|
16870
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
16837
16871
|
path: _path + ".type",
|
|
16838
|
-
expected: "
|
|
16872
|
+
expected: "(null | undefined)",
|
|
16839
16873
|
value: input.type
|
|
16840
|
-
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
16841
|
-
path: _path + ".pageId",
|
|
16842
|
-
expected: "(string | undefined)",
|
|
16843
|
-
value: input.pageId
|
|
16844
16874
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
16845
16875
|
path: _path + ".asset",
|
|
16846
16876
|
expected: "(null | string | undefined)",
|
|
@@ -16853,7 +16883,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16853
16883
|
path: _path + ".render",
|
|
16854
16884
|
expected: "(PublishRenderBase | undefined)",
|
|
16855
16885
|
value: input.render
|
|
16856
|
-
})) &&
|
|
16886
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
16857
16887
|
path: _path + ".render",
|
|
16858
16888
|
expected: "(PublishRenderBase | undefined)",
|
|
16859
16889
|
value: input.render
|
|
@@ -16861,7 +16891,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16861
16891
|
path: _path + ".error",
|
|
16862
16892
|
expected: "(__type.o9 | null | undefined)",
|
|
16863
16893
|
value: input.error
|
|
16864
|
-
})) &&
|
|
16894
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
16865
16895
|
path: _path + ".error",
|
|
16866
16896
|
expected: "(__type.o9 | null | undefined)",
|
|
16867
16897
|
value: input.error
|
|
@@ -16869,20 +16899,20 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16869
16899
|
path: _path + ".messages",
|
|
16870
16900
|
expected: "(Array<Message> | undefined)",
|
|
16871
16901
|
value: input.messages
|
|
16872
|
-
})) && input.messages.map((elem,
|
|
16873
|
-
path: _path + ".messages[" +
|
|
16902
|
+
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16903
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
16874
16904
|
expected: "Message",
|
|
16875
16905
|
value: elem
|
|
16876
|
-
})) &&
|
|
16877
|
-
path: _path + ".messages[" +
|
|
16906
|
+
})) && _vo16(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16907
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
16878
16908
|
expected: "Message",
|
|
16879
16909
|
value: elem
|
|
16880
16910
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16881
16911
|
path: _path + ".messages",
|
|
16882
16912
|
expected: "(Array<Message> | undefined)",
|
|
16883
16913
|
value: input.messages
|
|
16884
|
-
}),
|
|
16885
|
-
if (["type", "
|
|
16914
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16915
|
+
if (["type", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
16886
16916
|
return true;
|
|
16887
16917
|
const value = input[key];
|
|
16888
16918
|
if (undefined === value)
|
|
@@ -16897,7 +16927,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16897
16927
|
"Please remove the property next time."
|
|
16898
16928
|
].join("\n")
|
|
16899
16929
|
});
|
|
16900
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
16930
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
16901
16931
|
path: _path + ".preset",
|
|
16902
16932
|
expected: "(string | undefined)",
|
|
16903
16933
|
value: input.preset
|
|
@@ -16909,7 +16939,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16909
16939
|
path: _path + ".scene",
|
|
16910
16940
|
expected: "(RenderSceneObject | undefined)",
|
|
16911
16941
|
value: input.scene
|
|
16912
|
-
})) &&
|
|
16942
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
16913
16943
|
path: _path + ".scene",
|
|
16914
16944
|
expected: "(RenderSceneObject | undefined)",
|
|
16915
16945
|
value: input.scene
|
|
@@ -16917,7 +16947,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16917
16947
|
path: _path + ".profile",
|
|
16918
16948
|
expected: "(RenderProfileObject | undefined)",
|
|
16919
16949
|
value: input.profile
|
|
16920
|
-
})) &&
|
|
16950
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
16921
16951
|
path: _path + ".profile",
|
|
16922
16952
|
expected: "(RenderProfileObject | undefined)",
|
|
16923
16953
|
value: input.profile
|
|
@@ -16937,7 +16967,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16937
16967
|
"Please remove the property next time."
|
|
16938
16968
|
].join("\n")
|
|
16939
16969
|
});
|
|
16940
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
16970
|
+
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
16941
16971
|
path: _path + ".id",
|
|
16942
16972
|
expected: "(string | undefined)",
|
|
16943
16973
|
value: input.id
|
|
@@ -16949,7 +16979,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16949
16979
|
path: _path + ".input",
|
|
16950
16980
|
expected: "(__type | null | undefined)",
|
|
16951
16981
|
value: input.input
|
|
16952
|
-
})) &&
|
|
16982
|
+
})) && _vo3(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
16953
16983
|
path: _path + ".input",
|
|
16954
16984
|
expected: "(__type | null | undefined)",
|
|
16955
16985
|
value: input.input
|
|
@@ -16965,7 +16995,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16965
16995
|
path: _path + ".subtitleTracks",
|
|
16966
16996
|
expected: "(__type.o1 | undefined)",
|
|
16967
16997
|
value: input.subtitleTracks
|
|
16968
|
-
})) &&
|
|
16998
|
+
})) && _vo4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
16969
16999
|
path: _path + ".subtitleTracks",
|
|
16970
17000
|
expected: "(__type.o1 | undefined)",
|
|
16971
17001
|
value: input.subtitleTracks
|
|
@@ -16973,7 +17003,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16973
17003
|
path: _path + ".video",
|
|
16974
17004
|
expected: "(__type.o3 | undefined)",
|
|
16975
17005
|
value: input.video
|
|
16976
|
-
})) &&
|
|
17006
|
+
})) && _vo7(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
16977
17007
|
path: _path + ".video",
|
|
16978
17008
|
expected: "(__type.o3 | undefined)",
|
|
16979
17009
|
value: input.video
|
|
@@ -16989,7 +17019,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16989
17019
|
path: _path + ".transcribe",
|
|
16990
17020
|
expected: "(__type.o5 | undefined)",
|
|
16991
17021
|
value: input.transcribe
|
|
16992
|
-
})) &&
|
|
17022
|
+
})) && _vo9(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
16993
17023
|
path: _path + ".transcribe",
|
|
16994
17024
|
expected: "(__type.o5 | undefined)",
|
|
16995
17025
|
value: input.transcribe
|
|
@@ -17009,7 +17039,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17009
17039
|
"Please remove the property next time."
|
|
17010
17040
|
].join("\n")
|
|
17011
17041
|
});
|
|
17012
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17042
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
17013
17043
|
path: _path + ".type",
|
|
17014
17044
|
expected: "(string | undefined)",
|
|
17015
17045
|
value: input.type
|
|
@@ -17033,7 +17063,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17033
17063
|
"Please remove the property next time."
|
|
17034
17064
|
].join("\n")
|
|
17035
17065
|
});
|
|
17036
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17066
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17037
17067
|
const value = input[key];
|
|
17038
17068
|
if (undefined === value)
|
|
17039
17069
|
return true;
|
|
@@ -17041,12 +17071,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17041
17071
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17042
17072
|
expected: "__type.o2",
|
|
17043
17073
|
value: value
|
|
17044
|
-
})) &&
|
|
17074
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17045
17075
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17046
17076
|
expected: "__type.o2",
|
|
17047
17077
|
value: value
|
|
17048
17078
|
});
|
|
17049
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17079
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
17050
17080
|
path: _path + ".style",
|
|
17051
17081
|
expected: "(null | string | undefined)",
|
|
17052
17082
|
value: input.style
|
|
@@ -17054,7 +17084,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17054
17084
|
path: _path + ".styleOverrides",
|
|
17055
17085
|
expected: "(SubtitleStyle | undefined)",
|
|
17056
17086
|
value: input.styleOverrides
|
|
17057
|
-
})) &&
|
|
17087
|
+
})) && _vo6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
17058
17088
|
path: _path + ".styleOverrides",
|
|
17059
17089
|
expected: "(SubtitleStyle | undefined)",
|
|
17060
17090
|
value: input.styleOverrides
|
|
@@ -17074,7 +17104,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17074
17104
|
"Please remove the property next time."
|
|
17075
17105
|
].join("\n")
|
|
17076
17106
|
});
|
|
17077
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17107
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
17078
17108
|
path: _path + ".name",
|
|
17079
17109
|
expected: "(string | undefined)",
|
|
17080
17110
|
value: input.name
|
|
@@ -17182,11 +17212,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17182
17212
|
"Please remove the property next time."
|
|
17183
17213
|
].join("\n")
|
|
17184
17214
|
});
|
|
17185
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17215
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || _report(_exceptionable, {
|
|
17186
17216
|
path: _path + ".crop",
|
|
17187
17217
|
expected: "(__type.o4 | undefined)",
|
|
17188
17218
|
value: input.crop
|
|
17189
|
-
})) &&
|
|
17219
|
+
})) && _vo8(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
17190
17220
|
path: _path + ".crop",
|
|
17191
17221
|
expected: "(__type.o4 | undefined)",
|
|
17192
17222
|
value: input.crop
|
|
@@ -17206,7 +17236,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17206
17236
|
"Please remove the property next time."
|
|
17207
17237
|
].join("\n")
|
|
17208
17238
|
});
|
|
17209
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17239
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
17210
17240
|
path: _path + ".x",
|
|
17211
17241
|
expected: "(number | undefined)",
|
|
17212
17242
|
value: input.x
|
|
@@ -17238,7 +17268,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17238
17268
|
"Please remove the property next time."
|
|
17239
17269
|
].join("\n")
|
|
17240
17270
|
});
|
|
17241
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17271
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
17242
17272
|
path: _path + ".language",
|
|
17243
17273
|
expected: "(string | undefined)",
|
|
17244
17274
|
value: input.language
|
|
@@ -17246,8 +17276,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17246
17276
|
path: _path + ".pan",
|
|
17247
17277
|
expected: "(Array<number> | undefined)",
|
|
17248
17278
|
value: input.pan
|
|
17249
|
-
})) && input.pan.map((elem,
|
|
17250
|
-
path: _path + ".pan[" +
|
|
17279
|
+
})) && input.pan.map((elem, _index11) => "number" === typeof elem || _report(_exceptionable, {
|
|
17280
|
+
path: _path + ".pan[" + _index11 + "]",
|
|
17251
17281
|
expected: "number",
|
|
17252
17282
|
value: elem
|
|
17253
17283
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17270,7 +17300,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17270
17300
|
"Please remove the property next time."
|
|
17271
17301
|
].join("\n")
|
|
17272
17302
|
});
|
|
17273
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17303
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
17274
17304
|
path: _path + ".format",
|
|
17275
17305
|
expected: "string",
|
|
17276
17306
|
value: input.format
|
|
@@ -17278,7 +17308,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17278
17308
|
path: _path + ".transcribe",
|
|
17279
17309
|
expected: "(__type.o6 | undefined)",
|
|
17280
17310
|
value: input.transcribe
|
|
17281
|
-
})) &&
|
|
17311
|
+
})) && _vo11(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
17282
17312
|
path: _path + ".transcribe",
|
|
17283
17313
|
expected: "(__type.o6 | undefined)",
|
|
17284
17314
|
value: input.transcribe
|
|
@@ -17286,7 +17316,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17286
17316
|
path: _path + ".translate",
|
|
17287
17317
|
expected: "(__type.o7 | undefined)",
|
|
17288
17318
|
value: input.translate
|
|
17289
|
-
})) &&
|
|
17319
|
+
})) && _vo12(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
17290
17320
|
path: _path + ".translate",
|
|
17291
17321
|
expected: "(__type.o7 | undefined)",
|
|
17292
17322
|
value: input.translate
|
|
@@ -17294,7 +17324,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17294
17324
|
path: _path + ".audio",
|
|
17295
17325
|
expected: "(__type.o8 | undefined)",
|
|
17296
17326
|
value: input.audio
|
|
17297
|
-
})) &&
|
|
17327
|
+
})) && _vo13(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
17298
17328
|
path: _path + ".audio",
|
|
17299
17329
|
expected: "(__type.o8 | undefined)",
|
|
17300
17330
|
value: input.audio
|
|
@@ -17302,8 +17332,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17302
17332
|
path: _path + ".pick",
|
|
17303
17333
|
expected: "(Array<string> | undefined)",
|
|
17304
17334
|
value: input.pick
|
|
17305
|
-
})) && input.pick.map((elem,
|
|
17306
|
-
path: _path + ".pick[" +
|
|
17335
|
+
})) && input.pick.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
17336
|
+
path: _path + ".pick[" + _index12 + "]",
|
|
17307
17337
|
expected: "string",
|
|
17308
17338
|
value: elem
|
|
17309
17339
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17318,7 +17348,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17318
17348
|
path: _path + ".subtitle",
|
|
17319
17349
|
expected: "(SubtitleProfile | string | undefined)",
|
|
17320
17350
|
value: input.subtitle
|
|
17321
|
-
})) &&
|
|
17351
|
+
})) && _vo14(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
17322
17352
|
path: _path + ".subtitle",
|
|
17323
17353
|
expected: "(SubtitleProfile | string | undefined)",
|
|
17324
17354
|
value: input.subtitle
|
|
@@ -17338,7 +17368,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17338
17368
|
"Please remove the property next time."
|
|
17339
17369
|
].join("\n")
|
|
17340
17370
|
});
|
|
17341
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17371
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
17342
17372
|
path: _path + ".engine",
|
|
17343
17373
|
expected: "string",
|
|
17344
17374
|
value: input.engine
|
|
@@ -17358,7 +17388,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17358
17388
|
"Please remove the property next time."
|
|
17359
17389
|
].join("\n")
|
|
17360
17390
|
});
|
|
17361
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17391
|
+
}).every(flag => flag))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
17362
17392
|
path: _path + ".language",
|
|
17363
17393
|
expected: "string",
|
|
17364
17394
|
value: input.language
|
|
@@ -17378,7 +17408,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17378
17408
|
"Please remove the property next time."
|
|
17379
17409
|
].join("\n")
|
|
17380
17410
|
});
|
|
17381
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17411
|
+
}).every(flag => flag))].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
17382
17412
|
path: _path + ".codec",
|
|
17383
17413
|
expected: "(string | undefined)",
|
|
17384
17414
|
value: input.codec
|
|
@@ -17410,7 +17440,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17410
17440
|
"Please remove the property next time."
|
|
17411
17441
|
].join("\n")
|
|
17412
17442
|
});
|
|
17413
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17443
|
+
}).every(flag => flag))].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
17414
17444
|
path: _path + ".lang",
|
|
17415
17445
|
expected: "(string | undefined)",
|
|
17416
17446
|
value: input.lang
|
|
@@ -17434,7 +17464,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17434
17464
|
"Please remove the property next time."
|
|
17435
17465
|
].join("\n")
|
|
17436
17466
|
});
|
|
17437
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17467
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
17438
17468
|
path: _path + ".method",
|
|
17439
17469
|
expected: "string",
|
|
17440
17470
|
value: input.method
|
|
@@ -17454,7 +17484,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17454
17484
|
"Please remove the property next time."
|
|
17455
17485
|
].join("\n")
|
|
17456
17486
|
});
|
|
17457
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17487
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
17458
17488
|
path: _path + ".level",
|
|
17459
17489
|
expected: "number",
|
|
17460
17490
|
value: input.level
|
|
@@ -17482,9 +17512,73 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17482
17512
|
"Please remove the property next time."
|
|
17483
17513
|
].join("\n")
|
|
17484
17514
|
});
|
|
17485
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
17515
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
17486
17516
|
path: _path + ".type",
|
|
17487
|
-
expected: "\"
|
|
17517
|
+
expected: "(\"facebook\" | undefined)",
|
|
17518
|
+
value: input.type
|
|
17519
|
+
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
17520
|
+
path: _path + ".pageId",
|
|
17521
|
+
expected: "(string | undefined)",
|
|
17522
|
+
value: input.pageId
|
|
17523
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
17524
|
+
path: _path + ".asset",
|
|
17525
|
+
expected: "(null | string | undefined)",
|
|
17526
|
+
value: input.asset
|
|
17527
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
17528
|
+
path: _path + ".connection",
|
|
17529
|
+
expected: "(string | undefined)",
|
|
17530
|
+
value: input.connection
|
|
17531
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
17532
|
+
path: _path + ".render",
|
|
17533
|
+
expected: "(PublishRenderBase | undefined)",
|
|
17534
|
+
value: input.render
|
|
17535
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
17536
|
+
path: _path + ".render",
|
|
17537
|
+
expected: "(PublishRenderBase | undefined)",
|
|
17538
|
+
value: input.render
|
|
17539
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
17540
|
+
path: _path + ".error",
|
|
17541
|
+
expected: "(__type.o9 | null | undefined)",
|
|
17542
|
+
value: input.error
|
|
17543
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
17544
|
+
path: _path + ".error",
|
|
17545
|
+
expected: "(__type.o9 | null | undefined)",
|
|
17546
|
+
value: input.error
|
|
17547
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
17548
|
+
path: _path + ".messages",
|
|
17549
|
+
expected: "(Array<Message> | undefined)",
|
|
17550
|
+
value: input.messages
|
|
17551
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17552
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
17553
|
+
expected: "Message",
|
|
17554
|
+
value: elem
|
|
17555
|
+
})) && _vo16(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17556
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
17557
|
+
expected: "Message",
|
|
17558
|
+
value: elem
|
|
17559
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17560
|
+
path: _path + ".messages",
|
|
17561
|
+
expected: "(Array<Message> | undefined)",
|
|
17562
|
+
value: input.messages
|
|
17563
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17564
|
+
if (["type", "pageId", "asset", "connection", "render", "draft", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
17565
|
+
return true;
|
|
17566
|
+
const value = input[key];
|
|
17567
|
+
if (undefined === value)
|
|
17568
|
+
return true;
|
|
17569
|
+
return _report(_exceptionable, {
|
|
17570
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17571
|
+
expected: "undefined",
|
|
17572
|
+
value: value,
|
|
17573
|
+
description: [
|
|
17574
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
17575
|
+
"",
|
|
17576
|
+
"Please remove the property next time."
|
|
17577
|
+
].join("\n")
|
|
17578
|
+
});
|
|
17579
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
17580
|
+
path: _path + ".type",
|
|
17581
|
+
expected: "(\"file\" | undefined)",
|
|
17488
17582
|
value: input.type
|
|
17489
17583
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
17490
17584
|
path: _path + ".directory",
|
|
@@ -17538,7 +17632,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17538
17632
|
path: _path + ".render",
|
|
17539
17633
|
expected: "(PublishRenderBase | undefined)",
|
|
17540
17634
|
value: input.render
|
|
17541
|
-
})) &&
|
|
17635
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
17542
17636
|
path: _path + ".render",
|
|
17543
17637
|
expected: "(PublishRenderBase | undefined)",
|
|
17544
17638
|
value: input.render
|
|
@@ -17546,7 +17640,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17546
17640
|
path: _path + ".error",
|
|
17547
17641
|
expected: "(__type.o9 | null | undefined)",
|
|
17548
17642
|
value: input.error
|
|
17549
|
-
})) &&
|
|
17643
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
17550
17644
|
path: _path + ".error",
|
|
17551
17645
|
expected: "(__type.o9 | null | undefined)",
|
|
17552
17646
|
value: input.error
|
|
@@ -17554,19 +17648,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17554
17648
|
path: _path + ".messages",
|
|
17555
17649
|
expected: "(Array<Message> | undefined)",
|
|
17556
17650
|
value: input.messages
|
|
17557
|
-
})) && input.messages.map((elem,
|
|
17558
|
-
path: _path + ".messages[" +
|
|
17651
|
+
})) && input.messages.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17652
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
17559
17653
|
expected: "Message",
|
|
17560
17654
|
value: elem
|
|
17561
|
-
})) &&
|
|
17562
|
-
path: _path + ".messages[" +
|
|
17655
|
+
})) && _vo16(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17656
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
17563
17657
|
expected: "Message",
|
|
17564
17658
|
value: elem
|
|
17565
17659
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17566
17660
|
path: _path + ".messages",
|
|
17567
17661
|
expected: "(Array<Message> | undefined)",
|
|
17568
17662
|
value: input.messages
|
|
17569
|
-
}),
|
|
17663
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17570
17664
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
17571
17665
|
return true;
|
|
17572
17666
|
const value = input[key];
|
|
@@ -17631,7 +17725,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17631
17725
|
path: _path + ".scene",
|
|
17632
17726
|
expected: "(RenderSceneObject | undefined)",
|
|
17633
17727
|
value: input.scene
|
|
17634
|
-
})) &&
|
|
17728
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
17635
17729
|
path: _path + ".scene",
|
|
17636
17730
|
expected: "(RenderSceneObject | undefined)",
|
|
17637
17731
|
value: input.scene
|
|
@@ -17639,7 +17733,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17639
17733
|
path: _path + ".profile",
|
|
17640
17734
|
expected: "(RenderProfileObject | undefined)",
|
|
17641
17735
|
value: input.profile
|
|
17642
|
-
})) &&
|
|
17736
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
17643
17737
|
path: _path + ".profile",
|
|
17644
17738
|
expected: "(RenderProfileObject | undefined)",
|
|
17645
17739
|
value: input.profile
|
|
@@ -17691,7 +17785,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17691
17785
|
"Please remove the property next time."
|
|
17692
17786
|
].join("\n")
|
|
17693
17787
|
});
|
|
17694
|
-
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
17788
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
17695
17789
|
path: _path + ".publish",
|
|
17696
17790
|
expected: "FilePublishRecord",
|
|
17697
17791
|
value: input.publish
|
|
@@ -17800,12 +17894,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17800
17894
|
path: _path + ".messages",
|
|
17801
17895
|
expected: "(Array<Message> | undefined)",
|
|
17802
17896
|
value: input.messages
|
|
17803
|
-
})) && input.messages.map((elem,
|
|
17804
|
-
path: _path + ".messages[" +
|
|
17897
|
+
})) && input.messages.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17898
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
17805
17899
|
expected: "Message",
|
|
17806
17900
|
value: elem
|
|
17807
|
-
})) &&
|
|
17808
|
-
path: _path + ".messages[" +
|
|
17901
|
+
})) && _vo16(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17902
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
17809
17903
|
expected: "Message",
|
|
17810
17904
|
value: elem
|
|
17811
17905
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17864,9 +17958,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17864
17958
|
"Please remove the property next time."
|
|
17865
17959
|
].join("\n")
|
|
17866
17960
|
});
|
|
17867
|
-
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
17961
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
17868
17962
|
path: _path + ".type",
|
|
17869
|
-
expected: "\"file\"",
|
|
17963
|
+
expected: "(\"file\" | undefined)",
|
|
17870
17964
|
value: input.type
|
|
17871
17965
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
17872
17966
|
path: _path + ".directory",
|
|
@@ -17920,7 +18014,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17920
18014
|
path: _path + ".render",
|
|
17921
18015
|
expected: "(PublishRenderBase | undefined)",
|
|
17922
18016
|
value: input.render
|
|
17923
|
-
})) &&
|
|
18017
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
17924
18018
|
path: _path + ".render",
|
|
17925
18019
|
expected: "(PublishRenderBase | undefined)",
|
|
17926
18020
|
value: input.render
|
|
@@ -17928,7 +18022,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17928
18022
|
path: _path + ".error",
|
|
17929
18023
|
expected: "(__type.o9 | null | undefined)",
|
|
17930
18024
|
value: input.error
|
|
17931
|
-
})) &&
|
|
18025
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
17932
18026
|
path: _path + ".error",
|
|
17933
18027
|
expected: "(__type.o9 | null | undefined)",
|
|
17934
18028
|
value: input.error
|
|
@@ -17936,19 +18030,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
17936
18030
|
path: _path + ".messages",
|
|
17937
18031
|
expected: "(Array<Message> | undefined)",
|
|
17938
18032
|
value: input.messages
|
|
17939
|
-
})) && input.messages.map((elem,
|
|
17940
|
-
path: _path + ".messages[" +
|
|
18033
|
+
})) && input.messages.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18034
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
17941
18035
|
expected: "Message",
|
|
17942
18036
|
value: elem
|
|
17943
|
-
})) &&
|
|
17944
|
-
path: _path + ".messages[" +
|
|
18037
|
+
})) && _vo16(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18038
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
17945
18039
|
expected: "Message",
|
|
17946
18040
|
value: elem
|
|
17947
18041
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17948
18042
|
path: _path + ".messages",
|
|
17949
18043
|
expected: "(Array<Message> | undefined)",
|
|
17950
18044
|
value: input.messages
|
|
17951
|
-
}),
|
|
18045
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
17952
18046
|
if (["type", "directory", "filename", "draft", "remote", "published", "renders", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
17953
18047
|
return true;
|
|
17954
18048
|
const value = input[key];
|
|
@@ -18043,9 +18137,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18043
18137
|
"Please remove the property next time."
|
|
18044
18138
|
].join("\n")
|
|
18045
18139
|
});
|
|
18046
|
-
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["youtube" === input.type || _report(_exceptionable, {
|
|
18140
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
18047
18141
|
path: _path + ".type",
|
|
18048
|
-
expected: "\"youtube\"",
|
|
18142
|
+
expected: "(\"youtube\" | undefined)",
|
|
18049
18143
|
value: input.type
|
|
18050
18144
|
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
18051
18145
|
path: _path + ".draft",
|
|
@@ -18067,7 +18161,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18067
18161
|
path: _path + ".render",
|
|
18068
18162
|
expected: "(PublishRenderBase | undefined)",
|
|
18069
18163
|
value: input.render
|
|
18070
|
-
})) &&
|
|
18164
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
18071
18165
|
path: _path + ".render",
|
|
18072
18166
|
expected: "(PublishRenderBase | undefined)",
|
|
18073
18167
|
value: input.render
|
|
@@ -18075,7 +18169,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18075
18169
|
path: _path + ".error",
|
|
18076
18170
|
expected: "(__type.o9 | null | undefined)",
|
|
18077
18171
|
value: input.error
|
|
18078
|
-
})) &&
|
|
18172
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
18079
18173
|
path: _path + ".error",
|
|
18080
18174
|
expected: "(__type.o9 | null | undefined)",
|
|
18081
18175
|
value: input.error
|
|
@@ -18083,19 +18177,19 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18083
18177
|
path: _path + ".messages",
|
|
18084
18178
|
expected: "(Array<Message> | undefined)",
|
|
18085
18179
|
value: input.messages
|
|
18086
|
-
})) && input.messages.map((elem,
|
|
18087
|
-
path: _path + ".messages[" +
|
|
18180
|
+
})) && input.messages.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18181
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
18088
18182
|
expected: "Message",
|
|
18089
18183
|
value: elem
|
|
18090
|
-
})) &&
|
|
18091
|
-
path: _path + ".messages[" +
|
|
18184
|
+
})) && _vo16(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18185
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
18092
18186
|
expected: "Message",
|
|
18093
18187
|
value: elem
|
|
18094
18188
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
18095
18189
|
path: _path + ".messages",
|
|
18096
18190
|
expected: "(Array<Message> | undefined)",
|
|
18097
18191
|
value: input.messages
|
|
18098
|
-
}),
|
|
18192
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
18099
18193
|
if (["type", "draft", "asset", "connection", "render", "published", "remote", "error", "messages"].some(prop => key === prop))
|
|
18100
18194
|
return true;
|
|
18101
18195
|
const value = input[key];
|
|
@@ -18143,8 +18237,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18143
18237
|
path: _path + ".tags",
|
|
18144
18238
|
expected: "(Array<string> | undefined)",
|
|
18145
18239
|
value: input.tags
|
|
18146
|
-
})) && input.tags.map((elem,
|
|
18147
|
-
path: _path + ".tags[" +
|
|
18240
|
+
})) && input.tags.map((elem, _index18) => "string" === typeof elem || _report(_exceptionable, {
|
|
18241
|
+
path: _path + ".tags[" + _index18 + "]",
|
|
18148
18242
|
expected: "string",
|
|
18149
18243
|
value: elem
|
|
18150
18244
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18183,29 +18277,26 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18183
18277
|
value: input
|
|
18184
18278
|
});
|
|
18185
18279
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
18186
|
-
if (
|
|
18280
|
+
if (_vo0(input, _path, false && _exceptionable))
|
|
18187
18281
|
return _vo0(input, _path, true && _exceptionable);
|
|
18188
|
-
|
|
18189
|
-
return
|
|
18190
|
-
|
|
18282
|
+
if (_vo17(input, _path, false && _exceptionable))
|
|
18283
|
+
return _vo17(input, _path, true && _exceptionable);
|
|
18284
|
+
if (_vo28(input, _path, false && _exceptionable))
|
|
18285
|
+
return _vo28(input, _path, true && _exceptionable);
|
|
18286
|
+
if (_vo18(input, _path, false && _exceptionable))
|
|
18287
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
18288
|
+
if (_vo32(input, _path, false && _exceptionable))
|
|
18191
18289
|
return _vo32(input, _path, true && _exceptionable);
|
|
18192
|
-
|
|
18193
|
-
|
|
18194
|
-
|
|
18195
|
-
|
|
18196
|
-
|
|
18197
|
-
|
|
18198
|
-
return _report(_exceptionable, {
|
|
18199
|
-
path: _path,
|
|
18200
|
-
expected: "(FilePublishRecordLegacy | FilePublishRecord)",
|
|
18201
|
-
value: input
|
|
18202
|
-
});
|
|
18203
|
-
})();
|
|
18204
|
-
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu1(input, true); let errors; let _report; return input => {
|
|
18290
|
+
return _report(_exceptionable, {
|
|
18291
|
+
path: _path,
|
|
18292
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecordLegacy | FilePublishRecord | YoutubePublishRecord)",
|
|
18293
|
+
value: input
|
|
18294
|
+
});
|
|
18295
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input, true); let errors; let _report; return input => {
|
|
18205
18296
|
if (false === __is(input)) {
|
|
18206
18297
|
errors = [];
|
|
18207
18298
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
18208
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
18299
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
18209
18300
|
path: _path + "",
|
|
18210
18301
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
18211
18302
|
value: input
|
|
@@ -18393,14 +18484,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18393
18484
|
if (undefined === value)
|
|
18394
18485
|
return true;
|
|
18395
18486
|
return false;
|
|
18396
|
-
})); const _io24 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && _io25(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18487
|
+
})); const _io24 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io25(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18397
18488
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
18398
18489
|
return true;
|
|
18399
18490
|
const value = input[key];
|
|
18400
18491
|
if (undefined === value)
|
|
18401
18492
|
return true;
|
|
18402
18493
|
return false;
|
|
18403
|
-
})); const _io25 = (input, _exceptionable = true) => "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) && _io8(input.renders, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(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 && _io31(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (
|
|
18494
|
+
})); const _io25 = (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) && _io8(input.renders, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(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 && _io31(input.render, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18404
18495
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
18405
18496
|
return true;
|
|
18406
18497
|
const value = input[key];
|
|
@@ -19344,7 +19435,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19344
19435
|
"Please remove the property next time."
|
|
19345
19436
|
].join("\n")
|
|
19346
19437
|
});
|
|
19347
|
-
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
19438
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
19348
19439
|
path: _path + ".publish",
|
|
19349
19440
|
expected: "FilePublishRecord",
|
|
19350
19441
|
value: input.publish
|
|
@@ -19376,9 +19467,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19376
19467
|
"Please remove the property next time."
|
|
19377
19468
|
].join("\n")
|
|
19378
19469
|
});
|
|
19379
|
-
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
19470
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
19380
19471
|
path: _path + ".type",
|
|
19381
|
-
expected: "\"file\"",
|
|
19472
|
+
expected: "(\"file\" | undefined)",
|
|
19382
19473
|
value: input.type
|
|
19383
19474
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
19384
19475
|
path: _path + ".directory",
|
|
@@ -19460,7 +19551,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19460
19551
|
path: _path + ".messages",
|
|
19461
19552
|
expected: "(Array<Message> | undefined)",
|
|
19462
19553
|
value: input.messages
|
|
19463
|
-
}),
|
|
19554
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
19464
19555
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
19465
19556
|
return true;
|
|
19466
19557
|
const value = input[key];
|