@nxtedition/types 1.6.9 → 1.6.11
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 +16 -4
- package/dist/common/settings.js +808 -706
- package/dist/domains/asset.d.ts +10 -0
- package/dist/domains/asset.js +124 -0
- package/dist/domains/event.d.ts +22 -0
- package/dist/domains/event.js +179 -6
- package/dist/domains/file.d.ts +26 -0
- package/dist/domains/file.js +971 -0
- package/dist/domains/index.d.ts +3 -1
- package/dist/domains/index.js +1 -0
- package/dist/domains/settings.js +866 -761
- package/package.json +1 -1
package/dist/domains/settings.js
CHANGED
|
@@ -1,190 +1,200 @@
|
|
|
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) && $
|
|
4
|
-
const $io1 = input => undefined === input.
|
|
5
|
-
const $io2 = input =>
|
|
3
|
+
const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io17(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io18(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) && $io19(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) && $io28(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io35(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) && $io37(input.flags));
|
|
4
|
+
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
5
|
+
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
6
|
+
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
6
7
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
7
8
|
return true;
|
|
8
9
|
const value = input[key];
|
|
9
10
|
if (undefined === value)
|
|
10
11
|
return true;
|
|
11
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
12
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
|
|
12
13
|
});
|
|
13
|
-
const $
|
|
14
|
-
const $
|
|
15
|
-
const $
|
|
16
|
-
const $
|
|
17
|
-
const $
|
|
18
|
-
const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
14
|
+
const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
15
|
+
const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
|
|
16
|
+
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
17
|
+
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
18
|
+
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
19
19
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
20
|
-
const $io10 = input =>
|
|
21
|
-
const $io11 = input => undefined === input.
|
|
22
|
-
const $io12 = input =>
|
|
23
|
-
const $io13 = input => (undefined === input.
|
|
24
|
-
const $io14 = input => undefined === input.
|
|
25
|
-
const $io15 = input =>
|
|
26
|
-
const $io16 = input =>
|
|
27
|
-
const $io17 = input => undefined === input.
|
|
28
|
-
const $io18 = input =>
|
|
29
|
-
const $io19 = input => undefined === input.
|
|
30
|
-
const $io20 = input =>
|
|
31
|
-
const $io21 = input => (undefined === input.
|
|
32
|
-
const $io22 = input => "
|
|
33
|
-
const $io23 = input =>
|
|
34
|
-
const $io24 = input =>
|
|
35
|
-
const $io25 = input => (undefined === input.
|
|
36
|
-
const $io26 = input => "
|
|
37
|
-
const $io27 = input =>
|
|
38
|
-
const $io28 = input => undefined === input.
|
|
39
|
-
const $io29 = input => undefined === input.
|
|
40
|
-
const $io30 = 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 => undefined === input.
|
|
46
|
-
const $io36 = input =>
|
|
20
|
+
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
21
|
+
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
22
|
+
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
23
|
+
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
24
|
+
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
25
|
+
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
26
|
+
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
27
|
+
const $io17 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
28
|
+
const $io18 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
29
|
+
const $io19 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io20(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) && $io21(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) && $io22(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 && $io23(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io24(input.transcribe));
|
|
30
|
+
const $io20 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
31
|
+
const $io21 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
32
|
+
const $io22 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
33
|
+
const $io23 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
34
|
+
const $io24 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io25(input.subtitleDisclaimer);
|
|
35
|
+
const $io25 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io26(input.defaultValue));
|
|
36
|
+
const $io26 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io27(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
37
|
+
const $io27 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
38
|
+
const $io28 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io29(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io32(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io34(input.item));
|
|
39
|
+
const $io29 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io30(input.story);
|
|
40
|
+
const $io30 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io31(input.excerpt);
|
|
41
|
+
const $io31 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
42
|
+
const $io32 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io33(input.search);
|
|
43
|
+
const $io33 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
44
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
45
|
+
const $io35 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io36(input.adobe);
|
|
46
|
+
const $io36 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
47
|
+
const $io37 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
47
48
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
48
49
|
};
|
|
49
50
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
50
51
|
const __is = input => {
|
|
51
|
-
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $
|
|
52
|
-
const $io1 = input => undefined === input.
|
|
53
|
-
const $io2 = input =>
|
|
52
|
+
const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io17(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io18(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) && $io19(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) && $io28(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io35(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) && $io37(input.flags));
|
|
53
|
+
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
54
|
+
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
55
|
+
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
54
56
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
55
57
|
return true;
|
|
56
58
|
const value = input[key];
|
|
57
59
|
if (undefined === value)
|
|
58
60
|
return true;
|
|
59
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
61
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
|
|
60
62
|
});
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
63
|
+
const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
64
|
+
const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
|
|
65
|
+
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
66
|
+
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
67
|
+
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
67
68
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
68
|
-
const $io10 = input =>
|
|
69
|
-
const $io11 = input => undefined === input.
|
|
70
|
-
const $io12 = input =>
|
|
71
|
-
const $io13 = input => (undefined === input.
|
|
72
|
-
const $io14 = input => undefined === input.
|
|
73
|
-
const $io15 = input =>
|
|
74
|
-
const $io16 = input =>
|
|
75
|
-
const $io17 = input => undefined === input.
|
|
76
|
-
const $io18 = input =>
|
|
77
|
-
const $io19 = input => undefined === input.
|
|
78
|
-
const $io20 = input =>
|
|
79
|
-
const $io21 = input => (undefined === input.
|
|
80
|
-
const $io22 = input => "
|
|
81
|
-
const $io23 = input =>
|
|
82
|
-
const $io24 = input =>
|
|
83
|
-
const $io25 = input => (undefined === input.
|
|
84
|
-
const $io26 = input => "
|
|
85
|
-
const $io27 = input =>
|
|
86
|
-
const $io28 = input => undefined === input.
|
|
87
|
-
const $io29 = input => undefined === input.
|
|
88
|
-
const $io30 = input =>
|
|
89
|
-
const $io31 = input => undefined === input.
|
|
90
|
-
const $io32 = input => undefined === input.
|
|
91
|
-
const $io33 = input => undefined === input.
|
|
92
|
-
const $io34 = input => undefined === input.
|
|
93
|
-
const $io35 = input => undefined === input.
|
|
94
|
-
const $io36 = input =>
|
|
69
|
+
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
70
|
+
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
71
|
+
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
72
|
+
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
73
|
+
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
74
|
+
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
75
|
+
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
76
|
+
const $io17 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
77
|
+
const $io18 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
78
|
+
const $io19 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io20(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) && $io21(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) && $io22(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 && $io23(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io24(input.transcribe));
|
|
79
|
+
const $io20 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
80
|
+
const $io21 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
81
|
+
const $io22 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
82
|
+
const $io23 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
83
|
+
const $io24 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io25(input.subtitleDisclaimer);
|
|
84
|
+
const $io25 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io26(input.defaultValue));
|
|
85
|
+
const $io26 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io27(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
86
|
+
const $io27 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
87
|
+
const $io28 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io29(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io32(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io34(input.item));
|
|
88
|
+
const $io29 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io30(input.story);
|
|
89
|
+
const $io30 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io31(input.excerpt);
|
|
90
|
+
const $io31 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
91
|
+
const $io32 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io33(input.search);
|
|
92
|
+
const $io33 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
93
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
94
|
+
const $io35 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io36(input.adobe);
|
|
95
|
+
const $io36 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
96
|
+
const $io37 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
95
97
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
96
98
|
};
|
|
97
99
|
if (false === __is(input))
|
|
98
100
|
((input, _path, _exceptionable = true) => {
|
|
99
101
|
const $guard = __typia.createAssert.guard;
|
|
100
102
|
const $join = __typia.createAssert.join;
|
|
101
|
-
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
102
|
-
path: _path + ".
|
|
103
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.permission || ("object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) || $guard(_exceptionable, {
|
|
104
|
+
path: _path + ".permission",
|
|
105
|
+
expected: "(PartialObjectDeep<__type, __type> | undefined)",
|
|
106
|
+
value: input.permission
|
|
107
|
+
}, errorFactory)) && $ao1(input.permission, _path + ".permission", true && _exceptionable) || $guard(_exceptionable, {
|
|
108
|
+
path: _path + ".permission",
|
|
103
109
|
expected: "(PartialObjectDeep<__type, __type> | undefined)",
|
|
110
|
+
value: input.permission
|
|
111
|
+
}, errorFactory)) && (undefined === input.module || ("object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) || $guard(_exceptionable, {
|
|
112
|
+
path: _path + ".module",
|
|
113
|
+
expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
|
|
104
114
|
value: input.module
|
|
105
|
-
}, errorFactory)) && $
|
|
115
|
+
}, errorFactory)) && $ao2(input.module, _path + ".module", true && _exceptionable) || $guard(_exceptionable, {
|
|
106
116
|
path: _path + ".module",
|
|
107
|
-
expected: "(PartialObjectDeep<__type, __type
|
|
117
|
+
expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
|
|
108
118
|
value: input.module
|
|
109
119
|
}, errorFactory)) && (undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || $guard(_exceptionable, {
|
|
110
120
|
path: _path + ".browser",
|
|
111
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
121
|
+
expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
|
|
112
122
|
value: input.browser
|
|
113
|
-
}, errorFactory)) && $
|
|
123
|
+
}, errorFactory)) && $ao6(input.browser, _path + ".browser", true && _exceptionable) || $guard(_exceptionable, {
|
|
114
124
|
path: _path + ".browser",
|
|
115
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
125
|
+
expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
|
|
116
126
|
value: input.browser
|
|
117
127
|
}, errorFactory)) && (undefined === input.toolbarTags || ("object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) || $guard(_exceptionable, {
|
|
118
128
|
path: _path + ".toolbarTags",
|
|
119
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
129
|
+
expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
|
|
120
130
|
value: input.toolbarTags
|
|
121
|
-
}, errorFactory)) && $
|
|
131
|
+
}, errorFactory)) && $ao8(input.toolbarTags, _path + ".toolbarTags", true && _exceptionable) || $guard(_exceptionable, {
|
|
122
132
|
path: _path + ".toolbarTags",
|
|
123
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
133
|
+
expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
|
|
124
134
|
value: input.toolbarTags
|
|
125
135
|
}, errorFactory)) && (undefined === input.deadlines || ("object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) || $guard(_exceptionable, {
|
|
126
136
|
path: _path + ".deadlines",
|
|
127
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
137
|
+
expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
|
|
128
138
|
value: input.deadlines
|
|
129
|
-
}, errorFactory)) && $
|
|
139
|
+
}, errorFactory)) && $ao9(input.deadlines, _path + ".deadlines", true && _exceptionable) || $guard(_exceptionable, {
|
|
130
140
|
path: _path + ".deadlines",
|
|
131
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
141
|
+
expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
|
|
132
142
|
value: input.deadlines
|
|
133
143
|
}, errorFactory)) && (undefined === input.assignees || ("object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) || $guard(_exceptionable, {
|
|
134
144
|
path: _path + ".assignees",
|
|
135
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
145
|
+
expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
|
|
136
146
|
value: input.assignees
|
|
137
|
-
}, errorFactory)) && $
|
|
147
|
+
}, errorFactory)) && $ao10(input.assignees, _path + ".assignees", true && _exceptionable) || $guard(_exceptionable, {
|
|
138
148
|
path: _path + ".assignees",
|
|
139
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
149
|
+
expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
|
|
140
150
|
value: input.assignees
|
|
141
151
|
}, errorFactory)) && (undefined === input.clock || ("object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) || $guard(_exceptionable, {
|
|
142
152
|
path: _path + ".clock",
|
|
143
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
153
|
+
expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
|
|
144
154
|
value: input.clock
|
|
145
|
-
}, errorFactory)) && $
|
|
155
|
+
}, errorFactory)) && $ao11(input.clock, _path + ".clock", true && _exceptionable) || $guard(_exceptionable, {
|
|
146
156
|
path: _path + ".clock",
|
|
147
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
157
|
+
expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
|
|
148
158
|
value: input.clock
|
|
149
159
|
}, errorFactory)) && (undefined === input.swarm || ("object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) || $guard(_exceptionable, {
|
|
150
160
|
path: _path + ".swarm",
|
|
151
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
161
|
+
expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
|
|
152
162
|
value: input.swarm
|
|
153
|
-
}, errorFactory)) && $
|
|
163
|
+
}, errorFactory)) && $ao12(input.swarm, _path + ".swarm", true && _exceptionable) || $guard(_exceptionable, {
|
|
154
164
|
path: _path + ".swarm",
|
|
155
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
165
|
+
expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
|
|
156
166
|
value: input.swarm
|
|
157
167
|
}, errorFactory)) && (undefined === input.dashboard || ("object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) || $guard(_exceptionable, {
|
|
158
168
|
path: _path + ".dashboard",
|
|
159
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
169
|
+
expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
|
|
160
170
|
value: input.dashboard
|
|
161
|
-
}, errorFactory)) && $
|
|
171
|
+
}, errorFactory)) && $ao13(input.dashboard, _path + ".dashboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
162
172
|
path: _path + ".dashboard",
|
|
163
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
173
|
+
expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
|
|
164
174
|
value: input.dashboard
|
|
165
175
|
}, errorFactory)) && (undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || $guard(_exceptionable, {
|
|
166
176
|
path: _path + ".script",
|
|
167
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
177
|
+
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
168
178
|
value: input.script
|
|
169
|
-
}, errorFactory)) && $
|
|
179
|
+
}, errorFactory)) && $ao14(input.script, _path + ".script", true && _exceptionable) || $guard(_exceptionable, {
|
|
170
180
|
path: _path + ".script",
|
|
171
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
181
|
+
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
172
182
|
value: input.script
|
|
173
183
|
}, errorFactory)) && (undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || $guard(_exceptionable, {
|
|
174
184
|
path: _path + ".rundown",
|
|
175
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
185
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
176
186
|
value: input.rundown
|
|
177
|
-
}, errorFactory)) && $
|
|
187
|
+
}, errorFactory)) && $ao17(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
178
188
|
path: _path + ".rundown",
|
|
179
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
189
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
180
190
|
value: input.rundown
|
|
181
191
|
}, errorFactory)) && (undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || $guard(_exceptionable, {
|
|
182
192
|
path: _path + ".gallery",
|
|
183
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
193
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
184
194
|
value: input.gallery
|
|
185
|
-
}, errorFactory)) && $
|
|
195
|
+
}, errorFactory)) && $ao18(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
186
196
|
path: _path + ".gallery",
|
|
187
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
197
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
188
198
|
value: input.gallery
|
|
189
199
|
}, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
|
|
190
200
|
path: _path + ".history",
|
|
@@ -192,11 +202,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
192
202
|
value: input.history
|
|
193
203
|
}, errorFactory)) && true && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || $guard(_exceptionable, {
|
|
194
204
|
path: _path + ".media",
|
|
195
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
205
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
196
206
|
value: input.media
|
|
197
|
-
}, errorFactory)) && $
|
|
207
|
+
}, errorFactory)) && $ao19(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
198
208
|
path: _path + ".media",
|
|
199
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
209
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
200
210
|
value: input.media
|
|
201
211
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
202
212
|
path: _path + ".predefinedTags",
|
|
@@ -212,19 +222,19 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
212
222
|
value: input.predefinedTags
|
|
213
223
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
214
224
|
path: _path + ".storyboard",
|
|
215
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
225
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
216
226
|
value: input.storyboard
|
|
217
|
-
}, errorFactory)) && $
|
|
227
|
+
}, errorFactory)) && $ao28(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
218
228
|
path: _path + ".storyboard",
|
|
219
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
229
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
220
230
|
value: input.storyboard
|
|
221
231
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
222
232
|
path: _path + ".plugins",
|
|
223
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
233
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
224
234
|
value: input.plugins
|
|
225
|
-
}, errorFactory)) && $
|
|
235
|
+
}, errorFactory)) && $ao35(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
226
236
|
path: _path + ".plugins",
|
|
227
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
237
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
228
238
|
value: input.plugins
|
|
229
239
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
230
240
|
path: _path + ".crashScreen",
|
|
@@ -236,27 +246,36 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
236
246
|
value: input.debug
|
|
237
247
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
238
248
|
path: _path + ".flags",
|
|
239
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
249
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
240
250
|
value: input.flags
|
|
241
|
-
}, errorFactory)) && $
|
|
251
|
+
}, errorFactory)) && $ao37(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
242
252
|
path: _path + ".flags",
|
|
243
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
253
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
244
254
|
value: input.flags
|
|
245
255
|
}, errorFactory));
|
|
246
|
-
const $ao1 = (input, _path, _exceptionable = true) => undefined === input.
|
|
256
|
+
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
257
|
+
path: _path + ".overrideUserContact",
|
|
258
|
+
expected: "(boolean | undefined)",
|
|
259
|
+
value: input.overrideUserContact
|
|
260
|
+
}, errorFactory)) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin || $guard(_exceptionable, {
|
|
261
|
+
path: _path + ".overrideUserLogin",
|
|
262
|
+
expected: "(boolean | undefined)",
|
|
263
|
+
value: input.overrideUserLogin
|
|
264
|
+
}, errorFactory));
|
|
265
|
+
const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
|
|
247
266
|
path: _path + ".tabs",
|
|
248
267
|
expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
|
|
249
268
|
value: input.tabs
|
|
250
|
-
}, errorFactory)) && $
|
|
269
|
+
}, errorFactory)) && $ao3(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
|
|
251
270
|
path: _path + ".tabs",
|
|
252
271
|
expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
|
|
253
272
|
value: input.tabs
|
|
254
273
|
}, errorFactory);
|
|
255
|
-
const $
|
|
274
|
+
const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) || $guard(_exceptionable, {
|
|
256
275
|
path: _path + ".settingsPanelStore",
|
|
257
276
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
|
|
258
277
|
value: input.settingsPanelStore
|
|
259
|
-
}, errorFactory)) && $
|
|
278
|
+
}, errorFactory)) && $ao4(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
|
|
260
279
|
path: _path + ".settingsPanelStore",
|
|
261
280
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
|
|
262
281
|
value: input.settingsPanelStore
|
|
@@ -270,13 +289,13 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
270
289
|
path: _path + $join(key),
|
|
271
290
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
|
|
272
291
|
value: value
|
|
273
|
-
}, errorFactory)) && $
|
|
292
|
+
}, errorFactory)) && $ao5(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
|
|
274
293
|
path: _path + $join(key),
|
|
275
294
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
|
|
276
295
|
value: value
|
|
277
296
|
}, errorFactory);
|
|
278
297
|
}));
|
|
279
|
-
const $
|
|
298
|
+
const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
280
299
|
path: _path + ".activeTab",
|
|
281
300
|
expected: "(string | undefined)",
|
|
282
301
|
value: input.activeTab
|
|
@@ -285,21 +304,21 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
285
304
|
expected: "(number | undefined)",
|
|
286
305
|
value: input.activeSectionIndex
|
|
287
306
|
}, errorFactory));
|
|
288
|
-
const $
|
|
307
|
+
const $ao5 = (input, _path, _exceptionable = true) => undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
289
308
|
path: _path + ".activeTab",
|
|
290
309
|
expected: "(string | undefined)",
|
|
291
310
|
value: input.activeTab
|
|
292
311
|
}, errorFactory);
|
|
293
|
-
const $
|
|
312
|
+
const $ao6 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
294
313
|
path: _path + ".createMenu",
|
|
295
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
314
|
+
expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
|
|
296
315
|
value: input.createMenu
|
|
297
|
-
}, errorFactory)) && $
|
|
316
|
+
}, errorFactory)) && $ao7(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
298
317
|
path: _path + ".createMenu",
|
|
299
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
318
|
+
expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
|
|
300
319
|
value: input.createMenu
|
|
301
320
|
}, errorFactory);
|
|
302
|
-
const $
|
|
321
|
+
const $ao7 = (input, _path, _exceptionable = true) => undefined === input.sortOrder || (Array.isArray(input.sortOrder) || $guard(_exceptionable, {
|
|
303
322
|
path: _path + ".sortOrder",
|
|
304
323
|
expected: "(Array<string> | undefined)",
|
|
305
324
|
value: input.sortOrder
|
|
@@ -312,7 +331,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
312
331
|
expected: "(Array<string> | undefined)",
|
|
313
332
|
value: input.sortOrder
|
|
314
333
|
}, errorFactory);
|
|
315
|
-
const $
|
|
334
|
+
const $ao8 = (input, _path, _exceptionable = true) => undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
316
335
|
path: _path + ".exclude",
|
|
317
336
|
expected: "(Array<string> | undefined)",
|
|
318
337
|
value: input.exclude
|
|
@@ -325,7 +344,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
325
344
|
expected: "(Array<string> | undefined)",
|
|
326
345
|
value: input.exclude
|
|
327
346
|
}, errorFactory);
|
|
328
|
-
const $
|
|
347
|
+
const $ao9 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
329
348
|
path: _path + ".include",
|
|
330
349
|
expected: "(Array<string> | undefined)",
|
|
331
350
|
value: input.include
|
|
@@ -338,7 +357,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
338
357
|
expected: "(Array<string> | undefined)",
|
|
339
358
|
value: input.include
|
|
340
359
|
}, errorFactory);
|
|
341
|
-
const $
|
|
360
|
+
const $ao10 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
342
361
|
path: _path + ".include",
|
|
343
362
|
expected: "(Array<string> | undefined)",
|
|
344
363
|
value: input.include
|
|
@@ -351,7 +370,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
351
370
|
expected: "(Array<string> | undefined)",
|
|
352
371
|
value: input.include
|
|
353
372
|
}, errorFactory);
|
|
354
|
-
const $
|
|
373
|
+
const $ao11 = (input, _path, _exceptionable = true) => (undefined === input.enable || "boolean" === typeof input.enable || $guard(_exceptionable, {
|
|
355
374
|
path: _path + ".enable",
|
|
356
375
|
expected: "(boolean | undefined)",
|
|
357
376
|
value: input.enable
|
|
@@ -380,12 +399,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
380
399
|
expected: "(string | undefined)",
|
|
381
400
|
value: input.format
|
|
382
401
|
}, errorFactory));
|
|
383
|
-
const $
|
|
402
|
+
const $ao12 = (input, _path, _exceptionable = true) => undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
384
403
|
path: _path + ".color",
|
|
385
404
|
expected: "(string | undefined)",
|
|
386
405
|
value: input.color
|
|
387
406
|
}, errorFactory);
|
|
388
|
-
const $
|
|
407
|
+
const $ao13 = (input, _path, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru || $guard(_exceptionable, {
|
|
389
408
|
path: _path + ".maxMru",
|
|
390
409
|
expected: "(number | undefined)",
|
|
391
410
|
value: input.maxMru
|
|
@@ -394,13 +413,13 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
394
413
|
expected: "(number | undefined)",
|
|
395
414
|
value: input.maxTabs
|
|
396
415
|
}, errorFactory));
|
|
397
|
-
const $
|
|
416
|
+
const $ao14 = (input, _path, _exceptionable = true) => (undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
398
417
|
path: _path + ".createMenu",
|
|
399
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
418
|
+
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
400
419
|
value: input.createMenu
|
|
401
|
-
}, errorFactory)) && $
|
|
420
|
+
}, errorFactory)) && $ao15(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
402
421
|
path: _path + ".createMenu",
|
|
403
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
422
|
+
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
404
423
|
value: input.createMenu
|
|
405
424
|
}, errorFactory)) && (undefined === input.colorTags || (Array.isArray(input.colorTags) || $guard(_exceptionable, {
|
|
406
425
|
path: _path + ".colorTags",
|
|
@@ -410,7 +429,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
410
429
|
path: _path + ".colorTags[" + _index6 + "]",
|
|
411
430
|
expected: "PromotedTag",
|
|
412
431
|
value: elem
|
|
413
|
-
}, errorFactory)) && $
|
|
432
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
414
433
|
path: _path + ".colorTags[" + _index6 + "]",
|
|
415
434
|
expected: "PromotedTag",
|
|
416
435
|
value: elem
|
|
@@ -419,12 +438,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
419
438
|
expected: "(Array<PromotedTag> | undefined)",
|
|
420
439
|
value: input.colorTags
|
|
421
440
|
}, errorFactory));
|
|
422
|
-
const $
|
|
441
|
+
const $ao15 = (input, _path, _exceptionable = true) => undefined === input.showPreview || "boolean" === typeof input.showPreview || $guard(_exceptionable, {
|
|
423
442
|
path: _path + ".showPreview",
|
|
424
443
|
expected: "(boolean | undefined)",
|
|
425
444
|
value: input.showPreview
|
|
426
445
|
}, errorFactory);
|
|
427
|
-
const $
|
|
446
|
+
const $ao16 = (input, _path, _exceptionable = true) => (null === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
428
447
|
path: _path + ".name",
|
|
429
448
|
expected: "(null | string)",
|
|
430
449
|
value: input.name
|
|
@@ -441,23 +460,23 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
441
460
|
expected: "(null | string)",
|
|
442
461
|
value: input.description
|
|
443
462
|
}, errorFactory));
|
|
444
|
-
const $
|
|
463
|
+
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
445
464
|
path: _path + ".eventThumbnails",
|
|
446
465
|
expected: "(boolean | undefined)",
|
|
447
466
|
value: input.eventThumbnails
|
|
448
467
|
}, errorFactory);
|
|
449
|
-
const $
|
|
468
|
+
const $ao18 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
450
469
|
path: _path + ".dimOnBlur",
|
|
451
470
|
expected: "(boolean | undefined)",
|
|
452
471
|
value: input.dimOnBlur
|
|
453
472
|
}, errorFactory);
|
|
454
|
-
const $
|
|
473
|
+
const $ao19 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
455
474
|
path: _path + ".guide",
|
|
456
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
475
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
457
476
|
value: input.guide
|
|
458
|
-
}, errorFactory)) && $
|
|
477
|
+
}, errorFactory)) && $ao20(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
459
478
|
path: _path + ".guide",
|
|
460
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
479
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
461
480
|
value: input.guide
|
|
462
481
|
}, errorFactory)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || $guard(_exceptionable, {
|
|
463
482
|
path: _path + ".stepManyFrames",
|
|
@@ -473,11 +492,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
473
492
|
value: input.importTitleTemplate
|
|
474
493
|
}, errorFactory)) && (undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || $guard(_exceptionable, {
|
|
475
494
|
path: _path + ".tile",
|
|
476
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
495
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
477
496
|
value: input.tile
|
|
478
|
-
}, errorFactory)) && $
|
|
497
|
+
}, errorFactory)) && $ao21(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
479
498
|
path: _path + ".tile",
|
|
480
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
499
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
481
500
|
value: input.tile
|
|
482
501
|
}, errorFactory)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference || $guard(_exceptionable, {
|
|
483
502
|
path: _path + ".timecodeReference",
|
|
@@ -513,11 +532,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
513
532
|
value: input.playbackRates
|
|
514
533
|
}, errorFactory)) && (undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || $guard(_exceptionable, {
|
|
515
534
|
path: _path + ".subtitles",
|
|
516
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
535
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
517
536
|
value: input.subtitles
|
|
518
|
-
}, errorFactory)) && $
|
|
537
|
+
}, errorFactory)) && $ao22(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
519
538
|
path: _path + ".subtitles",
|
|
520
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
539
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
521
540
|
value: input.subtitles
|
|
522
541
|
}, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
|
|
523
542
|
path: _path + ".subtitleTemplateId",
|
|
@@ -535,7 +554,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
535
554
|
path: _path + ".guides[" + _index8 + "]",
|
|
536
555
|
expected: "__type",
|
|
537
556
|
value: elem
|
|
538
|
-
}, errorFactory)) && $
|
|
557
|
+
}, errorFactory)) && $ao23(elem, _path + ".guides[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
539
558
|
path: _path + ".guides[" + _index8 + "]",
|
|
540
559
|
expected: "__type",
|
|
541
560
|
value: elem
|
|
@@ -549,19 +568,19 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
549
568
|
value: input.download
|
|
550
569
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
551
570
|
path: _path + ".transcribe",
|
|
552
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
571
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
553
572
|
value: input.transcribe
|
|
554
|
-
}, errorFactory)) && $
|
|
573
|
+
}, errorFactory)) && $ao24(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
555
574
|
path: _path + ".transcribe",
|
|
556
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
575
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
557
576
|
value: input.transcribe
|
|
558
577
|
}, errorFactory));
|
|
559
|
-
const $
|
|
578
|
+
const $ao20 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
560
579
|
path: _path + ".mask",
|
|
561
580
|
expected: "(boolean | undefined)",
|
|
562
581
|
value: input.mask
|
|
563
582
|
}, errorFactory);
|
|
564
|
-
const $
|
|
583
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
|
|
565
584
|
path: _path + ".preview",
|
|
566
585
|
expected: "(string | undefined)",
|
|
567
586
|
value: input.preview
|
|
@@ -570,7 +589,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
570
589
|
expected: "(boolean | undefined)",
|
|
571
590
|
value: input.showRenderProgress
|
|
572
591
|
}, errorFactory));
|
|
573
|
-
const $
|
|
592
|
+
const $ao22 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing || $guard(_exceptionable, {
|
|
574
593
|
path: _path + ".spacing",
|
|
575
594
|
expected: "(number | undefined)",
|
|
576
595
|
value: input.spacing
|
|
@@ -579,7 +598,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
579
598
|
expected: "(number | undefined)",
|
|
580
599
|
value: input.maxCharactersPerLine
|
|
581
600
|
}, errorFactory));
|
|
582
|
-
const $
|
|
601
|
+
const $ao23 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
583
602
|
path: _path + ".label",
|
|
584
603
|
expected: "string",
|
|
585
604
|
value: input.label
|
|
@@ -588,29 +607,29 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
588
607
|
expected: "string",
|
|
589
608
|
value: input.aspectRatio
|
|
590
609
|
}, errorFactory));
|
|
591
|
-
const $
|
|
610
|
+
const $ao24 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
592
611
|
path: _path + ".subtitleDisclaimer",
|
|
593
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
612
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
594
613
|
value: input.subtitleDisclaimer
|
|
595
|
-
}, errorFactory)) && $
|
|
614
|
+
}, errorFactory)) && $ao25(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
596
615
|
path: _path + ".subtitleDisclaimer",
|
|
597
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
616
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
598
617
|
value: input.subtitleDisclaimer
|
|
599
618
|
}, errorFactory);
|
|
600
|
-
const $
|
|
619
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
601
620
|
path: _path + ".isUserConfigurable",
|
|
602
621
|
expected: "(boolean | undefined)",
|
|
603
622
|
value: input.isUserConfigurable
|
|
604
623
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
605
624
|
path: _path + ".defaultValue",
|
|
606
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
625
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
607
626
|
value: input.defaultValue
|
|
608
|
-
}, errorFactory)) && $
|
|
627
|
+
}, errorFactory)) && $ao26(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
609
628
|
path: _path + ".defaultValue",
|
|
610
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
629
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
611
630
|
value: input.defaultValue
|
|
612
631
|
}, errorFactory));
|
|
613
|
-
const $
|
|
632
|
+
const $ao26 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
614
633
|
path: _path + ".enabled",
|
|
615
634
|
expected: "(false | undefined)",
|
|
616
635
|
value: input.enabled
|
|
@@ -622,7 +641,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
622
641
|
path: _path + ".text[" + _index9 + "]",
|
|
623
642
|
expected: "__type.o1",
|
|
624
643
|
value: elem
|
|
625
|
-
}, errorFactory)) && $
|
|
644
|
+
}, errorFactory)) && $ao27(elem, _path + ".text[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
626
645
|
path: _path + ".text[" + _index9 + "]",
|
|
627
646
|
expected: "__type.o1",
|
|
628
647
|
value: elem
|
|
@@ -639,7 +658,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
639
658
|
expected: "(number | undefined)",
|
|
640
659
|
value: input.duration
|
|
641
660
|
}, errorFactory));
|
|
642
|
-
const $
|
|
661
|
+
const $ao27 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
643
662
|
path: _path + ".language",
|
|
644
663
|
expected: "string",
|
|
645
664
|
value: input.language
|
|
@@ -648,50 +667,50 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
648
667
|
expected: "string",
|
|
649
668
|
value: input.value
|
|
650
669
|
}, errorFactory));
|
|
651
|
-
const $
|
|
670
|
+
const $ao28 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
652
671
|
path: _path + ".assets",
|
|
653
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
672
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
654
673
|
value: input.assets
|
|
655
|
-
}, errorFactory)) && $
|
|
674
|
+
}, errorFactory)) && $ao29(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
656
675
|
path: _path + ".assets",
|
|
657
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
676
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
658
677
|
value: input.assets
|
|
659
678
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
660
679
|
path: _path + ".pipeline",
|
|
661
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
680
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
662
681
|
value: input.pipeline
|
|
663
|
-
}, errorFactory)) && $
|
|
682
|
+
}, errorFactory)) && $ao32(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
664
683
|
path: _path + ".pipeline",
|
|
665
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
684
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
666
685
|
value: input.pipeline
|
|
667
686
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
668
687
|
path: _path + ".item",
|
|
669
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
688
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
670
689
|
value: input.item
|
|
671
|
-
}, errorFactory)) && $
|
|
690
|
+
}, errorFactory)) && $ao34(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
672
691
|
path: _path + ".item",
|
|
673
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
692
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
674
693
|
value: input.item
|
|
675
694
|
}, errorFactory));
|
|
676
|
-
const $
|
|
695
|
+
const $ao29 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
677
696
|
path: _path + ".story",
|
|
678
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
697
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
679
698
|
value: input.story
|
|
680
|
-
}, errorFactory)) && $
|
|
699
|
+
}, errorFactory)) && $ao30(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
681
700
|
path: _path + ".story",
|
|
682
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
701
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
683
702
|
value: input.story
|
|
684
703
|
}, errorFactory);
|
|
685
|
-
const $
|
|
704
|
+
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
686
705
|
path: _path + ".excerpt",
|
|
687
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
706
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
688
707
|
value: input.excerpt
|
|
689
|
-
}, errorFactory)) && $
|
|
708
|
+
}, errorFactory)) && $ao31(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
690
709
|
path: _path + ".excerpt",
|
|
691
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
710
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
692
711
|
value: input.excerpt
|
|
693
712
|
}, errorFactory);
|
|
694
|
-
const $
|
|
713
|
+
const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
695
714
|
path: _path + ".maxLines",
|
|
696
715
|
expected: "(number | undefined)",
|
|
697
716
|
value: input.maxLines
|
|
@@ -700,40 +719,40 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
700
719
|
expected: "(string | undefined)",
|
|
701
720
|
value: input.mode
|
|
702
721
|
}, errorFactory));
|
|
703
|
-
const $
|
|
722
|
+
const $ao32 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
704
723
|
path: _path + ".search",
|
|
705
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
724
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
706
725
|
value: input.search
|
|
707
|
-
}, errorFactory)) && $
|
|
726
|
+
}, errorFactory)) && $ao33(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
708
727
|
path: _path + ".search",
|
|
709
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
728
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
710
729
|
value: input.search
|
|
711
730
|
}, errorFactory);
|
|
712
|
-
const $
|
|
731
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
713
732
|
path: _path + ".maxItemsDisplayed",
|
|
714
733
|
expected: "(number | undefined)",
|
|
715
734
|
value: input.maxItemsDisplayed
|
|
716
735
|
}, errorFactory);
|
|
717
|
-
const $
|
|
736
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
718
737
|
path: _path + ".maxHeight",
|
|
719
738
|
expected: "(number | undefined)",
|
|
720
739
|
value: input.maxHeight
|
|
721
740
|
}, errorFactory);
|
|
722
|
-
const $
|
|
741
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
723
742
|
path: _path + ".adobe",
|
|
724
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
743
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
725
744
|
value: input.adobe
|
|
726
|
-
}, errorFactory)) && $
|
|
745
|
+
}, errorFactory)) && $ao36(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
727
746
|
path: _path + ".adobe",
|
|
728
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
747
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
729
748
|
value: input.adobe
|
|
730
749
|
}, errorFactory);
|
|
731
|
-
const $
|
|
750
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
732
751
|
path: _path + ".useProxies",
|
|
733
752
|
expected: "(boolean | undefined)",
|
|
734
753
|
value: input.useProxies
|
|
735
754
|
}, errorFactory);
|
|
736
|
-
const $
|
|
755
|
+
const $ao37 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
737
756
|
path: _path + ".utils",
|
|
738
757
|
expected: "(boolean | undefined)",
|
|
739
758
|
value: input.utils
|
|
@@ -769,6 +788,10 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
769
788
|
path: _path + ".resetRenders",
|
|
770
789
|
expected: "(boolean | undefined)",
|
|
771
790
|
value: input.resetRenders
|
|
791
|
+
}, errorFactory)) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas || $guard(_exceptionable, {
|
|
792
|
+
path: _path + ".resetReplicas",
|
|
793
|
+
expected: "(boolean | undefined)",
|
|
794
|
+
value: input.resetReplicas
|
|
772
795
|
}, errorFactory)) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus || $guard(_exceptionable, {
|
|
773
796
|
path: _path + ".assetStatus",
|
|
774
797
|
expected: "(boolean | undefined)",
|
|
@@ -781,6 +804,10 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
781
804
|
path: _path + ".hideInAssetMenu",
|
|
782
805
|
expected: "(boolean | undefined)",
|
|
783
806
|
value: input.hideInAssetMenu
|
|
807
|
+
}, errorFactory)) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute || $guard(_exceptionable, {
|
|
808
|
+
path: _path + ".assetRoute",
|
|
809
|
+
expected: "(boolean | undefined)",
|
|
810
|
+
value: input.assetRoute
|
|
784
811
|
}, errorFactory));
|
|
785
812
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
786
813
|
path: _path + "",
|
|
@@ -798,49 +825,53 @@ export const randomSettingsRecord = generator => {
|
|
|
798
825
|
const $pick = __typia.createRandom.pick;
|
|
799
826
|
const $generator = __typia.createRandom.generator;
|
|
800
827
|
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
801
|
-
|
|
828
|
+
permission: $pick([
|
|
802
829
|
() => undefined,
|
|
803
830
|
() => $ro1(_recursive, _recursive ? 1 + _depth : _depth)
|
|
804
831
|
])(),
|
|
832
|
+
module: $pick([
|
|
833
|
+
() => undefined,
|
|
834
|
+
() => $ro2(_recursive, _recursive ? 1 + _depth : _depth)
|
|
835
|
+
])(),
|
|
805
836
|
browser: $pick([
|
|
806
837
|
() => undefined,
|
|
807
|
-
() => $
|
|
838
|
+
() => $ro6(_recursive, _recursive ? 1 + _depth : _depth)
|
|
808
839
|
])(),
|
|
809
840
|
toolbarTags: $pick([
|
|
810
841
|
() => undefined,
|
|
811
|
-
() => $
|
|
842
|
+
() => $ro8(_recursive, _recursive ? 1 + _depth : _depth)
|
|
812
843
|
])(),
|
|
813
844
|
deadlines: $pick([
|
|
814
845
|
() => undefined,
|
|
815
|
-
() => $
|
|
846
|
+
() => $ro9(_recursive, _recursive ? 1 + _depth : _depth)
|
|
816
847
|
])(),
|
|
817
848
|
assignees: $pick([
|
|
818
849
|
() => undefined,
|
|
819
|
-
() => $
|
|
850
|
+
() => $ro10(_recursive, _recursive ? 1 + _depth : _depth)
|
|
820
851
|
])(),
|
|
821
852
|
clock: $pick([
|
|
822
853
|
() => undefined,
|
|
823
|
-
() => $
|
|
854
|
+
() => $ro11(_recursive, _recursive ? 1 + _depth : _depth)
|
|
824
855
|
])(),
|
|
825
856
|
swarm: $pick([
|
|
826
857
|
() => undefined,
|
|
827
|
-
() => $
|
|
858
|
+
() => $ro12(_recursive, _recursive ? 1 + _depth : _depth)
|
|
828
859
|
])(),
|
|
829
860
|
dashboard: $pick([
|
|
830
861
|
() => undefined,
|
|
831
|
-
() => $
|
|
862
|
+
() => $ro13(_recursive, _recursive ? 1 + _depth : _depth)
|
|
832
863
|
])(),
|
|
833
864
|
script: $pick([
|
|
834
865
|
() => undefined,
|
|
835
|
-
() => $
|
|
866
|
+
() => $ro14(_recursive, _recursive ? 1 + _depth : _depth)
|
|
836
867
|
])(),
|
|
837
868
|
rundown: $pick([
|
|
838
869
|
() => undefined,
|
|
839
|
-
() => $
|
|
870
|
+
() => $ro17(_recursive, _recursive ? 1 + _depth : _depth)
|
|
840
871
|
])(),
|
|
841
872
|
gallery: $pick([
|
|
842
873
|
() => undefined,
|
|
843
|
-
() => $
|
|
874
|
+
() => $ro18(_recursive, _recursive ? 1 + _depth : _depth)
|
|
844
875
|
])(),
|
|
845
876
|
history: $pick([
|
|
846
877
|
() => undefined,
|
|
@@ -852,7 +883,7 @@ export const randomSettingsRecord = generator => {
|
|
|
852
883
|
])(),
|
|
853
884
|
media: $pick([
|
|
854
885
|
() => undefined,
|
|
855
|
-
() => $
|
|
886
|
+
() => $ro19(_recursive, _recursive ? 1 + _depth : _depth)
|
|
856
887
|
])(),
|
|
857
888
|
predefinedTags: $pick([
|
|
858
889
|
() => undefined,
|
|
@@ -860,11 +891,11 @@ export const randomSettingsRecord = generator => {
|
|
|
860
891
|
])(),
|
|
861
892
|
storyboard: $pick([
|
|
862
893
|
() => undefined,
|
|
863
|
-
() => $
|
|
894
|
+
() => $ro28(_recursive, _recursive ? 1 + _depth : _depth)
|
|
864
895
|
])(),
|
|
865
896
|
plugins: $pick([
|
|
866
897
|
() => undefined,
|
|
867
|
-
() => $
|
|
898
|
+
() => $ro35(_recursive, _recursive ? 1 + _depth : _depth)
|
|
868
899
|
])(),
|
|
869
900
|
crashScreen: $pick([
|
|
870
901
|
() => undefined,
|
|
@@ -876,29 +907,39 @@ export const randomSettingsRecord = generator => {
|
|
|
876
907
|
])(),
|
|
877
908
|
flags: $pick([
|
|
878
909
|
() => undefined,
|
|
879
|
-
() => $
|
|
910
|
+
() => $ro37(_recursive, _recursive ? 1 + _depth : _depth)
|
|
880
911
|
])()
|
|
881
912
|
});
|
|
882
913
|
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
914
|
+
overrideUserContact: $pick([
|
|
915
|
+
() => undefined,
|
|
916
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
917
|
+
])(),
|
|
918
|
+
overrideUserLogin: $pick([
|
|
919
|
+
() => undefined,
|
|
920
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
921
|
+
])()
|
|
922
|
+
});
|
|
923
|
+
const $ro2 = (_recursive = false, _depth = 0) => ({
|
|
883
924
|
tabs: $pick([
|
|
884
925
|
() => undefined,
|
|
885
|
-
() => $
|
|
926
|
+
() => $ro3(_recursive, _recursive ? 1 + _depth : _depth)
|
|
886
927
|
])()
|
|
887
928
|
});
|
|
888
|
-
const $
|
|
929
|
+
const $ro3 = (_recursive = false, _depth = 0) => {
|
|
889
930
|
const output = {
|
|
890
931
|
settingsPanelStore: $pick([
|
|
891
932
|
() => undefined,
|
|
892
|
-
() => $
|
|
933
|
+
() => $ro4(_recursive, _recursive ? 1 + _depth : _depth)
|
|
893
934
|
])()
|
|
894
935
|
};
|
|
895
936
|
(generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $pick([
|
|
896
937
|
() => undefined,
|
|
897
|
-
() => $
|
|
938
|
+
() => $ro5(_recursive, _recursive ? 1 + _depth : _depth)
|
|
898
939
|
])(), (generator?.integer ?? $generator.integer)(0, 3));
|
|
899
940
|
return output;
|
|
900
941
|
};
|
|
901
|
-
const $
|
|
942
|
+
const $ro4 = (_recursive = false, _depth = 0) => ({
|
|
902
943
|
activeTab: $pick([
|
|
903
944
|
() => undefined,
|
|
904
945
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
@@ -908,43 +949,43 @@ export const randomSettingsRecord = generator => {
|
|
|
908
949
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
909
950
|
])()
|
|
910
951
|
});
|
|
911
|
-
const $
|
|
952
|
+
const $ro5 = (_recursive = false, _depth = 0) => ({
|
|
912
953
|
activeTab: $pick([
|
|
913
954
|
() => undefined,
|
|
914
955
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
915
956
|
])()
|
|
916
957
|
});
|
|
917
|
-
const $
|
|
958
|
+
const $ro6 = (_recursive = false, _depth = 0) => ({
|
|
918
959
|
createMenu: $pick([
|
|
919
960
|
() => undefined,
|
|
920
|
-
() => $
|
|
961
|
+
() => $ro7(_recursive, _recursive ? 1 + _depth : _depth)
|
|
921
962
|
])()
|
|
922
963
|
});
|
|
923
|
-
const $
|
|
964
|
+
const $ro7 = (_recursive = false, _depth = 0) => ({
|
|
924
965
|
sortOrder: $pick([
|
|
925
966
|
() => undefined,
|
|
926
967
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
927
968
|
])()
|
|
928
969
|
});
|
|
929
|
-
const $
|
|
970
|
+
const $ro8 = (_recursive = false, _depth = 0) => ({
|
|
930
971
|
exclude: $pick([
|
|
931
972
|
() => undefined,
|
|
932
973
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
933
974
|
])()
|
|
934
975
|
});
|
|
935
|
-
const $
|
|
976
|
+
const $ro9 = (_recursive = false, _depth = 0) => ({
|
|
936
977
|
include: $pick([
|
|
937
978
|
() => undefined,
|
|
938
979
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
939
980
|
])()
|
|
940
981
|
});
|
|
941
|
-
const $
|
|
982
|
+
const $ro10 = (_recursive = false, _depth = 0) => ({
|
|
942
983
|
include: $pick([
|
|
943
984
|
() => undefined,
|
|
944
985
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
945
986
|
])()
|
|
946
987
|
});
|
|
947
|
-
const $
|
|
988
|
+
const $ro11 = (_recursive = false, _depth = 0) => ({
|
|
948
989
|
enable: $pick([
|
|
949
990
|
() => undefined,
|
|
950
991
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -974,13 +1015,13 @@ export const randomSettingsRecord = generator => {
|
|
|
974
1015
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
975
1016
|
])()
|
|
976
1017
|
});
|
|
977
|
-
const $
|
|
1018
|
+
const $ro12 = (_recursive = false, _depth = 0) => ({
|
|
978
1019
|
color: $pick([
|
|
979
1020
|
() => undefined,
|
|
980
1021
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
981
1022
|
])()
|
|
982
1023
|
});
|
|
983
|
-
const $
|
|
1024
|
+
const $ro13 = (_recursive = false, _depth = 0) => ({
|
|
984
1025
|
maxMru: $pick([
|
|
985
1026
|
() => undefined,
|
|
986
1027
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -990,23 +1031,23 @@ export const randomSettingsRecord = generator => {
|
|
|
990
1031
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
991
1032
|
])()
|
|
992
1033
|
});
|
|
993
|
-
const $
|
|
1034
|
+
const $ro14 = (_recursive = false, _depth = 0) => ({
|
|
994
1035
|
createMenu: $pick([
|
|
995
1036
|
() => undefined,
|
|
996
|
-
() => $
|
|
1037
|
+
() => $ro15(_recursive, _recursive ? 1 + _depth : _depth)
|
|
997
1038
|
])(),
|
|
998
1039
|
colorTags: $pick([
|
|
999
1040
|
() => undefined,
|
|
1000
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1041
|
+
() => (generator?.array ?? $generator.array)(() => $ro16(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1001
1042
|
])()
|
|
1002
1043
|
});
|
|
1003
|
-
const $
|
|
1044
|
+
const $ro15 = (_recursive = false, _depth = 0) => ({
|
|
1004
1045
|
showPreview: $pick([
|
|
1005
1046
|
() => undefined,
|
|
1006
1047
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1007
1048
|
])()
|
|
1008
1049
|
});
|
|
1009
|
-
const $
|
|
1050
|
+
const $ro16 = (_recursive = false, _depth = 0) => ({
|
|
1010
1051
|
name: $pick([
|
|
1011
1052
|
() => null,
|
|
1012
1053
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
@@ -1024,22 +1065,22 @@ export const randomSettingsRecord = generator => {
|
|
|
1024
1065
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1025
1066
|
])()
|
|
1026
1067
|
});
|
|
1027
|
-
const $
|
|
1068
|
+
const $ro17 = (_recursive = false, _depth = 0) => ({
|
|
1028
1069
|
eventThumbnails: $pick([
|
|
1029
1070
|
() => undefined,
|
|
1030
1071
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1031
1072
|
])()
|
|
1032
1073
|
});
|
|
1033
|
-
const $
|
|
1074
|
+
const $ro18 = (_recursive = false, _depth = 0) => ({
|
|
1034
1075
|
dimOnBlur: $pick([
|
|
1035
1076
|
() => undefined,
|
|
1036
1077
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1037
1078
|
])()
|
|
1038
1079
|
});
|
|
1039
|
-
const $
|
|
1080
|
+
const $ro19 = (_recursive = false, _depth = 0) => ({
|
|
1040
1081
|
guide: $pick([
|
|
1041
1082
|
() => undefined,
|
|
1042
|
-
() => $
|
|
1083
|
+
() => $ro20(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1043
1084
|
])(),
|
|
1044
1085
|
stepManyFrames: $pick([
|
|
1045
1086
|
() => undefined,
|
|
@@ -1055,7 +1096,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1055
1096
|
])(),
|
|
1056
1097
|
tile: $pick([
|
|
1057
1098
|
() => undefined,
|
|
1058
|
-
() => $
|
|
1099
|
+
() => $ro21(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1059
1100
|
])(),
|
|
1060
1101
|
timecodeReference: $pick([
|
|
1061
1102
|
() => undefined,
|
|
@@ -1083,7 +1124,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1083
1124
|
])(),
|
|
1084
1125
|
subtitles: $pick([
|
|
1085
1126
|
() => undefined,
|
|
1086
|
-
() => $
|
|
1127
|
+
() => $ro22(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1087
1128
|
])(),
|
|
1088
1129
|
subtitleTemplateId: $pick([
|
|
1089
1130
|
() => undefined,
|
|
@@ -1095,7 +1136,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1095
1136
|
])(),
|
|
1096
1137
|
guides: $pick([
|
|
1097
1138
|
() => undefined,
|
|
1098
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1139
|
+
() => (generator?.array ?? $generator.array)(() => $ro23(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1099
1140
|
])(),
|
|
1100
1141
|
download: $pick([
|
|
1101
1142
|
() => undefined,
|
|
@@ -1103,16 +1144,16 @@ export const randomSettingsRecord = generator => {
|
|
|
1103
1144
|
])(),
|
|
1104
1145
|
transcribe: $pick([
|
|
1105
1146
|
() => undefined,
|
|
1106
|
-
() => $
|
|
1147
|
+
() => $ro24(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1107
1148
|
])()
|
|
1108
1149
|
});
|
|
1109
|
-
const $
|
|
1150
|
+
const $ro20 = (_recursive = false, _depth = 0) => ({
|
|
1110
1151
|
mask: $pick([
|
|
1111
1152
|
() => undefined,
|
|
1112
1153
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1113
1154
|
])()
|
|
1114
1155
|
});
|
|
1115
|
-
const $
|
|
1156
|
+
const $ro21 = (_recursive = false, _depth = 0) => ({
|
|
1116
1157
|
preview: $pick([
|
|
1117
1158
|
() => undefined,
|
|
1118
1159
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
@@ -1122,7 +1163,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1122
1163
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1123
1164
|
])()
|
|
1124
1165
|
});
|
|
1125
|
-
const $
|
|
1166
|
+
const $ro22 = (_recursive = false, _depth = 0) => ({
|
|
1126
1167
|
spacing: $pick([
|
|
1127
1168
|
() => undefined,
|
|
1128
1169
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1132,34 +1173,34 @@ export const randomSettingsRecord = generator => {
|
|
|
1132
1173
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1133
1174
|
])()
|
|
1134
1175
|
});
|
|
1135
|
-
const $
|
|
1176
|
+
const $ro23 = (_recursive = false, _depth = 0) => ({
|
|
1136
1177
|
label: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1137
1178
|
aspectRatio: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1138
1179
|
});
|
|
1139
|
-
const $
|
|
1180
|
+
const $ro24 = (_recursive = false, _depth = 0) => ({
|
|
1140
1181
|
subtitleDisclaimer: $pick([
|
|
1141
1182
|
() => undefined,
|
|
1142
|
-
() => $
|
|
1183
|
+
() => $ro25(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1143
1184
|
])()
|
|
1144
1185
|
});
|
|
1145
|
-
const $
|
|
1186
|
+
const $ro25 = (_recursive = false, _depth = 0) => ({
|
|
1146
1187
|
isUserConfigurable: $pick([
|
|
1147
1188
|
() => undefined,
|
|
1148
1189
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1149
1190
|
])(),
|
|
1150
1191
|
defaultValue: $pick([
|
|
1151
1192
|
() => undefined,
|
|
1152
|
-
() => $
|
|
1193
|
+
() => $ro26(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1153
1194
|
])()
|
|
1154
1195
|
});
|
|
1155
|
-
const $
|
|
1196
|
+
const $ro26 = (_recursive = false, _depth = 0) => ({
|
|
1156
1197
|
enabled: $pick([
|
|
1157
1198
|
() => undefined,
|
|
1158
1199
|
() => false
|
|
1159
1200
|
])(),
|
|
1160
1201
|
text: $pick([
|
|
1161
1202
|
() => undefined,
|
|
1162
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1203
|
+
() => (generator?.array ?? $generator.array)(() => $ro27(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1163
1204
|
])(),
|
|
1164
1205
|
offset: $pick([
|
|
1165
1206
|
() => undefined,
|
|
@@ -1170,37 +1211,37 @@ export const randomSettingsRecord = generator => {
|
|
|
1170
1211
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1171
1212
|
])()
|
|
1172
1213
|
});
|
|
1173
|
-
const $
|
|
1214
|
+
const $ro27 = (_recursive = false, _depth = 0) => ({
|
|
1174
1215
|
language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1175
1216
|
value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1176
1217
|
});
|
|
1177
|
-
const $
|
|
1218
|
+
const $ro28 = (_recursive = false, _depth = 0) => ({
|
|
1178
1219
|
assets: $pick([
|
|
1179
1220
|
() => undefined,
|
|
1180
|
-
() => $
|
|
1221
|
+
() => $ro29(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1181
1222
|
])(),
|
|
1182
1223
|
pipeline: $pick([
|
|
1183
1224
|
() => undefined,
|
|
1184
|
-
() => $
|
|
1225
|
+
() => $ro32(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1185
1226
|
])(),
|
|
1186
1227
|
item: $pick([
|
|
1187
1228
|
() => undefined,
|
|
1188
|
-
() => $
|
|
1229
|
+
() => $ro34(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1189
1230
|
])()
|
|
1190
1231
|
});
|
|
1191
|
-
const $
|
|
1232
|
+
const $ro29 = (_recursive = false, _depth = 0) => ({
|
|
1192
1233
|
story: $pick([
|
|
1193
1234
|
() => undefined,
|
|
1194
|
-
() => $
|
|
1235
|
+
() => $ro30(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1195
1236
|
])()
|
|
1196
1237
|
});
|
|
1197
|
-
const $
|
|
1238
|
+
const $ro30 = (_recursive = false, _depth = 0) => ({
|
|
1198
1239
|
excerpt: $pick([
|
|
1199
1240
|
() => undefined,
|
|
1200
|
-
() => $
|
|
1241
|
+
() => $ro31(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1201
1242
|
])()
|
|
1202
1243
|
});
|
|
1203
|
-
const $
|
|
1244
|
+
const $ro31 = (_recursive = false, _depth = 0) => ({
|
|
1204
1245
|
maxLines: $pick([
|
|
1205
1246
|
() => undefined,
|
|
1206
1247
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1210,37 +1251,37 @@ export const randomSettingsRecord = generator => {
|
|
|
1210
1251
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1211
1252
|
])()
|
|
1212
1253
|
});
|
|
1213
|
-
const $
|
|
1254
|
+
const $ro32 = (_recursive = false, _depth = 0) => ({
|
|
1214
1255
|
search: $pick([
|
|
1215
1256
|
() => undefined,
|
|
1216
|
-
() => $
|
|
1257
|
+
() => $ro33(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1217
1258
|
])()
|
|
1218
1259
|
});
|
|
1219
|
-
const $
|
|
1260
|
+
const $ro33 = (_recursive = false, _depth = 0) => ({
|
|
1220
1261
|
maxItemsDisplayed: $pick([
|
|
1221
1262
|
() => undefined,
|
|
1222
1263
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1223
1264
|
])()
|
|
1224
1265
|
});
|
|
1225
|
-
const $
|
|
1266
|
+
const $ro34 = (_recursive = false, _depth = 0) => ({
|
|
1226
1267
|
maxHeight: $pick([
|
|
1227
1268
|
() => undefined,
|
|
1228
1269
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1229
1270
|
])()
|
|
1230
1271
|
});
|
|
1231
|
-
const $
|
|
1272
|
+
const $ro35 = (_recursive = false, _depth = 0) => ({
|
|
1232
1273
|
adobe: $pick([
|
|
1233
1274
|
() => undefined,
|
|
1234
|
-
() => $
|
|
1275
|
+
() => $ro36(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1235
1276
|
])()
|
|
1236
1277
|
});
|
|
1237
|
-
const $
|
|
1278
|
+
const $ro36 = (_recursive = false, _depth = 0) => ({
|
|
1238
1279
|
useProxies: $pick([
|
|
1239
1280
|
() => undefined,
|
|
1240
1281
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1241
1282
|
])()
|
|
1242
1283
|
});
|
|
1243
|
-
const $
|
|
1284
|
+
const $ro37 = (_recursive = false, _depth = 0) => ({
|
|
1244
1285
|
utils: $pick([
|
|
1245
1286
|
() => undefined,
|
|
1246
1287
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -1277,6 +1318,10 @@ export const randomSettingsRecord = generator => {
|
|
|
1277
1318
|
() => undefined,
|
|
1278
1319
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1279
1320
|
])(),
|
|
1321
|
+
resetReplicas: $pick([
|
|
1322
|
+
() => undefined,
|
|
1323
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1324
|
+
])(),
|
|
1280
1325
|
assetStatus: $pick([
|
|
1281
1326
|
() => undefined,
|
|
1282
1327
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -1285,7 +1330,11 @@ export const randomSettingsRecord = generator => {
|
|
|
1285
1330
|
() => undefined,
|
|
1286
1331
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1287
1332
|
])(),
|
|
1288
|
-
hideInAssetMenu: $pick([
|
|
1333
|
+
hideInAssetMenu: $pick([
|
|
1334
|
+
() => undefined,
|
|
1335
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1336
|
+
])(),
|
|
1337
|
+
assetRoute: $pick([
|
|
1289
1338
|
() => undefined,
|
|
1290
1339
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1291
1340
|
])()
|
|
@@ -1294,143 +1343,152 @@ export const randomSettingsRecord = generator => {
|
|
|
1294
1343
|
};
|
|
1295
1344
|
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
1296
1345
|
const __is = input => {
|
|
1297
|
-
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $
|
|
1298
|
-
const $io1 = input => undefined === input.
|
|
1299
|
-
const $io2 = input =>
|
|
1346
|
+
const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io17(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io18(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) && $io19(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) && $io28(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io35(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) && $io37(input.flags));
|
|
1347
|
+
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
1348
|
+
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
1349
|
+
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
1300
1350
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
1301
1351
|
return true;
|
|
1302
1352
|
const value = input[key];
|
|
1303
1353
|
if (undefined === value)
|
|
1304
1354
|
return true;
|
|
1305
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
1355
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
|
|
1306
1356
|
});
|
|
1307
|
-
const $
|
|
1308
|
-
const $
|
|
1309
|
-
const $
|
|
1310
|
-
const $
|
|
1311
|
-
const $
|
|
1312
|
-
const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1357
|
+
const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
1358
|
+
const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
|
|
1359
|
+
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
1360
|
+
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
1361
|
+
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
1313
1362
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1314
|
-
const $io10 = input =>
|
|
1315
|
-
const $io11 = input => undefined === input.
|
|
1316
|
-
const $io12 = input =>
|
|
1317
|
-
const $io13 = input => (undefined === input.
|
|
1318
|
-
const $io14 = input => undefined === input.
|
|
1319
|
-
const $io15 = input =>
|
|
1320
|
-
const $io16 = input =>
|
|
1321
|
-
const $io17 = input => undefined === input.
|
|
1322
|
-
const $io18 = input =>
|
|
1323
|
-
const $io19 = input => undefined === input.
|
|
1324
|
-
const $io20 = input =>
|
|
1325
|
-
const $io21 = input => (undefined === input.
|
|
1326
|
-
const $io22 = input => "
|
|
1327
|
-
const $io23 = input =>
|
|
1328
|
-
const $io24 = input =>
|
|
1329
|
-
const $io25 = input => (undefined === input.
|
|
1330
|
-
const $io26 = input => "
|
|
1331
|
-
const $io27 = input =>
|
|
1332
|
-
const $io28 = input => undefined === input.
|
|
1333
|
-
const $io29 = input => undefined === input.
|
|
1334
|
-
const $io30 = input =>
|
|
1335
|
-
const $io31 = input => undefined === input.
|
|
1336
|
-
const $io32 = input => undefined === input.
|
|
1337
|
-
const $io33 = input => undefined === input.
|
|
1338
|
-
const $io34 = input => undefined === input.
|
|
1339
|
-
const $io35 = input => undefined === input.
|
|
1340
|
-
const $io36 = input =>
|
|
1363
|
+
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1364
|
+
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
1365
|
+
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
1366
|
+
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
1367
|
+
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
1368
|
+
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
1369
|
+
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
1370
|
+
const $io17 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
1371
|
+
const $io18 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
1372
|
+
const $io19 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io20(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) && $io21(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) && $io22(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 && $io23(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io24(input.transcribe));
|
|
1373
|
+
const $io20 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
1374
|
+
const $io21 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
1375
|
+
const $io22 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
1376
|
+
const $io23 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
1377
|
+
const $io24 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io25(input.subtitleDisclaimer);
|
|
1378
|
+
const $io25 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io26(input.defaultValue));
|
|
1379
|
+
const $io26 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io27(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
1380
|
+
const $io27 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1381
|
+
const $io28 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io29(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io32(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io34(input.item));
|
|
1382
|
+
const $io29 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io30(input.story);
|
|
1383
|
+
const $io30 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io31(input.excerpt);
|
|
1384
|
+
const $io31 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
1385
|
+
const $io32 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io33(input.search);
|
|
1386
|
+
const $io33 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
1387
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1388
|
+
const $io35 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io36(input.adobe);
|
|
1389
|
+
const $io36 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
1390
|
+
const $io37 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
1341
1391
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1342
1392
|
};
|
|
1343
1393
|
if (false === __is(input))
|
|
1344
1394
|
((input, _path, _exceptionable = true) => {
|
|
1345
1395
|
const $guard = __typia.createAssertGuard.guard;
|
|
1346
1396
|
const $join = __typia.createAssertGuard.join;
|
|
1347
|
-
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
1348
|
-
path: _path + ".
|
|
1397
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.permission || ("object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) || $guard(_exceptionable, {
|
|
1398
|
+
path: _path + ".permission",
|
|
1399
|
+
expected: "(PartialObjectDeep<__type, __type> | undefined)",
|
|
1400
|
+
value: input.permission
|
|
1401
|
+
}, errorFactory)) && $ao1(input.permission, _path + ".permission", true && _exceptionable) || $guard(_exceptionable, {
|
|
1402
|
+
path: _path + ".permission",
|
|
1349
1403
|
expected: "(PartialObjectDeep<__type, __type> | undefined)",
|
|
1404
|
+
value: input.permission
|
|
1405
|
+
}, errorFactory)) && (undefined === input.module || ("object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) || $guard(_exceptionable, {
|
|
1406
|
+
path: _path + ".module",
|
|
1407
|
+
expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
|
|
1350
1408
|
value: input.module
|
|
1351
|
-
}, errorFactory)) && $
|
|
1409
|
+
}, errorFactory)) && $ao2(input.module, _path + ".module", true && _exceptionable) || $guard(_exceptionable, {
|
|
1352
1410
|
path: _path + ".module",
|
|
1353
|
-
expected: "(PartialObjectDeep<__type, __type
|
|
1411
|
+
expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
|
|
1354
1412
|
value: input.module
|
|
1355
1413
|
}, errorFactory)) && (undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || $guard(_exceptionable, {
|
|
1356
1414
|
path: _path + ".browser",
|
|
1357
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1415
|
+
expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
|
|
1358
1416
|
value: input.browser
|
|
1359
|
-
}, errorFactory)) && $
|
|
1417
|
+
}, errorFactory)) && $ao6(input.browser, _path + ".browser", true && _exceptionable) || $guard(_exceptionable, {
|
|
1360
1418
|
path: _path + ".browser",
|
|
1361
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1419
|
+
expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
|
|
1362
1420
|
value: input.browser
|
|
1363
1421
|
}, errorFactory)) && (undefined === input.toolbarTags || ("object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) || $guard(_exceptionable, {
|
|
1364
1422
|
path: _path + ".toolbarTags",
|
|
1365
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1423
|
+
expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
|
|
1366
1424
|
value: input.toolbarTags
|
|
1367
|
-
}, errorFactory)) && $
|
|
1425
|
+
}, errorFactory)) && $ao8(input.toolbarTags, _path + ".toolbarTags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1368
1426
|
path: _path + ".toolbarTags",
|
|
1369
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1427
|
+
expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
|
|
1370
1428
|
value: input.toolbarTags
|
|
1371
1429
|
}, errorFactory)) && (undefined === input.deadlines || ("object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) || $guard(_exceptionable, {
|
|
1372
1430
|
path: _path + ".deadlines",
|
|
1373
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1431
|
+
expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
|
|
1374
1432
|
value: input.deadlines
|
|
1375
|
-
}, errorFactory)) && $
|
|
1433
|
+
}, errorFactory)) && $ao9(input.deadlines, _path + ".deadlines", true && _exceptionable) || $guard(_exceptionable, {
|
|
1376
1434
|
path: _path + ".deadlines",
|
|
1377
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1435
|
+
expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
|
|
1378
1436
|
value: input.deadlines
|
|
1379
1437
|
}, errorFactory)) && (undefined === input.assignees || ("object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) || $guard(_exceptionable, {
|
|
1380
1438
|
path: _path + ".assignees",
|
|
1381
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1439
|
+
expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
|
|
1382
1440
|
value: input.assignees
|
|
1383
|
-
}, errorFactory)) && $
|
|
1441
|
+
}, errorFactory)) && $ao10(input.assignees, _path + ".assignees", true && _exceptionable) || $guard(_exceptionable, {
|
|
1384
1442
|
path: _path + ".assignees",
|
|
1385
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1443
|
+
expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
|
|
1386
1444
|
value: input.assignees
|
|
1387
1445
|
}, errorFactory)) && (undefined === input.clock || ("object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) || $guard(_exceptionable, {
|
|
1388
1446
|
path: _path + ".clock",
|
|
1389
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1447
|
+
expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
|
|
1390
1448
|
value: input.clock
|
|
1391
|
-
}, errorFactory)) && $
|
|
1449
|
+
}, errorFactory)) && $ao11(input.clock, _path + ".clock", true && _exceptionable) || $guard(_exceptionable, {
|
|
1392
1450
|
path: _path + ".clock",
|
|
1393
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1451
|
+
expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
|
|
1394
1452
|
value: input.clock
|
|
1395
1453
|
}, errorFactory)) && (undefined === input.swarm || ("object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) || $guard(_exceptionable, {
|
|
1396
1454
|
path: _path + ".swarm",
|
|
1397
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1455
|
+
expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
|
|
1398
1456
|
value: input.swarm
|
|
1399
|
-
}, errorFactory)) && $
|
|
1457
|
+
}, errorFactory)) && $ao12(input.swarm, _path + ".swarm", true && _exceptionable) || $guard(_exceptionable, {
|
|
1400
1458
|
path: _path + ".swarm",
|
|
1401
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1459
|
+
expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
|
|
1402
1460
|
value: input.swarm
|
|
1403
1461
|
}, errorFactory)) && (undefined === input.dashboard || ("object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) || $guard(_exceptionable, {
|
|
1404
1462
|
path: _path + ".dashboard",
|
|
1405
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1463
|
+
expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
|
|
1406
1464
|
value: input.dashboard
|
|
1407
|
-
}, errorFactory)) && $
|
|
1465
|
+
}, errorFactory)) && $ao13(input.dashboard, _path + ".dashboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1408
1466
|
path: _path + ".dashboard",
|
|
1409
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1467
|
+
expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
|
|
1410
1468
|
value: input.dashboard
|
|
1411
1469
|
}, errorFactory)) && (undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || $guard(_exceptionable, {
|
|
1412
1470
|
path: _path + ".script",
|
|
1413
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1471
|
+
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
1414
1472
|
value: input.script
|
|
1415
|
-
}, errorFactory)) && $
|
|
1473
|
+
}, errorFactory)) && $ao14(input.script, _path + ".script", true && _exceptionable) || $guard(_exceptionable, {
|
|
1416
1474
|
path: _path + ".script",
|
|
1417
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1475
|
+
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
1418
1476
|
value: input.script
|
|
1419
1477
|
}, errorFactory)) && (undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || $guard(_exceptionable, {
|
|
1420
1478
|
path: _path + ".rundown",
|
|
1421
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1479
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
1422
1480
|
value: input.rundown
|
|
1423
|
-
}, errorFactory)) && $
|
|
1481
|
+
}, errorFactory)) && $ao17(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
1424
1482
|
path: _path + ".rundown",
|
|
1425
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1483
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
1426
1484
|
value: input.rundown
|
|
1427
1485
|
}, errorFactory)) && (undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || $guard(_exceptionable, {
|
|
1428
1486
|
path: _path + ".gallery",
|
|
1429
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1487
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
1430
1488
|
value: input.gallery
|
|
1431
|
-
}, errorFactory)) && $
|
|
1489
|
+
}, errorFactory)) && $ao18(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
1432
1490
|
path: _path + ".gallery",
|
|
1433
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1491
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
1434
1492
|
value: input.gallery
|
|
1435
1493
|
}, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
|
|
1436
1494
|
path: _path + ".history",
|
|
@@ -1438,11 +1496,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1438
1496
|
value: input.history
|
|
1439
1497
|
}, errorFactory)) && true && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || $guard(_exceptionable, {
|
|
1440
1498
|
path: _path + ".media",
|
|
1441
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1499
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
1442
1500
|
value: input.media
|
|
1443
|
-
}, errorFactory)) && $
|
|
1501
|
+
}, errorFactory)) && $ao19(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
1444
1502
|
path: _path + ".media",
|
|
1445
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1503
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
1446
1504
|
value: input.media
|
|
1447
1505
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
1448
1506
|
path: _path + ".predefinedTags",
|
|
@@ -1458,19 +1516,19 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1458
1516
|
value: input.predefinedTags
|
|
1459
1517
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
1460
1518
|
path: _path + ".storyboard",
|
|
1461
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1519
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
1462
1520
|
value: input.storyboard
|
|
1463
|
-
}, errorFactory)) && $
|
|
1521
|
+
}, errorFactory)) && $ao28(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1464
1522
|
path: _path + ".storyboard",
|
|
1465
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1523
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
1466
1524
|
value: input.storyboard
|
|
1467
1525
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
1468
1526
|
path: _path + ".plugins",
|
|
1469
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1527
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
1470
1528
|
value: input.plugins
|
|
1471
|
-
}, errorFactory)) && $
|
|
1529
|
+
}, errorFactory)) && $ao35(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
1472
1530
|
path: _path + ".plugins",
|
|
1473
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1531
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
1474
1532
|
value: input.plugins
|
|
1475
1533
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
1476
1534
|
path: _path + ".crashScreen",
|
|
@@ -1482,27 +1540,36 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1482
1540
|
value: input.debug
|
|
1483
1541
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
1484
1542
|
path: _path + ".flags",
|
|
1485
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1543
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
1486
1544
|
value: input.flags
|
|
1487
|
-
}, errorFactory)) && $
|
|
1545
|
+
}, errorFactory)) && $ao37(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1488
1546
|
path: _path + ".flags",
|
|
1489
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1547
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
1490
1548
|
value: input.flags
|
|
1491
1549
|
}, errorFactory));
|
|
1492
|
-
const $ao1 = (input, _path, _exceptionable = true) => undefined === input.
|
|
1550
|
+
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
1551
|
+
path: _path + ".overrideUserContact",
|
|
1552
|
+
expected: "(boolean | undefined)",
|
|
1553
|
+
value: input.overrideUserContact
|
|
1554
|
+
}, errorFactory)) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin || $guard(_exceptionable, {
|
|
1555
|
+
path: _path + ".overrideUserLogin",
|
|
1556
|
+
expected: "(boolean | undefined)",
|
|
1557
|
+
value: input.overrideUserLogin
|
|
1558
|
+
}, errorFactory));
|
|
1559
|
+
const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
|
|
1493
1560
|
path: _path + ".tabs",
|
|
1494
1561
|
expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
|
|
1495
1562
|
value: input.tabs
|
|
1496
|
-
}, errorFactory)) && $
|
|
1563
|
+
}, errorFactory)) && $ao3(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
|
|
1497
1564
|
path: _path + ".tabs",
|
|
1498
1565
|
expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
|
|
1499
1566
|
value: input.tabs
|
|
1500
1567
|
}, errorFactory);
|
|
1501
|
-
const $
|
|
1568
|
+
const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) || $guard(_exceptionable, {
|
|
1502
1569
|
path: _path + ".settingsPanelStore",
|
|
1503
1570
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
|
|
1504
1571
|
value: input.settingsPanelStore
|
|
1505
|
-
}, errorFactory)) && $
|
|
1572
|
+
}, errorFactory)) && $ao4(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
|
|
1506
1573
|
path: _path + ".settingsPanelStore",
|
|
1507
1574
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
|
|
1508
1575
|
value: input.settingsPanelStore
|
|
@@ -1516,13 +1583,13 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1516
1583
|
path: _path + $join(key),
|
|
1517
1584
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
|
|
1518
1585
|
value: value
|
|
1519
|
-
}, errorFactory)) && $
|
|
1586
|
+
}, errorFactory)) && $ao5(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
|
|
1520
1587
|
path: _path + $join(key),
|
|
1521
1588
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
|
|
1522
1589
|
value: value
|
|
1523
1590
|
}, errorFactory);
|
|
1524
1591
|
}));
|
|
1525
|
-
const $
|
|
1592
|
+
const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
1526
1593
|
path: _path + ".activeTab",
|
|
1527
1594
|
expected: "(string | undefined)",
|
|
1528
1595
|
value: input.activeTab
|
|
@@ -1531,21 +1598,21 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1531
1598
|
expected: "(number | undefined)",
|
|
1532
1599
|
value: input.activeSectionIndex
|
|
1533
1600
|
}, errorFactory));
|
|
1534
|
-
const $
|
|
1601
|
+
const $ao5 = (input, _path, _exceptionable = true) => undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
1535
1602
|
path: _path + ".activeTab",
|
|
1536
1603
|
expected: "(string | undefined)",
|
|
1537
1604
|
value: input.activeTab
|
|
1538
1605
|
}, errorFactory);
|
|
1539
|
-
const $
|
|
1606
|
+
const $ao6 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
1540
1607
|
path: _path + ".createMenu",
|
|
1541
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1608
|
+
expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
|
|
1542
1609
|
value: input.createMenu
|
|
1543
|
-
}, errorFactory)) && $
|
|
1610
|
+
}, errorFactory)) && $ao7(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
1544
1611
|
path: _path + ".createMenu",
|
|
1545
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1612
|
+
expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
|
|
1546
1613
|
value: input.createMenu
|
|
1547
1614
|
}, errorFactory);
|
|
1548
|
-
const $
|
|
1615
|
+
const $ao7 = (input, _path, _exceptionable = true) => undefined === input.sortOrder || (Array.isArray(input.sortOrder) || $guard(_exceptionable, {
|
|
1549
1616
|
path: _path + ".sortOrder",
|
|
1550
1617
|
expected: "(Array<string> | undefined)",
|
|
1551
1618
|
value: input.sortOrder
|
|
@@ -1558,7 +1625,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1558
1625
|
expected: "(Array<string> | undefined)",
|
|
1559
1626
|
value: input.sortOrder
|
|
1560
1627
|
}, errorFactory);
|
|
1561
|
-
const $
|
|
1628
|
+
const $ao8 = (input, _path, _exceptionable = true) => undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
1562
1629
|
path: _path + ".exclude",
|
|
1563
1630
|
expected: "(Array<string> | undefined)",
|
|
1564
1631
|
value: input.exclude
|
|
@@ -1571,7 +1638,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1571
1638
|
expected: "(Array<string> | undefined)",
|
|
1572
1639
|
value: input.exclude
|
|
1573
1640
|
}, errorFactory);
|
|
1574
|
-
const $
|
|
1641
|
+
const $ao9 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
1575
1642
|
path: _path + ".include",
|
|
1576
1643
|
expected: "(Array<string> | undefined)",
|
|
1577
1644
|
value: input.include
|
|
@@ -1584,7 +1651,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1584
1651
|
expected: "(Array<string> | undefined)",
|
|
1585
1652
|
value: input.include
|
|
1586
1653
|
}, errorFactory);
|
|
1587
|
-
const $
|
|
1654
|
+
const $ao10 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
1588
1655
|
path: _path + ".include",
|
|
1589
1656
|
expected: "(Array<string> | undefined)",
|
|
1590
1657
|
value: input.include
|
|
@@ -1597,7 +1664,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1597
1664
|
expected: "(Array<string> | undefined)",
|
|
1598
1665
|
value: input.include
|
|
1599
1666
|
}, errorFactory);
|
|
1600
|
-
const $
|
|
1667
|
+
const $ao11 = (input, _path, _exceptionable = true) => (undefined === input.enable || "boolean" === typeof input.enable || $guard(_exceptionable, {
|
|
1601
1668
|
path: _path + ".enable",
|
|
1602
1669
|
expected: "(boolean | undefined)",
|
|
1603
1670
|
value: input.enable
|
|
@@ -1626,12 +1693,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1626
1693
|
expected: "(string | undefined)",
|
|
1627
1694
|
value: input.format
|
|
1628
1695
|
}, errorFactory));
|
|
1629
|
-
const $
|
|
1696
|
+
const $ao12 = (input, _path, _exceptionable = true) => undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
1630
1697
|
path: _path + ".color",
|
|
1631
1698
|
expected: "(string | undefined)",
|
|
1632
1699
|
value: input.color
|
|
1633
1700
|
}, errorFactory);
|
|
1634
|
-
const $
|
|
1701
|
+
const $ao13 = (input, _path, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru || $guard(_exceptionable, {
|
|
1635
1702
|
path: _path + ".maxMru",
|
|
1636
1703
|
expected: "(number | undefined)",
|
|
1637
1704
|
value: input.maxMru
|
|
@@ -1640,13 +1707,13 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1640
1707
|
expected: "(number | undefined)",
|
|
1641
1708
|
value: input.maxTabs
|
|
1642
1709
|
}, errorFactory));
|
|
1643
|
-
const $
|
|
1710
|
+
const $ao14 = (input, _path, _exceptionable = true) => (undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
1644
1711
|
path: _path + ".createMenu",
|
|
1645
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1712
|
+
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
1646
1713
|
value: input.createMenu
|
|
1647
|
-
}, errorFactory)) && $
|
|
1714
|
+
}, errorFactory)) && $ao15(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
1648
1715
|
path: _path + ".createMenu",
|
|
1649
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1716
|
+
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
1650
1717
|
value: input.createMenu
|
|
1651
1718
|
}, errorFactory)) && (undefined === input.colorTags || (Array.isArray(input.colorTags) || $guard(_exceptionable, {
|
|
1652
1719
|
path: _path + ".colorTags",
|
|
@@ -1656,7 +1723,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1656
1723
|
path: _path + ".colorTags[" + _index6 + "]",
|
|
1657
1724
|
expected: "PromotedTag",
|
|
1658
1725
|
value: elem
|
|
1659
|
-
}, errorFactory)) && $
|
|
1726
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1660
1727
|
path: _path + ".colorTags[" + _index6 + "]",
|
|
1661
1728
|
expected: "PromotedTag",
|
|
1662
1729
|
value: elem
|
|
@@ -1665,12 +1732,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1665
1732
|
expected: "(Array<PromotedTag> | undefined)",
|
|
1666
1733
|
value: input.colorTags
|
|
1667
1734
|
}, errorFactory));
|
|
1668
|
-
const $
|
|
1735
|
+
const $ao15 = (input, _path, _exceptionable = true) => undefined === input.showPreview || "boolean" === typeof input.showPreview || $guard(_exceptionable, {
|
|
1669
1736
|
path: _path + ".showPreview",
|
|
1670
1737
|
expected: "(boolean | undefined)",
|
|
1671
1738
|
value: input.showPreview
|
|
1672
1739
|
}, errorFactory);
|
|
1673
|
-
const $
|
|
1740
|
+
const $ao16 = (input, _path, _exceptionable = true) => (null === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
1674
1741
|
path: _path + ".name",
|
|
1675
1742
|
expected: "(null | string)",
|
|
1676
1743
|
value: input.name
|
|
@@ -1687,23 +1754,23 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1687
1754
|
expected: "(null | string)",
|
|
1688
1755
|
value: input.description
|
|
1689
1756
|
}, errorFactory));
|
|
1690
|
-
const $
|
|
1757
|
+
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
1691
1758
|
path: _path + ".eventThumbnails",
|
|
1692
1759
|
expected: "(boolean | undefined)",
|
|
1693
1760
|
value: input.eventThumbnails
|
|
1694
1761
|
}, errorFactory);
|
|
1695
|
-
const $
|
|
1762
|
+
const $ao18 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
1696
1763
|
path: _path + ".dimOnBlur",
|
|
1697
1764
|
expected: "(boolean | undefined)",
|
|
1698
1765
|
value: input.dimOnBlur
|
|
1699
1766
|
}, errorFactory);
|
|
1700
|
-
const $
|
|
1767
|
+
const $ao19 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
1701
1768
|
path: _path + ".guide",
|
|
1702
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1769
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
1703
1770
|
value: input.guide
|
|
1704
|
-
}, errorFactory)) && $
|
|
1771
|
+
}, errorFactory)) && $ao20(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
1705
1772
|
path: _path + ".guide",
|
|
1706
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1773
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
1707
1774
|
value: input.guide
|
|
1708
1775
|
}, errorFactory)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || $guard(_exceptionable, {
|
|
1709
1776
|
path: _path + ".stepManyFrames",
|
|
@@ -1719,11 +1786,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1719
1786
|
value: input.importTitleTemplate
|
|
1720
1787
|
}, errorFactory)) && (undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || $guard(_exceptionable, {
|
|
1721
1788
|
path: _path + ".tile",
|
|
1722
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1789
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
1723
1790
|
value: input.tile
|
|
1724
|
-
}, errorFactory)) && $
|
|
1791
|
+
}, errorFactory)) && $ao21(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
1725
1792
|
path: _path + ".tile",
|
|
1726
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1793
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
1727
1794
|
value: input.tile
|
|
1728
1795
|
}, errorFactory)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference || $guard(_exceptionable, {
|
|
1729
1796
|
path: _path + ".timecodeReference",
|
|
@@ -1759,11 +1826,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1759
1826
|
value: input.playbackRates
|
|
1760
1827
|
}, errorFactory)) && (undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || $guard(_exceptionable, {
|
|
1761
1828
|
path: _path + ".subtitles",
|
|
1762
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1829
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
1763
1830
|
value: input.subtitles
|
|
1764
|
-
}, errorFactory)) && $
|
|
1831
|
+
}, errorFactory)) && $ao22(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
1765
1832
|
path: _path + ".subtitles",
|
|
1766
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1833
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
1767
1834
|
value: input.subtitles
|
|
1768
1835
|
}, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
|
|
1769
1836
|
path: _path + ".subtitleTemplateId",
|
|
@@ -1781,7 +1848,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1781
1848
|
path: _path + ".guides[" + _index8 + "]",
|
|
1782
1849
|
expected: "__type",
|
|
1783
1850
|
value: elem
|
|
1784
|
-
}, errorFactory)) && $
|
|
1851
|
+
}, errorFactory)) && $ao23(elem, _path + ".guides[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1785
1852
|
path: _path + ".guides[" + _index8 + "]",
|
|
1786
1853
|
expected: "__type",
|
|
1787
1854
|
value: elem
|
|
@@ -1795,19 +1862,19 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1795
1862
|
value: input.download
|
|
1796
1863
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
1797
1864
|
path: _path + ".transcribe",
|
|
1798
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1865
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
1799
1866
|
value: input.transcribe
|
|
1800
|
-
}, errorFactory)) && $
|
|
1867
|
+
}, errorFactory)) && $ao24(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1801
1868
|
path: _path + ".transcribe",
|
|
1802
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1869
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
1803
1870
|
value: input.transcribe
|
|
1804
1871
|
}, errorFactory));
|
|
1805
|
-
const $
|
|
1872
|
+
const $ao20 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
1806
1873
|
path: _path + ".mask",
|
|
1807
1874
|
expected: "(boolean | undefined)",
|
|
1808
1875
|
value: input.mask
|
|
1809
1876
|
}, errorFactory);
|
|
1810
|
-
const $
|
|
1877
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
|
|
1811
1878
|
path: _path + ".preview",
|
|
1812
1879
|
expected: "(string | undefined)",
|
|
1813
1880
|
value: input.preview
|
|
@@ -1816,7 +1883,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1816
1883
|
expected: "(boolean | undefined)",
|
|
1817
1884
|
value: input.showRenderProgress
|
|
1818
1885
|
}, errorFactory));
|
|
1819
|
-
const $
|
|
1886
|
+
const $ao22 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing || $guard(_exceptionable, {
|
|
1820
1887
|
path: _path + ".spacing",
|
|
1821
1888
|
expected: "(number | undefined)",
|
|
1822
1889
|
value: input.spacing
|
|
@@ -1825,7 +1892,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1825
1892
|
expected: "(number | undefined)",
|
|
1826
1893
|
value: input.maxCharactersPerLine
|
|
1827
1894
|
}, errorFactory));
|
|
1828
|
-
const $
|
|
1895
|
+
const $ao23 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
1829
1896
|
path: _path + ".label",
|
|
1830
1897
|
expected: "string",
|
|
1831
1898
|
value: input.label
|
|
@@ -1834,29 +1901,29 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1834
1901
|
expected: "string",
|
|
1835
1902
|
value: input.aspectRatio
|
|
1836
1903
|
}, errorFactory));
|
|
1837
|
-
const $
|
|
1904
|
+
const $ao24 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
1838
1905
|
path: _path + ".subtitleDisclaimer",
|
|
1839
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1906
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
1840
1907
|
value: input.subtitleDisclaimer
|
|
1841
|
-
}, errorFactory)) && $
|
|
1908
|
+
}, errorFactory)) && $ao25(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
1842
1909
|
path: _path + ".subtitleDisclaimer",
|
|
1843
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1910
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
1844
1911
|
value: input.subtitleDisclaimer
|
|
1845
1912
|
}, errorFactory);
|
|
1846
|
-
const $
|
|
1913
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
1847
1914
|
path: _path + ".isUserConfigurable",
|
|
1848
1915
|
expected: "(boolean | undefined)",
|
|
1849
1916
|
value: input.isUserConfigurable
|
|
1850
1917
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
1851
1918
|
path: _path + ".defaultValue",
|
|
1852
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1919
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
1853
1920
|
value: input.defaultValue
|
|
1854
|
-
}, errorFactory)) && $
|
|
1921
|
+
}, errorFactory)) && $ao26(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
1855
1922
|
path: _path + ".defaultValue",
|
|
1856
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1923
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
1857
1924
|
value: input.defaultValue
|
|
1858
1925
|
}, errorFactory));
|
|
1859
|
-
const $
|
|
1926
|
+
const $ao26 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
1860
1927
|
path: _path + ".enabled",
|
|
1861
1928
|
expected: "(false | undefined)",
|
|
1862
1929
|
value: input.enabled
|
|
@@ -1868,7 +1935,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1868
1935
|
path: _path + ".text[" + _index9 + "]",
|
|
1869
1936
|
expected: "__type.o1",
|
|
1870
1937
|
value: elem
|
|
1871
|
-
}, errorFactory)) && $
|
|
1938
|
+
}, errorFactory)) && $ao27(elem, _path + ".text[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1872
1939
|
path: _path + ".text[" + _index9 + "]",
|
|
1873
1940
|
expected: "__type.o1",
|
|
1874
1941
|
value: elem
|
|
@@ -1885,7 +1952,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1885
1952
|
expected: "(number | undefined)",
|
|
1886
1953
|
value: input.duration
|
|
1887
1954
|
}, errorFactory));
|
|
1888
|
-
const $
|
|
1955
|
+
const $ao27 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
1889
1956
|
path: _path + ".language",
|
|
1890
1957
|
expected: "string",
|
|
1891
1958
|
value: input.language
|
|
@@ -1894,50 +1961,50 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1894
1961
|
expected: "string",
|
|
1895
1962
|
value: input.value
|
|
1896
1963
|
}, errorFactory));
|
|
1897
|
-
const $
|
|
1964
|
+
const $ao28 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
1898
1965
|
path: _path + ".assets",
|
|
1899
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1966
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
1900
1967
|
value: input.assets
|
|
1901
|
-
}, errorFactory)) && $
|
|
1968
|
+
}, errorFactory)) && $ao29(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
1902
1969
|
path: _path + ".assets",
|
|
1903
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1970
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
1904
1971
|
value: input.assets
|
|
1905
1972
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
1906
1973
|
path: _path + ".pipeline",
|
|
1907
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1974
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
1908
1975
|
value: input.pipeline
|
|
1909
|
-
}, errorFactory)) && $
|
|
1976
|
+
}, errorFactory)) && $ao32(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
1910
1977
|
path: _path + ".pipeline",
|
|
1911
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1978
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
1912
1979
|
value: input.pipeline
|
|
1913
1980
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
1914
1981
|
path: _path + ".item",
|
|
1915
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1982
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
1916
1983
|
value: input.item
|
|
1917
|
-
}, errorFactory)) && $
|
|
1984
|
+
}, errorFactory)) && $ao34(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
1918
1985
|
path: _path + ".item",
|
|
1919
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1986
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
1920
1987
|
value: input.item
|
|
1921
1988
|
}, errorFactory));
|
|
1922
|
-
const $
|
|
1989
|
+
const $ao29 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
1923
1990
|
path: _path + ".story",
|
|
1924
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1991
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
1925
1992
|
value: input.story
|
|
1926
|
-
}, errorFactory)) && $
|
|
1993
|
+
}, errorFactory)) && $ao30(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
1927
1994
|
path: _path + ".story",
|
|
1928
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1995
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
1929
1996
|
value: input.story
|
|
1930
1997
|
}, errorFactory);
|
|
1931
|
-
const $
|
|
1998
|
+
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
1932
1999
|
path: _path + ".excerpt",
|
|
1933
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2000
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
1934
2001
|
value: input.excerpt
|
|
1935
|
-
}, errorFactory)) && $
|
|
2002
|
+
}, errorFactory)) && $ao31(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
1936
2003
|
path: _path + ".excerpt",
|
|
1937
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2004
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
1938
2005
|
value: input.excerpt
|
|
1939
2006
|
}, errorFactory);
|
|
1940
|
-
const $
|
|
2007
|
+
const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
1941
2008
|
path: _path + ".maxLines",
|
|
1942
2009
|
expected: "(number | undefined)",
|
|
1943
2010
|
value: input.maxLines
|
|
@@ -1946,40 +2013,40 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1946
2013
|
expected: "(string | undefined)",
|
|
1947
2014
|
value: input.mode
|
|
1948
2015
|
}, errorFactory));
|
|
1949
|
-
const $
|
|
2016
|
+
const $ao32 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
1950
2017
|
path: _path + ".search",
|
|
1951
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2018
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
1952
2019
|
value: input.search
|
|
1953
|
-
}, errorFactory)) && $
|
|
2020
|
+
}, errorFactory)) && $ao33(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
1954
2021
|
path: _path + ".search",
|
|
1955
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2022
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
1956
2023
|
value: input.search
|
|
1957
2024
|
}, errorFactory);
|
|
1958
|
-
const $
|
|
2025
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
1959
2026
|
path: _path + ".maxItemsDisplayed",
|
|
1960
2027
|
expected: "(number | undefined)",
|
|
1961
2028
|
value: input.maxItemsDisplayed
|
|
1962
2029
|
}, errorFactory);
|
|
1963
|
-
const $
|
|
2030
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
1964
2031
|
path: _path + ".maxHeight",
|
|
1965
2032
|
expected: "(number | undefined)",
|
|
1966
2033
|
value: input.maxHeight
|
|
1967
2034
|
}, errorFactory);
|
|
1968
|
-
const $
|
|
2035
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
1969
2036
|
path: _path + ".adobe",
|
|
1970
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2037
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
1971
2038
|
value: input.adobe
|
|
1972
|
-
}, errorFactory)) && $
|
|
2039
|
+
}, errorFactory)) && $ao36(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1973
2040
|
path: _path + ".adobe",
|
|
1974
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2041
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
1975
2042
|
value: input.adobe
|
|
1976
2043
|
}, errorFactory);
|
|
1977
|
-
const $
|
|
2044
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
1978
2045
|
path: _path + ".useProxies",
|
|
1979
2046
|
expected: "(boolean | undefined)",
|
|
1980
2047
|
value: input.useProxies
|
|
1981
2048
|
}, errorFactory);
|
|
1982
|
-
const $
|
|
2049
|
+
const $ao37 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
1983
2050
|
path: _path + ".utils",
|
|
1984
2051
|
expected: "(boolean | undefined)",
|
|
1985
2052
|
value: input.utils
|
|
@@ -2015,6 +2082,10 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2015
2082
|
path: _path + ".resetRenders",
|
|
2016
2083
|
expected: "(boolean | undefined)",
|
|
2017
2084
|
value: input.resetRenders
|
|
2085
|
+
}, errorFactory)) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas || $guard(_exceptionable, {
|
|
2086
|
+
path: _path + ".resetReplicas",
|
|
2087
|
+
expected: "(boolean | undefined)",
|
|
2088
|
+
value: input.resetReplicas
|
|
2018
2089
|
}, errorFactory)) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus || $guard(_exceptionable, {
|
|
2019
2090
|
path: _path + ".assetStatus",
|
|
2020
2091
|
expected: "(boolean | undefined)",
|
|
@@ -2027,6 +2098,10 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2027
2098
|
path: _path + ".hideInAssetMenu",
|
|
2028
2099
|
expected: "(boolean | undefined)",
|
|
2029
2100
|
value: input.hideInAssetMenu
|
|
2101
|
+
}, errorFactory)) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute || $guard(_exceptionable, {
|
|
2102
|
+
path: _path + ".assetRoute",
|
|
2103
|
+
expected: "(boolean | undefined)",
|
|
2104
|
+
value: input.assetRoute
|
|
2030
2105
|
}, errorFactory));
|
|
2031
2106
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2032
2107
|
path: _path + "",
|
|
@@ -2040,229 +2115,240 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2040
2115
|
})(input, "$input", true);
|
|
2041
2116
|
};
|
|
2042
2117
|
export const stringifySettingsRecord = input => {
|
|
2043
|
-
const $io1 = input => undefined === input.
|
|
2044
|
-
const $io2 = input =>
|
|
2118
|
+
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
2119
|
+
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
2120
|
+
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
2045
2121
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
2046
2122
|
return true;
|
|
2047
2123
|
const value = input[key];
|
|
2048
2124
|
if (undefined === value)
|
|
2049
2125
|
return true;
|
|
2050
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
2126
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
|
|
2051
2127
|
});
|
|
2052
|
-
const $
|
|
2053
|
-
const $
|
|
2054
|
-
const $
|
|
2055
|
-
const $
|
|
2056
|
-
const $
|
|
2057
|
-
const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2128
|
+
const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
2129
|
+
const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
|
|
2130
|
+
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
2131
|
+
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
2132
|
+
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
2058
2133
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2059
|
-
const $io10 = input =>
|
|
2060
|
-
const $io11 = input => undefined === input.
|
|
2061
|
-
const $io12 = input =>
|
|
2062
|
-
const $io13 = input => (undefined === input.
|
|
2063
|
-
const $io14 = input => undefined === input.
|
|
2064
|
-
const $io15 = input =>
|
|
2065
|
-
const $io16 = input =>
|
|
2066
|
-
const $io17 = input => undefined === input.
|
|
2067
|
-
const $io18 = input =>
|
|
2068
|
-
const $io19 = input => undefined === input.
|
|
2069
|
-
const $io20 = input =>
|
|
2070
|
-
const $io21 = input => (undefined === input.
|
|
2071
|
-
const $io22 = input => "
|
|
2072
|
-
const $io23 = input =>
|
|
2073
|
-
const $io24 = input =>
|
|
2074
|
-
const $io25 = input => (undefined === input.
|
|
2075
|
-
const $io26 = input => "
|
|
2076
|
-
const $io27 = input =>
|
|
2077
|
-
const $io28 = input => undefined === input.
|
|
2078
|
-
const $io29 = input => undefined === input.
|
|
2079
|
-
const $io30 = input =>
|
|
2080
|
-
const $io31 = input => undefined === input.
|
|
2081
|
-
const $io32 = input => undefined === input.
|
|
2082
|
-
const $io33 = input => undefined === input.
|
|
2083
|
-
const $io34 = input => undefined === input.
|
|
2084
|
-
const $io35 = input => undefined === input.
|
|
2085
|
-
const $io36 = input =>
|
|
2134
|
+
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2135
|
+
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
2136
|
+
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
2137
|
+
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
2138
|
+
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
2139
|
+
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
2140
|
+
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
2141
|
+
const $io17 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2142
|
+
const $io18 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2143
|
+
const $io19 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io20(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) && $io21(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) && $io22(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 && $io23(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io24(input.transcribe));
|
|
2144
|
+
const $io20 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2145
|
+
const $io21 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2146
|
+
const $io22 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
2147
|
+
const $io23 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2148
|
+
const $io24 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io25(input.subtitleDisclaimer);
|
|
2149
|
+
const $io25 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io26(input.defaultValue));
|
|
2150
|
+
const $io26 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io27(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
2151
|
+
const $io27 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2152
|
+
const $io28 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io29(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io32(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io34(input.item));
|
|
2153
|
+
const $io29 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io30(input.story);
|
|
2154
|
+
const $io30 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io31(input.excerpt);
|
|
2155
|
+
const $io31 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2156
|
+
const $io32 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io33(input.search);
|
|
2157
|
+
const $io33 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
2158
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2159
|
+
const $io35 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io36(input.adobe);
|
|
2160
|
+
const $io36 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2161
|
+
const $io37 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
2086
2162
|
const $string = __typia.json.createStringify.string;
|
|
2087
2163
|
const $tail = __typia.json.createStringify.tail;
|
|
2088
|
-
const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $
|
|
2089
|
-
const $so1 = input => `{${$tail(`${undefined === input.
|
|
2090
|
-
const $so2 = input => `{${$tail(`${undefined === input.
|
|
2164
|
+
const $so0 = input => `{${$tail(`${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so17(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so18(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 ? $so19(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 ? $so28(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so35(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 ? $so37(input.flags) : undefined}`}`)}}`;
|
|
2165
|
+
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
2166
|
+
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
2167
|
+
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2091
2168
|
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
2092
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? $
|
|
2093
|
-
const $
|
|
2094
|
-
const $
|
|
2095
|
-
const $
|
|
2096
|
-
const $
|
|
2097
|
-
const $
|
|
2098
|
-
const $so8 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2169
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? $so5(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
2170
|
+
const $so4 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined},`}${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined}`}`)}}`;
|
|
2171
|
+
const $so5 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined}`}`)}}`;
|
|
2172
|
+
const $so6 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so7(input.createMenu) : undefined}`}`)}}`;
|
|
2173
|
+
const $so7 = input => `{${$tail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2174
|
+
const $so8 = input => `{${$tail(`${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2099
2175
|
const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2100
|
-
const $so10 = input => `{${$tail(`${undefined === input.
|
|
2101
|
-
const $so11 = input => `{${$tail(`${undefined === input.
|
|
2102
|
-
const $so12 = input => `{${$tail(`${undefined === input.
|
|
2103
|
-
const $so13 = input => `{${$tail(`${undefined === input.
|
|
2104
|
-
const $so14 = input => `{${$tail(`${undefined === input.
|
|
2105
|
-
const $so15 = input => `{
|
|
2106
|
-
const $so16 = input => `{
|
|
2107
|
-
const $so17 = input => `{${$tail(`${undefined === input.
|
|
2108
|
-
const $so18 = input => `{${$tail(`${undefined === input.
|
|
2109
|
-
const $so19 = input => `{${$tail(`${undefined === input.
|
|
2110
|
-
const $so20 = input => `{${$tail(`${undefined === input.
|
|
2111
|
-
const $so21 = input => `{${$tail(`${undefined === input.
|
|
2112
|
-
const $
|
|
2113
|
-
const $so24 = input => `{${$tail(`${undefined === input.
|
|
2114
|
-
const $so25 = input => `{${$tail(`${undefined === input.
|
|
2115
|
-
const $
|
|
2116
|
-
const $so28 = input => `{${$tail(`${undefined === input.
|
|
2117
|
-
const $so29 = input => `{${$tail(`${undefined === input.
|
|
2118
|
-
const $so30 = input => `{${$tail(`${undefined === input.
|
|
2119
|
-
const $so31 = input => `{${$tail(`${undefined === input.
|
|
2120
|
-
const $so32 = input => `{${$tail(`${undefined === input.
|
|
2121
|
-
const $so33 = input => `{${$tail(`${undefined === input.
|
|
2122
|
-
const $so34 = input => `{${$tail(`${undefined === input.
|
|
2123
|
-
const $so35 = input => `{${$tail(`${undefined === input.
|
|
2124
|
-
const $so36 = input => `{${$tail(`${undefined === input.
|
|
2176
|
+
const $so10 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2177
|
+
const $so11 = input => `{${$tail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined}`}`)}}`;
|
|
2178
|
+
const $so12 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined}`}`)}}`;
|
|
2179
|
+
const $so13 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
|
|
2180
|
+
const $so14 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so15(input.createMenu) : undefined},`}${undefined === input.colorTags ? "" : `"colorTags":${undefined !== input.colorTags ? `[${input.colorTags.map(elem => $so16(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2181
|
+
const $so15 = input => `{${$tail(`${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`;
|
|
2182
|
+
const $so16 = input => `{"name":${null !== input.name ? $string(input.name) : "null"},"icon":${null !== input.icon ? $string(input.icon) : "null"},"color":${null !== input.color ? $string(input.color) : "null"},"description":${null !== input.description ? $string(input.description) : "null"}}`;
|
|
2183
|
+
const $so17 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
2184
|
+
const $so18 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
2185
|
+
const $so19 = input => `{${$tail(`${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so20(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 ? $so21(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 ? $so22(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 ? $so24(input.transcribe) : undefined}`}`)}}`;
|
|
2186
|
+
const $so20 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
2187
|
+
const $so21 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? $string(input.preview) : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
2188
|
+
const $so22 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
|
|
2189
|
+
const $so24 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so25(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
2190
|
+
const $so25 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so26(input.defaultValue) : undefined}`}`)}}`;
|
|
2191
|
+
const $so26 = 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}`}`)}}`;
|
|
2192
|
+
const $so28 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so29(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so32(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so34(input.item) : undefined}`}`)}}`;
|
|
2193
|
+
const $so29 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so30(input.story) : undefined}`}`)}}`;
|
|
2194
|
+
const $so30 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so31(input.excerpt) : undefined}`}`)}}`;
|
|
2195
|
+
const $so31 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
2196
|
+
const $so32 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so33(input.search) : undefined}`}`)}}`;
|
|
2197
|
+
const $so33 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
2198
|
+
const $so34 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
2199
|
+
const $so35 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so36(input.adobe) : undefined}`}`)}}`;
|
|
2200
|
+
const $so36 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
2201
|
+
const $so37 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined}`}`)}}`;
|
|
2125
2202
|
return $so0(input);
|
|
2126
2203
|
};
|
|
2127
2204
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
2128
2205
|
const __is = input => {
|
|
2129
|
-
const $io0 = input => (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $
|
|
2130
|
-
const $io1 = input => undefined === input.
|
|
2131
|
-
const $io2 = input =>
|
|
2206
|
+
const $io0 = input => (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io17(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io18(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) && $io19(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) && $io28(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io35(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) && $io37(input.flags));
|
|
2207
|
+
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
2208
|
+
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
2209
|
+
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
2132
2210
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
2133
2211
|
return true;
|
|
2134
2212
|
const value = input[key];
|
|
2135
2213
|
if (undefined === value)
|
|
2136
2214
|
return true;
|
|
2137
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
2215
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
|
|
2138
2216
|
});
|
|
2139
|
-
const $
|
|
2140
|
-
const $
|
|
2141
|
-
const $
|
|
2142
|
-
const $
|
|
2143
|
-
const $
|
|
2144
|
-
const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2217
|
+
const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex && !Number.isNaN(input.activeSectionIndex));
|
|
2218
|
+
const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
|
|
2219
|
+
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
2220
|
+
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
2221
|
+
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
2145
2222
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2146
|
-
const $io10 = input =>
|
|
2147
|
-
const $io11 = input => undefined === input.
|
|
2148
|
-
const $io12 = input =>
|
|
2149
|
-
const $io13 = input => (undefined === input.
|
|
2150
|
-
const $io14 = input => undefined === input.
|
|
2151
|
-
const $io15 = input =>
|
|
2152
|
-
const $io16 = input =>
|
|
2153
|
-
const $io17 = input => undefined === input.
|
|
2154
|
-
const $io18 = input =>
|
|
2155
|
-
const $io19 = input => undefined === input.
|
|
2156
|
-
const $io20 = input =>
|
|
2157
|
-
const $io21 = input => (undefined === input.
|
|
2158
|
-
const $io22 = input => "
|
|
2159
|
-
const $io23 = input =>
|
|
2160
|
-
const $io24 = input =>
|
|
2161
|
-
const $io25 = input => (undefined === input.
|
|
2162
|
-
const $io26 = input => "
|
|
2163
|
-
const $io27 = input =>
|
|
2164
|
-
const $io28 = input => undefined === input.
|
|
2165
|
-
const $io29 = input => undefined === input.
|
|
2166
|
-
const $io30 = input =>
|
|
2167
|
-
const $io31 = input => undefined === input.
|
|
2168
|
-
const $io32 = input => undefined === input.
|
|
2169
|
-
const $io33 = input => undefined === input.
|
|
2170
|
-
const $io34 = input => undefined === input.
|
|
2171
|
-
const $io35 = input => undefined === input.
|
|
2172
|
-
const $io36 = input =>
|
|
2223
|
+
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2224
|
+
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
2225
|
+
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
2226
|
+
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru && !Number.isNaN(input.maxMru)) && (undefined === input.maxTabs || "number" === typeof input.maxTabs && !Number.isNaN(input.maxTabs));
|
|
2227
|
+
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
2228
|
+
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
2229
|
+
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
2230
|
+
const $io17 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2231
|
+
const $io18 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2232
|
+
const $io19 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io20(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) && $io21(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) && $io22(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 && $io23(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io24(input.transcribe));
|
|
2233
|
+
const $io20 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2234
|
+
const $io21 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2235
|
+
const $io22 = input => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine));
|
|
2236
|
+
const $io23 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2237
|
+
const $io24 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io25(input.subtitleDisclaimer);
|
|
2238
|
+
const $io25 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io26(input.defaultValue));
|
|
2239
|
+
const $io26 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io27(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
|
|
2240
|
+
const $io27 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2241
|
+
const $io28 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io29(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io32(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io34(input.item));
|
|
2242
|
+
const $io29 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io30(input.story);
|
|
2243
|
+
const $io30 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io31(input.excerpt);
|
|
2244
|
+
const $io31 = input => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines)) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2245
|
+
const $io32 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io33(input.search);
|
|
2246
|
+
const $io33 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed);
|
|
2247
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
2248
|
+
const $io35 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io36(input.adobe);
|
|
2249
|
+
const $io36 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2250
|
+
const $io37 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
2173
2251
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2174
2252
|
};
|
|
2175
2253
|
if (false === __is(input))
|
|
2176
2254
|
((input, _path, _exceptionable = true) => {
|
|
2177
2255
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
2178
2256
|
const $join = __typia.json.createAssertStringify.join;
|
|
2179
|
-
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
2180
|
-
path: _path + ".
|
|
2257
|
+
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.permission || ("object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) || $guard(_exceptionable, {
|
|
2258
|
+
path: _path + ".permission",
|
|
2181
2259
|
expected: "(PartialObjectDeep<__type, __type> | undefined)",
|
|
2260
|
+
value: input.permission
|
|
2261
|
+
}, errorFactory)) && $ao1(input.permission, _path + ".permission", true && _exceptionable) || $guard(_exceptionable, {
|
|
2262
|
+
path: _path + ".permission",
|
|
2263
|
+
expected: "(PartialObjectDeep<__type, __type> | undefined)",
|
|
2264
|
+
value: input.permission
|
|
2265
|
+
}, errorFactory)) && (undefined === input.module || ("object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) || $guard(_exceptionable, {
|
|
2266
|
+
path: _path + ".module",
|
|
2267
|
+
expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
|
|
2182
2268
|
value: input.module
|
|
2183
|
-
}, errorFactory)) && $
|
|
2269
|
+
}, errorFactory)) && $ao2(input.module, _path + ".module", true && _exceptionable) || $guard(_exceptionable, {
|
|
2184
2270
|
path: _path + ".module",
|
|
2185
|
-
expected: "(PartialObjectDeep<__type, __type
|
|
2271
|
+
expected: "(PartialObjectDeep<__type, __type>.o1 | undefined)",
|
|
2186
2272
|
value: input.module
|
|
2187
2273
|
}, errorFactory)) && (undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || $guard(_exceptionable, {
|
|
2188
2274
|
path: _path + ".browser",
|
|
2189
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2275
|
+
expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
|
|
2190
2276
|
value: input.browser
|
|
2191
|
-
}, errorFactory)) && $
|
|
2277
|
+
}, errorFactory)) && $ao6(input.browser, _path + ".browser", true && _exceptionable) || $guard(_exceptionable, {
|
|
2192
2278
|
path: _path + ".browser",
|
|
2193
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2279
|
+
expected: "(PartialObjectDeep<__type, __type>.o2 | undefined)",
|
|
2194
2280
|
value: input.browser
|
|
2195
2281
|
}, errorFactory)) && (undefined === input.toolbarTags || ("object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) || $guard(_exceptionable, {
|
|
2196
2282
|
path: _path + ".toolbarTags",
|
|
2197
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2283
|
+
expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
|
|
2198
2284
|
value: input.toolbarTags
|
|
2199
|
-
}, errorFactory)) && $
|
|
2285
|
+
}, errorFactory)) && $ao8(input.toolbarTags, _path + ".toolbarTags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2200
2286
|
path: _path + ".toolbarTags",
|
|
2201
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2287
|
+
expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
|
|
2202
2288
|
value: input.toolbarTags
|
|
2203
2289
|
}, errorFactory)) && (undefined === input.deadlines || ("object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) || $guard(_exceptionable, {
|
|
2204
2290
|
path: _path + ".deadlines",
|
|
2205
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2291
|
+
expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
|
|
2206
2292
|
value: input.deadlines
|
|
2207
|
-
}, errorFactory)) && $
|
|
2293
|
+
}, errorFactory)) && $ao9(input.deadlines, _path + ".deadlines", true && _exceptionable) || $guard(_exceptionable, {
|
|
2208
2294
|
path: _path + ".deadlines",
|
|
2209
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2295
|
+
expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
|
|
2210
2296
|
value: input.deadlines
|
|
2211
2297
|
}, errorFactory)) && (undefined === input.assignees || ("object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) || $guard(_exceptionable, {
|
|
2212
2298
|
path: _path + ".assignees",
|
|
2213
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2299
|
+
expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
|
|
2214
2300
|
value: input.assignees
|
|
2215
|
-
}, errorFactory)) && $
|
|
2301
|
+
}, errorFactory)) && $ao10(input.assignees, _path + ".assignees", true && _exceptionable) || $guard(_exceptionable, {
|
|
2216
2302
|
path: _path + ".assignees",
|
|
2217
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2303
|
+
expected: "(PartialObjectDeep<__type, __type>.o6 | undefined)",
|
|
2218
2304
|
value: input.assignees
|
|
2219
2305
|
}, errorFactory)) && (undefined === input.clock || ("object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) || $guard(_exceptionable, {
|
|
2220
2306
|
path: _path + ".clock",
|
|
2221
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2307
|
+
expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
|
|
2222
2308
|
value: input.clock
|
|
2223
|
-
}, errorFactory)) && $
|
|
2309
|
+
}, errorFactory)) && $ao11(input.clock, _path + ".clock", true && _exceptionable) || $guard(_exceptionable, {
|
|
2224
2310
|
path: _path + ".clock",
|
|
2225
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2311
|
+
expected: "(PartialObjectDeep<__type, __type>.o7 | undefined)",
|
|
2226
2312
|
value: input.clock
|
|
2227
2313
|
}, errorFactory)) && (undefined === input.swarm || ("object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) || $guard(_exceptionable, {
|
|
2228
2314
|
path: _path + ".swarm",
|
|
2229
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2315
|
+
expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
|
|
2230
2316
|
value: input.swarm
|
|
2231
|
-
}, errorFactory)) && $
|
|
2317
|
+
}, errorFactory)) && $ao12(input.swarm, _path + ".swarm", true && _exceptionable) || $guard(_exceptionable, {
|
|
2232
2318
|
path: _path + ".swarm",
|
|
2233
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2319
|
+
expected: "(PartialObjectDeep<__type, __type>.o8 | undefined)",
|
|
2234
2320
|
value: input.swarm
|
|
2235
2321
|
}, errorFactory)) && (undefined === input.dashboard || ("object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) || $guard(_exceptionable, {
|
|
2236
2322
|
path: _path + ".dashboard",
|
|
2237
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2323
|
+
expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
|
|
2238
2324
|
value: input.dashboard
|
|
2239
|
-
}, errorFactory)) && $
|
|
2325
|
+
}, errorFactory)) && $ao13(input.dashboard, _path + ".dashboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
2240
2326
|
path: _path + ".dashboard",
|
|
2241
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2327
|
+
expected: "(PartialObjectDeep<__type, __type>.o9 | undefined)",
|
|
2242
2328
|
value: input.dashboard
|
|
2243
2329
|
}, errorFactory)) && (undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || $guard(_exceptionable, {
|
|
2244
2330
|
path: _path + ".script",
|
|
2245
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2331
|
+
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
2246
2332
|
value: input.script
|
|
2247
|
-
}, errorFactory)) && $
|
|
2333
|
+
}, errorFactory)) && $ao14(input.script, _path + ".script", true && _exceptionable) || $guard(_exceptionable, {
|
|
2248
2334
|
path: _path + ".script",
|
|
2249
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2335
|
+
expected: "(PartialObjectDeep<__type, __type>.o10 | undefined)",
|
|
2250
2336
|
value: input.script
|
|
2251
2337
|
}, errorFactory)) && (undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || $guard(_exceptionable, {
|
|
2252
2338
|
path: _path + ".rundown",
|
|
2253
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2339
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
2254
2340
|
value: input.rundown
|
|
2255
|
-
}, errorFactory)) && $
|
|
2341
|
+
}, errorFactory)) && $ao17(input.rundown, _path + ".rundown", true && _exceptionable) || $guard(_exceptionable, {
|
|
2256
2342
|
path: _path + ".rundown",
|
|
2257
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2343
|
+
expected: "(PartialObjectDeep<__type, __type>.o12 | undefined)",
|
|
2258
2344
|
value: input.rundown
|
|
2259
2345
|
}, errorFactory)) && (undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || $guard(_exceptionable, {
|
|
2260
2346
|
path: _path + ".gallery",
|
|
2261
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2347
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
2262
2348
|
value: input.gallery
|
|
2263
|
-
}, errorFactory)) && $
|
|
2349
|
+
}, errorFactory)) && $ao18(input.gallery, _path + ".gallery", true && _exceptionable) || $guard(_exceptionable, {
|
|
2264
2350
|
path: _path + ".gallery",
|
|
2265
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2351
|
+
expected: "(PartialObjectDeep<__type, __type>.o13 | undefined)",
|
|
2266
2352
|
value: input.gallery
|
|
2267
2353
|
}, errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || $guard(_exceptionable, {
|
|
2268
2354
|
path: _path + ".history",
|
|
@@ -2270,11 +2356,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2270
2356
|
value: input.history
|
|
2271
2357
|
}, errorFactory)) && true && (undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || $guard(_exceptionable, {
|
|
2272
2358
|
path: _path + ".media",
|
|
2273
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2359
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
2274
2360
|
value: input.media
|
|
2275
|
-
}, errorFactory)) && $
|
|
2361
|
+
}, errorFactory)) && $ao19(input.media, _path + ".media", true && _exceptionable) || $guard(_exceptionable, {
|
|
2276
2362
|
path: _path + ".media",
|
|
2277
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2363
|
+
expected: "(PartialObjectDeep<__type, __type>.o14 | undefined)",
|
|
2278
2364
|
value: input.media
|
|
2279
2365
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
2280
2366
|
path: _path + ".predefinedTags",
|
|
@@ -2290,19 +2376,19 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2290
2376
|
value: input.predefinedTags
|
|
2291
2377
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
2292
2378
|
path: _path + ".storyboard",
|
|
2293
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2379
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2294
2380
|
value: input.storyboard
|
|
2295
|
-
}, errorFactory)) && $
|
|
2381
|
+
}, errorFactory)) && $ao28(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
2296
2382
|
path: _path + ".storyboard",
|
|
2297
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2383
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2298
2384
|
value: input.storyboard
|
|
2299
2385
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
2300
2386
|
path: _path + ".plugins",
|
|
2301
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2387
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2302
2388
|
value: input.plugins
|
|
2303
|
-
}, errorFactory)) && $
|
|
2389
|
+
}, errorFactory)) && $ao35(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
2304
2390
|
path: _path + ".plugins",
|
|
2305
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2391
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2306
2392
|
value: input.plugins
|
|
2307
2393
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
2308
2394
|
path: _path + ".crashScreen",
|
|
@@ -2314,27 +2400,36 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2314
2400
|
value: input.debug
|
|
2315
2401
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
2316
2402
|
path: _path + ".flags",
|
|
2317
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2403
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2318
2404
|
value: input.flags
|
|
2319
|
-
}, errorFactory)) && $
|
|
2405
|
+
}, errorFactory)) && $ao37(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2320
2406
|
path: _path + ".flags",
|
|
2321
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2407
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2322
2408
|
value: input.flags
|
|
2323
2409
|
}, errorFactory));
|
|
2324
|
-
const $ao1 = (input, _path, _exceptionable = true) => undefined === input.
|
|
2410
|
+
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
2411
|
+
path: _path + ".overrideUserContact",
|
|
2412
|
+
expected: "(boolean | undefined)",
|
|
2413
|
+
value: input.overrideUserContact
|
|
2414
|
+
}, errorFactory)) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin || $guard(_exceptionable, {
|
|
2415
|
+
path: _path + ".overrideUserLogin",
|
|
2416
|
+
expected: "(boolean | undefined)",
|
|
2417
|
+
value: input.overrideUserLogin
|
|
2418
|
+
}, errorFactory));
|
|
2419
|
+
const $ao2 = (input, _path, _exceptionable = true) => undefined === input.tabs || ("object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) || $guard(_exceptionable, {
|
|
2325
2420
|
path: _path + ".tabs",
|
|
2326
2421
|
expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
|
|
2327
2422
|
value: input.tabs
|
|
2328
|
-
}, errorFactory)) && $
|
|
2423
|
+
}, errorFactory)) && $ao3(input.tabs, _path + ".tabs", true && _exceptionable) || $guard(_exceptionable, {
|
|
2329
2424
|
path: _path + ".tabs",
|
|
2330
2425
|
expected: "(PartialObjectDeep<Record<string, ModuleTabsSettingsValue> & { settingsPanelStore?: (ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }) | undefined; }, __type> | undefined)",
|
|
2331
2426
|
value: input.tabs
|
|
2332
2427
|
}, errorFactory);
|
|
2333
|
-
const $
|
|
2428
|
+
const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.settingsPanelStore || ("object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) || $guard(_exceptionable, {
|
|
2334
2429
|
path: _path + ".settingsPanelStore",
|
|
2335
2430
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
|
|
2336
2431
|
value: input.settingsPanelStore
|
|
2337
|
-
}, errorFactory)) && $
|
|
2432
|
+
}, errorFactory)) && $ao4(input.settingsPanelStore, _path + ".settingsPanelStore", true && _exceptionable) || $guard(_exceptionable, {
|
|
2338
2433
|
path: _path + ".settingsPanelStore",
|
|
2339
2434
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue & { activeSectionIndex?: number | undefined; }, __type> | undefined)",
|
|
2340
2435
|
value: input.settingsPanelStore
|
|
@@ -2348,13 +2443,13 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2348
2443
|
path: _path + $join(key),
|
|
2349
2444
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
|
|
2350
2445
|
value: value
|
|
2351
|
-
}, errorFactory)) && $
|
|
2446
|
+
}, errorFactory)) && $ao5(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
|
|
2352
2447
|
path: _path + $join(key),
|
|
2353
2448
|
expected: "(PartialObjectDeep<ModuleTabsSettingsValue, __type> | undefined)",
|
|
2354
2449
|
value: value
|
|
2355
2450
|
}, errorFactory);
|
|
2356
2451
|
}));
|
|
2357
|
-
const $
|
|
2452
|
+
const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
2358
2453
|
path: _path + ".activeTab",
|
|
2359
2454
|
expected: "(string | undefined)",
|
|
2360
2455
|
value: input.activeTab
|
|
@@ -2363,21 +2458,21 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2363
2458
|
expected: "(number | undefined)",
|
|
2364
2459
|
value: input.activeSectionIndex
|
|
2365
2460
|
}, errorFactory));
|
|
2366
|
-
const $
|
|
2461
|
+
const $ao5 = (input, _path, _exceptionable = true) => undefined === input.activeTab || "string" === typeof input.activeTab || $guard(_exceptionable, {
|
|
2367
2462
|
path: _path + ".activeTab",
|
|
2368
2463
|
expected: "(string | undefined)",
|
|
2369
2464
|
value: input.activeTab
|
|
2370
2465
|
}, errorFactory);
|
|
2371
|
-
const $
|
|
2466
|
+
const $ao6 = (input, _path, _exceptionable = true) => undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
2372
2467
|
path: _path + ".createMenu",
|
|
2373
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2468
|
+
expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
|
|
2374
2469
|
value: input.createMenu
|
|
2375
|
-
}, errorFactory)) && $
|
|
2470
|
+
}, errorFactory)) && $ao7(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
2376
2471
|
path: _path + ".createMenu",
|
|
2377
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2472
|
+
expected: "(PartialObjectDeep<__type, __type>.o3 | undefined)",
|
|
2378
2473
|
value: input.createMenu
|
|
2379
2474
|
}, errorFactory);
|
|
2380
|
-
const $
|
|
2475
|
+
const $ao7 = (input, _path, _exceptionable = true) => undefined === input.sortOrder || (Array.isArray(input.sortOrder) || $guard(_exceptionable, {
|
|
2381
2476
|
path: _path + ".sortOrder",
|
|
2382
2477
|
expected: "(Array<string> | undefined)",
|
|
2383
2478
|
value: input.sortOrder
|
|
@@ -2390,7 +2485,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2390
2485
|
expected: "(Array<string> | undefined)",
|
|
2391
2486
|
value: input.sortOrder
|
|
2392
2487
|
}, errorFactory);
|
|
2393
|
-
const $
|
|
2488
|
+
const $ao8 = (input, _path, _exceptionable = true) => undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
2394
2489
|
path: _path + ".exclude",
|
|
2395
2490
|
expected: "(Array<string> | undefined)",
|
|
2396
2491
|
value: input.exclude
|
|
@@ -2403,7 +2498,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2403
2498
|
expected: "(Array<string> | undefined)",
|
|
2404
2499
|
value: input.exclude
|
|
2405
2500
|
}, errorFactory);
|
|
2406
|
-
const $
|
|
2501
|
+
const $ao9 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
2407
2502
|
path: _path + ".include",
|
|
2408
2503
|
expected: "(Array<string> | undefined)",
|
|
2409
2504
|
value: input.include
|
|
@@ -2416,7 +2511,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2416
2511
|
expected: "(Array<string> | undefined)",
|
|
2417
2512
|
value: input.include
|
|
2418
2513
|
}, errorFactory);
|
|
2419
|
-
const $
|
|
2514
|
+
const $ao10 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
2420
2515
|
path: _path + ".include",
|
|
2421
2516
|
expected: "(Array<string> | undefined)",
|
|
2422
2517
|
value: input.include
|
|
@@ -2429,7 +2524,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2429
2524
|
expected: "(Array<string> | undefined)",
|
|
2430
2525
|
value: input.include
|
|
2431
2526
|
}, errorFactory);
|
|
2432
|
-
const $
|
|
2527
|
+
const $ao11 = (input, _path, _exceptionable = true) => (undefined === input.enable || "boolean" === typeof input.enable || $guard(_exceptionable, {
|
|
2433
2528
|
path: _path + ".enable",
|
|
2434
2529
|
expected: "(boolean | undefined)",
|
|
2435
2530
|
value: input.enable
|
|
@@ -2458,12 +2553,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2458
2553
|
expected: "(string | undefined)",
|
|
2459
2554
|
value: input.format
|
|
2460
2555
|
}, errorFactory));
|
|
2461
|
-
const $
|
|
2556
|
+
const $ao12 = (input, _path, _exceptionable = true) => undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
2462
2557
|
path: _path + ".color",
|
|
2463
2558
|
expected: "(string | undefined)",
|
|
2464
2559
|
value: input.color
|
|
2465
2560
|
}, errorFactory);
|
|
2466
|
-
const $
|
|
2561
|
+
const $ao13 = (input, _path, _exceptionable = true) => (undefined === input.maxMru || "number" === typeof input.maxMru && !Number.isNaN(input.maxMru) || $guard(_exceptionable, {
|
|
2467
2562
|
path: _path + ".maxMru",
|
|
2468
2563
|
expected: "(number | undefined)",
|
|
2469
2564
|
value: input.maxMru
|
|
@@ -2472,13 +2567,13 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2472
2567
|
expected: "(number | undefined)",
|
|
2473
2568
|
value: input.maxTabs
|
|
2474
2569
|
}, errorFactory));
|
|
2475
|
-
const $
|
|
2570
|
+
const $ao14 = (input, _path, _exceptionable = true) => (undefined === input.createMenu || ("object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) || $guard(_exceptionable, {
|
|
2476
2571
|
path: _path + ".createMenu",
|
|
2477
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2572
|
+
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
2478
2573
|
value: input.createMenu
|
|
2479
|
-
}, errorFactory)) && $
|
|
2574
|
+
}, errorFactory)) && $ao15(input.createMenu, _path + ".createMenu", true && _exceptionable) || $guard(_exceptionable, {
|
|
2480
2575
|
path: _path + ".createMenu",
|
|
2481
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2576
|
+
expected: "(PartialObjectDeep<__type, __type>.o11 | undefined)",
|
|
2482
2577
|
value: input.createMenu
|
|
2483
2578
|
}, errorFactory)) && (undefined === input.colorTags || (Array.isArray(input.colorTags) || $guard(_exceptionable, {
|
|
2484
2579
|
path: _path + ".colorTags",
|
|
@@ -2488,7 +2583,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2488
2583
|
path: _path + ".colorTags[" + _index6 + "]",
|
|
2489
2584
|
expected: "PromotedTag",
|
|
2490
2585
|
value: elem
|
|
2491
|
-
}, errorFactory)) && $
|
|
2586
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index6 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2492
2587
|
path: _path + ".colorTags[" + _index6 + "]",
|
|
2493
2588
|
expected: "PromotedTag",
|
|
2494
2589
|
value: elem
|
|
@@ -2497,12 +2592,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2497
2592
|
expected: "(Array<PromotedTag> | undefined)",
|
|
2498
2593
|
value: input.colorTags
|
|
2499
2594
|
}, errorFactory));
|
|
2500
|
-
const $
|
|
2595
|
+
const $ao15 = (input, _path, _exceptionable = true) => undefined === input.showPreview || "boolean" === typeof input.showPreview || $guard(_exceptionable, {
|
|
2501
2596
|
path: _path + ".showPreview",
|
|
2502
2597
|
expected: "(boolean | undefined)",
|
|
2503
2598
|
value: input.showPreview
|
|
2504
2599
|
}, errorFactory);
|
|
2505
|
-
const $
|
|
2600
|
+
const $ao16 = (input, _path, _exceptionable = true) => (null === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
|
2506
2601
|
path: _path + ".name",
|
|
2507
2602
|
expected: "(null | string)",
|
|
2508
2603
|
value: input.name
|
|
@@ -2519,23 +2614,23 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2519
2614
|
expected: "(null | string)",
|
|
2520
2615
|
value: input.description
|
|
2521
2616
|
}, errorFactory));
|
|
2522
|
-
const $
|
|
2617
|
+
const $ao17 = (input, _path, _exceptionable = true) => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || $guard(_exceptionable, {
|
|
2523
2618
|
path: _path + ".eventThumbnails",
|
|
2524
2619
|
expected: "(boolean | undefined)",
|
|
2525
2620
|
value: input.eventThumbnails
|
|
2526
2621
|
}, errorFactory);
|
|
2527
|
-
const $
|
|
2622
|
+
const $ao18 = (input, _path, _exceptionable = true) => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || $guard(_exceptionable, {
|
|
2528
2623
|
path: _path + ".dimOnBlur",
|
|
2529
2624
|
expected: "(boolean | undefined)",
|
|
2530
2625
|
value: input.dimOnBlur
|
|
2531
2626
|
}, errorFactory);
|
|
2532
|
-
const $
|
|
2627
|
+
const $ao19 = (input, _path, _exceptionable = true) => (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
2533
2628
|
path: _path + ".guide",
|
|
2534
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2629
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
2535
2630
|
value: input.guide
|
|
2536
|
-
}, errorFactory)) && $
|
|
2631
|
+
}, errorFactory)) && $ao20(input.guide, _path + ".guide", true && _exceptionable) || $guard(_exceptionable, {
|
|
2537
2632
|
path: _path + ".guide",
|
|
2538
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2633
|
+
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
2539
2634
|
value: input.guide
|
|
2540
2635
|
}, errorFactory)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames) || $guard(_exceptionable, {
|
|
2541
2636
|
path: _path + ".stepManyFrames",
|
|
@@ -2551,11 +2646,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2551
2646
|
value: input.importTitleTemplate
|
|
2552
2647
|
}, errorFactory)) && (undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || $guard(_exceptionable, {
|
|
2553
2648
|
path: _path + ".tile",
|
|
2554
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2649
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
2555
2650
|
value: input.tile
|
|
2556
|
-
}, errorFactory)) && $
|
|
2651
|
+
}, errorFactory)) && $ao21(input.tile, _path + ".tile", true && _exceptionable) || $guard(_exceptionable, {
|
|
2557
2652
|
path: _path + ".tile",
|
|
2558
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2653
|
+
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
2559
2654
|
value: input.tile
|
|
2560
2655
|
}, errorFactory)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference || $guard(_exceptionable, {
|
|
2561
2656
|
path: _path + ".timecodeReference",
|
|
@@ -2591,11 +2686,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2591
2686
|
value: input.playbackRates
|
|
2592
2687
|
}, errorFactory)) && (undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || $guard(_exceptionable, {
|
|
2593
2688
|
path: _path + ".subtitles",
|
|
2594
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2689
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
2595
2690
|
value: input.subtitles
|
|
2596
|
-
}, errorFactory)) && $
|
|
2691
|
+
}, errorFactory)) && $ao22(input.subtitles, _path + ".subtitles", true && _exceptionable) || $guard(_exceptionable, {
|
|
2597
2692
|
path: _path + ".subtitles",
|
|
2598
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2693
|
+
expected: "(PartialObjectDeep<__type, __type>.o17 | undefined)",
|
|
2599
2694
|
value: input.subtitles
|
|
2600
2695
|
}, errorFactory)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || $guard(_exceptionable, {
|
|
2601
2696
|
path: _path + ".subtitleTemplateId",
|
|
@@ -2613,7 +2708,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2613
2708
|
path: _path + ".guides[" + _index8 + "]",
|
|
2614
2709
|
expected: "__type",
|
|
2615
2710
|
value: elem
|
|
2616
|
-
}, errorFactory)) && $
|
|
2711
|
+
}, errorFactory)) && $ao23(elem, _path + ".guides[" + _index8 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2617
2712
|
path: _path + ".guides[" + _index8 + "]",
|
|
2618
2713
|
expected: "__type",
|
|
2619
2714
|
value: elem
|
|
@@ -2627,19 +2722,19 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2627
2722
|
value: input.download
|
|
2628
2723
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
2629
2724
|
path: _path + ".transcribe",
|
|
2630
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2725
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
2631
2726
|
value: input.transcribe
|
|
2632
|
-
}, errorFactory)) && $
|
|
2727
|
+
}, errorFactory)) && $ao24(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2633
2728
|
path: _path + ".transcribe",
|
|
2634
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2729
|
+
expected: "(PartialObjectDeep<__type, __type>.o18 | undefined)",
|
|
2635
2730
|
value: input.transcribe
|
|
2636
2731
|
}, errorFactory));
|
|
2637
|
-
const $
|
|
2732
|
+
const $ao20 = (input, _path, _exceptionable = true) => undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
2638
2733
|
path: _path + ".mask",
|
|
2639
2734
|
expected: "(boolean | undefined)",
|
|
2640
2735
|
value: input.mask
|
|
2641
2736
|
}, errorFactory);
|
|
2642
|
-
const $
|
|
2737
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.preview || "string" === typeof input.preview || $guard(_exceptionable, {
|
|
2643
2738
|
path: _path + ".preview",
|
|
2644
2739
|
expected: "(string | undefined)",
|
|
2645
2740
|
value: input.preview
|
|
@@ -2648,7 +2743,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2648
2743
|
expected: "(boolean | undefined)",
|
|
2649
2744
|
value: input.showRenderProgress
|
|
2650
2745
|
}, errorFactory));
|
|
2651
|
-
const $
|
|
2746
|
+
const $ao22 = (input, _path, _exceptionable = true) => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing) || $guard(_exceptionable, {
|
|
2652
2747
|
path: _path + ".spacing",
|
|
2653
2748
|
expected: "(number | undefined)",
|
|
2654
2749
|
value: input.spacing
|
|
@@ -2657,7 +2752,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2657
2752
|
expected: "(number | undefined)",
|
|
2658
2753
|
value: input.maxCharactersPerLine
|
|
2659
2754
|
}, errorFactory));
|
|
2660
|
-
const $
|
|
2755
|
+
const $ao23 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
2661
2756
|
path: _path + ".label",
|
|
2662
2757
|
expected: "string",
|
|
2663
2758
|
value: input.label
|
|
@@ -2666,29 +2761,29 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2666
2761
|
expected: "string",
|
|
2667
2762
|
value: input.aspectRatio
|
|
2668
2763
|
}, errorFactory));
|
|
2669
|
-
const $
|
|
2764
|
+
const $ao24 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
2670
2765
|
path: _path + ".subtitleDisclaimer",
|
|
2671
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2766
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2672
2767
|
value: input.subtitleDisclaimer
|
|
2673
|
-
}, errorFactory)) && $
|
|
2768
|
+
}, errorFactory)) && $ao25(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
2674
2769
|
path: _path + ".subtitleDisclaimer",
|
|
2675
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2770
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2676
2771
|
value: input.subtitleDisclaimer
|
|
2677
2772
|
}, errorFactory);
|
|
2678
|
-
const $
|
|
2773
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
2679
2774
|
path: _path + ".isUserConfigurable",
|
|
2680
2775
|
expected: "(boolean | undefined)",
|
|
2681
2776
|
value: input.isUserConfigurable
|
|
2682
2777
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
2683
2778
|
path: _path + ".defaultValue",
|
|
2684
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2779
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2685
2780
|
value: input.defaultValue
|
|
2686
|
-
}, errorFactory)) && $
|
|
2781
|
+
}, errorFactory)) && $ao26(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
2687
2782
|
path: _path + ".defaultValue",
|
|
2688
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2783
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2689
2784
|
value: input.defaultValue
|
|
2690
2785
|
}, errorFactory));
|
|
2691
|
-
const $
|
|
2786
|
+
const $ao26 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
2692
2787
|
path: _path + ".enabled",
|
|
2693
2788
|
expected: "(false | undefined)",
|
|
2694
2789
|
value: input.enabled
|
|
@@ -2700,7 +2795,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2700
2795
|
path: _path + ".text[" + _index9 + "]",
|
|
2701
2796
|
expected: "__type.o1",
|
|
2702
2797
|
value: elem
|
|
2703
|
-
}, errorFactory)) && $
|
|
2798
|
+
}, errorFactory)) && $ao27(elem, _path + ".text[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2704
2799
|
path: _path + ".text[" + _index9 + "]",
|
|
2705
2800
|
expected: "__type.o1",
|
|
2706
2801
|
value: elem
|
|
@@ -2717,7 +2812,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2717
2812
|
expected: "(number | undefined)",
|
|
2718
2813
|
value: input.duration
|
|
2719
2814
|
}, errorFactory));
|
|
2720
|
-
const $
|
|
2815
|
+
const $ao27 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
2721
2816
|
path: _path + ".language",
|
|
2722
2817
|
expected: "string",
|
|
2723
2818
|
value: input.language
|
|
@@ -2726,50 +2821,50 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2726
2821
|
expected: "string",
|
|
2727
2822
|
value: input.value
|
|
2728
2823
|
}, errorFactory));
|
|
2729
|
-
const $
|
|
2824
|
+
const $ao28 = (input, _path, _exceptionable = true) => (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
2730
2825
|
path: _path + ".assets",
|
|
2731
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2826
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2732
2827
|
value: input.assets
|
|
2733
|
-
}, errorFactory)) && $
|
|
2828
|
+
}, errorFactory)) && $ao29(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2734
2829
|
path: _path + ".assets",
|
|
2735
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2830
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2736
2831
|
value: input.assets
|
|
2737
2832
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
2738
2833
|
path: _path + ".pipeline",
|
|
2739
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2834
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2740
2835
|
value: input.pipeline
|
|
2741
|
-
}, errorFactory)) && $
|
|
2836
|
+
}, errorFactory)) && $ao32(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2742
2837
|
path: _path + ".pipeline",
|
|
2743
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2838
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2744
2839
|
value: input.pipeline
|
|
2745
2840
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
2746
2841
|
path: _path + ".item",
|
|
2747
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2842
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2748
2843
|
value: input.item
|
|
2749
|
-
}, errorFactory)) && $
|
|
2844
|
+
}, errorFactory)) && $ao34(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2750
2845
|
path: _path + ".item",
|
|
2751
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2846
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2752
2847
|
value: input.item
|
|
2753
2848
|
}, errorFactory));
|
|
2754
|
-
const $
|
|
2849
|
+
const $ao29 = (input, _path, _exceptionable = true) => undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
2755
2850
|
path: _path + ".story",
|
|
2756
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2851
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
2757
2852
|
value: input.story
|
|
2758
|
-
}, errorFactory)) && $
|
|
2853
|
+
}, errorFactory)) && $ao30(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2759
2854
|
path: _path + ".story",
|
|
2760
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2855
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
2761
2856
|
value: input.story
|
|
2762
2857
|
}, errorFactory);
|
|
2763
|
-
const $
|
|
2858
|
+
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
2764
2859
|
path: _path + ".excerpt",
|
|
2765
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2860
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2766
2861
|
value: input.excerpt
|
|
2767
|
-
}, errorFactory)) && $
|
|
2862
|
+
}, errorFactory)) && $ao31(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2768
2863
|
path: _path + ".excerpt",
|
|
2769
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2864
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2770
2865
|
value: input.excerpt
|
|
2771
2866
|
}, errorFactory);
|
|
2772
|
-
const $
|
|
2867
|
+
const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
2773
2868
|
path: _path + ".maxLines",
|
|
2774
2869
|
expected: "(number | undefined)",
|
|
2775
2870
|
value: input.maxLines
|
|
@@ -2778,40 +2873,40 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2778
2873
|
expected: "(string | undefined)",
|
|
2779
2874
|
value: input.mode
|
|
2780
2875
|
}, errorFactory));
|
|
2781
|
-
const $
|
|
2876
|
+
const $ao32 = (input, _path, _exceptionable = true) => undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2782
2877
|
path: _path + ".search",
|
|
2783
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2878
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2784
2879
|
value: input.search
|
|
2785
|
-
}, errorFactory)) && $
|
|
2880
|
+
}, errorFactory)) && $ao33(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2786
2881
|
path: _path + ".search",
|
|
2787
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2882
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2788
2883
|
value: input.search
|
|
2789
2884
|
}, errorFactory);
|
|
2790
|
-
const $
|
|
2885
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
2791
2886
|
path: _path + ".maxItemsDisplayed",
|
|
2792
2887
|
expected: "(number | undefined)",
|
|
2793
2888
|
value: input.maxItemsDisplayed
|
|
2794
2889
|
}, errorFactory);
|
|
2795
|
-
const $
|
|
2890
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
2796
2891
|
path: _path + ".maxHeight",
|
|
2797
2892
|
expected: "(number | undefined)",
|
|
2798
2893
|
value: input.maxHeight
|
|
2799
2894
|
}, errorFactory);
|
|
2800
|
-
const $
|
|
2895
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
2801
2896
|
path: _path + ".adobe",
|
|
2802
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2897
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2803
2898
|
value: input.adobe
|
|
2804
|
-
}, errorFactory)) && $
|
|
2899
|
+
}, errorFactory)) && $ao36(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2805
2900
|
path: _path + ".adobe",
|
|
2806
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2901
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2807
2902
|
value: input.adobe
|
|
2808
2903
|
}, errorFactory);
|
|
2809
|
-
const $
|
|
2904
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2810
2905
|
path: _path + ".useProxies",
|
|
2811
2906
|
expected: "(boolean | undefined)",
|
|
2812
2907
|
value: input.useProxies
|
|
2813
2908
|
}, errorFactory);
|
|
2814
|
-
const $
|
|
2909
|
+
const $ao37 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2815
2910
|
path: _path + ".utils",
|
|
2816
2911
|
expected: "(boolean | undefined)",
|
|
2817
2912
|
value: input.utils
|
|
@@ -2847,6 +2942,10 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2847
2942
|
path: _path + ".resetRenders",
|
|
2848
2943
|
expected: "(boolean | undefined)",
|
|
2849
2944
|
value: input.resetRenders
|
|
2945
|
+
}, errorFactory)) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas || $guard(_exceptionable, {
|
|
2946
|
+
path: _path + ".resetReplicas",
|
|
2947
|
+
expected: "(boolean | undefined)",
|
|
2948
|
+
value: input.resetReplicas
|
|
2850
2949
|
}, errorFactory)) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus || $guard(_exceptionable, {
|
|
2851
2950
|
path: _path + ".assetStatus",
|
|
2852
2951
|
expected: "(boolean | undefined)",
|
|
@@ -2859,6 +2958,10 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2859
2958
|
path: _path + ".hideInAssetMenu",
|
|
2860
2959
|
expected: "(boolean | undefined)",
|
|
2861
2960
|
value: input.hideInAssetMenu
|
|
2961
|
+
}, errorFactory)) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute || $guard(_exceptionable, {
|
|
2962
|
+
path: _path + ".assetRoute",
|
|
2963
|
+
expected: "(boolean | undefined)",
|
|
2964
|
+
value: input.assetRoute
|
|
2862
2965
|
}, errorFactory));
|
|
2863
2966
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2864
2967
|
path: _path + "",
|
|
@@ -2872,87 +2975,89 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2872
2975
|
})(input, "$input", true);
|
|
2873
2976
|
return input;
|
|
2874
2977
|
}; const stringify = input => {
|
|
2875
|
-
const $io1 = input => undefined === input.
|
|
2876
|
-
const $io2 = input =>
|
|
2978
|
+
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
2979
|
+
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
2980
|
+
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
2877
2981
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
2878
2982
|
return true;
|
|
2879
2983
|
const value = input[key];
|
|
2880
2984
|
if (undefined === value)
|
|
2881
2985
|
return true;
|
|
2882
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
2986
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
|
|
2883
2987
|
});
|
|
2884
|
-
const $
|
|
2885
|
-
const $
|
|
2886
|
-
const $
|
|
2887
|
-
const $
|
|
2888
|
-
const $
|
|
2889
|
-
const $io8 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2988
|
+
const $io4 = input => (undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex);
|
|
2989
|
+
const $io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab;
|
|
2990
|
+
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
2991
|
+
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
2992
|
+
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
2890
2993
|
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2891
|
-
const $io10 = input =>
|
|
2892
|
-
const $io11 = input => undefined === input.
|
|
2893
|
-
const $io12 = input =>
|
|
2894
|
-
const $io13 = input => (undefined === input.
|
|
2895
|
-
const $io14 = input => undefined === input.
|
|
2896
|
-
const $io15 = input =>
|
|
2897
|
-
const $io16 = input =>
|
|
2898
|
-
const $io17 = input => undefined === input.
|
|
2899
|
-
const $io18 = input =>
|
|
2900
|
-
const $io19 = input => undefined === input.
|
|
2901
|
-
const $io20 = input =>
|
|
2902
|
-
const $io21 = input => (undefined === input.
|
|
2903
|
-
const $io22 = input => "
|
|
2904
|
-
const $io23 = input =>
|
|
2905
|
-
const $io24 = input =>
|
|
2906
|
-
const $io25 = input => (undefined === input.
|
|
2907
|
-
const $io26 = input => "
|
|
2908
|
-
const $io27 = input =>
|
|
2909
|
-
const $io28 = input => undefined === input.
|
|
2910
|
-
const $io29 = input => undefined === input.
|
|
2911
|
-
const $io30 = input =>
|
|
2912
|
-
const $io31 = input => undefined === input.
|
|
2913
|
-
const $io32 = input => undefined === input.
|
|
2914
|
-
const $io33 = input => undefined === input.
|
|
2915
|
-
const $io34 = input => undefined === input.
|
|
2916
|
-
const $io35 = input => undefined === input.
|
|
2917
|
-
const $io36 = input =>
|
|
2994
|
+
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2995
|
+
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
2996
|
+
const $io12 = input => undefined === input.color || "string" === typeof input.color;
|
|
2997
|
+
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
2998
|
+
const $io14 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io15(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && $io16(elem)));
|
|
2999
|
+
const $io15 = input => undefined === input.showPreview || "boolean" === typeof input.showPreview;
|
|
3000
|
+
const $io16 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description);
|
|
3001
|
+
const $io17 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
3002
|
+
const $io18 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
3003
|
+
const $io19 = input => (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io20(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) && $io21(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) && $io22(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 && $io23(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io24(input.transcribe));
|
|
3004
|
+
const $io20 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
3005
|
+
const $io21 = input => (undefined === input.preview || "string" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
3006
|
+
const $io22 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
3007
|
+
const $io23 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
3008
|
+
const $io24 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io25(input.subtitleDisclaimer);
|
|
3009
|
+
const $io25 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io26(input.defaultValue));
|
|
3010
|
+
const $io26 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io27(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
3011
|
+
const $io27 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3012
|
+
const $io28 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io29(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io32(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io34(input.item));
|
|
3013
|
+
const $io29 = input => undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io30(input.story);
|
|
3014
|
+
const $io30 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io31(input.excerpt);
|
|
3015
|
+
const $io31 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3016
|
+
const $io32 = input => undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io33(input.search);
|
|
3017
|
+
const $io33 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
3018
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3019
|
+
const $io35 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io36(input.adobe);
|
|
3020
|
+
const $io36 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3021
|
+
const $io37 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute);
|
|
2918
3022
|
const $string = __typia.json.createAssertStringify.string;
|
|
2919
3023
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
2920
|
-
const $so0 = input => `{${$tail(`${undefined === input.module ? "" : `"module":${undefined !== input.module ? $
|
|
2921
|
-
const $so1 = input => `{${$tail(`${undefined === input.
|
|
2922
|
-
const $so2 = input => `{${$tail(`${undefined === input.
|
|
3024
|
+
const $so0 = input => `{${$tail(`${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so17(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so18(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 ? $so19(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 ? $so28(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so35(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 ? $so37(input.flags) : undefined}`}`)}}`;
|
|
3025
|
+
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
3026
|
+
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
3027
|
+
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2923
3028
|
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
2924
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? $
|
|
2925
|
-
const $
|
|
2926
|
-
const $
|
|
2927
|
-
const $
|
|
2928
|
-
const $
|
|
2929
|
-
const $
|
|
2930
|
-
const $so8 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3029
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? $so5(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
|
|
3030
|
+
const $so4 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined},`}${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined}`}`)}}`;
|
|
3031
|
+
const $so5 = input => `{${$tail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? $string(input.activeTab) : undefined}`}`)}}`;
|
|
3032
|
+
const $so6 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so7(input.createMenu) : undefined}`}`)}}`;
|
|
3033
|
+
const $so7 = input => `{${$tail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3034
|
+
const $so8 = input => `{${$tail(`${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2931
3035
|
const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2932
|
-
const $so10 = input => `{${$tail(`${undefined === input.
|
|
2933
|
-
const $so11 = input => `{${$tail(`${undefined === input.
|
|
2934
|
-
const $so12 = input => `{${$tail(`${undefined === input.
|
|
2935
|
-
const $so13 = input => `{${$tail(`${undefined === input.
|
|
2936
|
-
const $so14 = input => `{${$tail(`${undefined === input.
|
|
2937
|
-
const $so15 = input => `{
|
|
2938
|
-
const $so16 = input => `{
|
|
2939
|
-
const $so17 = input => `{${$tail(`${undefined === input.
|
|
2940
|
-
const $so18 = input => `{${$tail(`${undefined === input.
|
|
2941
|
-
const $so19 = input => `{${$tail(`${undefined === input.
|
|
2942
|
-
const $so20 = input => `{${$tail(`${undefined === input.
|
|
2943
|
-
const $so21 = input => `{${$tail(`${undefined === input.
|
|
2944
|
-
const $
|
|
2945
|
-
const $so24 = input => `{${$tail(`${undefined === input.
|
|
2946
|
-
const $so25 = input => `{${$tail(`${undefined === input.
|
|
2947
|
-
const $
|
|
2948
|
-
const $so28 = input => `{${$tail(`${undefined === input.
|
|
2949
|
-
const $so29 = input => `{${$tail(`${undefined === input.
|
|
2950
|
-
const $so30 = input => `{${$tail(`${undefined === input.
|
|
2951
|
-
const $so31 = input => `{${$tail(`${undefined === input.
|
|
2952
|
-
const $so32 = input => `{${$tail(`${undefined === input.
|
|
2953
|
-
const $so33 = input => `{${$tail(`${undefined === input.
|
|
2954
|
-
const $so34 = input => `{${$tail(`${undefined === input.
|
|
2955
|
-
const $so35 = input => `{${$tail(`${undefined === input.
|
|
2956
|
-
const $so36 = input => `{${$tail(`${undefined === input.
|
|
3036
|
+
const $so10 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3037
|
+
const $so11 = input => `{${$tail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined}`}`)}}`;
|
|
3038
|
+
const $so12 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined}`}`)}}`;
|
|
3039
|
+
const $so13 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
|
|
3040
|
+
const $so14 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so15(input.createMenu) : undefined},`}${undefined === input.colorTags ? "" : `"colorTags":${undefined !== input.colorTags ? `[${input.colorTags.map(elem => $so16(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3041
|
+
const $so15 = input => `{${$tail(`${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`;
|
|
3042
|
+
const $so16 = input => `{"name":${null !== input.name ? $string(input.name) : "null"},"icon":${null !== input.icon ? $string(input.icon) : "null"},"color":${null !== input.color ? $string(input.color) : "null"},"description":${null !== input.description ? $string(input.description) : "null"}}`;
|
|
3043
|
+
const $so17 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
3044
|
+
const $so18 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
3045
|
+
const $so19 = input => `{${$tail(`${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so20(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 ? $so21(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 ? $so22(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 ? $so24(input.transcribe) : undefined}`}`)}}`;
|
|
3046
|
+
const $so20 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
3047
|
+
const $so21 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? $string(input.preview) : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
3048
|
+
const $so22 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
|
|
3049
|
+
const $so24 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so25(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
3050
|
+
const $so25 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so26(input.defaultValue) : undefined}`}`)}}`;
|
|
3051
|
+
const $so26 = 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}`}`)}}`;
|
|
3052
|
+
const $so28 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so29(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so32(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so34(input.item) : undefined}`}`)}}`;
|
|
3053
|
+
const $so29 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so30(input.story) : undefined}`}`)}}`;
|
|
3054
|
+
const $so30 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so31(input.excerpt) : undefined}`}`)}}`;
|
|
3055
|
+
const $so31 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
3056
|
+
const $so32 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so33(input.search) : undefined}`}`)}}`;
|
|
3057
|
+
const $so33 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
3058
|
+
const $so34 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3059
|
+
const $so35 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so36(input.adobe) : undefined}`}`)}}`;
|
|
3060
|
+
const $so36 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
3061
|
+
const $so37 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined}`}`)}}`;
|
|
2957
3062
|
return $so0(input);
|
|
2958
3063
|
}; return stringify(assert(input, errorFactory)); };
|