@nxtedition/types 1.2.8 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/settings.d.ts +11 -4
- package/dist/common/settings.js +467 -335
- package/dist/domains/asset.d.ts +10 -0
- package/dist/domains/asset.js +124 -0
- package/dist/domains/connection.d.ts +16 -1
- package/dist/domains/index.d.ts +3 -1
- package/dist/domains/index.js +1 -0
- package/dist/domains/planning.d.ts +33 -0
- package/dist/domains/planning.js +318 -0
- package/dist/domains/publish.d.ts +183 -23
- package/dist/domains/publish.js +598 -365
- package/dist/domains/settings.js +504 -375
- package/package.json +1 -1
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.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $
|
|
3
|
+
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io16(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io17(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) && $io18(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) && $io27(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io34(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) && $io36(input.flags));
|
|
4
4
|
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
5
5
|
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
6
6
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
@@ -20,34 +20,35 @@ export const isSettingsRecord = input => {
|
|
|
20
20
|
const $io10 = 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);
|
|
21
21
|
const $io11 = input => undefined === input.color || "string" === typeof input.color;
|
|
22
22
|
const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
23
|
-
const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
|
|
23
|
+
const $io13 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io15(elem)));
|
|
24
24
|
const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
25
|
-
const $io15 = input =>
|
|
26
|
-
const $io16 = input => undefined === input.
|
|
27
|
-
const $io17 = 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 =>
|
|
33
|
-
const $io23 = input =>
|
|
34
|
-
const $io24 = input => (undefined === input.
|
|
35
|
-
const $io25 = input => "
|
|
36
|
-
const $io26 = input =>
|
|
37
|
-
const $io27 = input => undefined === input.
|
|
38
|
-
const $io28 = input => undefined === input.
|
|
39
|
-
const $io29 = input =>
|
|
40
|
-
const $io30 = input => undefined === input.
|
|
41
|
-
const $io31 = input => undefined === input.
|
|
42
|
-
const $io32 = input => undefined === input.
|
|
43
|
-
const $io33 = input => undefined === input.
|
|
44
|
-
const $io34 = input => undefined === input.
|
|
45
|
-
const $io35 = input =>
|
|
25
|
+
const $io15 = 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);
|
|
26
|
+
const $io16 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
27
|
+
const $io17 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
28
|
+
const $io18 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io19(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) && $io20(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) && $io21(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 && $io22(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io23(input.transcribe));
|
|
29
|
+
const $io19 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
30
|
+
const $io20 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
31
|
+
const $io21 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
32
|
+
const $io22 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
33
|
+
const $io23 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io24(input.subtitleDisclaimer);
|
|
34
|
+
const $io24 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io25(input.defaultValue));
|
|
35
|
+
const $io25 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io26(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
36
|
+
const $io26 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
37
|
+
const $io27 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io28(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io31(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io33(input.item));
|
|
38
|
+
const $io28 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io29(input.story);
|
|
39
|
+
const $io29 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io30(input.excerpt);
|
|
40
|
+
const $io30 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
41
|
+
const $io31 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io32(input.search);
|
|
42
|
+
const $io32 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
43
|
+
const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
44
|
+
const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
|
|
45
|
+
const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
46
|
+
const $io36 = 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);
|
|
46
47
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
47
48
|
};
|
|
48
49
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
49
50
|
const __is = input => {
|
|
50
|
-
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $
|
|
51
|
+
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io16(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io17(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) && $io18(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) && $io27(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io34(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) && $io36(input.flags));
|
|
51
52
|
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
52
53
|
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
53
54
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
@@ -67,29 +68,30 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
67
68
|
const $io10 = 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);
|
|
68
69
|
const $io11 = input => undefined === input.color || "string" === typeof input.color;
|
|
69
70
|
const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
70
|
-
const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
|
|
71
|
+
const $io13 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io15(elem)));
|
|
71
72
|
const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
72
|
-
const $io15 = input =>
|
|
73
|
-
const $io16 = input => undefined === input.
|
|
74
|
-
const $io17 = input =>
|
|
75
|
-
const $io18 = input => undefined === input.
|
|
76
|
-
const $io19 = input =>
|
|
77
|
-
const $io20 = input => (undefined === input.
|
|
78
|
-
const $io21 = input => "
|
|
79
|
-
const $io22 = input =>
|
|
80
|
-
const $io23 = input =>
|
|
81
|
-
const $io24 = input => (undefined === input.
|
|
82
|
-
const $io25 = input => "
|
|
83
|
-
const $io26 = input =>
|
|
84
|
-
const $io27 = input => undefined === input.
|
|
85
|
-
const $io28 = input => undefined === input.
|
|
86
|
-
const $io29 = input =>
|
|
87
|
-
const $io30 = input => undefined === input.
|
|
88
|
-
const $io31 = input => undefined === input.
|
|
89
|
-
const $io32 = input => undefined === input.
|
|
90
|
-
const $io33 = input => undefined === input.
|
|
91
|
-
const $io34 = input => undefined === input.
|
|
92
|
-
const $io35 = input =>
|
|
73
|
+
const $io15 = 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);
|
|
74
|
+
const $io16 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
75
|
+
const $io17 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
76
|
+
const $io18 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io19(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) && $io20(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) && $io21(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 && $io22(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io23(input.transcribe));
|
|
77
|
+
const $io19 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
78
|
+
const $io20 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
79
|
+
const $io21 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
80
|
+
const $io22 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
81
|
+
const $io23 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io24(input.subtitleDisclaimer);
|
|
82
|
+
const $io24 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io25(input.defaultValue));
|
|
83
|
+
const $io25 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io26(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
84
|
+
const $io26 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
85
|
+
const $io27 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io28(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io31(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io33(input.item));
|
|
86
|
+
const $io28 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io29(input.story);
|
|
87
|
+
const $io29 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io30(input.excerpt);
|
|
88
|
+
const $io30 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
89
|
+
const $io31 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io32(input.search);
|
|
90
|
+
const $io32 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
91
|
+
const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
92
|
+
const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
|
|
93
|
+
const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
94
|
+
const $io36 = 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);
|
|
93
95
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
94
96
|
};
|
|
95
97
|
if (false === __is(input))
|
|
@@ -172,7 +174,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
172
174
|
path: _path + ".rundown",
|
|
173
175
|
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
174
176
|
value: input.rundown
|
|
175
|
-
}, errorFactory)) && $
|
|
177
|
+
}, errorFactory)) && $ao16(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
176
178
|
path: _path + ".rundown",
|
|
177
179
|
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
178
180
|
value: input.rundown
|
|
@@ -180,7 +182,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
180
182
|
path: _path + ".gallery",
|
|
181
183
|
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
182
184
|
value: input.gallery
|
|
183
|
-
}, errorFactory)) && $
|
|
185
|
+
}, errorFactory)) && $ao17(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
184
186
|
path: _path + ".gallery",
|
|
185
187
|
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
186
188
|
value: input.gallery
|
|
@@ -192,7 +194,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
192
194
|
path: _path + ".media",
|
|
193
195
|
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
194
196
|
value: input.media
|
|
195
|
-
}, errorFactory)) && $
|
|
197
|
+
}, errorFactory)) && $ao18(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
196
198
|
path: _path + ".media",
|
|
197
199
|
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
198
200
|
value: input.media
|
|
@@ -212,7 +214,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
212
214
|
path: _path + ".storyboard",
|
|
213
215
|
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
214
216
|
value: input.storyboard
|
|
215
|
-
}, errorFactory)) && $
|
|
217
|
+
}, errorFactory)) && $ao27(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
216
218
|
path: _path + ".storyboard",
|
|
217
219
|
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
218
220
|
value: input.storyboard
|
|
@@ -220,7 +222,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
220
222
|
path: _path + ".plugins",
|
|
221
223
|
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
222
224
|
value: input.plugins
|
|
223
|
-
}, errorFactory)) && $
|
|
225
|
+
}, errorFactory)) && $ao34(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
224
226
|
path: _path + ".plugins",
|
|
225
227
|
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
226
228
|
value: input.plugins
|
|
@@ -236,7 +238,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
236
238
|
path: _path + ".flags",
|
|
237
239
|
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
238
240
|
value: input.flags
|
|
239
|
-
}, errorFactory)) && $
|
|
241
|
+
}, errorFactory)) && $ao36(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
240
242
|
path: _path + ".flags",
|
|
241
243
|
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
242
244
|
value: input.flags
|
|
@@ -392,7 +394,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
392
394
|
expected: "(number | undefined)",
|
|
393
395
|
value: input.maxTabs
|
|
394
396
|
}, errorFactory));
|
|
395
|
-
const $ao13 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
397
|
+
const $ao13 = (input, _path, _exceptionable = true) => (undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
396
398
|
path: _path + ".createMenu",
|
|
397
399
|
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
398
400
|
value: input.createMenu
|
|
@@ -400,27 +402,60 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
400
402
|
path: _path + ".createMenu",
|
|
401
403
|
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
402
404
|
value: input.createMenu
|
|
403
|
-
}, errorFactory)
|
|
405
|
+
}, errorFactory)) && (undefined === input.colorTags || (Array.isArray(input.colorTags) || $guard(_exceptionable, {
|
|
406
|
+
path: _path + ".colorTags",
|
|
407
|
+
expected: "(Array<PromotedTag> | undefined)",
|
|
408
|
+
value: input.colorTags
|
|
409
|
+
}, errorFactory)) && input.colorTags.every((elem, _index6) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
410
|
+
path: _path + ".colorTags[" + _index6 + "]",
|
|
411
|
+
expected: "PromotedTag",
|
|
412
|
+
value: elem
|
|
413
|
+
}, errorFactory)) && $ao15(elem, _path + ".colorTags[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
414
|
+
path: _path + ".colorTags[" + _index6 + "]",
|
|
415
|
+
expected: "PromotedTag",
|
|
416
|
+
value: elem
|
|
417
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
418
|
+
path: _path + ".colorTags",
|
|
419
|
+
expected: "(Array<PromotedTag> | undefined)",
|
|
420
|
+
value: input.colorTags
|
|
421
|
+
}, errorFactory));
|
|
404
422
|
const $ao14 = (input, _path, _exceptionable = true) => undefined === input.showPreview || "boolean" === typeof input.showPreview || $guard(_exceptionable, {
|
|
405
423
|
path: _path + ".showPreview",
|
|
406
424
|
expected: "(boolean | undefined)",
|
|
407
425
|
value: input.showPreview
|
|
408
426
|
}, errorFactory);
|
|
409
|
-
const $ao15 = (input, _path, _exceptionable = true) =>
|
|
427
|
+
const $ao15 = (input, _path, _exceptionable = true) => (null === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
428
|
+
path: _path + ".name",
|
|
429
|
+
expected: "(null | string)",
|
|
430
|
+
value: input.name
|
|
431
|
+
}, errorFactory)) && (null === input.icon || "string" === typeof input.icon || $guard(_exceptionable, {
|
|
432
|
+
path: _path + ".icon",
|
|
433
|
+
expected: "(null | string)",
|
|
434
|
+
value: input.icon
|
|
435
|
+
}, errorFactory)) && (null === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
436
|
+
path: _path + ".color",
|
|
437
|
+
expected: "(null | string)",
|
|
438
|
+
value: input.color
|
|
439
|
+
}, errorFactory)) && (null === input.description || "string" === typeof input.description || $guard(_exceptionable, {
|
|
440
|
+
path: _path + ".description",
|
|
441
|
+
expected: "(null | string)",
|
|
442
|
+
value: input.description
|
|
443
|
+
}, errorFactory));
|
|
444
|
+
const $ao16 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
410
445
|
path: _path + ".eventThumbnails",
|
|
411
446
|
expected: "(boolean | undefined)",
|
|
412
447
|
value: input.eventThumbnails
|
|
413
448
|
}, errorFactory);
|
|
414
|
-
const $
|
|
449
|
+
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
415
450
|
path: _path + ".dimOnBlur",
|
|
416
451
|
expected: "(boolean | undefined)",
|
|
417
452
|
value: input.dimOnBlur
|
|
418
453
|
}, errorFactory);
|
|
419
|
-
const $
|
|
454
|
+
const $ao18 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
420
455
|
path: _path + ".guide",
|
|
421
456
|
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
422
457
|
value: input.guide
|
|
423
|
-
}, errorFactory)) && $
|
|
458
|
+
}, errorFactory)) && $ao19(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
424
459
|
path: _path + ".guide",
|
|
425
460
|
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
426
461
|
value: input.guide
|
|
@@ -440,7 +475,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
440
475
|
path: _path + ".tile",
|
|
441
476
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
442
477
|
value: input.tile
|
|
443
|
-
}, errorFactory)) && $
|
|
478
|
+
}, errorFactory)) && $ao20(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
444
479
|
path: _path + ".tile",
|
|
445
480
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
446
481
|
value: input.tile
|
|
@@ -468,8 +503,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
468
503
|
path: _path + ".playbackRates",
|
|
469
504
|
expected: "(Array<number> | undefined)",
|
|
470
505
|
value: input.playbackRates
|
|
471
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
472
|
-
path: _path + ".playbackRates[" +
|
|
506
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index7) => "number" === typeof elem || $guard(_exceptionable, {
|
|
507
|
+
path: _path + ".playbackRates[" + _index7 + "]",
|
|
473
508
|
expected: "number",
|
|
474
509
|
value: elem
|
|
475
510
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -480,7 +515,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
480
515
|
path: _path + ".subtitles",
|
|
481
516
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
482
517
|
value: input.subtitles
|
|
483
|
-
}, errorFactory)) && $
|
|
518
|
+
}, errorFactory)) && $ao21(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
484
519
|
path: _path + ".subtitles",
|
|
485
520
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
486
521
|
value: input.subtitles
|
|
@@ -496,12 +531,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
496
531
|
path: _path + ".guides",
|
|
497
532
|
expected: "(Array<__type> | undefined)",
|
|
498
533
|
value: input.guides
|
|
499
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
500
|
-
path: _path + ".guides[" +
|
|
534
|
+
}, errorFactory)) && input.guides.every((elem, _index8) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
535
|
+
path: _path + ".guides[" + _index8 + "]",
|
|
501
536
|
expected: "__type",
|
|
502
537
|
value: elem
|
|
503
|
-
}, errorFactory)) && $
|
|
504
|
-
path: _path + ".guides[" +
|
|
538
|
+
}, errorFactory)) && $ao22(elem, _path + ".guides[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
539
|
+
path: _path + ".guides[" + _index8 + "]",
|
|
505
540
|
expected: "__type",
|
|
506
541
|
value: elem
|
|
507
542
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -516,17 +551,17 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
516
551
|
path: _path + ".transcribe",
|
|
517
552
|
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
518
553
|
value: input.transcribe
|
|
519
|
-
}, errorFactory)) && $
|
|
554
|
+
}, errorFactory)) && $ao23(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
520
555
|
path: _path + ".transcribe",
|
|
521
556
|
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
522
557
|
value: input.transcribe
|
|
523
558
|
}, errorFactory));
|
|
524
|
-
const $
|
|
559
|
+
const $ao19 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
525
560
|
path: _path + ".mask",
|
|
526
561
|
expected: "(boolean | undefined)",
|
|
527
562
|
value: input.mask
|
|
528
563
|
}, errorFactory);
|
|
529
|
-
const $
|
|
564
|
+
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
|
|
530
565
|
path: _path + ".preview",
|
|
531
566
|
expected: "(string | undefined)",
|
|
532
567
|
value: input.preview
|
|
@@ -535,7 +570,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
535
570
|
expected: "(boolean | undefined)",
|
|
536
571
|
value: input.showRenderProgress
|
|
537
572
|
}, errorFactory));
|
|
538
|
-
const $
|
|
573
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing || $guard(_exceptionable, {
|
|
539
574
|
path: _path + ".spacing",
|
|
540
575
|
expected: "(number | undefined)",
|
|
541
576
|
value: input.spacing
|
|
@@ -544,7 +579,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
544
579
|
expected: "(number | undefined)",
|
|
545
580
|
value: input.maxCharactersPerLine
|
|
546
581
|
}, errorFactory));
|
|
547
|
-
const $
|
|
582
|
+
const $ao22 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
548
583
|
path: _path + ".label",
|
|
549
584
|
expected: "string",
|
|
550
585
|
value: input.label
|
|
@@ -553,16 +588,16 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
553
588
|
expected: "string",
|
|
554
589
|
value: input.aspectRatio
|
|
555
590
|
}, errorFactory));
|
|
556
|
-
const $
|
|
591
|
+
const $ao23 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
557
592
|
path: _path + ".subtitleDisclaimer",
|
|
558
593
|
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
559
594
|
value: input.subtitleDisclaimer
|
|
560
|
-
}, errorFactory)) && $
|
|
595
|
+
}, errorFactory)) && $ao24(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
561
596
|
path: _path + ".subtitleDisclaimer",
|
|
562
597
|
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
563
598
|
value: input.subtitleDisclaimer
|
|
564
599
|
}, errorFactory);
|
|
565
|
-
const $
|
|
600
|
+
const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
566
601
|
path: _path + ".isUserConfigurable",
|
|
567
602
|
expected: "(boolean | undefined)",
|
|
568
603
|
value: input.isUserConfigurable
|
|
@@ -570,12 +605,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
570
605
|
path: _path + ".defaultValue",
|
|
571
606
|
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
572
607
|
value: input.defaultValue
|
|
573
|
-
}, errorFactory)) && $
|
|
608
|
+
}, errorFactory)) && $ao25(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
574
609
|
path: _path + ".defaultValue",
|
|
575
610
|
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
576
611
|
value: input.defaultValue
|
|
577
612
|
}, errorFactory));
|
|
578
|
-
const $
|
|
613
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
579
614
|
path: _path + ".enabled",
|
|
580
615
|
expected: "(false | undefined)",
|
|
581
616
|
value: input.enabled
|
|
@@ -583,12 +618,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
583
618
|
path: _path + ".text",
|
|
584
619
|
expected: "(Array<__type>.o1 | undefined)",
|
|
585
620
|
value: input.text
|
|
586
|
-
}, errorFactory)) && input.text.every((elem,
|
|
587
|
-
path: _path + ".text[" +
|
|
621
|
+
}, errorFactory)) && input.text.every((elem, _index9) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
622
|
+
path: _path + ".text[" + _index9 + "]",
|
|
588
623
|
expected: "__type.o1",
|
|
589
624
|
value: elem
|
|
590
|
-
}, errorFactory)) && $
|
|
591
|
-
path: _path + ".text[" +
|
|
625
|
+
}, errorFactory)) && $ao26(elem, _path + ".text[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
626
|
+
path: _path + ".text[" + _index9 + "]",
|
|
592
627
|
expected: "__type.o1",
|
|
593
628
|
value: elem
|
|
594
629
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -604,7 +639,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
604
639
|
expected: "(number | undefined)",
|
|
605
640
|
value: input.duration
|
|
606
641
|
}, errorFactory));
|
|
607
|
-
const $
|
|
642
|
+
const $ao26 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
608
643
|
path: _path + ".language",
|
|
609
644
|
expected: "string",
|
|
610
645
|
value: input.language
|
|
@@ -613,11 +648,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
613
648
|
expected: "string",
|
|
614
649
|
value: input.value
|
|
615
650
|
}, errorFactory));
|
|
616
|
-
const $
|
|
651
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
617
652
|
path: _path + ".assets",
|
|
618
653
|
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
619
654
|
value: input.assets
|
|
620
|
-
}, errorFactory)) && $
|
|
655
|
+
}, errorFactory)) && $ao28(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
621
656
|
path: _path + ".assets",
|
|
622
657
|
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
623
658
|
value: input.assets
|
|
@@ -625,7 +660,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
625
660
|
path: _path + ".pipeline",
|
|
626
661
|
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
627
662
|
value: input.pipeline
|
|
628
|
-
}, errorFactory)) && $
|
|
663
|
+
}, errorFactory)) && $ao31(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
629
664
|
path: _path + ".pipeline",
|
|
630
665
|
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
631
666
|
value: input.pipeline
|
|
@@ -633,30 +668,30 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
633
668
|
path: _path + ".item",
|
|
634
669
|
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
635
670
|
value: input.item
|
|
636
|
-
}, errorFactory)) && $
|
|
671
|
+
}, errorFactory)) && $ao33(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
637
672
|
path: _path + ".item",
|
|
638
673
|
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
639
674
|
value: input.item
|
|
640
675
|
}, errorFactory));
|
|
641
|
-
const $
|
|
676
|
+
const $ao28 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
642
677
|
path: _path + ".story",
|
|
643
678
|
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
644
679
|
value: input.story
|
|
645
|
-
}, errorFactory)) && $
|
|
680
|
+
}, errorFactory)) && $ao29(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
646
681
|
path: _path + ".story",
|
|
647
682
|
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
648
683
|
value: input.story
|
|
649
684
|
}, errorFactory);
|
|
650
|
-
const $
|
|
685
|
+
const $ao29 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
651
686
|
path: _path + ".excerpt",
|
|
652
687
|
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
653
688
|
value: input.excerpt
|
|
654
|
-
}, errorFactory)) && $
|
|
689
|
+
}, errorFactory)) && $ao30(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
655
690
|
path: _path + ".excerpt",
|
|
656
691
|
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
657
692
|
value: input.excerpt
|
|
658
693
|
}, errorFactory);
|
|
659
|
-
const $
|
|
694
|
+
const $ao30 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
660
695
|
path: _path + ".maxLines",
|
|
661
696
|
expected: "(number | undefined)",
|
|
662
697
|
value: input.maxLines
|
|
@@ -665,40 +700,40 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
665
700
|
expected: "(string | undefined)",
|
|
666
701
|
value: input.mode
|
|
667
702
|
}, errorFactory));
|
|
668
|
-
const $
|
|
703
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
669
704
|
path: _path + ".search",
|
|
670
705
|
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
671
706
|
value: input.search
|
|
672
|
-
}, errorFactory)) && $
|
|
707
|
+
}, errorFactory)) && $ao32(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
673
708
|
path: _path + ".search",
|
|
674
709
|
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
675
710
|
value: input.search
|
|
676
711
|
}, errorFactory);
|
|
677
|
-
const $
|
|
712
|
+
const $ao32 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
678
713
|
path: _path + ".maxItemsDisplayed",
|
|
679
714
|
expected: "(number | undefined)",
|
|
680
715
|
value: input.maxItemsDisplayed
|
|
681
716
|
}, errorFactory);
|
|
682
|
-
const $
|
|
717
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
683
718
|
path: _path + ".maxHeight",
|
|
684
719
|
expected: "(number | undefined)",
|
|
685
720
|
value: input.maxHeight
|
|
686
721
|
}, errorFactory);
|
|
687
|
-
const $
|
|
722
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
688
723
|
path: _path + ".adobe",
|
|
689
724
|
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
690
725
|
value: input.adobe
|
|
691
|
-
}, errorFactory)) && $
|
|
726
|
+
}, errorFactory)) && $ao35(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
692
727
|
path: _path + ".adobe",
|
|
693
728
|
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
694
729
|
value: input.adobe
|
|
695
730
|
}, errorFactory);
|
|
696
|
-
const $
|
|
731
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
697
732
|
path: _path + ".useProxies",
|
|
698
733
|
expected: "(boolean | undefined)",
|
|
699
734
|
value: input.useProxies
|
|
700
735
|
}, errorFactory);
|
|
701
|
-
const $
|
|
736
|
+
const $ao36 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
702
737
|
path: _path + ".utils",
|
|
703
738
|
expected: "(boolean | undefined)",
|
|
704
739
|
value: input.utils
|
|
@@ -785,11 +820,11 @@ export const randomSettingsRecord = generator => {
|
|
|
785
820
|
])(),
|
|
786
821
|
rundown: $pick([
|
|
787
822
|
() => undefined,
|
|
788
|
-
() => $
|
|
823
|
+
() => $ro16(_recursive, _recursive ? 1 + _depth : _depth)
|
|
789
824
|
])(),
|
|
790
825
|
gallery: $pick([
|
|
791
826
|
() => undefined,
|
|
792
|
-
() => $
|
|
827
|
+
() => $ro17(_recursive, _recursive ? 1 + _depth : _depth)
|
|
793
828
|
])(),
|
|
794
829
|
history: $pick([
|
|
795
830
|
() => undefined,
|
|
@@ -801,7 +836,7 @@ export const randomSettingsRecord = generator => {
|
|
|
801
836
|
])(),
|
|
802
837
|
media: $pick([
|
|
803
838
|
() => undefined,
|
|
804
|
-
() => $
|
|
839
|
+
() => $ro18(_recursive, _recursive ? 1 + _depth : _depth)
|
|
805
840
|
])(),
|
|
806
841
|
predefinedTags: $pick([
|
|
807
842
|
() => undefined,
|
|
@@ -809,11 +844,11 @@ export const randomSettingsRecord = generator => {
|
|
|
809
844
|
])(),
|
|
810
845
|
storyboard: $pick([
|
|
811
846
|
() => undefined,
|
|
812
|
-
() => $
|
|
847
|
+
() => $ro27(_recursive, _recursive ? 1 + _depth : _depth)
|
|
813
848
|
])(),
|
|
814
849
|
plugins: $pick([
|
|
815
850
|
() => undefined,
|
|
816
|
-
() => $
|
|
851
|
+
() => $ro34(_recursive, _recursive ? 1 + _depth : _depth)
|
|
817
852
|
])(),
|
|
818
853
|
crashScreen: $pick([
|
|
819
854
|
() => undefined,
|
|
@@ -825,7 +860,7 @@ export const randomSettingsRecord = generator => {
|
|
|
825
860
|
])(),
|
|
826
861
|
flags: $pick([
|
|
827
862
|
() => undefined,
|
|
828
|
-
() => $
|
|
863
|
+
() => $ro36(_recursive, _recursive ? 1 + _depth : _depth)
|
|
829
864
|
])()
|
|
830
865
|
});
|
|
831
866
|
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
@@ -943,6 +978,10 @@ export const randomSettingsRecord = generator => {
|
|
|
943
978
|
createMenu: $pick([
|
|
944
979
|
() => undefined,
|
|
945
980
|
() => $ro14(_recursive, _recursive ? 1 + _depth : _depth)
|
|
981
|
+
])(),
|
|
982
|
+
colorTags: $pick([
|
|
983
|
+
() => undefined,
|
|
984
|
+
() => (generator?.array ?? $generator.array)(() => $ro15(_recursive, _recursive ? 1 + _depth : _depth))
|
|
946
985
|
])()
|
|
947
986
|
});
|
|
948
987
|
const $ro14 = (_recursive = false, _depth = 0) => ({
|
|
@@ -952,21 +991,39 @@ export const randomSettingsRecord = generator => {
|
|
|
952
991
|
])()
|
|
953
992
|
});
|
|
954
993
|
const $ro15 = (_recursive = false, _depth = 0) => ({
|
|
994
|
+
name: $pick([
|
|
995
|
+
() => null,
|
|
996
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
997
|
+
])(),
|
|
998
|
+
icon: $pick([
|
|
999
|
+
() => null,
|
|
1000
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1001
|
+
])(),
|
|
1002
|
+
color: $pick([
|
|
1003
|
+
() => null,
|
|
1004
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1005
|
+
])(),
|
|
1006
|
+
description: $pick([
|
|
1007
|
+
() => null,
|
|
1008
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1009
|
+
])()
|
|
1010
|
+
});
|
|
1011
|
+
const $ro16 = (_recursive = false, _depth = 0) => ({
|
|
955
1012
|
eventThumbnails: $pick([
|
|
956
1013
|
() => undefined,
|
|
957
1014
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
958
1015
|
])()
|
|
959
1016
|
});
|
|
960
|
-
const $
|
|
1017
|
+
const $ro17 = (_recursive = false, _depth = 0) => ({
|
|
961
1018
|
dimOnBlur: $pick([
|
|
962
1019
|
() => undefined,
|
|
963
1020
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
964
1021
|
])()
|
|
965
1022
|
});
|
|
966
|
-
const $
|
|
1023
|
+
const $ro18 = (_recursive = false, _depth = 0) => ({
|
|
967
1024
|
guide: $pick([
|
|
968
1025
|
() => undefined,
|
|
969
|
-
() => $
|
|
1026
|
+
() => $ro19(_recursive, _recursive ? 1 + _depth : _depth)
|
|
970
1027
|
])(),
|
|
971
1028
|
stepManyFrames: $pick([
|
|
972
1029
|
() => undefined,
|
|
@@ -982,7 +1039,7 @@ export const randomSettingsRecord = generator => {
|
|
|
982
1039
|
])(),
|
|
983
1040
|
tile: $pick([
|
|
984
1041
|
() => undefined,
|
|
985
|
-
() => $
|
|
1042
|
+
() => $ro20(_recursive, _recursive ? 1 + _depth : _depth)
|
|
986
1043
|
])(),
|
|
987
1044
|
timecodeReference: $pick([
|
|
988
1045
|
() => undefined,
|
|
@@ -1010,7 +1067,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1010
1067
|
])(),
|
|
1011
1068
|
subtitles: $pick([
|
|
1012
1069
|
() => undefined,
|
|
1013
|
-
() => $
|
|
1070
|
+
() => $ro21(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1014
1071
|
])(),
|
|
1015
1072
|
subtitleTemplateId: $pick([
|
|
1016
1073
|
() => undefined,
|
|
@@ -1022,7 +1079,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1022
1079
|
])(),
|
|
1023
1080
|
guides: $pick([
|
|
1024
1081
|
() => undefined,
|
|
1025
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1082
|
+
() => (generator?.array ?? $generator.array)(() => $ro22(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1026
1083
|
])(),
|
|
1027
1084
|
download: $pick([
|
|
1028
1085
|
() => undefined,
|
|
@@ -1030,16 +1087,16 @@ export const randomSettingsRecord = generator => {
|
|
|
1030
1087
|
])(),
|
|
1031
1088
|
transcribe: $pick([
|
|
1032
1089
|
() => undefined,
|
|
1033
|
-
() => $
|
|
1090
|
+
() => $ro23(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1034
1091
|
])()
|
|
1035
1092
|
});
|
|
1036
|
-
const $
|
|
1093
|
+
const $ro19 = (_recursive = false, _depth = 0) => ({
|
|
1037
1094
|
mask: $pick([
|
|
1038
1095
|
() => undefined,
|
|
1039
1096
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1040
1097
|
])()
|
|
1041
1098
|
});
|
|
1042
|
-
const $
|
|
1099
|
+
const $ro20 = (_recursive = false, _depth = 0) => ({
|
|
1043
1100
|
preview: $pick([
|
|
1044
1101
|
() => undefined,
|
|
1045
1102
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
@@ -1049,7 +1106,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1049
1106
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1050
1107
|
])()
|
|
1051
1108
|
});
|
|
1052
|
-
const $
|
|
1109
|
+
const $ro21 = (_recursive = false, _depth = 0) => ({
|
|
1053
1110
|
spacing: $pick([
|
|
1054
1111
|
() => undefined,
|
|
1055
1112
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1059,34 +1116,34 @@ export const randomSettingsRecord = generator => {
|
|
|
1059
1116
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1060
1117
|
])()
|
|
1061
1118
|
});
|
|
1062
|
-
const $
|
|
1119
|
+
const $ro22 = (_recursive = false, _depth = 0) => ({
|
|
1063
1120
|
label: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1064
1121
|
aspectRatio: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1065
1122
|
});
|
|
1066
|
-
const $
|
|
1123
|
+
const $ro23 = (_recursive = false, _depth = 0) => ({
|
|
1067
1124
|
subtitleDisclaimer: $pick([
|
|
1068
1125
|
() => undefined,
|
|
1069
|
-
() => $
|
|
1126
|
+
() => $ro24(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1070
1127
|
])()
|
|
1071
1128
|
});
|
|
1072
|
-
const $
|
|
1129
|
+
const $ro24 = (_recursive = false, _depth = 0) => ({
|
|
1073
1130
|
isUserConfigurable: $pick([
|
|
1074
1131
|
() => undefined,
|
|
1075
1132
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1076
1133
|
])(),
|
|
1077
1134
|
defaultValue: $pick([
|
|
1078
1135
|
() => undefined,
|
|
1079
|
-
() => $
|
|
1136
|
+
() => $ro25(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1080
1137
|
])()
|
|
1081
1138
|
});
|
|
1082
|
-
const $
|
|
1139
|
+
const $ro25 = (_recursive = false, _depth = 0) => ({
|
|
1083
1140
|
enabled: $pick([
|
|
1084
1141
|
() => undefined,
|
|
1085
1142
|
() => false
|
|
1086
1143
|
])(),
|
|
1087
1144
|
text: $pick([
|
|
1088
1145
|
() => undefined,
|
|
1089
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1146
|
+
() => (generator?.array ?? $generator.array)(() => $ro26(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1090
1147
|
])(),
|
|
1091
1148
|
offset: $pick([
|
|
1092
1149
|
() => undefined,
|
|
@@ -1097,37 +1154,37 @@ export const randomSettingsRecord = generator => {
|
|
|
1097
1154
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1098
1155
|
])()
|
|
1099
1156
|
});
|
|
1100
|
-
const $
|
|
1157
|
+
const $ro26 = (_recursive = false, _depth = 0) => ({
|
|
1101
1158
|
language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1102
1159
|
value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1103
1160
|
});
|
|
1104
|
-
const $
|
|
1161
|
+
const $ro27 = (_recursive = false, _depth = 0) => ({
|
|
1105
1162
|
assets: $pick([
|
|
1106
1163
|
() => undefined,
|
|
1107
|
-
() => $
|
|
1164
|
+
() => $ro28(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1108
1165
|
])(),
|
|
1109
1166
|
pipeline: $pick([
|
|
1110
1167
|
() => undefined,
|
|
1111
|
-
() => $
|
|
1168
|
+
() => $ro31(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1112
1169
|
])(),
|
|
1113
1170
|
item: $pick([
|
|
1114
1171
|
() => undefined,
|
|
1115
|
-
() => $
|
|
1172
|
+
() => $ro33(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1116
1173
|
])()
|
|
1117
1174
|
});
|
|
1118
|
-
const $
|
|
1175
|
+
const $ro28 = (_recursive = false, _depth = 0) => ({
|
|
1119
1176
|
story: $pick([
|
|
1120
1177
|
() => undefined,
|
|
1121
|
-
() => $
|
|
1178
|
+
() => $ro29(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1122
1179
|
])()
|
|
1123
1180
|
});
|
|
1124
|
-
const $
|
|
1181
|
+
const $ro29 = (_recursive = false, _depth = 0) => ({
|
|
1125
1182
|
excerpt: $pick([
|
|
1126
1183
|
() => undefined,
|
|
1127
|
-
() => $
|
|
1184
|
+
() => $ro30(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1128
1185
|
])()
|
|
1129
1186
|
});
|
|
1130
|
-
const $
|
|
1187
|
+
const $ro30 = (_recursive = false, _depth = 0) => ({
|
|
1131
1188
|
maxLines: $pick([
|
|
1132
1189
|
() => undefined,
|
|
1133
1190
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1137,37 +1194,37 @@ export const randomSettingsRecord = generator => {
|
|
|
1137
1194
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1138
1195
|
])()
|
|
1139
1196
|
});
|
|
1140
|
-
const $
|
|
1197
|
+
const $ro31 = (_recursive = false, _depth = 0) => ({
|
|
1141
1198
|
search: $pick([
|
|
1142
1199
|
() => undefined,
|
|
1143
|
-
() => $
|
|
1200
|
+
() => $ro32(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1144
1201
|
])()
|
|
1145
1202
|
});
|
|
1146
|
-
const $
|
|
1203
|
+
const $ro32 = (_recursive = false, _depth = 0) => ({
|
|
1147
1204
|
maxItemsDisplayed: $pick([
|
|
1148
1205
|
() => undefined,
|
|
1149
1206
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1150
1207
|
])()
|
|
1151
1208
|
});
|
|
1152
|
-
const $
|
|
1209
|
+
const $ro33 = (_recursive = false, _depth = 0) => ({
|
|
1153
1210
|
maxHeight: $pick([
|
|
1154
1211
|
() => undefined,
|
|
1155
1212
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1156
1213
|
])()
|
|
1157
1214
|
});
|
|
1158
|
-
const $
|
|
1215
|
+
const $ro34 = (_recursive = false, _depth = 0) => ({
|
|
1159
1216
|
adobe: $pick([
|
|
1160
1217
|
() => undefined,
|
|
1161
|
-
() => $
|
|
1218
|
+
() => $ro35(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1162
1219
|
])()
|
|
1163
1220
|
});
|
|
1164
|
-
const $
|
|
1221
|
+
const $ro35 = (_recursive = false, _depth = 0) => ({
|
|
1165
1222
|
useProxies: $pick([
|
|
1166
1223
|
() => undefined,
|
|
1167
1224
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1168
1225
|
])()
|
|
1169
1226
|
});
|
|
1170
|
-
const $
|
|
1227
|
+
const $ro36 = (_recursive = false, _depth = 0) => ({
|
|
1171
1228
|
utils: $pick([
|
|
1172
1229
|
() => undefined,
|
|
1173
1230
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -1205,7 +1262,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1205
1262
|
};
|
|
1206
1263
|
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
1207
1264
|
const __is = input => {
|
|
1208
|
-
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $
|
|
1265
|
+
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io16(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io17(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) && $io18(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) && $io27(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io34(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) && $io36(input.flags));
|
|
1209
1266
|
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
1210
1267
|
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
1211
1268
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
@@ -1225,29 +1282,30 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1225
1282
|
const $io10 = 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);
|
|
1226
1283
|
const $io11 = input => undefined === input.color || "string" === typeof input.color;
|
|
1227
1284
|
const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
1228
|
-
const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
|
|
1285
|
+
const $io13 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io15(elem)));
|
|
1229
1286
|
const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
1230
|
-
const $io15 = input =>
|
|
1231
|
-
const $io16 = input => undefined === input.
|
|
1232
|
-
const $io17 = input =>
|
|
1233
|
-
const $io18 = input => undefined === input.
|
|
1234
|
-
const $io19 = input =>
|
|
1235
|
-
const $io20 = input => (undefined === input.
|
|
1236
|
-
const $io21 = input => "
|
|
1237
|
-
const $io22 = input =>
|
|
1238
|
-
const $io23 = input =>
|
|
1239
|
-
const $io24 = input => (undefined === input.
|
|
1240
|
-
const $io25 = input => "
|
|
1241
|
-
const $io26 = input =>
|
|
1242
|
-
const $io27 = input => undefined === input.
|
|
1243
|
-
const $io28 = input => undefined === input.
|
|
1244
|
-
const $io29 = input =>
|
|
1245
|
-
const $io30 = input => undefined === input.
|
|
1246
|
-
const $io31 = input => undefined === input.
|
|
1247
|
-
const $io32 = input => undefined === input.
|
|
1248
|
-
const $io33 = input => undefined === input.
|
|
1249
|
-
const $io34 = input => undefined === input.
|
|
1250
|
-
const $io35 = input =>
|
|
1287
|
+
const $io15 = 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);
|
|
1288
|
+
const $io16 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
1289
|
+
const $io17 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
1290
|
+
const $io18 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io19(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) && $io20(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) && $io21(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 && $io22(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io23(input.transcribe));
|
|
1291
|
+
const $io19 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
1292
|
+
const $io20 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
1293
|
+
const $io21 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
1294
|
+
const $io22 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
1295
|
+
const $io23 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io24(input.subtitleDisclaimer);
|
|
1296
|
+
const $io24 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io25(input.defaultValue));
|
|
1297
|
+
const $io25 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io26(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
1298
|
+
const $io26 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1299
|
+
const $io27 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io28(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io31(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io33(input.item));
|
|
1300
|
+
const $io28 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io29(input.story);
|
|
1301
|
+
const $io29 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io30(input.excerpt);
|
|
1302
|
+
const $io30 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
1303
|
+
const $io31 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io32(input.search);
|
|
1304
|
+
const $io32 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
1305
|
+
const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1306
|
+
const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
|
|
1307
|
+
const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
1308
|
+
const $io36 = 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);
|
|
1251
1309
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1252
1310
|
};
|
|
1253
1311
|
if (false === __is(input))
|
|
@@ -1330,7 +1388,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1330
1388
|
path: _path + ".rundown",
|
|
1331
1389
|
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
1332
1390
|
value: input.rundown
|
|
1333
|
-
}, errorFactory)) && $
|
|
1391
|
+
}, errorFactory)) && $ao16(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
1334
1392
|
path: _path + ".rundown",
|
|
1335
1393
|
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
1336
1394
|
value: input.rundown
|
|
@@ -1338,7 +1396,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1338
1396
|
path: _path + ".gallery",
|
|
1339
1397
|
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
1340
1398
|
value: input.gallery
|
|
1341
|
-
}, errorFactory)) && $
|
|
1399
|
+
}, errorFactory)) && $ao17(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
1342
1400
|
path: _path + ".gallery",
|
|
1343
1401
|
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
1344
1402
|
value: input.gallery
|
|
@@ -1350,7 +1408,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1350
1408
|
path: _path + ".media",
|
|
1351
1409
|
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
1352
1410
|
value: input.media
|
|
1353
|
-
}, errorFactory)) && $
|
|
1411
|
+
}, errorFactory)) && $ao18(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
1354
1412
|
path: _path + ".media",
|
|
1355
1413
|
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
1356
1414
|
value: input.media
|
|
@@ -1370,7 +1428,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1370
1428
|
path: _path + ".storyboard",
|
|
1371
1429
|
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
1372
1430
|
value: input.storyboard
|
|
1373
|
-
}, errorFactory)) && $
|
|
1431
|
+
}, errorFactory)) && $ao27(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1374
1432
|
path: _path + ".storyboard",
|
|
1375
1433
|
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
1376
1434
|
value: input.storyboard
|
|
@@ -1378,7 +1436,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1378
1436
|
path: _path + ".plugins",
|
|
1379
1437
|
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
1380
1438
|
value: input.plugins
|
|
1381
|
-
}, errorFactory)) && $
|
|
1439
|
+
}, errorFactory)) && $ao34(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
1382
1440
|
path: _path + ".plugins",
|
|
1383
1441
|
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
1384
1442
|
value: input.plugins
|
|
@@ -1394,7 +1452,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1394
1452
|
path: _path + ".flags",
|
|
1395
1453
|
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
1396
1454
|
value: input.flags
|
|
1397
|
-
}, errorFactory)) && $
|
|
1455
|
+
}, errorFactory)) && $ao36(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1398
1456
|
path: _path + ".flags",
|
|
1399
1457
|
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
1400
1458
|
value: input.flags
|
|
@@ -1550,7 +1608,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1550
1608
|
expected: "(number | undefined)",
|
|
1551
1609
|
value: input.maxTabs
|
|
1552
1610
|
}, errorFactory));
|
|
1553
|
-
const $ao13 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
1611
|
+
const $ao13 = (input, _path, _exceptionable = true) => (undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
1554
1612
|
path: _path + ".createMenu",
|
|
1555
1613
|
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
1556
1614
|
value: input.createMenu
|
|
@@ -1558,27 +1616,60 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1558
1616
|
path: _path + ".createMenu",
|
|
1559
1617
|
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
1560
1618
|
value: input.createMenu
|
|
1561
|
-
}, errorFactory)
|
|
1619
|
+
}, errorFactory)) && (undefined === input.colorTags || (Array.isArray(input.colorTags) || $guard(_exceptionable, {
|
|
1620
|
+
path: _path + ".colorTags",
|
|
1621
|
+
expected: "(Array<PromotedTag> | undefined)",
|
|
1622
|
+
value: input.colorTags
|
|
1623
|
+
}, errorFactory)) && input.colorTags.every((elem, _index6) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1624
|
+
path: _path + ".colorTags[" + _index6 + "]",
|
|
1625
|
+
expected: "PromotedTag",
|
|
1626
|
+
value: elem
|
|
1627
|
+
}, errorFactory)) && $ao15(elem, _path + ".colorTags[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1628
|
+
path: _path + ".colorTags[" + _index6 + "]",
|
|
1629
|
+
expected: "PromotedTag",
|
|
1630
|
+
value: elem
|
|
1631
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1632
|
+
path: _path + ".colorTags",
|
|
1633
|
+
expected: "(Array<PromotedTag> | undefined)",
|
|
1634
|
+
value: input.colorTags
|
|
1635
|
+
}, errorFactory));
|
|
1562
1636
|
const $ao14 = (input, _path, _exceptionable = true) => undefined === input.showPreview || "boolean" === typeof input.showPreview || $guard(_exceptionable, {
|
|
1563
1637
|
path: _path + ".showPreview",
|
|
1564
1638
|
expected: "(boolean | undefined)",
|
|
1565
1639
|
value: input.showPreview
|
|
1566
1640
|
}, errorFactory);
|
|
1567
|
-
const $ao15 = (input, _path, _exceptionable = true) =>
|
|
1641
|
+
const $ao15 = (input, _path, _exceptionable = true) => (null === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
1642
|
+
path: _path + ".name",
|
|
1643
|
+
expected: "(null | string)",
|
|
1644
|
+
value: input.name
|
|
1645
|
+
}, errorFactory)) && (null === input.icon || "string" === typeof input.icon || $guard(_exceptionable, {
|
|
1646
|
+
path: _path + ".icon",
|
|
1647
|
+
expected: "(null | string)",
|
|
1648
|
+
value: input.icon
|
|
1649
|
+
}, errorFactory)) && (null === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
1650
|
+
path: _path + ".color",
|
|
1651
|
+
expected: "(null | string)",
|
|
1652
|
+
value: input.color
|
|
1653
|
+
}, errorFactory)) && (null === input.description || "string" === typeof input.description || $guard(_exceptionable, {
|
|
1654
|
+
path: _path + ".description",
|
|
1655
|
+
expected: "(null | string)",
|
|
1656
|
+
value: input.description
|
|
1657
|
+
}, errorFactory));
|
|
1658
|
+
const $ao16 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
1568
1659
|
path: _path + ".eventThumbnails",
|
|
1569
1660
|
expected: "(boolean | undefined)",
|
|
1570
1661
|
value: input.eventThumbnails
|
|
1571
1662
|
}, errorFactory);
|
|
1572
|
-
const $
|
|
1663
|
+
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
1573
1664
|
path: _path + ".dimOnBlur",
|
|
1574
1665
|
expected: "(boolean | undefined)",
|
|
1575
1666
|
value: input.dimOnBlur
|
|
1576
1667
|
}, errorFactory);
|
|
1577
|
-
const $
|
|
1668
|
+
const $ao18 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
1578
1669
|
path: _path + ".guide",
|
|
1579
1670
|
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
1580
1671
|
value: input.guide
|
|
1581
|
-
}, errorFactory)) && $
|
|
1672
|
+
}, errorFactory)) && $ao19(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
1582
1673
|
path: _path + ".guide",
|
|
1583
1674
|
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
1584
1675
|
value: input.guide
|
|
@@ -1598,7 +1689,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1598
1689
|
path: _path + ".tile",
|
|
1599
1690
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
1600
1691
|
value: input.tile
|
|
1601
|
-
}, errorFactory)) && $
|
|
1692
|
+
}, errorFactory)) && $ao20(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
1602
1693
|
path: _path + ".tile",
|
|
1603
1694
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
1604
1695
|
value: input.tile
|
|
@@ -1626,8 +1717,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1626
1717
|
path: _path + ".playbackRates",
|
|
1627
1718
|
expected: "(Array<number> | undefined)",
|
|
1628
1719
|
value: input.playbackRates
|
|
1629
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
1630
|
-
path: _path + ".playbackRates[" +
|
|
1720
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index7) => "number" === typeof elem || $guard(_exceptionable, {
|
|
1721
|
+
path: _path + ".playbackRates[" + _index7 + "]",
|
|
1631
1722
|
expected: "number",
|
|
1632
1723
|
value: elem
|
|
1633
1724
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1638,7 +1729,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1638
1729
|
path: _path + ".subtitles",
|
|
1639
1730
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
1640
1731
|
value: input.subtitles
|
|
1641
|
-
}, errorFactory)) && $
|
|
1732
|
+
}, errorFactory)) && $ao21(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
1642
1733
|
path: _path + ".subtitles",
|
|
1643
1734
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
1644
1735
|
value: input.subtitles
|
|
@@ -1654,12 +1745,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1654
1745
|
path: _path + ".guides",
|
|
1655
1746
|
expected: "(Array<__type> | undefined)",
|
|
1656
1747
|
value: input.guides
|
|
1657
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
1658
|
-
path: _path + ".guides[" +
|
|
1748
|
+
}, errorFactory)) && input.guides.every((elem, _index8) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1749
|
+
path: _path + ".guides[" + _index8 + "]",
|
|
1659
1750
|
expected: "__type",
|
|
1660
1751
|
value: elem
|
|
1661
|
-
}, errorFactory)) && $
|
|
1662
|
-
path: _path + ".guides[" +
|
|
1752
|
+
}, errorFactory)) && $ao22(elem, _path + ".guides[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1753
|
+
path: _path + ".guides[" + _index8 + "]",
|
|
1663
1754
|
expected: "__type",
|
|
1664
1755
|
value: elem
|
|
1665
1756
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1674,17 +1765,17 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1674
1765
|
path: _path + ".transcribe",
|
|
1675
1766
|
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
1676
1767
|
value: input.transcribe
|
|
1677
|
-
}, errorFactory)) && $
|
|
1768
|
+
}, errorFactory)) && $ao23(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1678
1769
|
path: _path + ".transcribe",
|
|
1679
1770
|
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
1680
1771
|
value: input.transcribe
|
|
1681
1772
|
}, errorFactory));
|
|
1682
|
-
const $
|
|
1773
|
+
const $ao19 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
1683
1774
|
path: _path + ".mask",
|
|
1684
1775
|
expected: "(boolean | undefined)",
|
|
1685
1776
|
value: input.mask
|
|
1686
1777
|
}, errorFactory);
|
|
1687
|
-
const $
|
|
1778
|
+
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
|
|
1688
1779
|
path: _path + ".preview",
|
|
1689
1780
|
expected: "(string | undefined)",
|
|
1690
1781
|
value: input.preview
|
|
@@ -1693,7 +1784,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1693
1784
|
expected: "(boolean | undefined)",
|
|
1694
1785
|
value: input.showRenderProgress
|
|
1695
1786
|
}, errorFactory));
|
|
1696
|
-
const $
|
|
1787
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing || $guard(_exceptionable, {
|
|
1697
1788
|
path: _path + ".spacing",
|
|
1698
1789
|
expected: "(number | undefined)",
|
|
1699
1790
|
value: input.spacing
|
|
@@ -1702,7 +1793,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1702
1793
|
expected: "(number | undefined)",
|
|
1703
1794
|
value: input.maxCharactersPerLine
|
|
1704
1795
|
}, errorFactory));
|
|
1705
|
-
const $
|
|
1796
|
+
const $ao22 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
1706
1797
|
path: _path + ".label",
|
|
1707
1798
|
expected: "string",
|
|
1708
1799
|
value: input.label
|
|
@@ -1711,16 +1802,16 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1711
1802
|
expected: "string",
|
|
1712
1803
|
value: input.aspectRatio
|
|
1713
1804
|
}, errorFactory));
|
|
1714
|
-
const $
|
|
1805
|
+
const $ao23 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
1715
1806
|
path: _path + ".subtitleDisclaimer",
|
|
1716
1807
|
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
1717
1808
|
value: input.subtitleDisclaimer
|
|
1718
|
-
}, errorFactory)) && $
|
|
1809
|
+
}, errorFactory)) && $ao24(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
1719
1810
|
path: _path + ".subtitleDisclaimer",
|
|
1720
1811
|
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
1721
1812
|
value: input.subtitleDisclaimer
|
|
1722
1813
|
}, errorFactory);
|
|
1723
|
-
const $
|
|
1814
|
+
const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
1724
1815
|
path: _path + ".isUserConfigurable",
|
|
1725
1816
|
expected: "(boolean | undefined)",
|
|
1726
1817
|
value: input.isUserConfigurable
|
|
@@ -1728,12 +1819,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1728
1819
|
path: _path + ".defaultValue",
|
|
1729
1820
|
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
1730
1821
|
value: input.defaultValue
|
|
1731
|
-
}, errorFactory)) && $
|
|
1822
|
+
}, errorFactory)) && $ao25(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
1732
1823
|
path: _path + ".defaultValue",
|
|
1733
1824
|
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
1734
1825
|
value: input.defaultValue
|
|
1735
1826
|
}, errorFactory));
|
|
1736
|
-
const $
|
|
1827
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
1737
1828
|
path: _path + ".enabled",
|
|
1738
1829
|
expected: "(false | undefined)",
|
|
1739
1830
|
value: input.enabled
|
|
@@ -1741,12 +1832,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1741
1832
|
path: _path + ".text",
|
|
1742
1833
|
expected: "(Array<__type>.o1 | undefined)",
|
|
1743
1834
|
value: input.text
|
|
1744
|
-
}, errorFactory)) && input.text.every((elem,
|
|
1745
|
-
path: _path + ".text[" +
|
|
1835
|
+
}, errorFactory)) && input.text.every((elem, _index9) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1836
|
+
path: _path + ".text[" + _index9 + "]",
|
|
1746
1837
|
expected: "__type.o1",
|
|
1747
1838
|
value: elem
|
|
1748
|
-
}, errorFactory)) && $
|
|
1749
|
-
path: _path + ".text[" +
|
|
1839
|
+
}, errorFactory)) && $ao26(elem, _path + ".text[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1840
|
+
path: _path + ".text[" + _index9 + "]",
|
|
1750
1841
|
expected: "__type.o1",
|
|
1751
1842
|
value: elem
|
|
1752
1843
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1762,7 +1853,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1762
1853
|
expected: "(number | undefined)",
|
|
1763
1854
|
value: input.duration
|
|
1764
1855
|
}, errorFactory));
|
|
1765
|
-
const $
|
|
1856
|
+
const $ao26 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
1766
1857
|
path: _path + ".language",
|
|
1767
1858
|
expected: "string",
|
|
1768
1859
|
value: input.language
|
|
@@ -1771,11 +1862,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1771
1862
|
expected: "string",
|
|
1772
1863
|
value: input.value
|
|
1773
1864
|
}, errorFactory));
|
|
1774
|
-
const $
|
|
1865
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
1775
1866
|
path: _path + ".assets",
|
|
1776
1867
|
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
1777
1868
|
value: input.assets
|
|
1778
|
-
}, errorFactory)) && $
|
|
1869
|
+
}, errorFactory)) && $ao28(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
1779
1870
|
path: _path + ".assets",
|
|
1780
1871
|
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
1781
1872
|
value: input.assets
|
|
@@ -1783,7 +1874,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1783
1874
|
path: _path + ".pipeline",
|
|
1784
1875
|
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
1785
1876
|
value: input.pipeline
|
|
1786
|
-
}, errorFactory)) && $
|
|
1877
|
+
}, errorFactory)) && $ao31(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
1787
1878
|
path: _path + ".pipeline",
|
|
1788
1879
|
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
1789
1880
|
value: input.pipeline
|
|
@@ -1791,30 +1882,30 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1791
1882
|
path: _path + ".item",
|
|
1792
1883
|
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
1793
1884
|
value: input.item
|
|
1794
|
-
}, errorFactory)) && $
|
|
1885
|
+
}, errorFactory)) && $ao33(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
1795
1886
|
path: _path + ".item",
|
|
1796
1887
|
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
1797
1888
|
value: input.item
|
|
1798
1889
|
}, errorFactory));
|
|
1799
|
-
const $
|
|
1890
|
+
const $ao28 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
1800
1891
|
path: _path + ".story",
|
|
1801
1892
|
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
1802
1893
|
value: input.story
|
|
1803
|
-
}, errorFactory)) && $
|
|
1894
|
+
}, errorFactory)) && $ao29(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
1804
1895
|
path: _path + ".story",
|
|
1805
1896
|
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
1806
1897
|
value: input.story
|
|
1807
1898
|
}, errorFactory);
|
|
1808
|
-
const $
|
|
1899
|
+
const $ao29 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
1809
1900
|
path: _path + ".excerpt",
|
|
1810
1901
|
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
1811
1902
|
value: input.excerpt
|
|
1812
|
-
}, errorFactory)) && $
|
|
1903
|
+
}, errorFactory)) && $ao30(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
1813
1904
|
path: _path + ".excerpt",
|
|
1814
1905
|
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
1815
1906
|
value: input.excerpt
|
|
1816
1907
|
}, errorFactory);
|
|
1817
|
-
const $
|
|
1908
|
+
const $ao30 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
1818
1909
|
path: _path + ".maxLines",
|
|
1819
1910
|
expected: "(number | undefined)",
|
|
1820
1911
|
value: input.maxLines
|
|
@@ -1823,40 +1914,40 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1823
1914
|
expected: "(string | undefined)",
|
|
1824
1915
|
value: input.mode
|
|
1825
1916
|
}, errorFactory));
|
|
1826
|
-
const $
|
|
1917
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
1827
1918
|
path: _path + ".search",
|
|
1828
1919
|
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
1829
1920
|
value: input.search
|
|
1830
|
-
}, errorFactory)) && $
|
|
1921
|
+
}, errorFactory)) && $ao32(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
1831
1922
|
path: _path + ".search",
|
|
1832
1923
|
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
1833
1924
|
value: input.search
|
|
1834
1925
|
}, errorFactory);
|
|
1835
|
-
const $
|
|
1926
|
+
const $ao32 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
1836
1927
|
path: _path + ".maxItemsDisplayed",
|
|
1837
1928
|
expected: "(number | undefined)",
|
|
1838
1929
|
value: input.maxItemsDisplayed
|
|
1839
1930
|
}, errorFactory);
|
|
1840
|
-
const $
|
|
1931
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
1841
1932
|
path: _path + ".maxHeight",
|
|
1842
1933
|
expected: "(number | undefined)",
|
|
1843
1934
|
value: input.maxHeight
|
|
1844
1935
|
}, errorFactory);
|
|
1845
|
-
const $
|
|
1936
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
1846
1937
|
path: _path + ".adobe",
|
|
1847
1938
|
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
1848
1939
|
value: input.adobe
|
|
1849
|
-
}, errorFactory)) && $
|
|
1940
|
+
}, errorFactory)) && $ao35(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1850
1941
|
path: _path + ".adobe",
|
|
1851
1942
|
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
1852
1943
|
value: input.adobe
|
|
1853
1944
|
}, errorFactory);
|
|
1854
|
-
const $
|
|
1945
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
1855
1946
|
path: _path + ".useProxies",
|
|
1856
1947
|
expected: "(boolean | undefined)",
|
|
1857
1948
|
value: input.useProxies
|
|
1858
1949
|
}, errorFactory);
|
|
1859
|
-
const $
|
|
1950
|
+
const $ao36 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
1860
1951
|
path: _path + ".utils",
|
|
1861
1952
|
expected: "(boolean | undefined)",
|
|
1862
1953
|
value: input.utils
|
|
@@ -1920,32 +2011,33 @@ export const stringifySettingsRecord = input => {
|
|
|
1920
2011
|
const $io10 = 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);
|
|
1921
2012
|
const $io11 = input => undefined === input.color || "string" === typeof input.color;
|
|
1922
2013
|
const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
1923
|
-
const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
|
|
2014
|
+
const $io13 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io15(elem)));
|
|
1924
2015
|
const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
1925
|
-
const $io15 = input =>
|
|
1926
|
-
const $io16 = input => undefined === input.
|
|
1927
|
-
const $io17 = input =>
|
|
1928
|
-
const $io18 = input => undefined === input.
|
|
1929
|
-
const $io19 = input =>
|
|
1930
|
-
const $io20 = input => (undefined === input.
|
|
1931
|
-
const $io21 = input => "
|
|
1932
|
-
const $io22 = input =>
|
|
1933
|
-
const $io23 = input =>
|
|
1934
|
-
const $io24 = input => (undefined === input.
|
|
1935
|
-
const $io25 = input => "
|
|
1936
|
-
const $io26 = input =>
|
|
1937
|
-
const $io27 = input => undefined === input.
|
|
1938
|
-
const $io28 = input => undefined === input.
|
|
1939
|
-
const $io29 = input =>
|
|
1940
|
-
const $io30 = input => undefined === input.
|
|
1941
|
-
const $io31 = input => undefined === input.
|
|
1942
|
-
const $io32 = input => undefined === input.
|
|
1943
|
-
const $io33 = input => undefined === input.
|
|
1944
|
-
const $io34 = input => undefined === input.
|
|
1945
|
-
const $io35 = input =>
|
|
2016
|
+
const $io15 = 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);
|
|
2017
|
+
const $io16 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2018
|
+
const $io17 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2019
|
+
const $io18 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io19(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) && $io20(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) && $io21(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 && $io22(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io23(input.transcribe));
|
|
2020
|
+
const $io19 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2021
|
+
const $io20 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2022
|
+
const $io21 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
2023
|
+
const $io22 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2024
|
+
const $io23 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io24(input.subtitleDisclaimer);
|
|
2025
|
+
const $io24 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io25(input.defaultValue));
|
|
2026
|
+
const $io25 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io26(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
2027
|
+
const $io26 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2028
|
+
const $io27 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io28(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io31(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io33(input.item));
|
|
2029
|
+
const $io28 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io29(input.story);
|
|
2030
|
+
const $io29 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io30(input.excerpt);
|
|
2031
|
+
const $io30 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2032
|
+
const $io31 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io32(input.search);
|
|
2033
|
+
const $io32 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
2034
|
+
const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2035
|
+
const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
|
|
2036
|
+
const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2037
|
+
const $io36 = 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);
|
|
1946
2038
|
const $string = __typia.json.createStringify.string;
|
|
1947
2039
|
const $tail = __typia.json.createStringify.tail;
|
|
1948
|
-
const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so5(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so7(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so8(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so9(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so10(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so11(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so12(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so13(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $
|
|
2040
|
+
const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so5(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so7(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so8(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so9(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so10(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so11(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so12(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so13(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so16(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so17(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 ? $so18(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 ? $so27(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so34(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 ? $so36(input.flags) : undefined}`}`)}}`;
|
|
1949
2041
|
const $so1 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so2(input.tabs) : undefined}`}`)}}`;
|
|
1950
2042
|
const $so2 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so3(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1951
2043
|
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
@@ -1960,32 +2052,33 @@ export const stringifySettingsRecord = input => {
|
|
|
1960
2052
|
const $so10 = 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}`}`)}}`;
|
|
1961
2053
|
const $so11 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined}`}`)}}`;
|
|
1962
2054
|
const $so12 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
|
|
1963
|
-
const $so13 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so14(input.createMenu) : undefined}`}`)}}`;
|
|
2055
|
+
const $so13 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so14(input.createMenu) : undefined},`}${undefined === input.colorTags ? "" : `"colorTags":${undefined !== input.colorTags ? `[${input.colorTags.map(elem => $so15(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
1964
2056
|
const $so14 = input => `{${$tail(`${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`;
|
|
1965
|
-
const $so15 = input => `{
|
|
1966
|
-
const $so16 = input => `{${$tail(`${undefined === input.
|
|
1967
|
-
const $so17 = input => `{${$tail(`${undefined === input.
|
|
1968
|
-
const $so18 = input => `{${$tail(`${undefined === input.
|
|
1969
|
-
const $so19 = input => `{${$tail(`${undefined === input.
|
|
1970
|
-
const $so20 = input => `{${$tail(`${undefined === input.
|
|
1971
|
-
const $
|
|
1972
|
-
const $so23 = input => `{${$tail(`${undefined === input.
|
|
1973
|
-
const $so24 = input => `{${$tail(`${undefined === input.
|
|
1974
|
-
const $
|
|
1975
|
-
const $so27 = input => `{${$tail(`${undefined === input.
|
|
1976
|
-
const $so28 = input => `{${$tail(`${undefined === input.
|
|
1977
|
-
const $so29 = input => `{${$tail(`${undefined === input.
|
|
1978
|
-
const $so30 = input => `{${$tail(`${undefined === input.
|
|
1979
|
-
const $so31 = input => `{${$tail(`${undefined === input.
|
|
1980
|
-
const $so32 = input => `{${$tail(`${undefined === input.
|
|
1981
|
-
const $so33 = input => `{${$tail(`${undefined === input.
|
|
1982
|
-
const $so34 = input => `{${$tail(`${undefined === input.
|
|
1983
|
-
const $so35 = input => `{${$tail(`${undefined === input.
|
|
2057
|
+
const $so15 = 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"}}`;
|
|
2058
|
+
const $so16 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
2059
|
+
const $so17 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
2060
|
+
const $so18 = input => `{${$tail(`${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so19(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 ? $so20(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 ? $so21(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 ? $so23(input.transcribe) : undefined}`}`)}}`;
|
|
2061
|
+
const $so19 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
2062
|
+
const $so20 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? $string(input.preview) : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
2063
|
+
const $so21 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
|
|
2064
|
+
const $so23 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so24(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
2065
|
+
const $so24 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so25(input.defaultValue) : undefined}`}`)}}`;
|
|
2066
|
+
const $so25 = 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}`}`)}}`;
|
|
2067
|
+
const $so27 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so28(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so31(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so33(input.item) : undefined}`}`)}}`;
|
|
2068
|
+
const $so28 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so29(input.story) : undefined}`}`)}}`;
|
|
2069
|
+
const $so29 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so30(input.excerpt) : undefined}`}`)}}`;
|
|
2070
|
+
const $so30 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
2071
|
+
const $so31 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so32(input.search) : undefined}`}`)}}`;
|
|
2072
|
+
const $so32 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
2073
|
+
const $so33 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
2074
|
+
const $so34 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so35(input.adobe) : undefined}`}`)}}`;
|
|
2075
|
+
const $so35 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
2076
|
+
const $so36 = 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}`}`)}}`;
|
|
1984
2077
|
return $so0(input);
|
|
1985
2078
|
};
|
|
1986
2079
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1987
2080
|
const __is = input => {
|
|
1988
|
-
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $
|
|
2081
|
+
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io1(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io5(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io7(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io8(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io9(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io10(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io11(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io12(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io13(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io16(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io17(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) && $io18(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) && $io27(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io34(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) && $io36(input.flags));
|
|
1989
2082
|
const $io1 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io2(input.tabs);
|
|
1990
2083
|
const $io2 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io3(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
1991
2084
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
@@ -2005,29 +2098,30 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2005
2098
|
const $io10 = 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);
|
|
2006
2099
|
const $io11 = input => undefined === input.color || "string" === typeof input.color;
|
|
2007
2100
|
const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru && !Number.isNaN(input.maxMru)) && (undefined === input.maxTabs || "number" === typeof input.maxTabs && !Number.isNaN(input.maxTabs));
|
|
2008
|
-
const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
|
|
2101
|
+
const $io13 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io15(elem)));
|
|
2009
2102
|
const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
2010
|
-
const $io15 = input =>
|
|
2011
|
-
const $io16 = input => undefined === input.
|
|
2012
|
-
const $io17 = input =>
|
|
2013
|
-
const $io18 = input => undefined === input.
|
|
2014
|
-
const $io19 = input =>
|
|
2015
|
-
const $io20 = input => (undefined === input.
|
|
2016
|
-
const $io21 = input => "
|
|
2017
|
-
const $io22 = input =>
|
|
2018
|
-
const $io23 = input =>
|
|
2019
|
-
const $io24 = input => (undefined === input.
|
|
2020
|
-
const $io25 = input => "
|
|
2021
|
-
const $io26 = input =>
|
|
2022
|
-
const $io27 = input => undefined === input.
|
|
2023
|
-
const $io28 = input => undefined === input.
|
|
2024
|
-
const $io29 = input =>
|
|
2025
|
-
const $io30 = input => undefined === input.
|
|
2026
|
-
const $io31 = input => undefined === input.
|
|
2027
|
-
const $io32 = input => undefined === input.
|
|
2028
|
-
const $io33 = input => undefined === input.
|
|
2029
|
-
const $io34 = input => undefined === input.
|
|
2030
|
-
const $io35 = input =>
|
|
2103
|
+
const $io15 = 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);
|
|
2104
|
+
const $io16 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2105
|
+
const $io17 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2106
|
+
const $io18 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io19(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) && $io20(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) && $io21(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 && $io22(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io23(input.transcribe));
|
|
2107
|
+
const $io19 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2108
|
+
const $io20 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2109
|
+
const $io21 = input => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine));
|
|
2110
|
+
const $io22 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2111
|
+
const $io23 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io24(input.subtitleDisclaimer);
|
|
2112
|
+
const $io24 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io25(input.defaultValue));
|
|
2113
|
+
const $io25 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io26(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
|
|
2114
|
+
const $io26 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2115
|
+
const $io27 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io28(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io31(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io33(input.item));
|
|
2116
|
+
const $io28 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io29(input.story);
|
|
2117
|
+
const $io29 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io30(input.excerpt);
|
|
2118
|
+
const $io30 = input => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines)) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2119
|
+
const $io31 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io32(input.search);
|
|
2120
|
+
const $io32 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed);
|
|
2121
|
+
const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
2122
|
+
const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
|
|
2123
|
+
const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2124
|
+
const $io36 = 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);
|
|
2031
2125
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2032
2126
|
};
|
|
2033
2127
|
if (false === __is(input))
|
|
@@ -2110,7 +2204,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2110
2204
|
path: _path + ".rundown",
|
|
2111
2205
|
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
2112
2206
|
value: input.rundown
|
|
2113
|
-
}, errorFactory)) && $
|
|
2207
|
+
}, errorFactory)) && $ao16(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
2114
2208
|
path: _path + ".rundown",
|
|
2115
2209
|
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
2116
2210
|
value: input.rundown
|
|
@@ -2118,7 +2212,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2118
2212
|
path: _path + ".gallery",
|
|
2119
2213
|
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
2120
2214
|
value: input.gallery
|
|
2121
|
-
}, errorFactory)) && $
|
|
2215
|
+
}, errorFactory)) && $ao17(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
2122
2216
|
path: _path + ".gallery",
|
|
2123
2217
|
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
2124
2218
|
value: input.gallery
|
|
@@ -2130,7 +2224,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2130
2224
|
path: _path + ".media",
|
|
2131
2225
|
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
2132
2226
|
value: input.media
|
|
2133
|
-
}, errorFactory)) && $
|
|
2227
|
+
}, errorFactory)) && $ao18(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
2134
2228
|
path: _path + ".media",
|
|
2135
2229
|
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
2136
2230
|
value: input.media
|
|
@@ -2150,7 +2244,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2150
2244
|
path: _path + ".storyboard",
|
|
2151
2245
|
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2152
2246
|
value: input.storyboard
|
|
2153
|
-
}, errorFactory)) && $
|
|
2247
|
+
}, errorFactory)) && $ao27(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
2154
2248
|
path: _path + ".storyboard",
|
|
2155
2249
|
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2156
2250
|
value: input.storyboard
|
|
@@ -2158,7 +2252,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2158
2252
|
path: _path + ".plugins",
|
|
2159
2253
|
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2160
2254
|
value: input.plugins
|
|
2161
|
-
}, errorFactory)) && $
|
|
2255
|
+
}, errorFactory)) && $ao34(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
2162
2256
|
path: _path + ".plugins",
|
|
2163
2257
|
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2164
2258
|
value: input.plugins
|
|
@@ -2174,7 +2268,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2174
2268
|
path: _path + ".flags",
|
|
2175
2269
|
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2176
2270
|
value: input.flags
|
|
2177
|
-
}, errorFactory)) && $
|
|
2271
|
+
}, errorFactory)) && $ao36(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2178
2272
|
path: _path + ".flags",
|
|
2179
2273
|
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2180
2274
|
value: input.flags
|
|
@@ -2330,7 +2424,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2330
2424
|
expected: "(number | undefined)",
|
|
2331
2425
|
value: input.maxTabs
|
|
2332
2426
|
}, errorFactory));
|
|
2333
|
-
const $ao13 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
2427
|
+
const $ao13 = (input, _path, _exceptionable = true) => (undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
2334
2428
|
path: _path + ".createMenu",
|
|
2335
2429
|
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
2336
2430
|
value: input.createMenu
|
|
@@ -2338,27 +2432,60 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2338
2432
|
path: _path + ".createMenu",
|
|
2339
2433
|
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
2340
2434
|
value: input.createMenu
|
|
2341
|
-
}, errorFactory)
|
|
2435
|
+
}, errorFactory)) && (undefined === input.colorTags || (Array.isArray(input.colorTags) || $guard(_exceptionable, {
|
|
2436
|
+
path: _path + ".colorTags",
|
|
2437
|
+
expected: "(Array<PromotedTag> | undefined)",
|
|
2438
|
+
value: input.colorTags
|
|
2439
|
+
}, errorFactory)) && input.colorTags.every((elem, _index6) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2440
|
+
path: _path + ".colorTags[" + _index6 + "]",
|
|
2441
|
+
expected: "PromotedTag",
|
|
2442
|
+
value: elem
|
|
2443
|
+
}, errorFactory)) && $ao15(elem, _path + ".colorTags[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2444
|
+
path: _path + ".colorTags[" + _index6 + "]",
|
|
2445
|
+
expected: "PromotedTag",
|
|
2446
|
+
value: elem
|
|
2447
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2448
|
+
path: _path + ".colorTags",
|
|
2449
|
+
expected: "(Array<PromotedTag> | undefined)",
|
|
2450
|
+
value: input.colorTags
|
|
2451
|
+
}, errorFactory));
|
|
2342
2452
|
const $ao14 = (input, _path, _exceptionable = true) => undefined === input.showPreview || "boolean" === typeof input.showPreview || $guard(_exceptionable, {
|
|
2343
2453
|
path: _path + ".showPreview",
|
|
2344
2454
|
expected: "(boolean | undefined)",
|
|
2345
2455
|
value: input.showPreview
|
|
2346
2456
|
}, errorFactory);
|
|
2347
|
-
const $ao15 = (input, _path, _exceptionable = true) =>
|
|
2457
|
+
const $ao15 = (input, _path, _exceptionable = true) => (null === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
2458
|
+
path: _path + ".name",
|
|
2459
|
+
expected: "(null | string)",
|
|
2460
|
+
value: input.name
|
|
2461
|
+
}, errorFactory)) && (null === input.icon || "string" === typeof input.icon || $guard(_exceptionable, {
|
|
2462
|
+
path: _path + ".icon",
|
|
2463
|
+
expected: "(null | string)",
|
|
2464
|
+
value: input.icon
|
|
2465
|
+
}, errorFactory)) && (null === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
2466
|
+
path: _path + ".color",
|
|
2467
|
+
expected: "(null | string)",
|
|
2468
|
+
value: input.color
|
|
2469
|
+
}, errorFactory)) && (null === input.description || "string" === typeof input.description || $guard(_exceptionable, {
|
|
2470
|
+
path: _path + ".description",
|
|
2471
|
+
expected: "(null | string)",
|
|
2472
|
+
value: input.description
|
|
2473
|
+
}, errorFactory));
|
|
2474
|
+
const $ao16 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
2348
2475
|
path: _path + ".eventThumbnails",
|
|
2349
2476
|
expected: "(boolean | undefined)",
|
|
2350
2477
|
value: input.eventThumbnails
|
|
2351
2478
|
}, errorFactory);
|
|
2352
|
-
const $
|
|
2479
|
+
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
2353
2480
|
path: _path + ".dimOnBlur",
|
|
2354
2481
|
expected: "(boolean | undefined)",
|
|
2355
2482
|
value: input.dimOnBlur
|
|
2356
2483
|
}, errorFactory);
|
|
2357
|
-
const $
|
|
2484
|
+
const $ao18 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
2358
2485
|
path: _path + ".guide",
|
|
2359
2486
|
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
2360
2487
|
value: input.guide
|
|
2361
|
-
}, errorFactory)) && $
|
|
2488
|
+
}, errorFactory)) && $ao19(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
2362
2489
|
path: _path + ".guide",
|
|
2363
2490
|
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
2364
2491
|
value: input.guide
|
|
@@ -2378,7 +2505,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2378
2505
|
path: _path + ".tile",
|
|
2379
2506
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
2380
2507
|
value: input.tile
|
|
2381
|
-
}, errorFactory)) && $
|
|
2508
|
+
}, errorFactory)) && $ao20(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
2382
2509
|
path: _path + ".tile",
|
|
2383
2510
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
2384
2511
|
value: input.tile
|
|
@@ -2406,8 +2533,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2406
2533
|
path: _path + ".playbackRates",
|
|
2407
2534
|
expected: "(Array<number> | undefined)",
|
|
2408
2535
|
value: input.playbackRates
|
|
2409
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
2410
|
-
path: _path + ".playbackRates[" +
|
|
2536
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index7) => "number" === typeof elem && !Number.isNaN(elem) || $guard(_exceptionable, {
|
|
2537
|
+
path: _path + ".playbackRates[" + _index7 + "]",
|
|
2411
2538
|
expected: "number",
|
|
2412
2539
|
value: elem
|
|
2413
2540
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2418,7 +2545,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2418
2545
|
path: _path + ".subtitles",
|
|
2419
2546
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
2420
2547
|
value: input.subtitles
|
|
2421
|
-
}, errorFactory)) && $
|
|
2548
|
+
}, errorFactory)) && $ao21(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
2422
2549
|
path: _path + ".subtitles",
|
|
2423
2550
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
2424
2551
|
value: input.subtitles
|
|
@@ -2434,12 +2561,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2434
2561
|
path: _path + ".guides",
|
|
2435
2562
|
expected: "(Array<__type> | undefined)",
|
|
2436
2563
|
value: input.guides
|
|
2437
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
2438
|
-
path: _path + ".guides[" +
|
|
2564
|
+
}, errorFactory)) && input.guides.every((elem, _index8) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2565
|
+
path: _path + ".guides[" + _index8 + "]",
|
|
2439
2566
|
expected: "__type",
|
|
2440
2567
|
value: elem
|
|
2441
|
-
}, errorFactory)) && $
|
|
2442
|
-
path: _path + ".guides[" +
|
|
2568
|
+
}, errorFactory)) && $ao22(elem, _path + ".guides[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2569
|
+
path: _path + ".guides[" + _index8 + "]",
|
|
2443
2570
|
expected: "__type",
|
|
2444
2571
|
value: elem
|
|
2445
2572
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2454,17 +2581,17 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2454
2581
|
path: _path + ".transcribe",
|
|
2455
2582
|
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
2456
2583
|
value: input.transcribe
|
|
2457
|
-
}, errorFactory)) && $
|
|
2584
|
+
}, errorFactory)) && $ao23(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2458
2585
|
path: _path + ".transcribe",
|
|
2459
2586
|
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
2460
2587
|
value: input.transcribe
|
|
2461
2588
|
}, errorFactory));
|
|
2462
|
-
const $
|
|
2589
|
+
const $ao19 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
2463
2590
|
path: _path + ".mask",
|
|
2464
2591
|
expected: "(boolean | undefined)",
|
|
2465
2592
|
value: input.mask
|
|
2466
2593
|
}, errorFactory);
|
|
2467
|
-
const $
|
|
2594
|
+
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
|
|
2468
2595
|
path: _path + ".preview",
|
|
2469
2596
|
expected: "(string | undefined)",
|
|
2470
2597
|
value: input.preview
|
|
@@ -2473,7 +2600,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2473
2600
|
expected: "(boolean | undefined)",
|
|
2474
2601
|
value: input.showRenderProgress
|
|
2475
2602
|
}, errorFactory));
|
|
2476
|
-
const $
|
|
2603
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing) || $guard(_exceptionable, {
|
|
2477
2604
|
path: _path + ".spacing",
|
|
2478
2605
|
expected: "(number | undefined)",
|
|
2479
2606
|
value: input.spacing
|
|
@@ -2482,7 +2609,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2482
2609
|
expected: "(number | undefined)",
|
|
2483
2610
|
value: input.maxCharactersPerLine
|
|
2484
2611
|
}, errorFactory));
|
|
2485
|
-
const $
|
|
2612
|
+
const $ao22 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
2486
2613
|
path: _path + ".label",
|
|
2487
2614
|
expected: "string",
|
|
2488
2615
|
value: input.label
|
|
@@ -2491,16 +2618,16 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2491
2618
|
expected: "string",
|
|
2492
2619
|
value: input.aspectRatio
|
|
2493
2620
|
}, errorFactory));
|
|
2494
|
-
const $
|
|
2621
|
+
const $ao23 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
2495
2622
|
path: _path + ".subtitleDisclaimer",
|
|
2496
2623
|
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
2497
2624
|
value: input.subtitleDisclaimer
|
|
2498
|
-
}, errorFactory)) && $
|
|
2625
|
+
}, errorFactory)) && $ao24(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
2499
2626
|
path: _path + ".subtitleDisclaimer",
|
|
2500
2627
|
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
2501
2628
|
value: input.subtitleDisclaimer
|
|
2502
2629
|
}, errorFactory);
|
|
2503
|
-
const $
|
|
2630
|
+
const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
2504
2631
|
path: _path + ".isUserConfigurable",
|
|
2505
2632
|
expected: "(boolean | undefined)",
|
|
2506
2633
|
value: input.isUserConfigurable
|
|
@@ -2508,12 +2635,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2508
2635
|
path: _path + ".defaultValue",
|
|
2509
2636
|
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2510
2637
|
value: input.defaultValue
|
|
2511
|
-
}, errorFactory)) && $
|
|
2638
|
+
}, errorFactory)) && $ao25(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
2512
2639
|
path: _path + ".defaultValue",
|
|
2513
2640
|
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2514
2641
|
value: input.defaultValue
|
|
2515
2642
|
}, errorFactory));
|
|
2516
|
-
const $
|
|
2643
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
2517
2644
|
path: _path + ".enabled",
|
|
2518
2645
|
expected: "(false | undefined)",
|
|
2519
2646
|
value: input.enabled
|
|
@@ -2521,12 +2648,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2521
2648
|
path: _path + ".text",
|
|
2522
2649
|
expected: "(Array<__type>.o1 | undefined)",
|
|
2523
2650
|
value: input.text
|
|
2524
|
-
}, errorFactory)) && input.text.every((elem,
|
|
2525
|
-
path: _path + ".text[" +
|
|
2651
|
+
}, errorFactory)) && input.text.every((elem, _index9) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2652
|
+
path: _path + ".text[" + _index9 + "]",
|
|
2526
2653
|
expected: "__type.o1",
|
|
2527
2654
|
value: elem
|
|
2528
|
-
}, errorFactory)) && $
|
|
2529
|
-
path: _path + ".text[" +
|
|
2655
|
+
}, errorFactory)) && $ao26(elem, _path + ".text[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2656
|
+
path: _path + ".text[" + _index9 + "]",
|
|
2530
2657
|
expected: "__type.o1",
|
|
2531
2658
|
value: elem
|
|
2532
2659
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2542,7 +2669,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2542
2669
|
expected: "(number | undefined)",
|
|
2543
2670
|
value: input.duration
|
|
2544
2671
|
}, errorFactory));
|
|
2545
|
-
const $
|
|
2672
|
+
const $ao26 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
2546
2673
|
path: _path + ".language",
|
|
2547
2674
|
expected: "string",
|
|
2548
2675
|
value: input.language
|
|
@@ -2551,11 +2678,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2551
2678
|
expected: "string",
|
|
2552
2679
|
value: input.value
|
|
2553
2680
|
}, errorFactory));
|
|
2554
|
-
const $
|
|
2681
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
2555
2682
|
path: _path + ".assets",
|
|
2556
2683
|
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2557
2684
|
value: input.assets
|
|
2558
|
-
}, errorFactory)) && $
|
|
2685
|
+
}, errorFactory)) && $ao28(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2559
2686
|
path: _path + ".assets",
|
|
2560
2687
|
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2561
2688
|
value: input.assets
|
|
@@ -2563,7 +2690,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2563
2690
|
path: _path + ".pipeline",
|
|
2564
2691
|
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2565
2692
|
value: input.pipeline
|
|
2566
|
-
}, errorFactory)) && $
|
|
2693
|
+
}, errorFactory)) && $ao31(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2567
2694
|
path: _path + ".pipeline",
|
|
2568
2695
|
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2569
2696
|
value: input.pipeline
|
|
@@ -2571,30 +2698,30 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2571
2698
|
path: _path + ".item",
|
|
2572
2699
|
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2573
2700
|
value: input.item
|
|
2574
|
-
}, errorFactory)) && $
|
|
2701
|
+
}, errorFactory)) && $ao33(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2575
2702
|
path: _path + ".item",
|
|
2576
2703
|
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2577
2704
|
value: input.item
|
|
2578
2705
|
}, errorFactory));
|
|
2579
|
-
const $
|
|
2706
|
+
const $ao28 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
2580
2707
|
path: _path + ".story",
|
|
2581
2708
|
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2582
2709
|
value: input.story
|
|
2583
|
-
}, errorFactory)) && $
|
|
2710
|
+
}, errorFactory)) && $ao29(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2584
2711
|
path: _path + ".story",
|
|
2585
2712
|
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2586
2713
|
value: input.story
|
|
2587
2714
|
}, errorFactory);
|
|
2588
|
-
const $
|
|
2715
|
+
const $ao29 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
2589
2716
|
path: _path + ".excerpt",
|
|
2590
2717
|
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
2591
2718
|
value: input.excerpt
|
|
2592
|
-
}, errorFactory)) && $
|
|
2719
|
+
}, errorFactory)) && $ao30(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2593
2720
|
path: _path + ".excerpt",
|
|
2594
2721
|
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
2595
2722
|
value: input.excerpt
|
|
2596
2723
|
}, errorFactory);
|
|
2597
|
-
const $
|
|
2724
|
+
const $ao30 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
2598
2725
|
path: _path + ".maxLines",
|
|
2599
2726
|
expected: "(number | undefined)",
|
|
2600
2727
|
value: input.maxLines
|
|
@@ -2603,40 +2730,40 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2603
2730
|
expected: "(string | undefined)",
|
|
2604
2731
|
value: input.mode
|
|
2605
2732
|
}, errorFactory));
|
|
2606
|
-
const $
|
|
2733
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2607
2734
|
path: _path + ".search",
|
|
2608
2735
|
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2609
2736
|
value: input.search
|
|
2610
|
-
}, errorFactory)) && $
|
|
2737
|
+
}, errorFactory)) && $ao32(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2611
2738
|
path: _path + ".search",
|
|
2612
2739
|
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2613
2740
|
value: input.search
|
|
2614
2741
|
}, errorFactory);
|
|
2615
|
-
const $
|
|
2742
|
+
const $ao32 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
2616
2743
|
path: _path + ".maxItemsDisplayed",
|
|
2617
2744
|
expected: "(number | undefined)",
|
|
2618
2745
|
value: input.maxItemsDisplayed
|
|
2619
2746
|
}, errorFactory);
|
|
2620
|
-
const $
|
|
2747
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
2621
2748
|
path: _path + ".maxHeight",
|
|
2622
2749
|
expected: "(number | undefined)",
|
|
2623
2750
|
value: input.maxHeight
|
|
2624
2751
|
}, errorFactory);
|
|
2625
|
-
const $
|
|
2752
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
2626
2753
|
path: _path + ".adobe",
|
|
2627
2754
|
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2628
2755
|
value: input.adobe
|
|
2629
|
-
}, errorFactory)) && $
|
|
2756
|
+
}, errorFactory)) && $ao35(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2630
2757
|
path: _path + ".adobe",
|
|
2631
2758
|
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2632
2759
|
value: input.adobe
|
|
2633
2760
|
}, errorFactory);
|
|
2634
|
-
const $
|
|
2761
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2635
2762
|
path: _path + ".useProxies",
|
|
2636
2763
|
expected: "(boolean | undefined)",
|
|
2637
2764
|
value: input.useProxies
|
|
2638
2765
|
}, errorFactory);
|
|
2639
|
-
const $
|
|
2766
|
+
const $ao36 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2640
2767
|
path: _path + ".utils",
|
|
2641
2768
|
expected: "(boolean | undefined)",
|
|
2642
2769
|
value: input.utils
|
|
@@ -2700,32 +2827,33 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2700
2827
|
const $io10 = 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);
|
|
2701
2828
|
const $io11 = input => undefined === input.color || "string" === typeof input.color;
|
|
2702
2829
|
const $io12 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
2703
|
-
const $io13 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu);
|
|
2830
|
+
const $io13 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io14(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io15(elem)));
|
|
2704
2831
|
const $io14 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
2705
|
-
const $io15 = input =>
|
|
2706
|
-
const $io16 = input => undefined === input.
|
|
2707
|
-
const $io17 = input =>
|
|
2708
|
-
const $io18 = input => undefined === input.
|
|
2709
|
-
const $io19 = input =>
|
|
2710
|
-
const $io20 = input => (undefined === input.
|
|
2711
|
-
const $io21 = input => "
|
|
2712
|
-
const $io22 = input =>
|
|
2713
|
-
const $io23 = input =>
|
|
2714
|
-
const $io24 = input => (undefined === input.
|
|
2715
|
-
const $io25 = input => "
|
|
2716
|
-
const $io26 = input =>
|
|
2717
|
-
const $io27 = input => undefined === input.
|
|
2718
|
-
const $io28 = input => undefined === input.
|
|
2719
|
-
const $io29 = input =>
|
|
2720
|
-
const $io30 = input => undefined === input.
|
|
2721
|
-
const $io31 = input => undefined === input.
|
|
2722
|
-
const $io32 = input => undefined === input.
|
|
2723
|
-
const $io33 = input => undefined === input.
|
|
2724
|
-
const $io34 = input => undefined === input.
|
|
2725
|
-
const $io35 = input =>
|
|
2832
|
+
const $io15 = 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);
|
|
2833
|
+
const $io16 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2834
|
+
const $io17 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2835
|
+
const $io18 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io19(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) && $io20(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) && $io21(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 && $io22(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io23(input.transcribe));
|
|
2836
|
+
const $io19 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2837
|
+
const $io20 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2838
|
+
const $io21 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
2839
|
+
const $io22 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2840
|
+
const $io23 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io24(input.subtitleDisclaimer);
|
|
2841
|
+
const $io24 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io25(input.defaultValue));
|
|
2842
|
+
const $io25 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io26(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
2843
|
+
const $io26 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2844
|
+
const $io27 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io28(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io31(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io33(input.item));
|
|
2845
|
+
const $io28 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io29(input.story);
|
|
2846
|
+
const $io29 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io30(input.excerpt);
|
|
2847
|
+
const $io30 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2848
|
+
const $io31 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io32(input.search);
|
|
2849
|
+
const $io32 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
2850
|
+
const $io33 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2851
|
+
const $io34 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io35(input.adobe);
|
|
2852
|
+
const $io35 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2853
|
+
const $io36 = 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);
|
|
2726
2854
|
const $string = __typia.json.createAssertStringify.string;
|
|
2727
2855
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
2728
|
-
const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so5(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so7(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so8(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so9(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so10(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so11(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so12(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so13(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $
|
|
2856
|
+
const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so1(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so5(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so7(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so8(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so9(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so10(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so11(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so12(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so13(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so16(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so17(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 ? $so18(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 ? $so27(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so34(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 ? $so36(input.flags) : undefined}`}`)}}`;
|
|
2729
2857
|
const $so1 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so2(input.tabs) : undefined}`}`)}}`;
|
|
2730
2858
|
const $so2 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so3(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2731
2859
|
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
@@ -2740,26 +2868,27 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2740
2868
|
const $so10 = 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}`}`)}}`;
|
|
2741
2869
|
const $so11 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined}`}`)}}`;
|
|
2742
2870
|
const $so12 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
|
|
2743
|
-
const $so13 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so14(input.createMenu) : undefined}`}`)}}`;
|
|
2871
|
+
const $so13 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so14(input.createMenu) : undefined},`}${undefined === input.colorTags ? "" : `"colorTags":${undefined !== input.colorTags ? `[${input.colorTags.map(elem => $so15(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2744
2872
|
const $so14 = input => `{${$tail(`${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`;
|
|
2745
|
-
const $so15 = input => `{
|
|
2746
|
-
const $so16 = input => `{${$tail(`${undefined === input.
|
|
2747
|
-
const $so17 = input => `{${$tail(`${undefined === input.
|
|
2748
|
-
const $so18 = input => `{${$tail(`${undefined === input.
|
|
2749
|
-
const $so19 = input => `{${$tail(`${undefined === input.
|
|
2750
|
-
const $so20 = input => `{${$tail(`${undefined === input.
|
|
2751
|
-
const $
|
|
2752
|
-
const $so23 = input => `{${$tail(`${undefined === input.
|
|
2753
|
-
const $so24 = input => `{${$tail(`${undefined === input.
|
|
2754
|
-
const $
|
|
2755
|
-
const $so27 = input => `{${$tail(`${undefined === input.
|
|
2756
|
-
const $so28 = input => `{${$tail(`${undefined === input.
|
|
2757
|
-
const $so29 = input => `{${$tail(`${undefined === input.
|
|
2758
|
-
const $so30 = input => `{${$tail(`${undefined === input.
|
|
2759
|
-
const $so31 = input => `{${$tail(`${undefined === input.
|
|
2760
|
-
const $so32 = input => `{${$tail(`${undefined === input.
|
|
2761
|
-
const $so33 = input => `{${$tail(`${undefined === input.
|
|
2762
|
-
const $so34 = input => `{${$tail(`${undefined === input.
|
|
2763
|
-
const $so35 = input => `{${$tail(`${undefined === input.
|
|
2873
|
+
const $so15 = 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"}}`;
|
|
2874
|
+
const $so16 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
2875
|
+
const $so17 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
2876
|
+
const $so18 = input => `{${$tail(`${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so19(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 ? $so20(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 ? $so21(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 ? $so23(input.transcribe) : undefined}`}`)}}`;
|
|
2877
|
+
const $so19 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
2878
|
+
const $so20 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? $string(input.preview) : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
2879
|
+
const $so21 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
|
|
2880
|
+
const $so23 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so24(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
2881
|
+
const $so24 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so25(input.defaultValue) : undefined}`}`)}}`;
|
|
2882
|
+
const $so25 = 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}`}`)}}`;
|
|
2883
|
+
const $so27 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so28(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so31(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so33(input.item) : undefined}`}`)}}`;
|
|
2884
|
+
const $so28 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so29(input.story) : undefined}`}`)}}`;
|
|
2885
|
+
const $so29 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so30(input.excerpt) : undefined}`}`)}}`;
|
|
2886
|
+
const $so30 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
2887
|
+
const $so31 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so32(input.search) : undefined}`}`)}}`;
|
|
2888
|
+
const $so32 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
2889
|
+
const $so33 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
2890
|
+
const $so34 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so35(input.adobe) : undefined}`}`)}}`;
|
|
2891
|
+
const $so35 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
2892
|
+
const $so36 = 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}`}`)}}`;
|
|
2764
2893
|
return $so0(input);
|
|
2765
2894
|
}; return stringify(assert(input, errorFactory)); };
|