@nxtedition/types 1.6.14 → 23.0.1
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/app.d.ts +30 -0
- package/dist/app.js +197 -0
- package/dist/common/index.d.ts +0 -17
- package/dist/common/index.js +0 -447
- package/dist/common/settings.d.ts +11 -6
- package/dist/common/settings.js +556 -454
- package/dist/domains/bundle.d.ts +25 -0
- package/dist/domains/bundle.js +512 -0
- package/dist/domains/index.d.ts +3 -1
- package/dist/domains/index.js +1 -0
- package/dist/domains/media.d.ts +20 -0
- package/dist/domains/media.js +1500 -0
- package/dist/domains/publish.d.ts +5 -2
- package/dist/domains/settings.js +558 -469
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/rpc.d.ts +28 -0
- package/dist/rpc.js +1 -0
- package/package.json +3 -2
package/dist/domains/settings.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
2
|
export const isSettingsRecord = input => {
|
|
3
|
-
const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $
|
|
3
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io36(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io38(input.flags));
|
|
4
4
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
5
5
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
6
6
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -19,37 +19,38 @@ export const isSettingsRecord = input => {
|
|
|
19
19
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
20
20
|
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
21
21
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
22
|
-
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
22
|
+
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
23
23
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
24
24
|
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
25
25
|
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
26
26
|
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
27
|
-
const $io17 = input => undefined === input.
|
|
28
|
-
const $io18 = input => undefined === input.
|
|
29
|
-
const $io19 = input =>
|
|
30
|
-
const $io20 = input => undefined === input.
|
|
31
|
-
const $io21 = input =>
|
|
32
|
-
const $io22 = input => (undefined === input.
|
|
33
|
-
const $io23 = input => "
|
|
34
|
-
const $io24 = input =>
|
|
35
|
-
const $io25 = input =>
|
|
36
|
-
const $io26 = input => (undefined === input.
|
|
37
|
-
const $io27 = input => "
|
|
38
|
-
const $io28 = input =>
|
|
39
|
-
const $io29 = input => undefined === input.
|
|
40
|
-
const $io30 = input => undefined === input.
|
|
41
|
-
const $io31 = input =>
|
|
42
|
-
const $io32 = input => undefined === input.
|
|
43
|
-
const $io33 = input => undefined === input.
|
|
44
|
-
const $io34 = input => undefined === input.
|
|
45
|
-
const $io35 = input => undefined === input.
|
|
46
|
-
const $io36 = input => undefined === input.
|
|
47
|
-
const $io37 = input =>
|
|
27
|
+
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
28
|
+
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
29
|
+
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
30
|
+
const $io20 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
31
|
+
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
32
|
+
const $io22 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
33
|
+
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
34
|
+
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
35
|
+
const $io25 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io26(input.subtitleDisclaimer);
|
|
36
|
+
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
37
|
+
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
38
|
+
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
39
|
+
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io30(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io33(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io35(input.item));
|
|
40
|
+
const $io30 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io31(input.story);
|
|
41
|
+
const $io31 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io32(input.excerpt);
|
|
42
|
+
const $io32 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
43
|
+
const $io33 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io34(input.search);
|
|
44
|
+
const $io34 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
45
|
+
const $io35 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
46
|
+
const $io36 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io37(input.adobe);
|
|
47
|
+
const $io37 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
48
|
+
const $io38 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
48
49
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
49
50
|
};
|
|
50
51
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
51
52
|
const __is = input => {
|
|
52
|
-
const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $
|
|
53
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io36(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io38(input.flags));
|
|
53
54
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
54
55
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
55
56
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -68,39 +69,44 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
68
69
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
69
70
|
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
70
71
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
71
|
-
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
72
|
+
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
72
73
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
73
74
|
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
74
75
|
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
75
76
|
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
76
|
-
const $io17 = input => undefined === input.
|
|
77
|
-
const $io18 = input => undefined === input.
|
|
78
|
-
const $io19 = input =>
|
|
79
|
-
const $io20 = input => undefined === input.
|
|
80
|
-
const $io21 = input =>
|
|
81
|
-
const $io22 = input => (undefined === input.
|
|
82
|
-
const $io23 = input => "
|
|
83
|
-
const $io24 = input =>
|
|
84
|
-
const $io25 = input =>
|
|
85
|
-
const $io26 = input => (undefined === input.
|
|
86
|
-
const $io27 = input => "
|
|
87
|
-
const $io28 = input =>
|
|
88
|
-
const $io29 = input => undefined === input.
|
|
89
|
-
const $io30 = input => undefined === input.
|
|
90
|
-
const $io31 = input =>
|
|
91
|
-
const $io32 = input => undefined === input.
|
|
92
|
-
const $io33 = input => undefined === input.
|
|
93
|
-
const $io34 = input => undefined === input.
|
|
94
|
-
const $io35 = input => undefined === input.
|
|
95
|
-
const $io36 = input => undefined === input.
|
|
96
|
-
const $io37 = input =>
|
|
77
|
+
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
78
|
+
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
79
|
+
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
80
|
+
const $io20 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
81
|
+
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
82
|
+
const $io22 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
83
|
+
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
84
|
+
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
85
|
+
const $io25 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io26(input.subtitleDisclaimer);
|
|
86
|
+
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
87
|
+
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
88
|
+
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
89
|
+
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io30(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io33(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io35(input.item));
|
|
90
|
+
const $io30 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io31(input.story);
|
|
91
|
+
const $io31 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io32(input.excerpt);
|
|
92
|
+
const $io32 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
93
|
+
const $io33 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io34(input.search);
|
|
94
|
+
const $io34 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
95
|
+
const $io35 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
96
|
+
const $io36 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io37(input.adobe);
|
|
97
|
+
const $io37 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
98
|
+
const $io38 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
97
99
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
98
100
|
};
|
|
99
101
|
if (false === __is(input))
|
|
100
102
|
((input, _path, _exceptionable = true) => {
|
|
101
103
|
const $guard = __typia.createAssert.guard;
|
|
102
104
|
const $join = __typia.createAssert.join;
|
|
103
|
-
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
105
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || $guard(_exceptionable, {
|
|
106
|
+
path: _path + ".autoLogoutTime",
|
|
107
|
+
expected: "(number | undefined)",
|
|
108
|
+
value: input.autoLogoutTime
|
|
109
|
+
}, errorFactory)) && (undefined === input.permission || ("object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) || $guard(_exceptionable, {
|
|
104
110
|
path: _path + ".permission",
|
|
105
111
|
expected: "(PartialObjectDeep<__type, __type> | undefined)",
|
|
106
112
|
value: input.permission
|
|
@@ -180,21 +186,29 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
180
186
|
path: _path + ".script",
|
|
181
187
|
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
182
188
|
value: input.script
|
|
189
|
+
}, errorFactory)) && (undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
190
|
+
path: _path + ".events",
|
|
191
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
192
|
+
value: input.events
|
|
193
|
+
}, errorFactory)) && $ao17(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
194
|
+
path: _path + ".events",
|
|
195
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
196
|
+
value: input.events
|
|
183
197
|
}, errorFactory)) && (undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || $guard(_exceptionable, {
|
|
184
198
|
path: _path + ".rundown",
|
|
185
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
199
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
186
200
|
value: input.rundown
|
|
187
|
-
}, errorFactory)) && $
|
|
201
|
+
}, errorFactory)) && $ao18(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
188
202
|
path: _path + ".rundown",
|
|
189
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
203
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
190
204
|
value: input.rundown
|
|
191
205
|
}, errorFactory)) && (undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || $guard(_exceptionable, {
|
|
192
206
|
path: _path + ".gallery",
|
|
193
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
207
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
194
208
|
value: input.gallery
|
|
195
|
-
}, errorFactory)) && $
|
|
209
|
+
}, errorFactory)) && $ao19(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
196
210
|
path: _path + ".gallery",
|
|
197
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
211
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
198
212
|
value: input.gallery
|
|
199
213
|
}, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
|
|
200
214
|
path: _path + ".history",
|
|
@@ -202,11 +216,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
202
216
|
value: input.history
|
|
203
217
|
}, errorFactory)) && true && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || $guard(_exceptionable, {
|
|
204
218
|
path: _path + ".media",
|
|
205
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
219
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
206
220
|
value: input.media
|
|
207
|
-
}, errorFactory)) && $
|
|
221
|
+
}, errorFactory)) && $ao20(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
208
222
|
path: _path + ".media",
|
|
209
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
223
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
210
224
|
value: input.media
|
|
211
225
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
212
226
|
path: _path + ".predefinedTags",
|
|
@@ -222,19 +236,19 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
222
236
|
value: input.predefinedTags
|
|
223
237
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
224
238
|
path: _path + ".storyboard",
|
|
225
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
239
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
226
240
|
value: input.storyboard
|
|
227
|
-
}, errorFactory)) && $
|
|
241
|
+
}, errorFactory)) && $ao29(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
228
242
|
path: _path + ".storyboard",
|
|
229
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
243
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
230
244
|
value: input.storyboard
|
|
231
245
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
232
246
|
path: _path + ".plugins",
|
|
233
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
247
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
234
248
|
value: input.plugins
|
|
235
|
-
}, errorFactory)) && $
|
|
249
|
+
}, errorFactory)) && $ao36(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
236
250
|
path: _path + ".plugins",
|
|
237
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
251
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
238
252
|
value: input.plugins
|
|
239
253
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
240
254
|
path: _path + ".crashScreen",
|
|
@@ -246,11 +260,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
246
260
|
value: input.debug
|
|
247
261
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
248
262
|
path: _path + ".flags",
|
|
249
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
263
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
250
264
|
value: input.flags
|
|
251
|
-
}, errorFactory)) && $
|
|
265
|
+
}, errorFactory)) && $ao38(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
252
266
|
path: _path + ".flags",
|
|
253
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
267
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
254
268
|
value: input.flags
|
|
255
269
|
}, errorFactory));
|
|
256
270
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -399,11 +413,15 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
399
413
|
expected: "(string | undefined)",
|
|
400
414
|
value: input.format
|
|
401
415
|
}, errorFactory));
|
|
402
|
-
const $ao12 = (input, _path, _exceptionable = true) => undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
416
|
+
const $ao12 = (input, _path, _exceptionable = true) => (undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
403
417
|
path: _path + ".color",
|
|
404
418
|
expected: "(string | undefined)",
|
|
405
419
|
value: input.color
|
|
406
|
-
}, errorFactory)
|
|
420
|
+
}, errorFactory)) && (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
421
|
+
path: _path + ".name",
|
|
422
|
+
expected: "(string | undefined)",
|
|
423
|
+
value: input.name
|
|
424
|
+
}, errorFactory));
|
|
407
425
|
const $ao13 = (input, _path, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru || $guard(_exceptionable, {
|
|
408
426
|
path: _path + ".maxMru",
|
|
409
427
|
expected: "(number | undefined)",
|
|
@@ -460,23 +478,28 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
460
478
|
expected: "(null | string)",
|
|
461
479
|
value: input.description
|
|
462
480
|
}, errorFactory));
|
|
463
|
-
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.
|
|
481
|
+
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate || $guard(_exceptionable, {
|
|
482
|
+
path: _path + ".graphicBaseTemplate",
|
|
483
|
+
expected: "(string | undefined)",
|
|
484
|
+
value: input.graphicBaseTemplate
|
|
485
|
+
}, errorFactory);
|
|
486
|
+
const $ao18 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
464
487
|
path: _path + ".eventThumbnails",
|
|
465
488
|
expected: "(boolean | undefined)",
|
|
466
489
|
value: input.eventThumbnails
|
|
467
490
|
}, errorFactory);
|
|
468
|
-
const $
|
|
491
|
+
const $ao19 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
469
492
|
path: _path + ".dimOnBlur",
|
|
470
493
|
expected: "(boolean | undefined)",
|
|
471
494
|
value: input.dimOnBlur
|
|
472
495
|
}, errorFactory);
|
|
473
|
-
const $
|
|
496
|
+
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
474
497
|
path: _path + ".guide",
|
|
475
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
498
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
476
499
|
value: input.guide
|
|
477
|
-
}, errorFactory)) && $
|
|
500
|
+
}, errorFactory)) && $ao21(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
478
501
|
path: _path + ".guide",
|
|
479
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
502
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
480
503
|
value: input.guide
|
|
481
504
|
}, errorFactory)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || $guard(_exceptionable, {
|
|
482
505
|
path: _path + ".stepManyFrames",
|
|
@@ -492,11 +515,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
492
515
|
value: input.importTitleTemplate
|
|
493
516
|
}, errorFactory)) && (undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || $guard(_exceptionable, {
|
|
494
517
|
path: _path + ".tile",
|
|
495
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
518
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
496
519
|
value: input.tile
|
|
497
|
-
}, errorFactory)) && $
|
|
520
|
+
}, errorFactory)) && $ao22(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
498
521
|
path: _path + ".tile",
|
|
499
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
522
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
500
523
|
value: input.tile
|
|
501
524
|
}, errorFactory)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference || $guard(_exceptionable, {
|
|
502
525
|
path: _path + ".timecodeReference",
|
|
@@ -532,11 +555,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
532
555
|
value: input.playbackRates
|
|
533
556
|
}, errorFactory)) && (undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || $guard(_exceptionable, {
|
|
534
557
|
path: _path + ".subtitles",
|
|
535
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
558
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
536
559
|
value: input.subtitles
|
|
537
|
-
}, errorFactory)) && $
|
|
560
|
+
}, errorFactory)) && $ao23(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
538
561
|
path: _path + ".subtitles",
|
|
539
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
562
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
540
563
|
value: input.subtitles
|
|
541
564
|
}, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
|
|
542
565
|
path: _path + ".subtitleTemplateId",
|
|
@@ -554,7 +577,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
554
577
|
path: _path + ".guides[" + _index8 + "]",
|
|
555
578
|
expected: "__type",
|
|
556
579
|
value: elem
|
|
557
|
-
}, errorFactory)) && $
|
|
580
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
558
581
|
path: _path + ".guides[" + _index8 + "]",
|
|
559
582
|
expected: "__type",
|
|
560
583
|
value: elem
|
|
@@ -568,19 +591,19 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
568
591
|
value: input.download
|
|
569
592
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
570
593
|
path: _path + ".transcribe",
|
|
571
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
594
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
572
595
|
value: input.transcribe
|
|
573
|
-
}, errorFactory)) && $
|
|
596
|
+
}, errorFactory)) && $ao25(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
574
597
|
path: _path + ".transcribe",
|
|
575
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
598
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
576
599
|
value: input.transcribe
|
|
577
600
|
}, errorFactory));
|
|
578
|
-
const $
|
|
601
|
+
const $ao21 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
579
602
|
path: _path + ".mask",
|
|
580
603
|
expected: "(boolean | undefined)",
|
|
581
604
|
value: input.mask
|
|
582
605
|
}, errorFactory);
|
|
583
|
-
const $
|
|
606
|
+
const $ao22 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
|
|
584
607
|
path: _path + ".preview",
|
|
585
608
|
expected: "(string | undefined)",
|
|
586
609
|
value: input.preview
|
|
@@ -589,7 +612,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
589
612
|
expected: "(boolean | undefined)",
|
|
590
613
|
value: input.showRenderProgress
|
|
591
614
|
}, errorFactory));
|
|
592
|
-
const $
|
|
615
|
+
const $ao23 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing || $guard(_exceptionable, {
|
|
593
616
|
path: _path + ".spacing",
|
|
594
617
|
expected: "(number | undefined)",
|
|
595
618
|
value: input.spacing
|
|
@@ -598,7 +621,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
598
621
|
expected: "(number | undefined)",
|
|
599
622
|
value: input.maxCharactersPerLine
|
|
600
623
|
}, errorFactory));
|
|
601
|
-
const $
|
|
624
|
+
const $ao24 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
602
625
|
path: _path + ".label",
|
|
603
626
|
expected: "string",
|
|
604
627
|
value: input.label
|
|
@@ -607,29 +630,29 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
607
630
|
expected: "string",
|
|
608
631
|
value: input.aspectRatio
|
|
609
632
|
}, errorFactory));
|
|
610
|
-
const $
|
|
633
|
+
const $ao25 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
611
634
|
path: _path + ".subtitleDisclaimer",
|
|
612
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
635
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
613
636
|
value: input.subtitleDisclaimer
|
|
614
|
-
}, errorFactory)) && $
|
|
637
|
+
}, errorFactory)) && $ao26(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
615
638
|
path: _path + ".subtitleDisclaimer",
|
|
616
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
639
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
617
640
|
value: input.subtitleDisclaimer
|
|
618
641
|
}, errorFactory);
|
|
619
|
-
const $
|
|
642
|
+
const $ao26 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
620
643
|
path: _path + ".isUserConfigurable",
|
|
621
644
|
expected: "(boolean | undefined)",
|
|
622
645
|
value: input.isUserConfigurable
|
|
623
646
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
624
647
|
path: _path + ".defaultValue",
|
|
625
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
648
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
626
649
|
value: input.defaultValue
|
|
627
|
-
}, errorFactory)) && $
|
|
650
|
+
}, errorFactory)) && $ao27(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
628
651
|
path: _path + ".defaultValue",
|
|
629
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
652
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
630
653
|
value: input.defaultValue
|
|
631
654
|
}, errorFactory));
|
|
632
|
-
const $
|
|
655
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
633
656
|
path: _path + ".enabled",
|
|
634
657
|
expected: "(false | undefined)",
|
|
635
658
|
value: input.enabled
|
|
@@ -641,7 +664,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
641
664
|
path: _path + ".text[" + _index9 + "]",
|
|
642
665
|
expected: "__type.o1",
|
|
643
666
|
value: elem
|
|
644
|
-
}, errorFactory)) && $
|
|
667
|
+
}, errorFactory)) && $ao28(elem, _path + ".text[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
645
668
|
path: _path + ".text[" + _index9 + "]",
|
|
646
669
|
expected: "__type.o1",
|
|
647
670
|
value: elem
|
|
@@ -658,7 +681,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
658
681
|
expected: "(number | undefined)",
|
|
659
682
|
value: input.duration
|
|
660
683
|
}, errorFactory));
|
|
661
|
-
const $
|
|
684
|
+
const $ao28 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
662
685
|
path: _path + ".language",
|
|
663
686
|
expected: "string",
|
|
664
687
|
value: input.language
|
|
@@ -667,50 +690,50 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
667
690
|
expected: "string",
|
|
668
691
|
value: input.value
|
|
669
692
|
}, errorFactory));
|
|
670
|
-
const $
|
|
693
|
+
const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
671
694
|
path: _path + ".assets",
|
|
672
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
695
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
673
696
|
value: input.assets
|
|
674
|
-
}, errorFactory)) && $
|
|
697
|
+
}, errorFactory)) && $ao30(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
675
698
|
path: _path + ".assets",
|
|
676
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
699
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
677
700
|
value: input.assets
|
|
678
701
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
679
702
|
path: _path + ".pipeline",
|
|
680
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
703
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
681
704
|
value: input.pipeline
|
|
682
|
-
}, errorFactory)) && $
|
|
705
|
+
}, errorFactory)) && $ao33(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
683
706
|
path: _path + ".pipeline",
|
|
684
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
707
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
685
708
|
value: input.pipeline
|
|
686
709
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
687
710
|
path: _path + ".item",
|
|
688
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
711
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
689
712
|
value: input.item
|
|
690
|
-
}, errorFactory)) && $
|
|
713
|
+
}, errorFactory)) && $ao35(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
691
714
|
path: _path + ".item",
|
|
692
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
715
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
693
716
|
value: input.item
|
|
694
717
|
}, errorFactory));
|
|
695
|
-
const $
|
|
718
|
+
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
696
719
|
path: _path + ".story",
|
|
697
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
720
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
698
721
|
value: input.story
|
|
699
|
-
}, errorFactory)) && $
|
|
722
|
+
}, errorFactory)) && $ao31(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
700
723
|
path: _path + ".story",
|
|
701
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
724
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
702
725
|
value: input.story
|
|
703
726
|
}, errorFactory);
|
|
704
|
-
const $
|
|
727
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
705
728
|
path: _path + ".excerpt",
|
|
706
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
729
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
707
730
|
value: input.excerpt
|
|
708
|
-
}, errorFactory)) && $
|
|
731
|
+
}, errorFactory)) && $ao32(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
709
732
|
path: _path + ".excerpt",
|
|
710
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
733
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
711
734
|
value: input.excerpt
|
|
712
735
|
}, errorFactory);
|
|
713
|
-
const $
|
|
736
|
+
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
714
737
|
path: _path + ".maxLines",
|
|
715
738
|
expected: "(number | undefined)",
|
|
716
739
|
value: input.maxLines
|
|
@@ -719,40 +742,40 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
719
742
|
expected: "(string | undefined)",
|
|
720
743
|
value: input.mode
|
|
721
744
|
}, errorFactory));
|
|
722
|
-
const $
|
|
745
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
723
746
|
path: _path + ".search",
|
|
724
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
747
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
725
748
|
value: input.search
|
|
726
|
-
}, errorFactory)) && $
|
|
749
|
+
}, errorFactory)) && $ao34(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
727
750
|
path: _path + ".search",
|
|
728
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
751
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
729
752
|
value: input.search
|
|
730
753
|
}, errorFactory);
|
|
731
|
-
const $
|
|
754
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
732
755
|
path: _path + ".maxItemsDisplayed",
|
|
733
756
|
expected: "(number | undefined)",
|
|
734
757
|
value: input.maxItemsDisplayed
|
|
735
758
|
}, errorFactory);
|
|
736
|
-
const $
|
|
759
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
737
760
|
path: _path + ".maxHeight",
|
|
738
761
|
expected: "(number | undefined)",
|
|
739
762
|
value: input.maxHeight
|
|
740
763
|
}, errorFactory);
|
|
741
|
-
const $
|
|
764
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
742
765
|
path: _path + ".adobe",
|
|
743
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
766
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
744
767
|
value: input.adobe
|
|
745
|
-
}, errorFactory)) && $
|
|
768
|
+
}, errorFactory)) && $ao37(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
746
769
|
path: _path + ".adobe",
|
|
747
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
770
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
748
771
|
value: input.adobe
|
|
749
772
|
}, errorFactory);
|
|
750
|
-
const $
|
|
773
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
751
774
|
path: _path + ".useProxies",
|
|
752
775
|
expected: "(boolean | undefined)",
|
|
753
776
|
value: input.useProxies
|
|
754
777
|
}, errorFactory);
|
|
755
|
-
const $
|
|
778
|
+
const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
756
779
|
path: _path + ".utils",
|
|
757
780
|
expected: "(boolean | undefined)",
|
|
758
781
|
value: input.utils
|
|
@@ -822,9 +845,13 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
822
845
|
return input;
|
|
823
846
|
};
|
|
824
847
|
export const randomSettingsRecord = generator => {
|
|
825
|
-
const $pick = __typia.createRandom.pick;
|
|
826
848
|
const $generator = __typia.createRandom.generator;
|
|
849
|
+
const $pick = __typia.createRandom.pick;
|
|
827
850
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
851
|
+
autoLogoutTime: $pick([
|
|
852
|
+
() => undefined,
|
|
853
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
854
|
+
])(),
|
|
828
855
|
permission: $pick([
|
|
829
856
|
() => undefined,
|
|
830
857
|
() => $ro1(_recursive, _recursive ? 1 + _depth : _depth)
|
|
@@ -865,14 +892,18 @@ export const randomSettingsRecord = generator => {
|
|
|
865
892
|
() => undefined,
|
|
866
893
|
() => $ro14(_recursive, _recursive ? 1 + _depth : _depth)
|
|
867
894
|
])(),
|
|
868
|
-
|
|
895
|
+
events: $pick([
|
|
869
896
|
() => undefined,
|
|
870
897
|
() => $ro17(_recursive, _recursive ? 1 + _depth : _depth)
|
|
871
898
|
])(),
|
|
872
|
-
|
|
899
|
+
rundown: $pick([
|
|
873
900
|
() => undefined,
|
|
874
901
|
() => $ro18(_recursive, _recursive ? 1 + _depth : _depth)
|
|
875
902
|
])(),
|
|
903
|
+
gallery: $pick([
|
|
904
|
+
() => undefined,
|
|
905
|
+
() => $ro19(_recursive, _recursive ? 1 + _depth : _depth)
|
|
906
|
+
])(),
|
|
876
907
|
history: $pick([
|
|
877
908
|
() => undefined,
|
|
878
909
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -883,7 +914,7 @@ export const randomSettingsRecord = generator => {
|
|
|
883
914
|
])(),
|
|
884
915
|
media: $pick([
|
|
885
916
|
() => undefined,
|
|
886
|
-
() => $
|
|
917
|
+
() => $ro20(_recursive, _recursive ? 1 + _depth : _depth)
|
|
887
918
|
])(),
|
|
888
919
|
predefinedTags: $pick([
|
|
889
920
|
() => undefined,
|
|
@@ -891,11 +922,11 @@ export const randomSettingsRecord = generator => {
|
|
|
891
922
|
])(),
|
|
892
923
|
storyboard: $pick([
|
|
893
924
|
() => undefined,
|
|
894
|
-
() => $
|
|
925
|
+
() => $ro29(_recursive, _recursive ? 1 + _depth : _depth)
|
|
895
926
|
])(),
|
|
896
927
|
plugins: $pick([
|
|
897
928
|
() => undefined,
|
|
898
|
-
() => $
|
|
929
|
+
() => $ro36(_recursive, _recursive ? 1 + _depth : _depth)
|
|
899
930
|
])(),
|
|
900
931
|
crashScreen: $pick([
|
|
901
932
|
() => undefined,
|
|
@@ -907,7 +938,7 @@ export const randomSettingsRecord = generator => {
|
|
|
907
938
|
])(),
|
|
908
939
|
flags: $pick([
|
|
909
940
|
() => undefined,
|
|
910
|
-
() => $
|
|
941
|
+
() => $ro38(_recursive, _recursive ? 1 + _depth : _depth)
|
|
911
942
|
])()
|
|
912
943
|
});
|
|
913
944
|
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1019,6 +1050,10 @@ export const randomSettingsRecord = generator => {
|
|
|
1019
1050
|
color: $pick([
|
|
1020
1051
|
() => undefined,
|
|
1021
1052
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1053
|
+
])(),
|
|
1054
|
+
name: $pick([
|
|
1055
|
+
() => undefined,
|
|
1056
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1022
1057
|
])()
|
|
1023
1058
|
});
|
|
1024
1059
|
const $ro13 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1066,21 +1101,27 @@ export const randomSettingsRecord = generator => {
|
|
|
1066
1101
|
])()
|
|
1067
1102
|
});
|
|
1068
1103
|
const $ro17 = (_recursive = false, _depth = 0) => ({
|
|
1104
|
+
graphicBaseTemplate: $pick([
|
|
1105
|
+
() => undefined,
|
|
1106
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1107
|
+
])()
|
|
1108
|
+
});
|
|
1109
|
+
const $ro18 = (_recursive = false, _depth = 0) => ({
|
|
1069
1110
|
eventThumbnails: $pick([
|
|
1070
1111
|
() => undefined,
|
|
1071
1112
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1072
1113
|
])()
|
|
1073
1114
|
});
|
|
1074
|
-
const $
|
|
1115
|
+
const $ro19 = (_recursive = false, _depth = 0) => ({
|
|
1075
1116
|
dimOnBlur: $pick([
|
|
1076
1117
|
() => undefined,
|
|
1077
1118
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1078
1119
|
])()
|
|
1079
1120
|
});
|
|
1080
|
-
const $
|
|
1121
|
+
const $ro20 = (_recursive = false, _depth = 0) => ({
|
|
1081
1122
|
guide: $pick([
|
|
1082
1123
|
() => undefined,
|
|
1083
|
-
() => $
|
|
1124
|
+
() => $ro21(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1084
1125
|
])(),
|
|
1085
1126
|
stepManyFrames: $pick([
|
|
1086
1127
|
() => undefined,
|
|
@@ -1096,7 +1137,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1096
1137
|
])(),
|
|
1097
1138
|
tile: $pick([
|
|
1098
1139
|
() => undefined,
|
|
1099
|
-
() => $
|
|
1140
|
+
() => $ro22(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1100
1141
|
])(),
|
|
1101
1142
|
timecodeReference: $pick([
|
|
1102
1143
|
() => undefined,
|
|
@@ -1124,7 +1165,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1124
1165
|
])(),
|
|
1125
1166
|
subtitles: $pick([
|
|
1126
1167
|
() => undefined,
|
|
1127
|
-
() => $
|
|
1168
|
+
() => $ro23(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1128
1169
|
])(),
|
|
1129
1170
|
subtitleTemplateId: $pick([
|
|
1130
1171
|
() => undefined,
|
|
@@ -1136,7 +1177,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1136
1177
|
])(),
|
|
1137
1178
|
guides: $pick([
|
|
1138
1179
|
() => undefined,
|
|
1139
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1180
|
+
() => (generator?.array ?? $generator.array)(() => $ro24(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1140
1181
|
])(),
|
|
1141
1182
|
download: $pick([
|
|
1142
1183
|
() => undefined,
|
|
@@ -1144,16 +1185,16 @@ export const randomSettingsRecord = generator => {
|
|
|
1144
1185
|
])(),
|
|
1145
1186
|
transcribe: $pick([
|
|
1146
1187
|
() => undefined,
|
|
1147
|
-
() => $
|
|
1188
|
+
() => $ro25(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1148
1189
|
])()
|
|
1149
1190
|
});
|
|
1150
|
-
const $
|
|
1191
|
+
const $ro21 = (_recursive = false, _depth = 0) => ({
|
|
1151
1192
|
mask: $pick([
|
|
1152
1193
|
() => undefined,
|
|
1153
1194
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1154
1195
|
])()
|
|
1155
1196
|
});
|
|
1156
|
-
const $
|
|
1197
|
+
const $ro22 = (_recursive = false, _depth = 0) => ({
|
|
1157
1198
|
preview: $pick([
|
|
1158
1199
|
() => undefined,
|
|
1159
1200
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
@@ -1163,7 +1204,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1163
1204
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1164
1205
|
])()
|
|
1165
1206
|
});
|
|
1166
|
-
const $
|
|
1207
|
+
const $ro23 = (_recursive = false, _depth = 0) => ({
|
|
1167
1208
|
spacing: $pick([
|
|
1168
1209
|
() => undefined,
|
|
1169
1210
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1173,34 +1214,34 @@ export const randomSettingsRecord = generator => {
|
|
|
1173
1214
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1174
1215
|
])()
|
|
1175
1216
|
});
|
|
1176
|
-
const $
|
|
1217
|
+
const $ro24 = (_recursive = false, _depth = 0) => ({
|
|
1177
1218
|
label: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1178
1219
|
aspectRatio: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1179
1220
|
});
|
|
1180
|
-
const $
|
|
1221
|
+
const $ro25 = (_recursive = false, _depth = 0) => ({
|
|
1181
1222
|
subtitleDisclaimer: $pick([
|
|
1182
1223
|
() => undefined,
|
|
1183
|
-
() => $
|
|
1224
|
+
() => $ro26(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1184
1225
|
])()
|
|
1185
1226
|
});
|
|
1186
|
-
const $
|
|
1227
|
+
const $ro26 = (_recursive = false, _depth = 0) => ({
|
|
1187
1228
|
isUserConfigurable: $pick([
|
|
1188
1229
|
() => undefined,
|
|
1189
1230
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1190
1231
|
])(),
|
|
1191
1232
|
defaultValue: $pick([
|
|
1192
1233
|
() => undefined,
|
|
1193
|
-
() => $
|
|
1234
|
+
() => $ro27(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1194
1235
|
])()
|
|
1195
1236
|
});
|
|
1196
|
-
const $
|
|
1237
|
+
const $ro27 = (_recursive = false, _depth = 0) => ({
|
|
1197
1238
|
enabled: $pick([
|
|
1198
1239
|
() => undefined,
|
|
1199
1240
|
() => false
|
|
1200
1241
|
])(),
|
|
1201
1242
|
text: $pick([
|
|
1202
1243
|
() => undefined,
|
|
1203
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1244
|
+
() => (generator?.array ?? $generator.array)(() => $ro28(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1204
1245
|
])(),
|
|
1205
1246
|
offset: $pick([
|
|
1206
1247
|
() => undefined,
|
|
@@ -1211,37 +1252,37 @@ export const randomSettingsRecord = generator => {
|
|
|
1211
1252
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1212
1253
|
])()
|
|
1213
1254
|
});
|
|
1214
|
-
const $
|
|
1255
|
+
const $ro28 = (_recursive = false, _depth = 0) => ({
|
|
1215
1256
|
language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1216
1257
|
value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1217
1258
|
});
|
|
1218
|
-
const $
|
|
1259
|
+
const $ro29 = (_recursive = false, _depth = 0) => ({
|
|
1219
1260
|
assets: $pick([
|
|
1220
1261
|
() => undefined,
|
|
1221
|
-
() => $
|
|
1262
|
+
() => $ro30(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1222
1263
|
])(),
|
|
1223
1264
|
pipeline: $pick([
|
|
1224
1265
|
() => undefined,
|
|
1225
|
-
() => $
|
|
1266
|
+
() => $ro33(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1226
1267
|
])(),
|
|
1227
1268
|
item: $pick([
|
|
1228
1269
|
() => undefined,
|
|
1229
|
-
() => $
|
|
1270
|
+
() => $ro35(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1230
1271
|
])()
|
|
1231
1272
|
});
|
|
1232
|
-
const $
|
|
1273
|
+
const $ro30 = (_recursive = false, _depth = 0) => ({
|
|
1233
1274
|
story: $pick([
|
|
1234
1275
|
() => undefined,
|
|
1235
|
-
() => $
|
|
1276
|
+
() => $ro31(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1236
1277
|
])()
|
|
1237
1278
|
});
|
|
1238
|
-
const $
|
|
1279
|
+
const $ro31 = (_recursive = false, _depth = 0) => ({
|
|
1239
1280
|
excerpt: $pick([
|
|
1240
1281
|
() => undefined,
|
|
1241
|
-
() => $
|
|
1282
|
+
() => $ro32(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1242
1283
|
])()
|
|
1243
1284
|
});
|
|
1244
|
-
const $
|
|
1285
|
+
const $ro32 = (_recursive = false, _depth = 0) => ({
|
|
1245
1286
|
maxLines: $pick([
|
|
1246
1287
|
() => undefined,
|
|
1247
1288
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1251,37 +1292,37 @@ export const randomSettingsRecord = generator => {
|
|
|
1251
1292
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1252
1293
|
])()
|
|
1253
1294
|
});
|
|
1254
|
-
const $
|
|
1295
|
+
const $ro33 = (_recursive = false, _depth = 0) => ({
|
|
1255
1296
|
search: $pick([
|
|
1256
1297
|
() => undefined,
|
|
1257
|
-
() => $
|
|
1298
|
+
() => $ro34(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1258
1299
|
])()
|
|
1259
1300
|
});
|
|
1260
|
-
const $
|
|
1301
|
+
const $ro34 = (_recursive = false, _depth = 0) => ({
|
|
1261
1302
|
maxItemsDisplayed: $pick([
|
|
1262
1303
|
() => undefined,
|
|
1263
1304
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1264
1305
|
])()
|
|
1265
1306
|
});
|
|
1266
|
-
const $
|
|
1307
|
+
const $ro35 = (_recursive = false, _depth = 0) => ({
|
|
1267
1308
|
maxHeight: $pick([
|
|
1268
1309
|
() => undefined,
|
|
1269
1310
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1270
1311
|
])()
|
|
1271
1312
|
});
|
|
1272
|
-
const $
|
|
1313
|
+
const $ro36 = (_recursive = false, _depth = 0) => ({
|
|
1273
1314
|
adobe: $pick([
|
|
1274
1315
|
() => undefined,
|
|
1275
|
-
() => $
|
|
1316
|
+
() => $ro37(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1276
1317
|
])()
|
|
1277
1318
|
});
|
|
1278
|
-
const $
|
|
1319
|
+
const $ro37 = (_recursive = false, _depth = 0) => ({
|
|
1279
1320
|
useProxies: $pick([
|
|
1280
1321
|
() => undefined,
|
|
1281
1322
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1282
1323
|
])()
|
|
1283
1324
|
});
|
|
1284
|
-
const $
|
|
1325
|
+
const $ro38 = (_recursive = false, _depth = 0) => ({
|
|
1285
1326
|
utils: $pick([
|
|
1286
1327
|
() => undefined,
|
|
1287
1328
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -1343,7 +1384,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1343
1384
|
};
|
|
1344
1385
|
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
1345
1386
|
const __is = input => {
|
|
1346
|
-
const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $
|
|
1387
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io36(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io38(input.flags));
|
|
1347
1388
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
1348
1389
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
1349
1390
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -1362,39 +1403,44 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1362
1403
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1363
1404
|
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1364
1405
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
1365
|
-
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
1406
|
+
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
1366
1407
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
1367
1408
|
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
1368
1409
|
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
1369
1410
|
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
1370
|
-
const $io17 = input => undefined === input.
|
|
1371
|
-
const $io18 = input => undefined === input.
|
|
1372
|
-
const $io19 = input =>
|
|
1373
|
-
const $io20 = input => undefined === input.
|
|
1374
|
-
const $io21 = input =>
|
|
1375
|
-
const $io22 = input => (undefined === input.
|
|
1376
|
-
const $io23 = input => "
|
|
1377
|
-
const $io24 = input =>
|
|
1378
|
-
const $io25 = input =>
|
|
1379
|
-
const $io26 = input => (undefined === input.
|
|
1380
|
-
const $io27 = input => "
|
|
1381
|
-
const $io28 = input =>
|
|
1382
|
-
const $io29 = input => undefined === input.
|
|
1383
|
-
const $io30 = input => undefined === input.
|
|
1384
|
-
const $io31 = input =>
|
|
1385
|
-
const $io32 = input => undefined === input.
|
|
1386
|
-
const $io33 = input => undefined === input.
|
|
1387
|
-
const $io34 = input => undefined === input.
|
|
1388
|
-
const $io35 = input => undefined === input.
|
|
1389
|
-
const $io36 = input => undefined === input.
|
|
1390
|
-
const $io37 = input =>
|
|
1411
|
+
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
1412
|
+
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
1413
|
+
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
1414
|
+
const $io20 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
1415
|
+
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
1416
|
+
const $io22 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
1417
|
+
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
1418
|
+
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
1419
|
+
const $io25 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io26(input.subtitleDisclaimer);
|
|
1420
|
+
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
1421
|
+
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
1422
|
+
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1423
|
+
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io30(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io33(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io35(input.item));
|
|
1424
|
+
const $io30 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io31(input.story);
|
|
1425
|
+
const $io31 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io32(input.excerpt);
|
|
1426
|
+
const $io32 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
1427
|
+
const $io33 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io34(input.search);
|
|
1428
|
+
const $io34 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
1429
|
+
const $io35 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1430
|
+
const $io36 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io37(input.adobe);
|
|
1431
|
+
const $io37 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
1432
|
+
const $io38 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
1391
1433
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1392
1434
|
};
|
|
1393
1435
|
if (false === __is(input))
|
|
1394
1436
|
((input, _path, _exceptionable = true) => {
|
|
1395
1437
|
const $guard = __typia.createAssertGuard.guard;
|
|
1396
1438
|
const $join = __typia.createAssertGuard.join;
|
|
1397
|
-
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
1439
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || $guard(_exceptionable, {
|
|
1440
|
+
path: _path + ".autoLogoutTime",
|
|
1441
|
+
expected: "(number | undefined)",
|
|
1442
|
+
value: input.autoLogoutTime
|
|
1443
|
+
}, errorFactory)) && (undefined === input.permission || ("object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) || $guard(_exceptionable, {
|
|
1398
1444
|
path: _path + ".permission",
|
|
1399
1445
|
expected: "(PartialObjectDeep<__type, __type> | undefined)",
|
|
1400
1446
|
value: input.permission
|
|
@@ -1474,21 +1520,29 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1474
1520
|
path: _path + ".script",
|
|
1475
1521
|
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
1476
1522
|
value: input.script
|
|
1523
|
+
}, errorFactory)) && (undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
1524
|
+
path: _path + ".events",
|
|
1525
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
1526
|
+
value: input.events
|
|
1527
|
+
}, errorFactory)) && $ao17(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
1528
|
+
path: _path + ".events",
|
|
1529
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
1530
|
+
value: input.events
|
|
1477
1531
|
}, errorFactory)) && (undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || $guard(_exceptionable, {
|
|
1478
1532
|
path: _path + ".rundown",
|
|
1479
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1533
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
1480
1534
|
value: input.rundown
|
|
1481
|
-
}, errorFactory)) && $
|
|
1535
|
+
}, errorFactory)) && $ao18(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
1482
1536
|
path: _path + ".rundown",
|
|
1483
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1537
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
1484
1538
|
value: input.rundown
|
|
1485
1539
|
}, errorFactory)) && (undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || $guard(_exceptionable, {
|
|
1486
1540
|
path: _path + ".gallery",
|
|
1487
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1541
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
1488
1542
|
value: input.gallery
|
|
1489
|
-
}, errorFactory)) && $
|
|
1543
|
+
}, errorFactory)) && $ao19(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
1490
1544
|
path: _path + ".gallery",
|
|
1491
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1545
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
1492
1546
|
value: input.gallery
|
|
1493
1547
|
}, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
|
|
1494
1548
|
path: _path + ".history",
|
|
@@ -1496,11 +1550,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1496
1550
|
value: input.history
|
|
1497
1551
|
}, errorFactory)) && true && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || $guard(_exceptionable, {
|
|
1498
1552
|
path: _path + ".media",
|
|
1499
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1553
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
1500
1554
|
value: input.media
|
|
1501
|
-
}, errorFactory)) && $
|
|
1555
|
+
}, errorFactory)) && $ao20(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
1502
1556
|
path: _path + ".media",
|
|
1503
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1557
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
1504
1558
|
value: input.media
|
|
1505
1559
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
1506
1560
|
path: _path + ".predefinedTags",
|
|
@@ -1516,19 +1570,19 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1516
1570
|
value: input.predefinedTags
|
|
1517
1571
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
1518
1572
|
path: _path + ".storyboard",
|
|
1519
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1573
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
1520
1574
|
value: input.storyboard
|
|
1521
|
-
}, errorFactory)) && $
|
|
1575
|
+
}, errorFactory)) && $ao29(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1522
1576
|
path: _path + ".storyboard",
|
|
1523
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1577
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
1524
1578
|
value: input.storyboard
|
|
1525
1579
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
1526
1580
|
path: _path + ".plugins",
|
|
1527
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1581
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
1528
1582
|
value: input.plugins
|
|
1529
|
-
}, errorFactory)) && $
|
|
1583
|
+
}, errorFactory)) && $ao36(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
1530
1584
|
path: _path + ".plugins",
|
|
1531
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1585
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
1532
1586
|
value: input.plugins
|
|
1533
1587
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
1534
1588
|
path: _path + ".crashScreen",
|
|
@@ -1540,11 +1594,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1540
1594
|
value: input.debug
|
|
1541
1595
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
1542
1596
|
path: _path + ".flags",
|
|
1543
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1597
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
1544
1598
|
value: input.flags
|
|
1545
|
-
}, errorFactory)) && $
|
|
1599
|
+
}, errorFactory)) && $ao38(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1546
1600
|
path: _path + ".flags",
|
|
1547
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1601
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
1548
1602
|
value: input.flags
|
|
1549
1603
|
}, errorFactory));
|
|
1550
1604
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -1693,11 +1747,15 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1693
1747
|
expected: "(string | undefined)",
|
|
1694
1748
|
value: input.format
|
|
1695
1749
|
}, errorFactory));
|
|
1696
|
-
const $ao12 = (input, _path, _exceptionable = true) => undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
1750
|
+
const $ao12 = (input, _path, _exceptionable = true) => (undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
1697
1751
|
path: _path + ".color",
|
|
1698
1752
|
expected: "(string | undefined)",
|
|
1699
1753
|
value: input.color
|
|
1700
|
-
}, errorFactory)
|
|
1754
|
+
}, errorFactory)) && (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
1755
|
+
path: _path + ".name",
|
|
1756
|
+
expected: "(string | undefined)",
|
|
1757
|
+
value: input.name
|
|
1758
|
+
}, errorFactory));
|
|
1701
1759
|
const $ao13 = (input, _path, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru || $guard(_exceptionable, {
|
|
1702
1760
|
path: _path + ".maxMru",
|
|
1703
1761
|
expected: "(number | undefined)",
|
|
@@ -1754,23 +1812,28 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1754
1812
|
expected: "(null | string)",
|
|
1755
1813
|
value: input.description
|
|
1756
1814
|
}, errorFactory));
|
|
1757
|
-
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.
|
|
1815
|
+
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate || $guard(_exceptionable, {
|
|
1816
|
+
path: _path + ".graphicBaseTemplate",
|
|
1817
|
+
expected: "(string | undefined)",
|
|
1818
|
+
value: input.graphicBaseTemplate
|
|
1819
|
+
}, errorFactory);
|
|
1820
|
+
const $ao18 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
1758
1821
|
path: _path + ".eventThumbnails",
|
|
1759
1822
|
expected: "(boolean | undefined)",
|
|
1760
1823
|
value: input.eventThumbnails
|
|
1761
1824
|
}, errorFactory);
|
|
1762
|
-
const $
|
|
1825
|
+
const $ao19 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
1763
1826
|
path: _path + ".dimOnBlur",
|
|
1764
1827
|
expected: "(boolean | undefined)",
|
|
1765
1828
|
value: input.dimOnBlur
|
|
1766
1829
|
}, errorFactory);
|
|
1767
|
-
const $
|
|
1830
|
+
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
1768
1831
|
path: _path + ".guide",
|
|
1769
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1832
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
1770
1833
|
value: input.guide
|
|
1771
|
-
}, errorFactory)) && $
|
|
1834
|
+
}, errorFactory)) && $ao21(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
1772
1835
|
path: _path + ".guide",
|
|
1773
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1836
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
1774
1837
|
value: input.guide
|
|
1775
1838
|
}, errorFactory)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || $guard(_exceptionable, {
|
|
1776
1839
|
path: _path + ".stepManyFrames",
|
|
@@ -1786,11 +1849,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1786
1849
|
value: input.importTitleTemplate
|
|
1787
1850
|
}, errorFactory)) && (undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || $guard(_exceptionable, {
|
|
1788
1851
|
path: _path + ".tile",
|
|
1789
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1852
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
1790
1853
|
value: input.tile
|
|
1791
|
-
}, errorFactory)) && $
|
|
1854
|
+
}, errorFactory)) && $ao22(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
1792
1855
|
path: _path + ".tile",
|
|
1793
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1856
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
1794
1857
|
value: input.tile
|
|
1795
1858
|
}, errorFactory)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference || $guard(_exceptionable, {
|
|
1796
1859
|
path: _path + ".timecodeReference",
|
|
@@ -1826,11 +1889,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1826
1889
|
value: input.playbackRates
|
|
1827
1890
|
}, errorFactory)) && (undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || $guard(_exceptionable, {
|
|
1828
1891
|
path: _path + ".subtitles",
|
|
1829
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1892
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
1830
1893
|
value: input.subtitles
|
|
1831
|
-
}, errorFactory)) && $
|
|
1894
|
+
}, errorFactory)) && $ao23(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
1832
1895
|
path: _path + ".subtitles",
|
|
1833
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1896
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
1834
1897
|
value: input.subtitles
|
|
1835
1898
|
}, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
|
|
1836
1899
|
path: _path + ".subtitleTemplateId",
|
|
@@ -1848,7 +1911,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1848
1911
|
path: _path + ".guides[" + _index8 + "]",
|
|
1849
1912
|
expected: "__type",
|
|
1850
1913
|
value: elem
|
|
1851
|
-
}, errorFactory)) && $
|
|
1914
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1852
1915
|
path: _path + ".guides[" + _index8 + "]",
|
|
1853
1916
|
expected: "__type",
|
|
1854
1917
|
value: elem
|
|
@@ -1862,19 +1925,19 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1862
1925
|
value: input.download
|
|
1863
1926
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
1864
1927
|
path: _path + ".transcribe",
|
|
1865
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1928
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
1866
1929
|
value: input.transcribe
|
|
1867
|
-
}, errorFactory)) && $
|
|
1930
|
+
}, errorFactory)) && $ao25(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1868
1931
|
path: _path + ".transcribe",
|
|
1869
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1932
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
1870
1933
|
value: input.transcribe
|
|
1871
1934
|
}, errorFactory));
|
|
1872
|
-
const $
|
|
1935
|
+
const $ao21 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
1873
1936
|
path: _path + ".mask",
|
|
1874
1937
|
expected: "(boolean | undefined)",
|
|
1875
1938
|
value: input.mask
|
|
1876
1939
|
}, errorFactory);
|
|
1877
|
-
const $
|
|
1940
|
+
const $ao22 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
|
|
1878
1941
|
path: _path + ".preview",
|
|
1879
1942
|
expected: "(string | undefined)",
|
|
1880
1943
|
value: input.preview
|
|
@@ -1883,7 +1946,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1883
1946
|
expected: "(boolean | undefined)",
|
|
1884
1947
|
value: input.showRenderProgress
|
|
1885
1948
|
}, errorFactory));
|
|
1886
|
-
const $
|
|
1949
|
+
const $ao23 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing || $guard(_exceptionable, {
|
|
1887
1950
|
path: _path + ".spacing",
|
|
1888
1951
|
expected: "(number | undefined)",
|
|
1889
1952
|
value: input.spacing
|
|
@@ -1892,7 +1955,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1892
1955
|
expected: "(number | undefined)",
|
|
1893
1956
|
value: input.maxCharactersPerLine
|
|
1894
1957
|
}, errorFactory));
|
|
1895
|
-
const $
|
|
1958
|
+
const $ao24 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
1896
1959
|
path: _path + ".label",
|
|
1897
1960
|
expected: "string",
|
|
1898
1961
|
value: input.label
|
|
@@ -1901,29 +1964,29 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1901
1964
|
expected: "string",
|
|
1902
1965
|
value: input.aspectRatio
|
|
1903
1966
|
}, errorFactory));
|
|
1904
|
-
const $
|
|
1967
|
+
const $ao25 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
1905
1968
|
path: _path + ".subtitleDisclaimer",
|
|
1906
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1969
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
1907
1970
|
value: input.subtitleDisclaimer
|
|
1908
|
-
}, errorFactory)) && $
|
|
1971
|
+
}, errorFactory)) && $ao26(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
1909
1972
|
path: _path + ".subtitleDisclaimer",
|
|
1910
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1973
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
1911
1974
|
value: input.subtitleDisclaimer
|
|
1912
1975
|
}, errorFactory);
|
|
1913
|
-
const $
|
|
1976
|
+
const $ao26 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
1914
1977
|
path: _path + ".isUserConfigurable",
|
|
1915
1978
|
expected: "(boolean | undefined)",
|
|
1916
1979
|
value: input.isUserConfigurable
|
|
1917
1980
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
1918
1981
|
path: _path + ".defaultValue",
|
|
1919
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1982
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
1920
1983
|
value: input.defaultValue
|
|
1921
|
-
}, errorFactory)) && $
|
|
1984
|
+
}, errorFactory)) && $ao27(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
1922
1985
|
path: _path + ".defaultValue",
|
|
1923
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1986
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
1924
1987
|
value: input.defaultValue
|
|
1925
1988
|
}, errorFactory));
|
|
1926
|
-
const $
|
|
1989
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
1927
1990
|
path: _path + ".enabled",
|
|
1928
1991
|
expected: "(false | undefined)",
|
|
1929
1992
|
value: input.enabled
|
|
@@ -1935,7 +1998,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1935
1998
|
path: _path + ".text[" + _index9 + "]",
|
|
1936
1999
|
expected: "__type.o1",
|
|
1937
2000
|
value: elem
|
|
1938
|
-
}, errorFactory)) && $
|
|
2001
|
+
}, errorFactory)) && $ao28(elem, _path + ".text[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1939
2002
|
path: _path + ".text[" + _index9 + "]",
|
|
1940
2003
|
expected: "__type.o1",
|
|
1941
2004
|
value: elem
|
|
@@ -1952,7 +2015,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1952
2015
|
expected: "(number | undefined)",
|
|
1953
2016
|
value: input.duration
|
|
1954
2017
|
}, errorFactory));
|
|
1955
|
-
const $
|
|
2018
|
+
const $ao28 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
1956
2019
|
path: _path + ".language",
|
|
1957
2020
|
expected: "string",
|
|
1958
2021
|
value: input.language
|
|
@@ -1961,50 +2024,50 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1961
2024
|
expected: "string",
|
|
1962
2025
|
value: input.value
|
|
1963
2026
|
}, errorFactory));
|
|
1964
|
-
const $
|
|
2027
|
+
const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
1965
2028
|
path: _path + ".assets",
|
|
1966
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2029
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
1967
2030
|
value: input.assets
|
|
1968
|
-
}, errorFactory)) && $
|
|
2031
|
+
}, errorFactory)) && $ao30(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
1969
2032
|
path: _path + ".assets",
|
|
1970
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2033
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
1971
2034
|
value: input.assets
|
|
1972
2035
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
1973
2036
|
path: _path + ".pipeline",
|
|
1974
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2037
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
1975
2038
|
value: input.pipeline
|
|
1976
|
-
}, errorFactory)) && $
|
|
2039
|
+
}, errorFactory)) && $ao33(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
1977
2040
|
path: _path + ".pipeline",
|
|
1978
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2041
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
1979
2042
|
value: input.pipeline
|
|
1980
2043
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
1981
2044
|
path: _path + ".item",
|
|
1982
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2045
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
1983
2046
|
value: input.item
|
|
1984
|
-
}, errorFactory)) && $
|
|
2047
|
+
}, errorFactory)) && $ao35(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
1985
2048
|
path: _path + ".item",
|
|
1986
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2049
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
1987
2050
|
value: input.item
|
|
1988
2051
|
}, errorFactory));
|
|
1989
|
-
const $
|
|
2052
|
+
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
1990
2053
|
path: _path + ".story",
|
|
1991
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2054
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
1992
2055
|
value: input.story
|
|
1993
|
-
}, errorFactory)) && $
|
|
2056
|
+
}, errorFactory)) && $ao31(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
1994
2057
|
path: _path + ".story",
|
|
1995
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2058
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
1996
2059
|
value: input.story
|
|
1997
2060
|
}, errorFactory);
|
|
1998
|
-
const $
|
|
2061
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
1999
2062
|
path: _path + ".excerpt",
|
|
2000
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2063
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2001
2064
|
value: input.excerpt
|
|
2002
|
-
}, errorFactory)) && $
|
|
2065
|
+
}, errorFactory)) && $ao32(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2003
2066
|
path: _path + ".excerpt",
|
|
2004
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2067
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2005
2068
|
value: input.excerpt
|
|
2006
2069
|
}, errorFactory);
|
|
2007
|
-
const $
|
|
2070
|
+
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
2008
2071
|
path: _path + ".maxLines",
|
|
2009
2072
|
expected: "(number | undefined)",
|
|
2010
2073
|
value: input.maxLines
|
|
@@ -2013,40 +2076,40 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2013
2076
|
expected: "(string | undefined)",
|
|
2014
2077
|
value: input.mode
|
|
2015
2078
|
}, errorFactory));
|
|
2016
|
-
const $
|
|
2079
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2017
2080
|
path: _path + ".search",
|
|
2018
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2081
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2019
2082
|
value: input.search
|
|
2020
|
-
}, errorFactory)) && $
|
|
2083
|
+
}, errorFactory)) && $ao34(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2021
2084
|
path: _path + ".search",
|
|
2022
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2085
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2023
2086
|
value: input.search
|
|
2024
2087
|
}, errorFactory);
|
|
2025
|
-
const $
|
|
2088
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
2026
2089
|
path: _path + ".maxItemsDisplayed",
|
|
2027
2090
|
expected: "(number | undefined)",
|
|
2028
2091
|
value: input.maxItemsDisplayed
|
|
2029
2092
|
}, errorFactory);
|
|
2030
|
-
const $
|
|
2093
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2031
2094
|
path: _path + ".maxHeight",
|
|
2032
2095
|
expected: "(number | undefined)",
|
|
2033
2096
|
value: input.maxHeight
|
|
2034
2097
|
}, errorFactory);
|
|
2035
|
-
const $
|
|
2098
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
2036
2099
|
path: _path + ".adobe",
|
|
2037
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2100
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2038
2101
|
value: input.adobe
|
|
2039
|
-
}, errorFactory)) && $
|
|
2102
|
+
}, errorFactory)) && $ao37(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2040
2103
|
path: _path + ".adobe",
|
|
2041
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2104
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2042
2105
|
value: input.adobe
|
|
2043
2106
|
}, errorFactory);
|
|
2044
|
-
const $
|
|
2107
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2045
2108
|
path: _path + ".useProxies",
|
|
2046
2109
|
expected: "(boolean | undefined)",
|
|
2047
2110
|
value: input.useProxies
|
|
2048
2111
|
}, errorFactory);
|
|
2049
|
-
const $
|
|
2112
|
+
const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2050
2113
|
path: _path + ".utils",
|
|
2051
2114
|
expected: "(boolean | undefined)",
|
|
2052
2115
|
value: input.utils
|
|
@@ -2133,35 +2196,36 @@ export const stringifySettingsRecord = input => {
|
|
|
2133
2196
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2134
2197
|
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2135
2198
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
2136
|
-
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
2199
|
+
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
2137
2200
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
2138
2201
|
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
2139
2202
|
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
2140
2203
|
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
2141
|
-
const $io17 = input => undefined === input.
|
|
2142
|
-
const $io18 = input => undefined === input.
|
|
2143
|
-
const $io19 = input =>
|
|
2144
|
-
const $io20 = input => undefined === input.
|
|
2145
|
-
const $io21 = input =>
|
|
2146
|
-
const $io22 = input => (undefined === input.
|
|
2147
|
-
const $io23 = input => "
|
|
2148
|
-
const $io24 = input =>
|
|
2149
|
-
const $io25 = input =>
|
|
2150
|
-
const $io26 = input => (undefined === input.
|
|
2151
|
-
const $io27 = input => "
|
|
2152
|
-
const $io28 = input =>
|
|
2153
|
-
const $io29 = input => undefined === input.
|
|
2154
|
-
const $io30 = input => undefined === input.
|
|
2155
|
-
const $io31 = input =>
|
|
2156
|
-
const $io32 = input => undefined === input.
|
|
2157
|
-
const $io33 = input => undefined === input.
|
|
2158
|
-
const $io34 = input => undefined === input.
|
|
2159
|
-
const $io35 = input => undefined === input.
|
|
2160
|
-
const $io36 = input => undefined === input.
|
|
2161
|
-
const $io37 = input =>
|
|
2204
|
+
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
2205
|
+
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2206
|
+
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2207
|
+
const $io20 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
2208
|
+
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2209
|
+
const $io22 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2210
|
+
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
2211
|
+
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2212
|
+
const $io25 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io26(input.subtitleDisclaimer);
|
|
2213
|
+
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
2214
|
+
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
2215
|
+
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2216
|
+
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io30(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io33(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io35(input.item));
|
|
2217
|
+
const $io30 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io31(input.story);
|
|
2218
|
+
const $io31 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io32(input.excerpt);
|
|
2219
|
+
const $io32 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2220
|
+
const $io33 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io34(input.search);
|
|
2221
|
+
const $io34 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
2222
|
+
const $io35 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2223
|
+
const $io36 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io37(input.adobe);
|
|
2224
|
+
const $io37 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2225
|
+
const $io38 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
2162
2226
|
const $string = __typia.json.createStringify.string;
|
|
2163
2227
|
const $tail = __typia.json.createStringify.tail;
|
|
2164
|
-
const $so0 = input => `{${$tail(`${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $
|
|
2228
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so29(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so36(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so38(input.flags) : undefined}`}`)}}`;
|
|
2165
2229
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
2166
2230
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
2167
2231
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -2175,35 +2239,36 @@ export const stringifySettingsRecord = input => {
|
|
|
2175
2239
|
const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2176
2240
|
const $so10 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2177
2241
|
const $so11 = input => `{${$tail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined}`}`)}}`;
|
|
2178
|
-
const $so12 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined}`}`)}}`;
|
|
2242
|
+
const $so12 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined},`}${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined}`}`)}}`;
|
|
2179
2243
|
const $so13 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
|
|
2180
2244
|
const $so14 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so15(input.createMenu) : undefined},`}${undefined === input.colorTags ? "" : `"colorTags":${undefined !== input.colorTags ? `[${input.colorTags.map(elem => $so16(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2181
2245
|
const $so15 = input => `{${$tail(`${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`;
|
|
2182
2246
|
const $so16 = input => `{"name":${null !== input.name ? $string(input.name) : "null"},"icon":${null !== input.icon ? $string(input.icon) : "null"},"color":${null !== input.color ? $string(input.color) : "null"},"description":${null !== input.description ? $string(input.description) : "null"}}`;
|
|
2183
|
-
const $so17 = input => `{${$tail(`${undefined === input.
|
|
2184
|
-
const $so18 = input => `{${$tail(`${undefined === input.
|
|
2185
|
-
const $so19 = input => `{${$tail(`${undefined === input.
|
|
2186
|
-
const $so20 = input => `{${$tail(`${undefined === input.
|
|
2187
|
-
const $so21 = input => `{${$tail(`${undefined === input.
|
|
2188
|
-
const $so22 = input => `{${$tail(`${undefined === input.
|
|
2189
|
-
const $
|
|
2190
|
-
const $so25 = input => `{${$tail(`${undefined === input.
|
|
2191
|
-
const $so26 = input => `{${$tail(`${undefined === input.
|
|
2192
|
-
const $
|
|
2193
|
-
const $so29 = input => `{${$tail(`${undefined === input.
|
|
2194
|
-
const $so30 = input => `{${$tail(`${undefined === input.
|
|
2195
|
-
const $so31 = input => `{${$tail(`${undefined === input.
|
|
2196
|
-
const $so32 = input => `{${$tail(`${undefined === input.
|
|
2197
|
-
const $so33 = input => `{${$tail(`${undefined === input.
|
|
2198
|
-
const $so34 = input => `{${$tail(`${undefined === input.
|
|
2199
|
-
const $so35 = input => `{${$tail(`${undefined === input.
|
|
2200
|
-
const $so36 = input => `{${$tail(`${undefined === input.
|
|
2201
|
-
const $so37 = input => `{${$tail(`${undefined === input.
|
|
2247
|
+
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
2248
|
+
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
2249
|
+
const $so19 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
2250
|
+
const $so20 = input => `{${$tail(`${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so25(input.transcribe) : undefined}`}`)}}`;
|
|
2251
|
+
const $so21 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
2252
|
+
const $so22 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? $string(input.preview) : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
2253
|
+
const $so23 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
|
|
2254
|
+
const $so25 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so26(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
2255
|
+
const $so26 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so27(input.defaultValue) : undefined}`}`)}}`;
|
|
2256
|
+
const $so27 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => `{"language":${$string(elem.language)},"value":${$string(elem.value)}}`).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`;
|
|
2257
|
+
const $so29 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so30(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so33(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so35(input.item) : undefined}`}`)}}`;
|
|
2258
|
+
const $so30 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so31(input.story) : undefined}`}`)}}`;
|
|
2259
|
+
const $so31 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so32(input.excerpt) : undefined}`}`)}}`;
|
|
2260
|
+
const $so32 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
2261
|
+
const $so33 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so34(input.search) : undefined}`}`)}}`;
|
|
2262
|
+
const $so34 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
2263
|
+
const $so35 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
2264
|
+
const $so36 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so37(input.adobe) : undefined}`}`)}}`;
|
|
2265
|
+
const $so37 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
2266
|
+
const $so38 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined}`}`)}}`;
|
|
2202
2267
|
return $so0(input);
|
|
2203
2268
|
};
|
|
2204
2269
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
2205
2270
|
const __is = input => {
|
|
2206
|
-
const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $
|
|
2271
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io36(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io38(input.flags));
|
|
2207
2272
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
2208
2273
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
2209
2274
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -2222,39 +2287,44 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2222
2287
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2223
2288
|
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2224
2289
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
2225
|
-
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
2290
|
+
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
2226
2291
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru && !Number.isNaN(input.maxMru)) && (undefined === input.maxTabs || "number" === typeof input.maxTabs && !Number.isNaN(input.maxTabs));
|
|
2227
2292
|
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
2228
2293
|
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
2229
2294
|
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
2230
|
-
const $io17 = input => undefined === input.
|
|
2231
|
-
const $io18 = input => undefined === input.
|
|
2232
|
-
const $io19 = input =>
|
|
2233
|
-
const $io20 = input => undefined === input.
|
|
2234
|
-
const $io21 = input =>
|
|
2235
|
-
const $io22 = input => (undefined === input.
|
|
2236
|
-
const $io23 = input => "
|
|
2237
|
-
const $io24 = input =>
|
|
2238
|
-
const $io25 = input =>
|
|
2239
|
-
const $io26 = input => (undefined === input.
|
|
2240
|
-
const $io27 = input => "
|
|
2241
|
-
const $io28 = input =>
|
|
2242
|
-
const $io29 = input => undefined === input.
|
|
2243
|
-
const $io30 = input => undefined === input.
|
|
2244
|
-
const $io31 = input =>
|
|
2245
|
-
const $io32 = input => undefined === input.
|
|
2246
|
-
const $io33 = input => undefined === input.
|
|
2247
|
-
const $io34 = input => undefined === input.
|
|
2248
|
-
const $io35 = input => undefined === input.
|
|
2249
|
-
const $io36 = input => undefined === input.
|
|
2250
|
-
const $io37 = input =>
|
|
2295
|
+
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
2296
|
+
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2297
|
+
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2298
|
+
const $io20 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
2299
|
+
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2300
|
+
const $io22 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2301
|
+
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine));
|
|
2302
|
+
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2303
|
+
const $io25 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io26(input.subtitleDisclaimer);
|
|
2304
|
+
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
2305
|
+
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
|
|
2306
|
+
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2307
|
+
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io30(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io33(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io35(input.item));
|
|
2308
|
+
const $io30 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io31(input.story);
|
|
2309
|
+
const $io31 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io32(input.excerpt);
|
|
2310
|
+
const $io32 = input => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines)) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2311
|
+
const $io33 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io34(input.search);
|
|
2312
|
+
const $io34 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed);
|
|
2313
|
+
const $io35 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
2314
|
+
const $io36 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io37(input.adobe);
|
|
2315
|
+
const $io37 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2316
|
+
const $io38 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
2251
2317
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2252
2318
|
};
|
|
2253
2319
|
if (false === __is(input))
|
|
2254
2320
|
((input, _path, _exceptionable = true) => {
|
|
2255
2321
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
2256
2322
|
const $join = __typia.json.createAssertStringify.join;
|
|
2257
|
-
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
2323
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime) || $guard(_exceptionable, {
|
|
2324
|
+
path: _path + ".autoLogoutTime",
|
|
2325
|
+
expected: "(number | undefined)",
|
|
2326
|
+
value: input.autoLogoutTime
|
|
2327
|
+
}, errorFactory)) && (undefined === input.permission || ("object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) || $guard(_exceptionable, {
|
|
2258
2328
|
path: _path + ".permission",
|
|
2259
2329
|
expected: "(PartialObjectDeep<__type, __type> | undefined)",
|
|
2260
2330
|
value: input.permission
|
|
@@ -2334,21 +2404,29 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2334
2404
|
path: _path + ".script",
|
|
2335
2405
|
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
2336
2406
|
value: input.script
|
|
2407
|
+
}, errorFactory)) && (undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
2408
|
+
path: _path + ".events",
|
|
2409
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
2410
|
+
value: input.events
|
|
2411
|
+
}, errorFactory)) && $ao17(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
2412
|
+
path: _path + ".events",
|
|
2413
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
2414
|
+
value: input.events
|
|
2337
2415
|
}, errorFactory)) && (undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || $guard(_exceptionable, {
|
|
2338
2416
|
path: _path + ".rundown",
|
|
2339
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2417
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
2340
2418
|
value: input.rundown
|
|
2341
|
-
}, errorFactory)) && $
|
|
2419
|
+
}, errorFactory)) && $ao18(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
2342
2420
|
path: _path + ".rundown",
|
|
2343
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2421
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
2344
2422
|
value: input.rundown
|
|
2345
2423
|
}, errorFactory)) && (undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || $guard(_exceptionable, {
|
|
2346
2424
|
path: _path + ".gallery",
|
|
2347
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2425
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
2348
2426
|
value: input.gallery
|
|
2349
|
-
}, errorFactory)) && $
|
|
2427
|
+
}, errorFactory)) && $ao19(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
2350
2428
|
path: _path + ".gallery",
|
|
2351
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2429
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
2352
2430
|
value: input.gallery
|
|
2353
2431
|
}, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
|
|
2354
2432
|
path: _path + ".history",
|
|
@@ -2356,11 +2434,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2356
2434
|
value: input.history
|
|
2357
2435
|
}, errorFactory)) && true && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || $guard(_exceptionable, {
|
|
2358
2436
|
path: _path + ".media",
|
|
2359
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2437
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
2360
2438
|
value: input.media
|
|
2361
|
-
}, errorFactory)) && $
|
|
2439
|
+
}, errorFactory)) && $ao20(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
2362
2440
|
path: _path + ".media",
|
|
2363
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2441
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
2364
2442
|
value: input.media
|
|
2365
2443
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
2366
2444
|
path: _path + ".predefinedTags",
|
|
@@ -2376,19 +2454,19 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2376
2454
|
value: input.predefinedTags
|
|
2377
2455
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
2378
2456
|
path: _path + ".storyboard",
|
|
2379
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2457
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2380
2458
|
value: input.storyboard
|
|
2381
|
-
}, errorFactory)) && $
|
|
2459
|
+
}, errorFactory)) && $ao29(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
2382
2460
|
path: _path + ".storyboard",
|
|
2383
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2461
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2384
2462
|
value: input.storyboard
|
|
2385
2463
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
2386
2464
|
path: _path + ".plugins",
|
|
2387
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2465
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2388
2466
|
value: input.plugins
|
|
2389
|
-
}, errorFactory)) && $
|
|
2467
|
+
}, errorFactory)) && $ao36(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
2390
2468
|
path: _path + ".plugins",
|
|
2391
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2469
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2392
2470
|
value: input.plugins
|
|
2393
2471
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
2394
2472
|
path: _path + ".crashScreen",
|
|
@@ -2400,11 +2478,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2400
2478
|
value: input.debug
|
|
2401
2479
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
2402
2480
|
path: _path + ".flags",
|
|
2403
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2481
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2404
2482
|
value: input.flags
|
|
2405
|
-
}, errorFactory)) && $
|
|
2483
|
+
}, errorFactory)) && $ao38(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2406
2484
|
path: _path + ".flags",
|
|
2407
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2485
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2408
2486
|
value: input.flags
|
|
2409
2487
|
}, errorFactory));
|
|
2410
2488
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -2553,11 +2631,15 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2553
2631
|
expected: "(string | undefined)",
|
|
2554
2632
|
value: input.format
|
|
2555
2633
|
}, errorFactory));
|
|
2556
|
-
const $ao12 = (input, _path, _exceptionable = true) => undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
2634
|
+
const $ao12 = (input, _path, _exceptionable = true) => (undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
2557
2635
|
path: _path + ".color",
|
|
2558
2636
|
expected: "(string | undefined)",
|
|
2559
2637
|
value: input.color
|
|
2560
|
-
}, errorFactory)
|
|
2638
|
+
}, errorFactory)) && (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
2639
|
+
path: _path + ".name",
|
|
2640
|
+
expected: "(string | undefined)",
|
|
2641
|
+
value: input.name
|
|
2642
|
+
}, errorFactory));
|
|
2561
2643
|
const $ao13 = (input, _path, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru && !Number.isNaN(input.maxMru) || $guard(_exceptionable, {
|
|
2562
2644
|
path: _path + ".maxMru",
|
|
2563
2645
|
expected: "(number | undefined)",
|
|
@@ -2614,23 +2696,28 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2614
2696
|
expected: "(null | string)",
|
|
2615
2697
|
value: input.description
|
|
2616
2698
|
}, errorFactory));
|
|
2617
|
-
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.
|
|
2699
|
+
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate || $guard(_exceptionable, {
|
|
2700
|
+
path: _path + ".graphicBaseTemplate",
|
|
2701
|
+
expected: "(string | undefined)",
|
|
2702
|
+
value: input.graphicBaseTemplate
|
|
2703
|
+
}, errorFactory);
|
|
2704
|
+
const $ao18 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
2618
2705
|
path: _path + ".eventThumbnails",
|
|
2619
2706
|
expected: "(boolean | undefined)",
|
|
2620
2707
|
value: input.eventThumbnails
|
|
2621
2708
|
}, errorFactory);
|
|
2622
|
-
const $
|
|
2709
|
+
const $ao19 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
2623
2710
|
path: _path + ".dimOnBlur",
|
|
2624
2711
|
expected: "(boolean | undefined)",
|
|
2625
2712
|
value: input.dimOnBlur
|
|
2626
2713
|
}, errorFactory);
|
|
2627
|
-
const $
|
|
2714
|
+
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
2628
2715
|
path: _path + ".guide",
|
|
2629
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2716
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
2630
2717
|
value: input.guide
|
|
2631
|
-
}, errorFactory)) && $
|
|
2718
|
+
}, errorFactory)) && $ao21(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
2632
2719
|
path: _path + ".guide",
|
|
2633
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2720
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
2634
2721
|
value: input.guide
|
|
2635
2722
|
}, errorFactory)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames) || $guard(_exceptionable, {
|
|
2636
2723
|
path: _path + ".stepManyFrames",
|
|
@@ -2646,11 +2733,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2646
2733
|
value: input.importTitleTemplate
|
|
2647
2734
|
}, errorFactory)) && (undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || $guard(_exceptionable, {
|
|
2648
2735
|
path: _path + ".tile",
|
|
2649
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2736
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
2650
2737
|
value: input.tile
|
|
2651
|
-
}, errorFactory)) && $
|
|
2738
|
+
}, errorFactory)) && $ao22(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
2652
2739
|
path: _path + ".tile",
|
|
2653
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2740
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
2654
2741
|
value: input.tile
|
|
2655
2742
|
}, errorFactory)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference || $guard(_exceptionable, {
|
|
2656
2743
|
path: _path + ".timecodeReference",
|
|
@@ -2686,11 +2773,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2686
2773
|
value: input.playbackRates
|
|
2687
2774
|
}, errorFactory)) && (undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || $guard(_exceptionable, {
|
|
2688
2775
|
path: _path + ".subtitles",
|
|
2689
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2776
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
2690
2777
|
value: input.subtitles
|
|
2691
|
-
}, errorFactory)) && $
|
|
2778
|
+
}, errorFactory)) && $ao23(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
2692
2779
|
path: _path + ".subtitles",
|
|
2693
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2780
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
2694
2781
|
value: input.subtitles
|
|
2695
2782
|
}, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
|
|
2696
2783
|
path: _path + ".subtitleTemplateId",
|
|
@@ -2708,7 +2795,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2708
2795
|
path: _path + ".guides[" + _index8 + "]",
|
|
2709
2796
|
expected: "__type",
|
|
2710
2797
|
value: elem
|
|
2711
|
-
}, errorFactory)) && $
|
|
2798
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2712
2799
|
path: _path + ".guides[" + _index8 + "]",
|
|
2713
2800
|
expected: "__type",
|
|
2714
2801
|
value: elem
|
|
@@ -2722,19 +2809,19 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2722
2809
|
value: input.download
|
|
2723
2810
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
2724
2811
|
path: _path + ".transcribe",
|
|
2725
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2812
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2726
2813
|
value: input.transcribe
|
|
2727
|
-
}, errorFactory)) && $
|
|
2814
|
+
}, errorFactory)) && $ao25(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2728
2815
|
path: _path + ".transcribe",
|
|
2729
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2816
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2730
2817
|
value: input.transcribe
|
|
2731
2818
|
}, errorFactory));
|
|
2732
|
-
const $
|
|
2819
|
+
const $ao21 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
2733
2820
|
path: _path + ".mask",
|
|
2734
2821
|
expected: "(boolean | undefined)",
|
|
2735
2822
|
value: input.mask
|
|
2736
2823
|
}, errorFactory);
|
|
2737
|
-
const $
|
|
2824
|
+
const $ao22 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
|
|
2738
2825
|
path: _path + ".preview",
|
|
2739
2826
|
expected: "(string | undefined)",
|
|
2740
2827
|
value: input.preview
|
|
@@ -2743,7 +2830,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2743
2830
|
expected: "(boolean | undefined)",
|
|
2744
2831
|
value: input.showRenderProgress
|
|
2745
2832
|
}, errorFactory));
|
|
2746
|
-
const $
|
|
2833
|
+
const $ao23 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing) || $guard(_exceptionable, {
|
|
2747
2834
|
path: _path + ".spacing",
|
|
2748
2835
|
expected: "(number | undefined)",
|
|
2749
2836
|
value: input.spacing
|
|
@@ -2752,7 +2839,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2752
2839
|
expected: "(number | undefined)",
|
|
2753
2840
|
value: input.maxCharactersPerLine
|
|
2754
2841
|
}, errorFactory));
|
|
2755
|
-
const $
|
|
2842
|
+
const $ao24 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
2756
2843
|
path: _path + ".label",
|
|
2757
2844
|
expected: "string",
|
|
2758
2845
|
value: input.label
|
|
@@ -2761,29 +2848,29 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2761
2848
|
expected: "string",
|
|
2762
2849
|
value: input.aspectRatio
|
|
2763
2850
|
}, errorFactory));
|
|
2764
|
-
const $
|
|
2851
|
+
const $ao25 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
2765
2852
|
path: _path + ".subtitleDisclaimer",
|
|
2766
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2853
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2767
2854
|
value: input.subtitleDisclaimer
|
|
2768
|
-
}, errorFactory)) && $
|
|
2855
|
+
}, errorFactory)) && $ao26(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
2769
2856
|
path: _path + ".subtitleDisclaimer",
|
|
2770
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2857
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2771
2858
|
value: input.subtitleDisclaimer
|
|
2772
2859
|
}, errorFactory);
|
|
2773
|
-
const $
|
|
2860
|
+
const $ao26 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
2774
2861
|
path: _path + ".isUserConfigurable",
|
|
2775
2862
|
expected: "(boolean | undefined)",
|
|
2776
2863
|
value: input.isUserConfigurable
|
|
2777
2864
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
2778
2865
|
path: _path + ".defaultValue",
|
|
2779
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2866
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2780
2867
|
value: input.defaultValue
|
|
2781
|
-
}, errorFactory)) && $
|
|
2868
|
+
}, errorFactory)) && $ao27(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
2782
2869
|
path: _path + ".defaultValue",
|
|
2783
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2870
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2784
2871
|
value: input.defaultValue
|
|
2785
2872
|
}, errorFactory));
|
|
2786
|
-
const $
|
|
2873
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
2787
2874
|
path: _path + ".enabled",
|
|
2788
2875
|
expected: "(false | undefined)",
|
|
2789
2876
|
value: input.enabled
|
|
@@ -2795,7 +2882,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2795
2882
|
path: _path + ".text[" + _index9 + "]",
|
|
2796
2883
|
expected: "__type.o1",
|
|
2797
2884
|
value: elem
|
|
2798
|
-
}, errorFactory)) && $
|
|
2885
|
+
}, errorFactory)) && $ao28(elem, _path + ".text[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2799
2886
|
path: _path + ".text[" + _index9 + "]",
|
|
2800
2887
|
expected: "__type.o1",
|
|
2801
2888
|
value: elem
|
|
@@ -2812,7 +2899,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2812
2899
|
expected: "(number | undefined)",
|
|
2813
2900
|
value: input.duration
|
|
2814
2901
|
}, errorFactory));
|
|
2815
|
-
const $
|
|
2902
|
+
const $ao28 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
2816
2903
|
path: _path + ".language",
|
|
2817
2904
|
expected: "string",
|
|
2818
2905
|
value: input.language
|
|
@@ -2821,50 +2908,50 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2821
2908
|
expected: "string",
|
|
2822
2909
|
value: input.value
|
|
2823
2910
|
}, errorFactory));
|
|
2824
|
-
const $
|
|
2911
|
+
const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
2825
2912
|
path: _path + ".assets",
|
|
2826
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2913
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
2827
2914
|
value: input.assets
|
|
2828
|
-
}, errorFactory)) && $
|
|
2915
|
+
}, errorFactory)) && $ao30(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2829
2916
|
path: _path + ".assets",
|
|
2830
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2917
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
2831
2918
|
value: input.assets
|
|
2832
2919
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
2833
2920
|
path: _path + ".pipeline",
|
|
2834
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2921
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2835
2922
|
value: input.pipeline
|
|
2836
|
-
}, errorFactory)) && $
|
|
2923
|
+
}, errorFactory)) && $ao33(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2837
2924
|
path: _path + ".pipeline",
|
|
2838
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2925
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2839
2926
|
value: input.pipeline
|
|
2840
2927
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
2841
2928
|
path: _path + ".item",
|
|
2842
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2929
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2843
2930
|
value: input.item
|
|
2844
|
-
}, errorFactory)) && $
|
|
2931
|
+
}, errorFactory)) && $ao35(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2845
2932
|
path: _path + ".item",
|
|
2846
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2933
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2847
2934
|
value: input.item
|
|
2848
2935
|
}, errorFactory));
|
|
2849
|
-
const $
|
|
2936
|
+
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
2850
2937
|
path: _path + ".story",
|
|
2851
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2938
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2852
2939
|
value: input.story
|
|
2853
|
-
}, errorFactory)) && $
|
|
2940
|
+
}, errorFactory)) && $ao31(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2854
2941
|
path: _path + ".story",
|
|
2855
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2942
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2856
2943
|
value: input.story
|
|
2857
2944
|
}, errorFactory);
|
|
2858
|
-
const $
|
|
2945
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
2859
2946
|
path: _path + ".excerpt",
|
|
2860
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2947
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2861
2948
|
value: input.excerpt
|
|
2862
|
-
}, errorFactory)) && $
|
|
2949
|
+
}, errorFactory)) && $ao32(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2863
2950
|
path: _path + ".excerpt",
|
|
2864
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2951
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2865
2952
|
value: input.excerpt
|
|
2866
2953
|
}, errorFactory);
|
|
2867
|
-
const $
|
|
2954
|
+
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
2868
2955
|
path: _path + ".maxLines",
|
|
2869
2956
|
expected: "(number | undefined)",
|
|
2870
2957
|
value: input.maxLines
|
|
@@ -2873,40 +2960,40 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2873
2960
|
expected: "(string | undefined)",
|
|
2874
2961
|
value: input.mode
|
|
2875
2962
|
}, errorFactory));
|
|
2876
|
-
const $
|
|
2963
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2877
2964
|
path: _path + ".search",
|
|
2878
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2965
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2879
2966
|
value: input.search
|
|
2880
|
-
}, errorFactory)) && $
|
|
2967
|
+
}, errorFactory)) && $ao34(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2881
2968
|
path: _path + ".search",
|
|
2882
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2969
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2883
2970
|
value: input.search
|
|
2884
2971
|
}, errorFactory);
|
|
2885
|
-
const $
|
|
2972
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
2886
2973
|
path: _path + ".maxItemsDisplayed",
|
|
2887
2974
|
expected: "(number | undefined)",
|
|
2888
2975
|
value: input.maxItemsDisplayed
|
|
2889
2976
|
}, errorFactory);
|
|
2890
|
-
const $
|
|
2977
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
2891
2978
|
path: _path + ".maxHeight",
|
|
2892
2979
|
expected: "(number | undefined)",
|
|
2893
2980
|
value: input.maxHeight
|
|
2894
2981
|
}, errorFactory);
|
|
2895
|
-
const $
|
|
2982
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
2896
2983
|
path: _path + ".adobe",
|
|
2897
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2984
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2898
2985
|
value: input.adobe
|
|
2899
|
-
}, errorFactory)) && $
|
|
2986
|
+
}, errorFactory)) && $ao37(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2900
2987
|
path: _path + ".adobe",
|
|
2901
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2988
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2902
2989
|
value: input.adobe
|
|
2903
2990
|
}, errorFactory);
|
|
2904
|
-
const $
|
|
2991
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2905
2992
|
path: _path + ".useProxies",
|
|
2906
2993
|
expected: "(boolean | undefined)",
|
|
2907
2994
|
value: input.useProxies
|
|
2908
2995
|
}, errorFactory);
|
|
2909
|
-
const $
|
|
2996
|
+
const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2910
2997
|
path: _path + ".utils",
|
|
2911
2998
|
expected: "(boolean | undefined)",
|
|
2912
2999
|
value: input.utils
|
|
@@ -2993,35 +3080,36 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2993
3080
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2994
3081
|
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2995
3082
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
2996
|
-
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
3083
|
+
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
2997
3084
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
2998
3085
|
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
2999
3086
|
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
3000
3087
|
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
3001
|
-
const $io17 = input => undefined === input.
|
|
3002
|
-
const $io18 = input => undefined === input.
|
|
3003
|
-
const $io19 = input =>
|
|
3004
|
-
const $io20 = input => undefined === input.
|
|
3005
|
-
const $io21 = input =>
|
|
3006
|
-
const $io22 = input => (undefined === input.
|
|
3007
|
-
const $io23 = input => "
|
|
3008
|
-
const $io24 = input =>
|
|
3009
|
-
const $io25 = input =>
|
|
3010
|
-
const $io26 = input => (undefined === input.
|
|
3011
|
-
const $io27 = input => "
|
|
3012
|
-
const $io28 = input =>
|
|
3013
|
-
const $io29 = input => undefined === input.
|
|
3014
|
-
const $io30 = input => undefined === input.
|
|
3015
|
-
const $io31 = input =>
|
|
3016
|
-
const $io32 = input => undefined === input.
|
|
3017
|
-
const $io33 = input => undefined === input.
|
|
3018
|
-
const $io34 = input => undefined === input.
|
|
3019
|
-
const $io35 = input => undefined === input.
|
|
3020
|
-
const $io36 = input => undefined === input.
|
|
3021
|
-
const $io37 = input =>
|
|
3088
|
+
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
3089
|
+
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
3090
|
+
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
3091
|
+
const $io20 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
3092
|
+
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
3093
|
+
const $io22 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
3094
|
+
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
3095
|
+
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
3096
|
+
const $io25 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io26(input.subtitleDisclaimer);
|
|
3097
|
+
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
3098
|
+
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
3099
|
+
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3100
|
+
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io30(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io33(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io35(input.item));
|
|
3101
|
+
const $io30 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io31(input.story);
|
|
3102
|
+
const $io31 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io32(input.excerpt);
|
|
3103
|
+
const $io32 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3104
|
+
const $io33 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io34(input.search);
|
|
3105
|
+
const $io34 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
3106
|
+
const $io35 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3107
|
+
const $io36 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io37(input.adobe);
|
|
3108
|
+
const $io37 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3109
|
+
const $io38 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
3022
3110
|
const $string = __typia.json.createAssertStringify.string;
|
|
3023
3111
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
3024
|
-
const $so0 = input => `{${$tail(`${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $
|
|
3112
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so29(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so36(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so38(input.flags) : undefined}`}`)}}`;
|
|
3025
3113
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
3026
3114
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
3027
3115
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -3035,29 +3123,30 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3035
3123
|
const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3036
3124
|
const $so10 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3037
3125
|
const $so11 = input => `{${$tail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined}`}`)}}`;
|
|
3038
|
-
const $so12 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined}`}`)}}`;
|
|
3126
|
+
const $so12 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined},`}${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined}`}`)}}`;
|
|
3039
3127
|
const $so13 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
|
|
3040
3128
|
const $so14 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so15(input.createMenu) : undefined},`}${undefined === input.colorTags ? "" : `"colorTags":${undefined !== input.colorTags ? `[${input.colorTags.map(elem => $so16(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3041
3129
|
const $so15 = input => `{${$tail(`${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`;
|
|
3042
3130
|
const $so16 = input => `{"name":${null !== input.name ? $string(input.name) : "null"},"icon":${null !== input.icon ? $string(input.icon) : "null"},"color":${null !== input.color ? $string(input.color) : "null"},"description":${null !== input.description ? $string(input.description) : "null"}}`;
|
|
3043
|
-
const $so17 = input => `{${$tail(`${undefined === input.
|
|
3044
|
-
const $so18 = input => `{${$tail(`${undefined === input.
|
|
3045
|
-
const $so19 = input => `{${$tail(`${undefined === input.
|
|
3046
|
-
const $so20 = input => `{${$tail(`${undefined === input.
|
|
3047
|
-
const $so21 = input => `{${$tail(`${undefined === input.
|
|
3048
|
-
const $so22 = input => `{${$tail(`${undefined === input.
|
|
3049
|
-
const $
|
|
3050
|
-
const $so25 = input => `{${$tail(`${undefined === input.
|
|
3051
|
-
const $so26 = input => `{${$tail(`${undefined === input.
|
|
3052
|
-
const $
|
|
3053
|
-
const $so29 = input => `{${$tail(`${undefined === input.
|
|
3054
|
-
const $so30 = input => `{${$tail(`${undefined === input.
|
|
3055
|
-
const $so31 = input => `{${$tail(`${undefined === input.
|
|
3056
|
-
const $so32 = input => `{${$tail(`${undefined === input.
|
|
3057
|
-
const $so33 = input => `{${$tail(`${undefined === input.
|
|
3058
|
-
const $so34 = input => `{${$tail(`${undefined === input.
|
|
3059
|
-
const $so35 = input => `{${$tail(`${undefined === input.
|
|
3060
|
-
const $so36 = input => `{${$tail(`${undefined === input.
|
|
3061
|
-
const $so37 = input => `{${$tail(`${undefined === input.
|
|
3131
|
+
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
3132
|
+
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
3133
|
+
const $so19 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
3134
|
+
const $so20 = input => `{${$tail(`${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so25(input.transcribe) : undefined}`}`)}}`;
|
|
3135
|
+
const $so21 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
3136
|
+
const $so22 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? $string(input.preview) : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
3137
|
+
const $so23 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
|
|
3138
|
+
const $so25 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so26(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
3139
|
+
const $so26 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so27(input.defaultValue) : undefined}`}`)}}`;
|
|
3140
|
+
const $so27 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => `{"language":${$string(elem.language)},"value":${$string(elem.value)}}`).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`;
|
|
3141
|
+
const $so29 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so30(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so33(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so35(input.item) : undefined}`}`)}}`;
|
|
3142
|
+
const $so30 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so31(input.story) : undefined}`}`)}}`;
|
|
3143
|
+
const $so31 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so32(input.excerpt) : undefined}`}`)}}`;
|
|
3144
|
+
const $so32 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
3145
|
+
const $so33 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so34(input.search) : undefined}`}`)}}`;
|
|
3146
|
+
const $so34 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
3147
|
+
const $so35 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3148
|
+
const $so36 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so37(input.adobe) : undefined}`}`)}}`;
|
|
3149
|
+
const $so37 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
3150
|
+
const $so38 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined}`}`)}}`;
|
|
3062
3151
|
return $so0(input);
|
|
3063
3152
|
}; return stringify(assert(input, errorFactory)); };
|