@nxtedition/types 23.0.11 → 23.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.d.ts +61 -1
- package/dist/app.js +218 -10
- package/dist/common/file.d.ts +1 -1
- package/dist/common/file.js +32 -32
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.js +1 -0
- package/dist/common/settings.d.ts +34 -6
- package/dist/common/settings.js +1399 -535
- package/dist/common/user-notification.d.ts +8 -0
- package/dist/common/user-notification.js +85 -0
- package/dist/domains/asset.d.ts +23 -0
- package/dist/domains/asset.js +248 -0
- package/dist/domains/comment-reaction.d.ts +15 -0
- package/dist/domains/comment-reaction.js +115 -0
- package/dist/domains/comment-read-mark.d.ts +15 -0
- package/dist/domains/comment-read-mark.js +115 -0
- package/dist/domains/comment.d.ts +153 -0
- package/dist/domains/comment.js +5729 -0
- package/dist/domains/connection.d.ts +1 -1
- package/dist/domains/connection.js +118 -118
- package/dist/domains/deepstream.d.ts +14 -0
- package/dist/domains/deepstream.js +139 -0
- package/dist/domains/edit.d.ts +17 -0
- package/dist/domains/edit.js +224 -0
- package/dist/domains/index.d.ts +17 -1
- package/dist/domains/index.js +8 -0
- package/dist/domains/planning.d.ts +1 -1
- package/dist/domains/planning.js +29 -23
- package/dist/domains/publish.d.ts +1 -0
- package/dist/domains/publish.js +142 -46
- package/dist/domains/published.d.ts +2 -1
- package/dist/domains/published.js +50 -10
- package/dist/domains/settings.js +1401 -534
- package/dist/domains/subtitle-style.d.ts +13 -0
- package/dist/domains/subtitle-style.js +123 -0
- package/dist/domains/user-notification-status.d.ts +55 -0
- package/dist/domains/user-notification-status.js +715 -0
- package/dist/domains/user-notification.d.ts +118 -0
- package/dist/domains/user-notification.js +3040 -0
- package/dist/domains/user.d.ts +42 -8
- package/dist/domains/user.js +352 -12
- package/dist/index.d.ts +23 -1
- package/dist/index.js +30 -13
- package/dist/schema.json +1438 -35
- package/package.json +1 -1
package/dist/domains/settings.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
2
|
export const isSettingsRecord = input => {
|
|
3
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $
|
|
3
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io31(elem))) && (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) && $io32(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io41(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io42(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io44(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io45(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io46(input.notifications));
|
|
4
4
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
5
5
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
6
6
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -27,34 +27,45 @@ export const isSettingsRecord = input => {
|
|
|
27
27
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
28
28
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
29
29
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
30
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.
|
|
31
|
-
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
30
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
31
|
+
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
32
32
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
33
33
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
34
34
|
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
35
|
-
const $io25 = input => undefined === input.
|
|
36
|
-
const $io26 = input =>
|
|
37
|
-
const $io27 = input => (undefined === input.
|
|
38
|
-
const $io28 = input => "
|
|
39
|
-
const $io29 = input =>
|
|
40
|
-
const $io30 = input => undefined === input.
|
|
41
|
-
const $io31 = input =>
|
|
42
|
-
const $io32 = input => undefined === input.
|
|
43
|
-
const $io33 = input =>
|
|
44
|
-
const $io34 = input => undefined === input.
|
|
45
|
-
const $io35 = input =>
|
|
46
|
-
const $io36 = input => undefined === input.
|
|
35
|
+
const $io25 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
36
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
37
|
+
const $io27 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io28(input.defaultValue));
|
|
38
|
+
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
39
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
40
|
+
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
41
|
+
const $io31 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
42
|
+
const $io32 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io33(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io34(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io38(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io40(input.item));
|
|
43
|
+
const $io33 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
44
|
+
const $io34 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io35(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io37(input.note));
|
|
45
|
+
const $io35 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io36(input.excerpt);
|
|
46
|
+
const $io36 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
47
47
|
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
48
|
-
const $io38 = input => "
|
|
49
|
-
const $io39 = input => undefined === input.
|
|
50
|
-
const $io40 = input => undefined === input.
|
|
51
|
-
const $io41 = input =>
|
|
52
|
-
const $io42 = input =>
|
|
48
|
+
const $io38 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io39(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
49
|
+
const $io39 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
50
|
+
const $io40 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
51
|
+
const $io41 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
52
|
+
const $io42 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io43(input.adobe);
|
|
53
|
+
const $io43 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
54
|
+
const $io44 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
55
|
+
const $io45 = 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) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
56
|
+
const $io46 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io47(input.events);
|
|
57
|
+
const $io47 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io48(input.publishSucceeded));
|
|
58
|
+
const $io48 = input => Object.keys(input).every(key => {
|
|
59
|
+
const value = input[key];
|
|
60
|
+
if (undefined === value)
|
|
61
|
+
return true;
|
|
62
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
63
|
+
});
|
|
53
64
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
54
65
|
};
|
|
55
66
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
56
67
|
const __is = input => {
|
|
57
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $
|
|
68
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io31(elem))) && (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) && $io32(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io41(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io42(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io44(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io45(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io46(input.notifications));
|
|
58
69
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
59
70
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
60
71
|
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 => {
|
|
@@ -81,29 +92,40 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
81
92
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
82
93
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
83
94
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
84
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.
|
|
85
|
-
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
95
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
96
|
+
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
86
97
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
87
98
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
88
99
|
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
89
|
-
const $io25 = input => undefined === input.
|
|
90
|
-
const $io26 = input =>
|
|
91
|
-
const $io27 = input => (undefined === input.
|
|
92
|
-
const $io28 = input => "
|
|
93
|
-
const $io29 = input =>
|
|
94
|
-
const $io30 = input => undefined === input.
|
|
95
|
-
const $io31 = input =>
|
|
96
|
-
const $io32 = input => undefined === input.
|
|
97
|
-
const $io33 = input =>
|
|
98
|
-
const $io34 = input => undefined === input.
|
|
99
|
-
const $io35 = input =>
|
|
100
|
-
const $io36 = input => undefined === input.
|
|
100
|
+
const $io25 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
101
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
102
|
+
const $io27 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io28(input.defaultValue));
|
|
103
|
+
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
104
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
105
|
+
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
106
|
+
const $io31 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
107
|
+
const $io32 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io33(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io34(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io38(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io40(input.item));
|
|
108
|
+
const $io33 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
109
|
+
const $io34 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io35(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io37(input.note));
|
|
110
|
+
const $io35 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io36(input.excerpt);
|
|
111
|
+
const $io36 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
101
112
|
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
102
|
-
const $io38 = input => "
|
|
103
|
-
const $io39 = input => undefined === input.
|
|
104
|
-
const $io40 = input => undefined === input.
|
|
105
|
-
const $io41 = input =>
|
|
106
|
-
const $io42 = input =>
|
|
113
|
+
const $io38 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io39(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
114
|
+
const $io39 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
115
|
+
const $io40 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
116
|
+
const $io41 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
117
|
+
const $io42 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io43(input.adobe);
|
|
118
|
+
const $io43 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
119
|
+
const $io44 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
120
|
+
const $io45 = 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) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
121
|
+
const $io46 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io47(input.events);
|
|
122
|
+
const $io47 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io48(input.publishSucceeded));
|
|
123
|
+
const $io48 = input => Object.keys(input).every(key => {
|
|
124
|
+
const value = input[key];
|
|
125
|
+
if (undefined === value)
|
|
126
|
+
return true;
|
|
127
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
128
|
+
});
|
|
107
129
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
108
130
|
};
|
|
109
131
|
if (false === __is(input))
|
|
@@ -230,12 +252,28 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
230
252
|
path: _path + ".media",
|
|
231
253
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
232
254
|
value: input.media
|
|
255
|
+
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
256
|
+
path: _path + ".commands",
|
|
257
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
258
|
+
value: input.commands
|
|
259
|
+
}, errorFactory)) && input.commands.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
260
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
261
|
+
expected: "__type.o2",
|
|
262
|
+
value: elem
|
|
263
|
+
}, errorFactory)) && $ao31(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
264
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
265
|
+
expected: "__type.o2",
|
|
266
|
+
value: elem
|
|
267
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
268
|
+
path: _path + ".commands",
|
|
269
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
270
|
+
value: input.commands
|
|
233
271
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
234
272
|
path: _path + ".predefinedTags",
|
|
235
273
|
expected: "(Array<string> | undefined)",
|
|
236
274
|
value: input.predefinedTags
|
|
237
|
-
}, errorFactory)) && input.predefinedTags.every((elem,
|
|
238
|
-
path: _path + ".predefinedTags[" +
|
|
275
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
276
|
+
path: _path + ".predefinedTags[" + _index2 + "]",
|
|
239
277
|
expected: "string",
|
|
240
278
|
value: elem
|
|
241
279
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -244,35 +282,35 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
244
282
|
value: input.predefinedTags
|
|
245
283
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
246
284
|
path: _path + ".storyboard",
|
|
247
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
285
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
248
286
|
value: input.storyboard
|
|
249
|
-
}, errorFactory)) && $
|
|
287
|
+
}, errorFactory)) && $ao32(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
250
288
|
path: _path + ".storyboard",
|
|
251
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
289
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
252
290
|
value: input.storyboard
|
|
253
291
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
254
292
|
path: _path + ".hiddenPreviews",
|
|
255
|
-
expected: "(Array<__type>.
|
|
293
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
256
294
|
value: input.hiddenPreviews
|
|
257
|
-
}, errorFactory)) && input.hiddenPreviews.every((elem,
|
|
258
|
-
path: _path + ".hiddenPreviews[" +
|
|
259
|
-
expected: "__type.
|
|
295
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
296
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
297
|
+
expected: "__type.o3",
|
|
260
298
|
value: elem
|
|
261
|
-
}, errorFactory)) && $
|
|
262
|
-
path: _path + ".hiddenPreviews[" +
|
|
263
|
-
expected: "__type.
|
|
299
|
+
}, errorFactory)) && $ao41(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
300
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
301
|
+
expected: "__type.o3",
|
|
264
302
|
value: elem
|
|
265
303
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
266
304
|
path: _path + ".hiddenPreviews",
|
|
267
|
-
expected: "(Array<__type>.
|
|
305
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
268
306
|
value: input.hiddenPreviews
|
|
269
307
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
270
308
|
path: _path + ".plugins",
|
|
271
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
309
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
272
310
|
value: input.plugins
|
|
273
|
-
}, errorFactory)) && $
|
|
311
|
+
}, errorFactory)) && $ao42(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
274
312
|
path: _path + ".plugins",
|
|
275
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
313
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
276
314
|
value: input.plugins
|
|
277
315
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
278
316
|
path: _path + ".crashScreen",
|
|
@@ -284,20 +322,28 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
284
322
|
value: input.debug
|
|
285
323
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
286
324
|
path: _path + ".featurePreview",
|
|
287
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
325
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
288
326
|
value: input.featurePreview
|
|
289
|
-
}, errorFactory)) && $
|
|
327
|
+
}, errorFactory)) && $ao44(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
290
328
|
path: _path + ".featurePreview",
|
|
291
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
329
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
292
330
|
value: input.featurePreview
|
|
293
331
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
294
332
|
path: _path + ".flags",
|
|
295
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
333
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
296
334
|
value: input.flags
|
|
297
|
-
}, errorFactory)) && $
|
|
335
|
+
}, errorFactory)) && $ao45(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
298
336
|
path: _path + ".flags",
|
|
299
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
337
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
300
338
|
value: input.flags
|
|
339
|
+
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
340
|
+
path: _path + ".notifications",
|
|
341
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
342
|
+
value: input.notifications
|
|
343
|
+
}, errorFactory)) && $ao46(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
344
|
+
path: _path + ".notifications",
|
|
345
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
346
|
+
value: input.notifications
|
|
301
347
|
}, errorFactory));
|
|
302
348
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
303
349
|
path: _path + ".overrideUserContact",
|
|
@@ -368,8 +414,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
368
414
|
path: _path + ".sortOrder",
|
|
369
415
|
expected: "(Array<string> | undefined)",
|
|
370
416
|
value: input.sortOrder
|
|
371
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
372
|
-
path: _path + ".sortOrder[" +
|
|
417
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
418
|
+
path: _path + ".sortOrder[" + _index4 + "]",
|
|
373
419
|
expected: "string",
|
|
374
420
|
value: elem
|
|
375
421
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -381,8 +427,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
381
427
|
path: _path + ".exclude",
|
|
382
428
|
expected: "(Array<string> | undefined)",
|
|
383
429
|
value: input.exclude
|
|
384
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
385
|
-
path: _path + ".exclude[" +
|
|
430
|
+
}, errorFactory)) && input.exclude.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
431
|
+
path: _path + ".exclude[" + _index5 + "]",
|
|
386
432
|
expected: "string",
|
|
387
433
|
value: elem
|
|
388
434
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -394,8 +440,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
394
440
|
path: _path + ".include",
|
|
395
441
|
expected: "(Array<string> | undefined)",
|
|
396
442
|
value: input.include
|
|
397
|
-
}, errorFactory)) && input.include.every((elem,
|
|
398
|
-
path: _path + ".include[" +
|
|
443
|
+
}, errorFactory)) && input.include.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
444
|
+
path: _path + ".include[" + _index6 + "]",
|
|
399
445
|
expected: "string",
|
|
400
446
|
value: elem
|
|
401
447
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -406,8 +452,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
406
452
|
path: _path + ".exclude",
|
|
407
453
|
expected: "(Array<string> | undefined)",
|
|
408
454
|
value: input.exclude
|
|
409
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
410
|
-
path: _path + ".exclude[" +
|
|
455
|
+
}, errorFactory)) && input.exclude.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
456
|
+
path: _path + ".exclude[" + _index7 + "]",
|
|
411
457
|
expected: "string",
|
|
412
458
|
value: elem
|
|
413
459
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -419,8 +465,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
419
465
|
path: _path + ".include",
|
|
420
466
|
expected: "(Array<string> | undefined)",
|
|
421
467
|
value: input.include
|
|
422
|
-
}, errorFactory)) && input.include.every((elem,
|
|
423
|
-
path: _path + ".include[" +
|
|
468
|
+
}, errorFactory)) && input.include.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
469
|
+
path: _path + ".include[" + _index8 + "]",
|
|
424
470
|
expected: "string",
|
|
425
471
|
value: elem
|
|
426
472
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -431,8 +477,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
431
477
|
path: _path + ".exclude",
|
|
432
478
|
expected: "(Array<string> | undefined)",
|
|
433
479
|
value: input.exclude
|
|
434
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
435
|
-
path: _path + ".exclude[" +
|
|
480
|
+
}, errorFactory)) && input.exclude.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
|
|
481
|
+
path: _path + ".exclude[" + _index9 + "]",
|
|
436
482
|
expected: "string",
|
|
437
483
|
value: elem
|
|
438
484
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -499,12 +545,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
499
545
|
path: _path + ".colorTags",
|
|
500
546
|
expected: "(Array<PromotedTag> | undefined)",
|
|
501
547
|
value: input.colorTags
|
|
502
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
503
|
-
path: _path + ".colorTags[" +
|
|
548
|
+
}, errorFactory)) && input.colorTags.every((elem, _index10) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
549
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
504
550
|
expected: "PromotedTag",
|
|
505
551
|
value: elem
|
|
506
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
507
|
-
path: _path + ".colorTags[" +
|
|
552
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index10 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
553
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
508
554
|
expected: "PromotedTag",
|
|
509
555
|
value: elem
|
|
510
556
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -553,10 +599,6 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
553
599
|
path: _path + ".placeholder",
|
|
554
600
|
expected: "(string | undefined)",
|
|
555
601
|
value: input.placeholder
|
|
556
|
-
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || $guard(_exceptionable, {
|
|
557
|
-
path: _path + ".openCommand",
|
|
558
|
-
expected: "(string | undefined)",
|
|
559
|
-
value: input.openCommand
|
|
560
602
|
}, errorFactory)) && (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
561
603
|
path: _path + ".guide",
|
|
562
604
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
@@ -609,8 +651,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
609
651
|
path: _path + ".playbackRates",
|
|
610
652
|
expected: "(Array<number> | undefined)",
|
|
611
653
|
value: input.playbackRates
|
|
612
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
613
|
-
path: _path + ".playbackRates[" +
|
|
654
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index11) => "number" === typeof elem || $guard(_exceptionable, {
|
|
655
|
+
path: _path + ".playbackRates[" + _index11 + "]",
|
|
614
656
|
expected: "number",
|
|
615
657
|
value: elem
|
|
616
658
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -637,12 +679,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
637
679
|
path: _path + ".guides",
|
|
638
680
|
expected: "(Array<__type> | undefined)",
|
|
639
681
|
value: input.guides
|
|
640
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
641
|
-
path: _path + ".guides[" +
|
|
682
|
+
}, errorFactory)) && input.guides.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
683
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
642
684
|
expected: "__type",
|
|
643
685
|
value: elem
|
|
644
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
645
|
-
path: _path + ".guides[" +
|
|
686
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
687
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
646
688
|
expected: "__type",
|
|
647
689
|
value: elem
|
|
648
690
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -653,20 +695,48 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
653
695
|
path: _path + ".download",
|
|
654
696
|
expected: "(boolean | undefined)",
|
|
655
697
|
value: input.download
|
|
698
|
+
}, errorFactory)) && (undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || $guard(_exceptionable, {
|
|
699
|
+
path: _path + ".editMode",
|
|
700
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
701
|
+
value: input.editMode
|
|
702
|
+
}, errorFactory)) && $ao25(input.editMode, _path + ".editMode", true && _exceptionable) || $guard(_exceptionable, {
|
|
703
|
+
path: _path + ".editMode",
|
|
704
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
705
|
+
value: input.editMode
|
|
656
706
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
657
707
|
path: _path + ".transcribe",
|
|
658
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
708
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
659
709
|
value: input.transcribe
|
|
660
|
-
}, errorFactory)) && $
|
|
710
|
+
}, errorFactory)) && $ao26(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
661
711
|
path: _path + ".transcribe",
|
|
662
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
712
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
663
713
|
value: input.transcribe
|
|
664
|
-
}, errorFactory))
|
|
665
|
-
|
|
714
|
+
}, errorFactory)) && ((null !== input.openCommand || $guard(_exceptionable, {
|
|
715
|
+
path: _path + ".openCommand",
|
|
716
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
717
|
+
value: input.openCommand
|
|
718
|
+
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || $guard(_exceptionable, {
|
|
719
|
+
path: _path + ".openCommand",
|
|
720
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
721
|
+
value: input.openCommand
|
|
722
|
+
}, errorFactory)) && $ao30(input.openCommand, _path + ".openCommand", true && _exceptionable) || $guard(_exceptionable, {
|
|
723
|
+
path: _path + ".openCommand",
|
|
724
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
725
|
+
value: input.openCommand
|
|
726
|
+
}, errorFactory)));
|
|
727
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
666
728
|
path: _path + ".mask",
|
|
667
729
|
expected: "(boolean | undefined)",
|
|
668
730
|
value: input.mask
|
|
669
|
-
}, errorFactory)
|
|
731
|
+
}, errorFactory)) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe || $guard(_exceptionable, {
|
|
732
|
+
path: _path + ".actionSafe",
|
|
733
|
+
expected: "(boolean | undefined)",
|
|
734
|
+
value: input.actionSafe
|
|
735
|
+
}, errorFactory)) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe || $guard(_exceptionable, {
|
|
736
|
+
path: _path + ".titleSafe",
|
|
737
|
+
expected: "(boolean | undefined)",
|
|
738
|
+
value: input.titleSafe
|
|
739
|
+
}, errorFactory));
|
|
670
740
|
const $ao22 = (input, _path, _exceptionable = true) => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview || $guard(_exceptionable, {
|
|
671
741
|
path: _path + ".preview",
|
|
672
742
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
@@ -694,29 +764,42 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
694
764
|
expected: "string",
|
|
695
765
|
value: input.aspectRatio
|
|
696
766
|
}, errorFactory));
|
|
697
|
-
const $ao25 = (input, _path, _exceptionable = true) => undefined === input.
|
|
767
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.enabled || "boolean" === typeof input.enabled || $guard(_exceptionable, {
|
|
768
|
+
path: _path + ".enabled",
|
|
769
|
+
expected: "(boolean | undefined)",
|
|
770
|
+
value: input.enabled
|
|
771
|
+
}, errorFactory)) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption || $guard(_exceptionable, {
|
|
772
|
+
path: _path + ".defaultEnterOption",
|
|
773
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
774
|
+
value: input.defaultEnterOption
|
|
775
|
+
}, errorFactory)) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption || $guard(_exceptionable, {
|
|
776
|
+
path: _path + ".defaultExitOption",
|
|
777
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
778
|
+
value: input.defaultExitOption
|
|
779
|
+
}, errorFactory));
|
|
780
|
+
const $ao26 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
698
781
|
path: _path + ".subtitleDisclaimer",
|
|
699
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
782
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
700
783
|
value: input.subtitleDisclaimer
|
|
701
|
-
}, errorFactory)) && $
|
|
784
|
+
}, errorFactory)) && $ao27(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
702
785
|
path: _path + ".subtitleDisclaimer",
|
|
703
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
786
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
704
787
|
value: input.subtitleDisclaimer
|
|
705
788
|
}, errorFactory);
|
|
706
|
-
const $
|
|
789
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
707
790
|
path: _path + ".isUserConfigurable",
|
|
708
791
|
expected: "(boolean | undefined)",
|
|
709
792
|
value: input.isUserConfigurable
|
|
710
793
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
711
794
|
path: _path + ".defaultValue",
|
|
712
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
795
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
713
796
|
value: input.defaultValue
|
|
714
|
-
}, errorFactory)) && $
|
|
797
|
+
}, errorFactory)) && $ao28(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
715
798
|
path: _path + ".defaultValue",
|
|
716
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
799
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
717
800
|
value: input.defaultValue
|
|
718
801
|
}, errorFactory));
|
|
719
|
-
const $
|
|
802
|
+
const $ao28 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
720
803
|
path: _path + ".enabled",
|
|
721
804
|
expected: "(false | undefined)",
|
|
722
805
|
value: input.enabled
|
|
@@ -724,12 +807,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
724
807
|
path: _path + ".text",
|
|
725
808
|
expected: "(Array<__type>.o1 | undefined)",
|
|
726
809
|
value: input.text
|
|
727
|
-
}, errorFactory)) && input.text.every((elem,
|
|
728
|
-
path: _path + ".text[" +
|
|
810
|
+
}, errorFactory)) && input.text.every((elem, _index13) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
811
|
+
path: _path + ".text[" + _index13 + "]",
|
|
729
812
|
expected: "__type.o1",
|
|
730
813
|
value: elem
|
|
731
|
-
}, errorFactory)) && $
|
|
732
|
-
path: _path + ".text[" +
|
|
814
|
+
}, errorFactory)) && $ao29(elem, _path + ".text[" + _index13 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
815
|
+
path: _path + ".text[" + _index13 + "]",
|
|
733
816
|
expected: "__type.o1",
|
|
734
817
|
value: elem
|
|
735
818
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -745,7 +828,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
745
828
|
expected: "(number | undefined)",
|
|
746
829
|
value: input.duration
|
|
747
830
|
}, errorFactory));
|
|
748
|
-
const $
|
|
831
|
+
const $ao29 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
749
832
|
path: _path + ".language",
|
|
750
833
|
expected: "string",
|
|
751
834
|
value: input.language
|
|
@@ -754,71 +837,117 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
754
837
|
expected: "string",
|
|
755
838
|
value: input.value
|
|
756
839
|
}, errorFactory));
|
|
757
|
-
const $
|
|
840
|
+
const $ao30 = (input, _path, _exceptionable = true) => (undefined === input.url || "string" === typeof input.url || $guard(_exceptionable, {
|
|
841
|
+
path: _path + ".url",
|
|
842
|
+
expected: "(string | undefined)",
|
|
843
|
+
value: input.url
|
|
844
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
845
|
+
path: _path + ".command",
|
|
846
|
+
expected: "(string | undefined)",
|
|
847
|
+
value: input.command
|
|
848
|
+
}, errorFactory)) && (undefined === input.app || "string" === typeof input.app || $guard(_exceptionable, {
|
|
849
|
+
path: _path + ".app",
|
|
850
|
+
expected: "(string | undefined)",
|
|
851
|
+
value: input.app
|
|
852
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
853
|
+
path: _path + ".args",
|
|
854
|
+
expected: "(Array<string> | undefined)",
|
|
855
|
+
value: input.args
|
|
856
|
+
}, errorFactory)) && input.args.every((elem, _index14) => "string" === typeof elem || $guard(_exceptionable, {
|
|
857
|
+
path: _path + ".args[" + _index14 + "]",
|
|
858
|
+
expected: "string",
|
|
859
|
+
value: elem
|
|
860
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
861
|
+
path: _path + ".args",
|
|
862
|
+
expected: "(Array<string> | undefined)",
|
|
863
|
+
value: input.args
|
|
864
|
+
}, errorFactory));
|
|
865
|
+
const $ao31 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
866
|
+
path: _path + ".title",
|
|
867
|
+
expected: "string",
|
|
868
|
+
value: input.title
|
|
869
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
870
|
+
path: _path + ".command",
|
|
871
|
+
expected: "(string | undefined)",
|
|
872
|
+
value: input.command
|
|
873
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
874
|
+
path: _path + ".args",
|
|
875
|
+
expected: "(Array<string> | undefined)",
|
|
876
|
+
value: input.args
|
|
877
|
+
}, errorFactory)) && input.args.every((elem, _index15) => "string" === typeof elem || $guard(_exceptionable, {
|
|
878
|
+
path: _path + ".args[" + _index15 + "]",
|
|
879
|
+
expected: "string",
|
|
880
|
+
value: elem
|
|
881
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
882
|
+
path: _path + ".args",
|
|
883
|
+
expected: "(Array<string> | undefined)",
|
|
884
|
+
value: input.args
|
|
885
|
+
}, errorFactory));
|
|
886
|
+
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
758
887
|
path: _path + ".folded",
|
|
759
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
888
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
760
889
|
value: input.folded
|
|
761
|
-
}, errorFactory)) && $
|
|
890
|
+
}, errorFactory)) && $ao33(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
762
891
|
path: _path + ".folded",
|
|
763
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
892
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
764
893
|
value: input.folded
|
|
765
894
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
766
895
|
path: _path + ".assets",
|
|
767
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
896
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
768
897
|
value: input.assets
|
|
769
|
-
}, errorFactory)) && $
|
|
898
|
+
}, errorFactory)) && $ao34(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
770
899
|
path: _path + ".assets",
|
|
771
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
900
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
772
901
|
value: input.assets
|
|
773
902
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
774
903
|
path: _path + ".pipeline",
|
|
775
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
904
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
776
905
|
value: input.pipeline
|
|
777
|
-
}, errorFactory)) && $
|
|
906
|
+
}, errorFactory)) && $ao38(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
778
907
|
path: _path + ".pipeline",
|
|
779
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
908
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
780
909
|
value: input.pipeline
|
|
781
910
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
782
911
|
path: _path + ".item",
|
|
783
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
912
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
784
913
|
value: input.item
|
|
785
|
-
}, errorFactory)) && $
|
|
914
|
+
}, errorFactory)) && $ao40(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
786
915
|
path: _path + ".item",
|
|
787
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
916
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
788
917
|
value: input.item
|
|
789
918
|
}, errorFactory));
|
|
790
|
-
const $
|
|
919
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
791
920
|
path: _path + ".auto",
|
|
792
921
|
expected: "(boolean | undefined)",
|
|
793
922
|
value: input.auto
|
|
794
923
|
}, errorFactory);
|
|
795
|
-
const $
|
|
924
|
+
const $ao34 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
796
925
|
path: _path + ".story",
|
|
797
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
926
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
798
927
|
value: input.story
|
|
799
|
-
}, errorFactory)) && $
|
|
928
|
+
}, errorFactory)) && $ao35(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
800
929
|
path: _path + ".story",
|
|
801
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
930
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
802
931
|
value: input.story
|
|
803
932
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
804
933
|
path: _path + ".note",
|
|
805
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
934
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
806
935
|
value: input.note
|
|
807
|
-
}, errorFactory)) && $
|
|
936
|
+
}, errorFactory)) && $ao37(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
808
937
|
path: _path + ".note",
|
|
809
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
938
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
810
939
|
value: input.note
|
|
811
940
|
}, errorFactory));
|
|
812
|
-
const $
|
|
941
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
813
942
|
path: _path + ".excerpt",
|
|
814
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
943
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
815
944
|
value: input.excerpt
|
|
816
|
-
}, errorFactory)) && $
|
|
945
|
+
}, errorFactory)) && $ao36(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
817
946
|
path: _path + ".excerpt",
|
|
818
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
947
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
819
948
|
value: input.excerpt
|
|
820
949
|
}, errorFactory);
|
|
821
|
-
const $
|
|
950
|
+
const $ao36 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
822
951
|
path: _path + ".maxLines",
|
|
823
952
|
expected: "(number | undefined)",
|
|
824
953
|
value: input.maxLines
|
|
@@ -827,35 +956,35 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
827
956
|
expected: "(string | undefined)",
|
|
828
957
|
value: input.mode
|
|
829
958
|
}, errorFactory));
|
|
830
|
-
const $
|
|
959
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
831
960
|
path: _path + ".maxHeight",
|
|
832
961
|
expected: "(number | undefined)",
|
|
833
962
|
value: input.maxHeight
|
|
834
963
|
}, errorFactory);
|
|
835
|
-
const $
|
|
964
|
+
const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
836
965
|
path: _path + ".search",
|
|
837
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
966
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
838
967
|
value: input.search
|
|
839
|
-
}, errorFactory)) && $
|
|
968
|
+
}, errorFactory)) && $ao39(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
840
969
|
path: _path + ".search",
|
|
841
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
970
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
842
971
|
value: input.search
|
|
843
972
|
}, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
|
|
844
973
|
path: _path + ".sortMode",
|
|
845
974
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
846
975
|
value: input.sortMode
|
|
847
976
|
}, errorFactory));
|
|
848
|
-
const $
|
|
977
|
+
const $ao39 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
849
978
|
path: _path + ".maxItemsDisplayed",
|
|
850
979
|
expected: "(number | undefined)",
|
|
851
980
|
value: input.maxItemsDisplayed
|
|
852
981
|
}, errorFactory);
|
|
853
|
-
const $
|
|
982
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
854
983
|
path: _path + ".maxHeight",
|
|
855
984
|
expected: "(number | undefined)",
|
|
856
985
|
value: input.maxHeight
|
|
857
986
|
}, errorFactory);
|
|
858
|
-
const $
|
|
987
|
+
const $ao41 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
859
988
|
path: _path + ".id",
|
|
860
989
|
expected: "string",
|
|
861
990
|
value: input.id
|
|
@@ -864,26 +993,26 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
864
993
|
expected: "boolean",
|
|
865
994
|
value: input.folded
|
|
866
995
|
}, errorFactory));
|
|
867
|
-
const $
|
|
996
|
+
const $ao42 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
868
997
|
path: _path + ".adobe",
|
|
869
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
998
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
870
999
|
value: input.adobe
|
|
871
|
-
}, errorFactory)) && $
|
|
1000
|
+
}, errorFactory)) && $ao43(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
872
1001
|
path: _path + ".adobe",
|
|
873
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1002
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
874
1003
|
value: input.adobe
|
|
875
1004
|
}, errorFactory);
|
|
876
|
-
const $
|
|
1005
|
+
const $ao43 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
877
1006
|
path: _path + ".useProxies",
|
|
878
1007
|
expected: "(boolean | undefined)",
|
|
879
1008
|
value: input.useProxies
|
|
880
1009
|
}, errorFactory);
|
|
881
|
-
const $
|
|
1010
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
882
1011
|
path: _path + ".collections",
|
|
883
1012
|
expected: "(boolean | undefined)",
|
|
884
1013
|
value: input.collections
|
|
885
1014
|
}, errorFactory);
|
|
886
|
-
const $
|
|
1015
|
+
const $ao45 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
887
1016
|
path: _path + ".utils",
|
|
888
1017
|
expected: "(boolean | undefined)",
|
|
889
1018
|
value: input.utils
|
|
@@ -944,6 +1073,78 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
944
1073
|
expected: "(boolean | undefined)",
|
|
945
1074
|
value: input.devWarnings
|
|
946
1075
|
}, errorFactory));
|
|
1076
|
+
const $ao46 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
1077
|
+
path: _path + ".events",
|
|
1078
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
1079
|
+
value: input.events
|
|
1080
|
+
}, errorFactory)) && $ao47(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
1081
|
+
path: _path + ".events",
|
|
1082
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
1083
|
+
value: input.events
|
|
1084
|
+
}, errorFactory);
|
|
1085
|
+
const $ao47 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
1086
|
+
path: _path + ".comment",
|
|
1087
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1088
|
+
value: input.comment
|
|
1089
|
+
}, errorFactory)) && input.comment.every((elem, _index16) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1090
|
+
path: _path + ".comment[" + _index16 + "]",
|
|
1091
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1092
|
+
value: elem
|
|
1093
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1094
|
+
path: _path + ".comment",
|
|
1095
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1096
|
+
value: input.comment
|
|
1097
|
+
}, errorFactory)) && (undefined === input.assigned || (Array.isArray(input.assigned) || $guard(_exceptionable, {
|
|
1098
|
+
path: _path + ".assigned",
|
|
1099
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1100
|
+
value: input.assigned
|
|
1101
|
+
}, errorFactory)) && input.assigned.every((elem, _index17) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1102
|
+
path: _path + ".assigned[" + _index17 + "]",
|
|
1103
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1104
|
+
value: elem
|
|
1105
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1106
|
+
path: _path + ".assigned",
|
|
1107
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1108
|
+
value: input.assigned
|
|
1109
|
+
}, errorFactory)) && (undefined === input.unassigned || (Array.isArray(input.unassigned) || $guard(_exceptionable, {
|
|
1110
|
+
path: _path + ".unassigned",
|
|
1111
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1112
|
+
value: input.unassigned
|
|
1113
|
+
}, errorFactory)) && input.unassigned.every((elem, _index18) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1114
|
+
path: _path + ".unassigned[" + _index18 + "]",
|
|
1115
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1116
|
+
value: elem
|
|
1117
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1118
|
+
path: _path + ".unassigned",
|
|
1119
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1120
|
+
value: input.unassigned
|
|
1121
|
+
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
1122
|
+
path: _path + ".publishSucceeded",
|
|
1123
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
1124
|
+
value: input.publishSucceeded
|
|
1125
|
+
}, errorFactory)) && $ao48(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
1126
|
+
path: _path + ".publishSucceeded",
|
|
1127
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
1128
|
+
value: input.publishSucceeded
|
|
1129
|
+
}, errorFactory));
|
|
1130
|
+
const $ao48 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1131
|
+
const value = input[key];
|
|
1132
|
+
if (undefined === value)
|
|
1133
|
+
return true;
|
|
1134
|
+
return undefined === value || (Array.isArray(value) || $guard(_exceptionable, {
|
|
1135
|
+
path: _path + $join(key),
|
|
1136
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1137
|
+
value: value
|
|
1138
|
+
}, errorFactory)) && value.every((elem, _index19) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1139
|
+
path: _path + $join(key) + "[" + _index19 + "]",
|
|
1140
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1141
|
+
value: elem
|
|
1142
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1143
|
+
path: _path + $join(key),
|
|
1144
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1145
|
+
value: value
|
|
1146
|
+
}, errorFactory);
|
|
1147
|
+
});
|
|
947
1148
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
948
1149
|
path: _path + "",
|
|
949
1150
|
expected: "PartialObjectDeep<Settings, __type>",
|
|
@@ -1028,21 +1229,25 @@ export const randomSettingsRecord = generator => {
|
|
|
1028
1229
|
() => undefined,
|
|
1029
1230
|
() => $ro20(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1030
1231
|
])(),
|
|
1232
|
+
commands: $pick([
|
|
1233
|
+
() => undefined,
|
|
1234
|
+
() => (generator?.array ?? $generator.array)(() => $ro31(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1235
|
+
])(),
|
|
1031
1236
|
predefinedTags: $pick([
|
|
1032
1237
|
() => undefined,
|
|
1033
1238
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1034
1239
|
])(),
|
|
1035
1240
|
storyboard: $pick([
|
|
1036
1241
|
() => undefined,
|
|
1037
|
-
() => $
|
|
1242
|
+
() => $ro32(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1038
1243
|
])(),
|
|
1039
1244
|
hiddenPreviews: $pick([
|
|
1040
1245
|
() => undefined,
|
|
1041
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1246
|
+
() => (generator?.array ?? $generator.array)(() => $ro41(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1042
1247
|
])(),
|
|
1043
1248
|
plugins: $pick([
|
|
1044
1249
|
() => undefined,
|
|
1045
|
-
() => $
|
|
1250
|
+
() => $ro42(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1046
1251
|
])(),
|
|
1047
1252
|
crashScreen: $pick([
|
|
1048
1253
|
() => undefined,
|
|
@@ -1054,11 +1259,15 @@ export const randomSettingsRecord = generator => {
|
|
|
1054
1259
|
])(),
|
|
1055
1260
|
featurePreview: $pick([
|
|
1056
1261
|
() => undefined,
|
|
1057
|
-
() => $
|
|
1262
|
+
() => $ro44(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1058
1263
|
])(),
|
|
1059
1264
|
flags: $pick([
|
|
1060
1265
|
() => undefined,
|
|
1061
|
-
() => $
|
|
1266
|
+
() => $ro45(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1267
|
+
])(),
|
|
1268
|
+
notifications: $pick([
|
|
1269
|
+
() => undefined,
|
|
1270
|
+
() => $ro46(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1062
1271
|
])()
|
|
1063
1272
|
});
|
|
1064
1273
|
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1251,10 +1460,6 @@ export const randomSettingsRecord = generator => {
|
|
|
1251
1460
|
() => undefined,
|
|
1252
1461
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1253
1462
|
])(),
|
|
1254
|
-
openCommand: $pick([
|
|
1255
|
-
() => undefined,
|
|
1256
|
-
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1257
|
-
])(),
|
|
1258
1463
|
guide: $pick([
|
|
1259
1464
|
() => undefined,
|
|
1260
1465
|
() => $ro21(_recursive, _recursive ? 1 + _depth : _depth)
|
|
@@ -1319,15 +1524,32 @@ export const randomSettingsRecord = generator => {
|
|
|
1319
1524
|
() => undefined,
|
|
1320
1525
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1321
1526
|
])(),
|
|
1322
|
-
|
|
1527
|
+
editMode: $pick([
|
|
1323
1528
|
() => undefined,
|
|
1324
1529
|
() => $ro25(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1530
|
+
])(),
|
|
1531
|
+
transcribe: $pick([
|
|
1532
|
+
() => undefined,
|
|
1533
|
+
() => $ro26(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1534
|
+
])(),
|
|
1535
|
+
openCommand: $pick([
|
|
1536
|
+
() => undefined,
|
|
1537
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1538
|
+
() => $ro30(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1325
1539
|
])()
|
|
1326
1540
|
});
|
|
1327
1541
|
const $ro21 = (_recursive = false, _depth = 0) => ({
|
|
1328
1542
|
mask: $pick([
|
|
1329
1543
|
() => undefined,
|
|
1330
1544
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1545
|
+
])(),
|
|
1546
|
+
actionSafe: $pick([
|
|
1547
|
+
() => undefined,
|
|
1548
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1549
|
+
])(),
|
|
1550
|
+
titleSafe: $pick([
|
|
1551
|
+
() => undefined,
|
|
1552
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1331
1553
|
])()
|
|
1332
1554
|
});
|
|
1333
1555
|
const $ro22 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1359,29 +1581,47 @@ export const randomSettingsRecord = generator => {
|
|
|
1359
1581
|
aspectRatio: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1360
1582
|
});
|
|
1361
1583
|
const $ro25 = (_recursive = false, _depth = 0) => ({
|
|
1362
|
-
|
|
1584
|
+
enabled: $pick([
|
|
1363
1585
|
() => undefined,
|
|
1364
|
-
() =>
|
|
1586
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1587
|
+
])(),
|
|
1588
|
+
defaultEnterOption: $pick([
|
|
1589
|
+
() => undefined,
|
|
1590
|
+
() => "edit",
|
|
1591
|
+
() => "createNew",
|
|
1592
|
+
() => "none"
|
|
1593
|
+
])(),
|
|
1594
|
+
defaultExitOption: $pick([
|
|
1595
|
+
() => undefined,
|
|
1596
|
+
() => "none",
|
|
1597
|
+
() => "update",
|
|
1598
|
+
() => "leave"
|
|
1365
1599
|
])()
|
|
1366
1600
|
});
|
|
1367
1601
|
const $ro26 = (_recursive = false, _depth = 0) => ({
|
|
1602
|
+
subtitleDisclaimer: $pick([
|
|
1603
|
+
() => undefined,
|
|
1604
|
+
() => $ro27(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1605
|
+
])()
|
|
1606
|
+
});
|
|
1607
|
+
const $ro27 = (_recursive = false, _depth = 0) => ({
|
|
1368
1608
|
isUserConfigurable: $pick([
|
|
1369
1609
|
() => undefined,
|
|
1370
1610
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1371
1611
|
])(),
|
|
1372
1612
|
defaultValue: $pick([
|
|
1373
1613
|
() => undefined,
|
|
1374
|
-
() => $
|
|
1614
|
+
() => $ro28(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1375
1615
|
])()
|
|
1376
1616
|
});
|
|
1377
|
-
const $
|
|
1617
|
+
const $ro28 = (_recursive = false, _depth = 0) => ({
|
|
1378
1618
|
enabled: $pick([
|
|
1379
1619
|
() => undefined,
|
|
1380
1620
|
() => false
|
|
1381
1621
|
])(),
|
|
1382
1622
|
text: $pick([
|
|
1383
1623
|
() => undefined,
|
|
1384
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1624
|
+
() => (generator?.array ?? $generator.array)(() => $ro29(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1385
1625
|
])(),
|
|
1386
1626
|
offset: $pick([
|
|
1387
1627
|
() => undefined,
|
|
@@ -1392,51 +1632,80 @@ export const randomSettingsRecord = generator => {
|
|
|
1392
1632
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1393
1633
|
])()
|
|
1394
1634
|
});
|
|
1395
|
-
const $
|
|
1635
|
+
const $ro29 = (_recursive = false, _depth = 0) => ({
|
|
1396
1636
|
language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1397
1637
|
value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1398
1638
|
});
|
|
1399
|
-
const $
|
|
1639
|
+
const $ro30 = (_recursive = false, _depth = 0) => ({
|
|
1640
|
+
url: $pick([
|
|
1641
|
+
() => undefined,
|
|
1642
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1643
|
+
])(),
|
|
1644
|
+
command: $pick([
|
|
1645
|
+
() => undefined,
|
|
1646
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1647
|
+
])(),
|
|
1648
|
+
app: $pick([
|
|
1649
|
+
() => undefined,
|
|
1650
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1651
|
+
])(),
|
|
1652
|
+
args: $pick([
|
|
1653
|
+
() => undefined,
|
|
1654
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1655
|
+
])()
|
|
1656
|
+
});
|
|
1657
|
+
const $ro31 = (_recursive = false, _depth = 0) => ({
|
|
1658
|
+
title: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1659
|
+
command: $pick([
|
|
1660
|
+
() => undefined,
|
|
1661
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1662
|
+
])(),
|
|
1663
|
+
args: $pick([
|
|
1664
|
+
() => undefined,
|
|
1665
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1666
|
+
])()
|
|
1667
|
+
});
|
|
1668
|
+
const $ro32 = (_recursive = false, _depth = 0) => ({
|
|
1400
1669
|
folded: $pick([
|
|
1401
1670
|
() => undefined,
|
|
1402
|
-
() => $
|
|
1671
|
+
() => $ro33(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1403
1672
|
])(),
|
|
1404
1673
|
assets: $pick([
|
|
1405
1674
|
() => undefined,
|
|
1406
|
-
() => $
|
|
1675
|
+
() => $ro34(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1407
1676
|
])(),
|
|
1408
1677
|
pipeline: $pick([
|
|
1409
1678
|
() => undefined,
|
|
1410
|
-
() => $
|
|
1679
|
+
() => $ro38(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1411
1680
|
])(),
|
|
1412
1681
|
item: $pick([
|
|
1413
1682
|
() => undefined,
|
|
1414
|
-
() => $
|
|
1683
|
+
() => $ro40(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1415
1684
|
])()
|
|
1416
1685
|
});
|
|
1417
|
-
const $
|
|
1686
|
+
const $ro33 = (_recursive = false, _depth = 0) => ({
|
|
1418
1687
|
auto: $pick([
|
|
1419
1688
|
() => undefined,
|
|
1420
1689
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1421
1690
|
])()
|
|
1422
1691
|
});
|
|
1423
|
-
const $
|
|
1692
|
+
const $ro34 = (_recursive = false, _depth = 0) => ({
|
|
1424
1693
|
story: $pick([
|
|
1425
1694
|
() => undefined,
|
|
1426
|
-
() => $
|
|
1695
|
+
() => $ro35(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1427
1696
|
])(),
|
|
1428
1697
|
note: $pick([
|
|
1429
1698
|
() => undefined,
|
|
1430
|
-
() => $
|
|
1699
|
+
() => $ro37(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1431
1700
|
])()
|
|
1432
1701
|
});
|
|
1433
|
-
const $
|
|
1702
|
+
const $ro35 = (_recursive = false, _depth = 0) => ({
|
|
1434
1703
|
excerpt: $pick([
|
|
1435
1704
|
() => undefined,
|
|
1436
|
-
() => $
|
|
1705
|
+
() => $ro36(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1437
1706
|
])()
|
|
1438
1707
|
});
|
|
1439
|
-
const $
|
|
1708
|
+
const $ro36 = (_recursive = false, _depth = 0) => ({
|
|
1440
1709
|
maxLines: $pick([
|
|
1441
1710
|
() => undefined,
|
|
1442
1711
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1446,16 +1715,16 @@ export const randomSettingsRecord = generator => {
|
|
|
1446
1715
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1447
1716
|
])()
|
|
1448
1717
|
});
|
|
1449
|
-
const $
|
|
1718
|
+
const $ro37 = (_recursive = false, _depth = 0) => ({
|
|
1450
1719
|
maxHeight: $pick([
|
|
1451
1720
|
() => undefined,
|
|
1452
1721
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1453
1722
|
])()
|
|
1454
1723
|
});
|
|
1455
|
-
const $
|
|
1724
|
+
const $ro38 = (_recursive = false, _depth = 0) => ({
|
|
1456
1725
|
search: $pick([
|
|
1457
1726
|
() => undefined,
|
|
1458
|
-
() => $
|
|
1727
|
+
() => $ro39(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1459
1728
|
])(),
|
|
1460
1729
|
sortMode: $pick([
|
|
1461
1730
|
() => undefined,
|
|
@@ -1469,41 +1738,41 @@ export const randomSettingsRecord = generator => {
|
|
|
1469
1738
|
() => "leastrecent"
|
|
1470
1739
|
])()
|
|
1471
1740
|
});
|
|
1472
|
-
const $
|
|
1741
|
+
const $ro39 = (_recursive = false, _depth = 0) => ({
|
|
1473
1742
|
maxItemsDisplayed: $pick([
|
|
1474
1743
|
() => undefined,
|
|
1475
1744
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1476
1745
|
])()
|
|
1477
1746
|
});
|
|
1478
|
-
const $
|
|
1747
|
+
const $ro40 = (_recursive = false, _depth = 0) => ({
|
|
1479
1748
|
maxHeight: $pick([
|
|
1480
1749
|
() => undefined,
|
|
1481
1750
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1482
1751
|
])()
|
|
1483
1752
|
});
|
|
1484
|
-
const $
|
|
1753
|
+
const $ro41 = (_recursive = false, _depth = 0) => ({
|
|
1485
1754
|
id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1486
1755
|
folded: (generator?.boolean ?? $generator.boolean)()
|
|
1487
1756
|
});
|
|
1488
|
-
const $
|
|
1757
|
+
const $ro42 = (_recursive = false, _depth = 0) => ({
|
|
1489
1758
|
adobe: $pick([
|
|
1490
1759
|
() => undefined,
|
|
1491
|
-
() => $
|
|
1760
|
+
() => $ro43(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1492
1761
|
])()
|
|
1493
1762
|
});
|
|
1494
|
-
const $
|
|
1763
|
+
const $ro43 = (_recursive = false, _depth = 0) => ({
|
|
1495
1764
|
useProxies: $pick([
|
|
1496
1765
|
() => undefined,
|
|
1497
1766
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1498
1767
|
])()
|
|
1499
1768
|
});
|
|
1500
|
-
const $
|
|
1769
|
+
const $ro44 = (_recursive = false, _depth = 0) => ({
|
|
1501
1770
|
collections: $pick([
|
|
1502
1771
|
() => undefined,
|
|
1503
1772
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1504
1773
|
])()
|
|
1505
1774
|
});
|
|
1506
|
-
const $
|
|
1775
|
+
const $ro45 = (_recursive = false, _depth = 0) => ({
|
|
1507
1776
|
utils: $pick([
|
|
1508
1777
|
() => undefined,
|
|
1509
1778
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -1565,19 +1834,75 @@ export const randomSettingsRecord = generator => {
|
|
|
1565
1834
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1566
1835
|
])()
|
|
1567
1836
|
});
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1837
|
+
const $ro46 = (_recursive = false, _depth = 0) => ({
|
|
1838
|
+
events: $pick([
|
|
1839
|
+
() => undefined,
|
|
1840
|
+
() => $ro47(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1841
|
+
])()
|
|
1842
|
+
});
|
|
1843
|
+
const $ro47 = (_recursive = false, _depth = 0) => ({
|
|
1844
|
+
comment: $pick([
|
|
1845
|
+
() => undefined,
|
|
1846
|
+
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
1847
|
+
() => "mentioned",
|
|
1848
|
+
() => "assigned",
|
|
1849
|
+
() => "author",
|
|
1850
|
+
() => "participated",
|
|
1851
|
+
() => "always"
|
|
1852
|
+
])())
|
|
1853
|
+
])(),
|
|
1854
|
+
assigned: $pick([
|
|
1855
|
+
() => undefined,
|
|
1856
|
+
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
1857
|
+
() => "mentioned",
|
|
1858
|
+
() => "assigned",
|
|
1859
|
+
() => "author",
|
|
1860
|
+
() => "participated",
|
|
1861
|
+
() => "always"
|
|
1862
|
+
])())
|
|
1863
|
+
])(),
|
|
1864
|
+
unassigned: $pick([
|
|
1865
|
+
() => undefined,
|
|
1866
|
+
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
1867
|
+
() => "mentioned",
|
|
1868
|
+
() => "assigned",
|
|
1869
|
+
() => "author",
|
|
1870
|
+
() => "participated",
|
|
1871
|
+
() => "always"
|
|
1872
|
+
])())
|
|
1873
|
+
])(),
|
|
1874
|
+
publishSucceeded: $pick([
|
|
1875
|
+
() => undefined,
|
|
1876
|
+
() => $ro48(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1877
|
+
])()
|
|
1878
|
+
});
|
|
1879
|
+
const $ro48 = (_recursive = false, _depth = 0) => {
|
|
1880
|
+
const output = {};
|
|
1881
|
+
(generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $pick([
|
|
1882
|
+
() => undefined,
|
|
1883
|
+
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
1884
|
+
() => "mentioned",
|
|
1885
|
+
() => "assigned",
|
|
1886
|
+
() => "author",
|
|
1887
|
+
() => "participated",
|
|
1888
|
+
() => "always"
|
|
1889
|
+
])())
|
|
1890
|
+
])(), (generator?.integer ?? $generator.integer)(0, 3));
|
|
1891
|
+
return output;
|
|
1892
|
+
};
|
|
1893
|
+
return $ro0();
|
|
1894
|
+
};
|
|
1895
|
+
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
1896
|
+
const __is = input => {
|
|
1897
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io31(elem))) && (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) && $io32(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io41(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io42(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io44(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io45(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io46(input.notifications));
|
|
1898
|
+
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
1899
|
+
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
1900
|
+
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 => {
|
|
1901
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
1902
|
+
return true;
|
|
1903
|
+
const value = input[key];
|
|
1904
|
+
if (undefined === value)
|
|
1905
|
+
return true;
|
|
1581
1906
|
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
|
|
1582
1907
|
});
|
|
1583
1908
|
const $io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (undefined === input.activeTab || "string" === typeof input.activeTab);
|
|
@@ -1596,29 +1921,40 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1596
1921
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
1597
1922
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
1598
1923
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
1599
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.
|
|
1600
|
-
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
1924
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
1925
|
+
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
1601
1926
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
1602
1927
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
1603
1928
|
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
1604
|
-
const $io25 = input => undefined === input.
|
|
1605
|
-
const $io26 = input =>
|
|
1606
|
-
const $io27 = input => (undefined === input.
|
|
1607
|
-
const $io28 = input => "
|
|
1608
|
-
const $io29 = input =>
|
|
1609
|
-
const $io30 = input => undefined === input.
|
|
1610
|
-
const $io31 = input =>
|
|
1611
|
-
const $io32 = input => undefined === input.
|
|
1612
|
-
const $io33 = input =>
|
|
1613
|
-
const $io34 = input => undefined === input.
|
|
1614
|
-
const $io35 = input =>
|
|
1615
|
-
const $io36 = input => undefined === input.
|
|
1929
|
+
const $io25 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
1930
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
1931
|
+
const $io27 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io28(input.defaultValue));
|
|
1932
|
+
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
1933
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1934
|
+
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
1935
|
+
const $io31 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
1936
|
+
const $io32 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io33(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io34(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io38(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io40(input.item));
|
|
1937
|
+
const $io33 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
1938
|
+
const $io34 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io35(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io37(input.note));
|
|
1939
|
+
const $io35 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io36(input.excerpt);
|
|
1940
|
+
const $io36 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
1616
1941
|
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1617
|
-
const $io38 = input => "
|
|
1618
|
-
const $io39 = input => undefined === input.
|
|
1619
|
-
const $io40 = input => undefined === input.
|
|
1620
|
-
const $io41 = input =>
|
|
1621
|
-
const $io42 = input =>
|
|
1942
|
+
const $io38 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io39(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
1943
|
+
const $io39 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
1944
|
+
const $io40 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1945
|
+
const $io41 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
1946
|
+
const $io42 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io43(input.adobe);
|
|
1947
|
+
const $io43 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
1948
|
+
const $io44 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
1949
|
+
const $io45 = 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) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
1950
|
+
const $io46 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io47(input.events);
|
|
1951
|
+
const $io47 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io48(input.publishSucceeded));
|
|
1952
|
+
const $io48 = input => Object.keys(input).every(key => {
|
|
1953
|
+
const value = input[key];
|
|
1954
|
+
if (undefined === value)
|
|
1955
|
+
return true;
|
|
1956
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
1957
|
+
});
|
|
1622
1958
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1623
1959
|
};
|
|
1624
1960
|
if (false === __is(input))
|
|
@@ -1745,12 +2081,28 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1745
2081
|
path: _path + ".media",
|
|
1746
2082
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
1747
2083
|
value: input.media
|
|
2084
|
+
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
2085
|
+
path: _path + ".commands",
|
|
2086
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
2087
|
+
value: input.commands
|
|
2088
|
+
}, errorFactory)) && input.commands.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2089
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
2090
|
+
expected: "__type.o2",
|
|
2091
|
+
value: elem
|
|
2092
|
+
}, errorFactory)) && $ao31(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2093
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
2094
|
+
expected: "__type.o2",
|
|
2095
|
+
value: elem
|
|
2096
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2097
|
+
path: _path + ".commands",
|
|
2098
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
2099
|
+
value: input.commands
|
|
1748
2100
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
1749
2101
|
path: _path + ".predefinedTags",
|
|
1750
2102
|
expected: "(Array<string> | undefined)",
|
|
1751
2103
|
value: input.predefinedTags
|
|
1752
|
-
}, errorFactory)) && input.predefinedTags.every((elem,
|
|
1753
|
-
path: _path + ".predefinedTags[" +
|
|
2104
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2105
|
+
path: _path + ".predefinedTags[" + _index2 + "]",
|
|
1754
2106
|
expected: "string",
|
|
1755
2107
|
value: elem
|
|
1756
2108
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1759,35 +2111,35 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1759
2111
|
value: input.predefinedTags
|
|
1760
2112
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
1761
2113
|
path: _path + ".storyboard",
|
|
1762
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2114
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
1763
2115
|
value: input.storyboard
|
|
1764
|
-
}, errorFactory)) && $
|
|
2116
|
+
}, errorFactory)) && $ao32(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1765
2117
|
path: _path + ".storyboard",
|
|
1766
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2118
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
1767
2119
|
value: input.storyboard
|
|
1768
2120
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
1769
2121
|
path: _path + ".hiddenPreviews",
|
|
1770
|
-
expected: "(Array<__type>.
|
|
2122
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
1771
2123
|
value: input.hiddenPreviews
|
|
1772
|
-
}, errorFactory)) && input.hiddenPreviews.every((elem,
|
|
1773
|
-
path: _path + ".hiddenPreviews[" +
|
|
1774
|
-
expected: "__type.
|
|
2124
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2125
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
2126
|
+
expected: "__type.o3",
|
|
1775
2127
|
value: elem
|
|
1776
|
-
}, errorFactory)) && $
|
|
1777
|
-
path: _path + ".hiddenPreviews[" +
|
|
1778
|
-
expected: "__type.
|
|
2128
|
+
}, errorFactory)) && $ao41(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2129
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
2130
|
+
expected: "__type.o3",
|
|
1779
2131
|
value: elem
|
|
1780
2132
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
1781
2133
|
path: _path + ".hiddenPreviews",
|
|
1782
|
-
expected: "(Array<__type>.
|
|
2134
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
1783
2135
|
value: input.hiddenPreviews
|
|
1784
2136
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
1785
2137
|
path: _path + ".plugins",
|
|
1786
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2138
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
1787
2139
|
value: input.plugins
|
|
1788
|
-
}, errorFactory)) && $
|
|
2140
|
+
}, errorFactory)) && $ao42(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
1789
2141
|
path: _path + ".plugins",
|
|
1790
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2142
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
1791
2143
|
value: input.plugins
|
|
1792
2144
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
1793
2145
|
path: _path + ".crashScreen",
|
|
@@ -1799,20 +2151,28 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1799
2151
|
value: input.debug
|
|
1800
2152
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
1801
2153
|
path: _path + ".featurePreview",
|
|
1802
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2154
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
1803
2155
|
value: input.featurePreview
|
|
1804
|
-
}, errorFactory)) && $
|
|
2156
|
+
}, errorFactory)) && $ao44(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
1805
2157
|
path: _path + ".featurePreview",
|
|
1806
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2158
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
1807
2159
|
value: input.featurePreview
|
|
1808
2160
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
1809
2161
|
path: _path + ".flags",
|
|
1810
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2162
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
1811
2163
|
value: input.flags
|
|
1812
|
-
}, errorFactory)) && $
|
|
2164
|
+
}, errorFactory)) && $ao45(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1813
2165
|
path: _path + ".flags",
|
|
1814
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2166
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
1815
2167
|
value: input.flags
|
|
2168
|
+
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
2169
|
+
path: _path + ".notifications",
|
|
2170
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
2171
|
+
value: input.notifications
|
|
2172
|
+
}, errorFactory)) && $ao46(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
2173
|
+
path: _path + ".notifications",
|
|
2174
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
2175
|
+
value: input.notifications
|
|
1816
2176
|
}, errorFactory));
|
|
1817
2177
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
1818
2178
|
path: _path + ".overrideUserContact",
|
|
@@ -1883,8 +2243,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1883
2243
|
path: _path + ".sortOrder",
|
|
1884
2244
|
expected: "(Array<string> | undefined)",
|
|
1885
2245
|
value: input.sortOrder
|
|
1886
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
1887
|
-
path: _path + ".sortOrder[" +
|
|
2246
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2247
|
+
path: _path + ".sortOrder[" + _index4 + "]",
|
|
1888
2248
|
expected: "string",
|
|
1889
2249
|
value: elem
|
|
1890
2250
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1896,8 +2256,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1896
2256
|
path: _path + ".exclude",
|
|
1897
2257
|
expected: "(Array<string> | undefined)",
|
|
1898
2258
|
value: input.exclude
|
|
1899
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
1900
|
-
path: _path + ".exclude[" +
|
|
2259
|
+
}, errorFactory)) && input.exclude.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2260
|
+
path: _path + ".exclude[" + _index5 + "]",
|
|
1901
2261
|
expected: "string",
|
|
1902
2262
|
value: elem
|
|
1903
2263
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1909,8 +2269,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1909
2269
|
path: _path + ".include",
|
|
1910
2270
|
expected: "(Array<string> | undefined)",
|
|
1911
2271
|
value: input.include
|
|
1912
|
-
}, errorFactory)) && input.include.every((elem,
|
|
1913
|
-
path: _path + ".include[" +
|
|
2272
|
+
}, errorFactory)) && input.include.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2273
|
+
path: _path + ".include[" + _index6 + "]",
|
|
1914
2274
|
expected: "string",
|
|
1915
2275
|
value: elem
|
|
1916
2276
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1921,8 +2281,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1921
2281
|
path: _path + ".exclude",
|
|
1922
2282
|
expected: "(Array<string> | undefined)",
|
|
1923
2283
|
value: input.exclude
|
|
1924
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
1925
|
-
path: _path + ".exclude[" +
|
|
2284
|
+
}, errorFactory)) && input.exclude.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2285
|
+
path: _path + ".exclude[" + _index7 + "]",
|
|
1926
2286
|
expected: "string",
|
|
1927
2287
|
value: elem
|
|
1928
2288
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1934,8 +2294,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1934
2294
|
path: _path + ".include",
|
|
1935
2295
|
expected: "(Array<string> | undefined)",
|
|
1936
2296
|
value: input.include
|
|
1937
|
-
}, errorFactory)) && input.include.every((elem,
|
|
1938
|
-
path: _path + ".include[" +
|
|
2297
|
+
}, errorFactory)) && input.include.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2298
|
+
path: _path + ".include[" + _index8 + "]",
|
|
1939
2299
|
expected: "string",
|
|
1940
2300
|
value: elem
|
|
1941
2301
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1946,8 +2306,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1946
2306
|
path: _path + ".exclude",
|
|
1947
2307
|
expected: "(Array<string> | undefined)",
|
|
1948
2308
|
value: input.exclude
|
|
1949
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
1950
|
-
path: _path + ".exclude[" +
|
|
2309
|
+
}, errorFactory)) && input.exclude.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2310
|
+
path: _path + ".exclude[" + _index9 + "]",
|
|
1951
2311
|
expected: "string",
|
|
1952
2312
|
value: elem
|
|
1953
2313
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2014,12 +2374,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2014
2374
|
path: _path + ".colorTags",
|
|
2015
2375
|
expected: "(Array<PromotedTag> | undefined)",
|
|
2016
2376
|
value: input.colorTags
|
|
2017
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
2018
|
-
path: _path + ".colorTags[" +
|
|
2377
|
+
}, errorFactory)) && input.colorTags.every((elem, _index10) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2378
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
2019
2379
|
expected: "PromotedTag",
|
|
2020
2380
|
value: elem
|
|
2021
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
2022
|
-
path: _path + ".colorTags[" +
|
|
2381
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index10 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2382
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
2023
2383
|
expected: "PromotedTag",
|
|
2024
2384
|
value: elem
|
|
2025
2385
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2068,10 +2428,6 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2068
2428
|
path: _path + ".placeholder",
|
|
2069
2429
|
expected: "(string | undefined)",
|
|
2070
2430
|
value: input.placeholder
|
|
2071
|
-
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || $guard(_exceptionable, {
|
|
2072
|
-
path: _path + ".openCommand",
|
|
2073
|
-
expected: "(string | undefined)",
|
|
2074
|
-
value: input.openCommand
|
|
2075
2431
|
}, errorFactory)) && (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
2076
2432
|
path: _path + ".guide",
|
|
2077
2433
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
@@ -2124,8 +2480,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2124
2480
|
path: _path + ".playbackRates",
|
|
2125
2481
|
expected: "(Array<number> | undefined)",
|
|
2126
2482
|
value: input.playbackRates
|
|
2127
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
2128
|
-
path: _path + ".playbackRates[" +
|
|
2483
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index11) => "number" === typeof elem || $guard(_exceptionable, {
|
|
2484
|
+
path: _path + ".playbackRates[" + _index11 + "]",
|
|
2129
2485
|
expected: "number",
|
|
2130
2486
|
value: elem
|
|
2131
2487
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2152,12 +2508,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2152
2508
|
path: _path + ".guides",
|
|
2153
2509
|
expected: "(Array<__type> | undefined)",
|
|
2154
2510
|
value: input.guides
|
|
2155
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
2156
|
-
path: _path + ".guides[" +
|
|
2511
|
+
}, errorFactory)) && input.guides.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2512
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
2157
2513
|
expected: "__type",
|
|
2158
2514
|
value: elem
|
|
2159
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
2160
|
-
path: _path + ".guides[" +
|
|
2515
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2516
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
2161
2517
|
expected: "__type",
|
|
2162
2518
|
value: elem
|
|
2163
2519
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2168,20 +2524,48 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2168
2524
|
path: _path + ".download",
|
|
2169
2525
|
expected: "(boolean | undefined)",
|
|
2170
2526
|
value: input.download
|
|
2527
|
+
}, errorFactory)) && (undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || $guard(_exceptionable, {
|
|
2528
|
+
path: _path + ".editMode",
|
|
2529
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2530
|
+
value: input.editMode
|
|
2531
|
+
}, errorFactory)) && $ao25(input.editMode, _path + ".editMode", true && _exceptionable) || $guard(_exceptionable, {
|
|
2532
|
+
path: _path + ".editMode",
|
|
2533
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2534
|
+
value: input.editMode
|
|
2171
2535
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
2172
2536
|
path: _path + ".transcribe",
|
|
2173
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2537
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2174
2538
|
value: input.transcribe
|
|
2175
|
-
}, errorFactory)) && $
|
|
2539
|
+
}, errorFactory)) && $ao26(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2176
2540
|
path: _path + ".transcribe",
|
|
2177
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2541
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2178
2542
|
value: input.transcribe
|
|
2179
|
-
}, errorFactory))
|
|
2180
|
-
|
|
2543
|
+
}, errorFactory)) && ((null !== input.openCommand || $guard(_exceptionable, {
|
|
2544
|
+
path: _path + ".openCommand",
|
|
2545
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
2546
|
+
value: input.openCommand
|
|
2547
|
+
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || $guard(_exceptionable, {
|
|
2548
|
+
path: _path + ".openCommand",
|
|
2549
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
2550
|
+
value: input.openCommand
|
|
2551
|
+
}, errorFactory)) && $ao30(input.openCommand, _path + ".openCommand", true && _exceptionable) || $guard(_exceptionable, {
|
|
2552
|
+
path: _path + ".openCommand",
|
|
2553
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
2554
|
+
value: input.openCommand
|
|
2555
|
+
}, errorFactory)));
|
|
2556
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
2181
2557
|
path: _path + ".mask",
|
|
2182
2558
|
expected: "(boolean | undefined)",
|
|
2183
2559
|
value: input.mask
|
|
2184
|
-
}, errorFactory)
|
|
2560
|
+
}, errorFactory)) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe || $guard(_exceptionable, {
|
|
2561
|
+
path: _path + ".actionSafe",
|
|
2562
|
+
expected: "(boolean | undefined)",
|
|
2563
|
+
value: input.actionSafe
|
|
2564
|
+
}, errorFactory)) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe || $guard(_exceptionable, {
|
|
2565
|
+
path: _path + ".titleSafe",
|
|
2566
|
+
expected: "(boolean | undefined)",
|
|
2567
|
+
value: input.titleSafe
|
|
2568
|
+
}, errorFactory));
|
|
2185
2569
|
const $ao22 = (input, _path, _exceptionable = true) => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview || $guard(_exceptionable, {
|
|
2186
2570
|
path: _path + ".preview",
|
|
2187
2571
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
@@ -2209,29 +2593,42 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2209
2593
|
expected: "string",
|
|
2210
2594
|
value: input.aspectRatio
|
|
2211
2595
|
}, errorFactory));
|
|
2212
|
-
const $ao25 = (input, _path, _exceptionable = true) => undefined === input.
|
|
2596
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.enabled || "boolean" === typeof input.enabled || $guard(_exceptionable, {
|
|
2597
|
+
path: _path + ".enabled",
|
|
2598
|
+
expected: "(boolean | undefined)",
|
|
2599
|
+
value: input.enabled
|
|
2600
|
+
}, errorFactory)) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption || $guard(_exceptionable, {
|
|
2601
|
+
path: _path + ".defaultEnterOption",
|
|
2602
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
2603
|
+
value: input.defaultEnterOption
|
|
2604
|
+
}, errorFactory)) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption || $guard(_exceptionable, {
|
|
2605
|
+
path: _path + ".defaultExitOption",
|
|
2606
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
2607
|
+
value: input.defaultExitOption
|
|
2608
|
+
}, errorFactory));
|
|
2609
|
+
const $ao26 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
2213
2610
|
path: _path + ".subtitleDisclaimer",
|
|
2214
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2611
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2215
2612
|
value: input.subtitleDisclaimer
|
|
2216
|
-
}, errorFactory)) && $
|
|
2613
|
+
}, errorFactory)) && $ao27(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
2217
2614
|
path: _path + ".subtitleDisclaimer",
|
|
2218
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2615
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2219
2616
|
value: input.subtitleDisclaimer
|
|
2220
2617
|
}, errorFactory);
|
|
2221
|
-
const $
|
|
2618
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
2222
2619
|
path: _path + ".isUserConfigurable",
|
|
2223
2620
|
expected: "(boolean | undefined)",
|
|
2224
2621
|
value: input.isUserConfigurable
|
|
2225
2622
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
2226
2623
|
path: _path + ".defaultValue",
|
|
2227
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2624
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2228
2625
|
value: input.defaultValue
|
|
2229
|
-
}, errorFactory)) && $
|
|
2626
|
+
}, errorFactory)) && $ao28(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
2230
2627
|
path: _path + ".defaultValue",
|
|
2231
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2628
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2232
2629
|
value: input.defaultValue
|
|
2233
2630
|
}, errorFactory));
|
|
2234
|
-
const $
|
|
2631
|
+
const $ao28 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
2235
2632
|
path: _path + ".enabled",
|
|
2236
2633
|
expected: "(false | undefined)",
|
|
2237
2634
|
value: input.enabled
|
|
@@ -2239,12 +2636,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2239
2636
|
path: _path + ".text",
|
|
2240
2637
|
expected: "(Array<__type>.o1 | undefined)",
|
|
2241
2638
|
value: input.text
|
|
2242
|
-
}, errorFactory)) && input.text.every((elem,
|
|
2243
|
-
path: _path + ".text[" +
|
|
2639
|
+
}, errorFactory)) && input.text.every((elem, _index13) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2640
|
+
path: _path + ".text[" + _index13 + "]",
|
|
2244
2641
|
expected: "__type.o1",
|
|
2245
2642
|
value: elem
|
|
2246
|
-
}, errorFactory)) && $
|
|
2247
|
-
path: _path + ".text[" +
|
|
2643
|
+
}, errorFactory)) && $ao29(elem, _path + ".text[" + _index13 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2644
|
+
path: _path + ".text[" + _index13 + "]",
|
|
2248
2645
|
expected: "__type.o1",
|
|
2249
2646
|
value: elem
|
|
2250
2647
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2260,7 +2657,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2260
2657
|
expected: "(number | undefined)",
|
|
2261
2658
|
value: input.duration
|
|
2262
2659
|
}, errorFactory));
|
|
2263
|
-
const $
|
|
2660
|
+
const $ao29 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
2264
2661
|
path: _path + ".language",
|
|
2265
2662
|
expected: "string",
|
|
2266
2663
|
value: input.language
|
|
@@ -2269,71 +2666,117 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2269
2666
|
expected: "string",
|
|
2270
2667
|
value: input.value
|
|
2271
2668
|
}, errorFactory));
|
|
2272
|
-
const $
|
|
2669
|
+
const $ao30 = (input, _path, _exceptionable = true) => (undefined === input.url || "string" === typeof input.url || $guard(_exceptionable, {
|
|
2670
|
+
path: _path + ".url",
|
|
2671
|
+
expected: "(string | undefined)",
|
|
2672
|
+
value: input.url
|
|
2673
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
2674
|
+
path: _path + ".command",
|
|
2675
|
+
expected: "(string | undefined)",
|
|
2676
|
+
value: input.command
|
|
2677
|
+
}, errorFactory)) && (undefined === input.app || "string" === typeof input.app || $guard(_exceptionable, {
|
|
2678
|
+
path: _path + ".app",
|
|
2679
|
+
expected: "(string | undefined)",
|
|
2680
|
+
value: input.app
|
|
2681
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
2682
|
+
path: _path + ".args",
|
|
2683
|
+
expected: "(Array<string> | undefined)",
|
|
2684
|
+
value: input.args
|
|
2685
|
+
}, errorFactory)) && input.args.every((elem, _index14) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2686
|
+
path: _path + ".args[" + _index14 + "]",
|
|
2687
|
+
expected: "string",
|
|
2688
|
+
value: elem
|
|
2689
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2690
|
+
path: _path + ".args",
|
|
2691
|
+
expected: "(Array<string> | undefined)",
|
|
2692
|
+
value: input.args
|
|
2693
|
+
}, errorFactory));
|
|
2694
|
+
const $ao31 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
2695
|
+
path: _path + ".title",
|
|
2696
|
+
expected: "string",
|
|
2697
|
+
value: input.title
|
|
2698
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
2699
|
+
path: _path + ".command",
|
|
2700
|
+
expected: "(string | undefined)",
|
|
2701
|
+
value: input.command
|
|
2702
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
2703
|
+
path: _path + ".args",
|
|
2704
|
+
expected: "(Array<string> | undefined)",
|
|
2705
|
+
value: input.args
|
|
2706
|
+
}, errorFactory)) && input.args.every((elem, _index15) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2707
|
+
path: _path + ".args[" + _index15 + "]",
|
|
2708
|
+
expected: "string",
|
|
2709
|
+
value: elem
|
|
2710
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2711
|
+
path: _path + ".args",
|
|
2712
|
+
expected: "(Array<string> | undefined)",
|
|
2713
|
+
value: input.args
|
|
2714
|
+
}, errorFactory));
|
|
2715
|
+
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
2273
2716
|
path: _path + ".folded",
|
|
2274
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2717
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2275
2718
|
value: input.folded
|
|
2276
|
-
}, errorFactory)) && $
|
|
2719
|
+
}, errorFactory)) && $ao33(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
2277
2720
|
path: _path + ".folded",
|
|
2278
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2721
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2279
2722
|
value: input.folded
|
|
2280
2723
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
2281
2724
|
path: _path + ".assets",
|
|
2282
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2725
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2283
2726
|
value: input.assets
|
|
2284
|
-
}, errorFactory)) && $
|
|
2727
|
+
}, errorFactory)) && $ao34(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2285
2728
|
path: _path + ".assets",
|
|
2286
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2729
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2287
2730
|
value: input.assets
|
|
2288
2731
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
2289
2732
|
path: _path + ".pipeline",
|
|
2290
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2733
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2291
2734
|
value: input.pipeline
|
|
2292
|
-
}, errorFactory)) && $
|
|
2735
|
+
}, errorFactory)) && $ao38(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2293
2736
|
path: _path + ".pipeline",
|
|
2294
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2737
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2295
2738
|
value: input.pipeline
|
|
2296
2739
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
2297
2740
|
path: _path + ".item",
|
|
2298
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2741
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2299
2742
|
value: input.item
|
|
2300
|
-
}, errorFactory)) && $
|
|
2743
|
+
}, errorFactory)) && $ao40(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2301
2744
|
path: _path + ".item",
|
|
2302
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2745
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2303
2746
|
value: input.item
|
|
2304
2747
|
}, errorFactory));
|
|
2305
|
-
const $
|
|
2748
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
2306
2749
|
path: _path + ".auto",
|
|
2307
2750
|
expected: "(boolean | undefined)",
|
|
2308
2751
|
value: input.auto
|
|
2309
2752
|
}, errorFactory);
|
|
2310
|
-
const $
|
|
2753
|
+
const $ao34 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
2311
2754
|
path: _path + ".story",
|
|
2312
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2755
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2313
2756
|
value: input.story
|
|
2314
|
-
}, errorFactory)) && $
|
|
2757
|
+
}, errorFactory)) && $ao35(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2315
2758
|
path: _path + ".story",
|
|
2316
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2759
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2317
2760
|
value: input.story
|
|
2318
2761
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
2319
2762
|
path: _path + ".note",
|
|
2320
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2763
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2321
2764
|
value: input.note
|
|
2322
|
-
}, errorFactory)) && $
|
|
2765
|
+
}, errorFactory)) && $ao37(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
2323
2766
|
path: _path + ".note",
|
|
2324
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2767
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2325
2768
|
value: input.note
|
|
2326
2769
|
}, errorFactory));
|
|
2327
|
-
const $
|
|
2770
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
2328
2771
|
path: _path + ".excerpt",
|
|
2329
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2772
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2330
2773
|
value: input.excerpt
|
|
2331
|
-
}, errorFactory)) && $
|
|
2774
|
+
}, errorFactory)) && $ao36(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2332
2775
|
path: _path + ".excerpt",
|
|
2333
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2776
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2334
2777
|
value: input.excerpt
|
|
2335
2778
|
}, errorFactory);
|
|
2336
|
-
const $
|
|
2779
|
+
const $ao36 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
2337
2780
|
path: _path + ".maxLines",
|
|
2338
2781
|
expected: "(number | undefined)",
|
|
2339
2782
|
value: input.maxLines
|
|
@@ -2342,35 +2785,35 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2342
2785
|
expected: "(string | undefined)",
|
|
2343
2786
|
value: input.mode
|
|
2344
2787
|
}, errorFactory));
|
|
2345
|
-
const $
|
|
2788
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2346
2789
|
path: _path + ".maxHeight",
|
|
2347
2790
|
expected: "(number | undefined)",
|
|
2348
2791
|
value: input.maxHeight
|
|
2349
2792
|
}, errorFactory);
|
|
2350
|
-
const $
|
|
2793
|
+
const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2351
2794
|
path: _path + ".search",
|
|
2352
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2795
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2353
2796
|
value: input.search
|
|
2354
|
-
}, errorFactory)) && $
|
|
2797
|
+
}, errorFactory)) && $ao39(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2355
2798
|
path: _path + ".search",
|
|
2356
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2799
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2357
2800
|
value: input.search
|
|
2358
2801
|
}, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
|
|
2359
2802
|
path: _path + ".sortMode",
|
|
2360
2803
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
2361
2804
|
value: input.sortMode
|
|
2362
2805
|
}, errorFactory));
|
|
2363
|
-
const $
|
|
2806
|
+
const $ao39 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
2364
2807
|
path: _path + ".maxItemsDisplayed",
|
|
2365
2808
|
expected: "(number | undefined)",
|
|
2366
2809
|
value: input.maxItemsDisplayed
|
|
2367
2810
|
}, errorFactory);
|
|
2368
|
-
const $
|
|
2811
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2369
2812
|
path: _path + ".maxHeight",
|
|
2370
2813
|
expected: "(number | undefined)",
|
|
2371
2814
|
value: input.maxHeight
|
|
2372
2815
|
}, errorFactory);
|
|
2373
|
-
const $
|
|
2816
|
+
const $ao41 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
2374
2817
|
path: _path + ".id",
|
|
2375
2818
|
expected: "string",
|
|
2376
2819
|
value: input.id
|
|
@@ -2379,26 +2822,26 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2379
2822
|
expected: "boolean",
|
|
2380
2823
|
value: input.folded
|
|
2381
2824
|
}, errorFactory));
|
|
2382
|
-
const $
|
|
2825
|
+
const $ao42 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
2383
2826
|
path: _path + ".adobe",
|
|
2384
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2827
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2385
2828
|
value: input.adobe
|
|
2386
|
-
}, errorFactory)) && $
|
|
2829
|
+
}, errorFactory)) && $ao43(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2387
2830
|
path: _path + ".adobe",
|
|
2388
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2831
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2389
2832
|
value: input.adobe
|
|
2390
2833
|
}, errorFactory);
|
|
2391
|
-
const $
|
|
2834
|
+
const $ao43 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2392
2835
|
path: _path + ".useProxies",
|
|
2393
2836
|
expected: "(boolean | undefined)",
|
|
2394
2837
|
value: input.useProxies
|
|
2395
2838
|
}, errorFactory);
|
|
2396
|
-
const $
|
|
2839
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
2397
2840
|
path: _path + ".collections",
|
|
2398
2841
|
expected: "(boolean | undefined)",
|
|
2399
2842
|
value: input.collections
|
|
2400
2843
|
}, errorFactory);
|
|
2401
|
-
const $
|
|
2844
|
+
const $ao45 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2402
2845
|
path: _path + ".utils",
|
|
2403
2846
|
expected: "(boolean | undefined)",
|
|
2404
2847
|
value: input.utils
|
|
@@ -2459,6 +2902,78 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2459
2902
|
expected: "(boolean | undefined)",
|
|
2460
2903
|
value: input.devWarnings
|
|
2461
2904
|
}, errorFactory));
|
|
2905
|
+
const $ao46 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
2906
|
+
path: _path + ".events",
|
|
2907
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
2908
|
+
value: input.events
|
|
2909
|
+
}, errorFactory)) && $ao47(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
2910
|
+
path: _path + ".events",
|
|
2911
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
2912
|
+
value: input.events
|
|
2913
|
+
}, errorFactory);
|
|
2914
|
+
const $ao47 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
2915
|
+
path: _path + ".comment",
|
|
2916
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2917
|
+
value: input.comment
|
|
2918
|
+
}, errorFactory)) && input.comment.every((elem, _index16) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
2919
|
+
path: _path + ".comment[" + _index16 + "]",
|
|
2920
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
2921
|
+
value: elem
|
|
2922
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2923
|
+
path: _path + ".comment",
|
|
2924
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2925
|
+
value: input.comment
|
|
2926
|
+
}, errorFactory)) && (undefined === input.assigned || (Array.isArray(input.assigned) || $guard(_exceptionable, {
|
|
2927
|
+
path: _path + ".assigned",
|
|
2928
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2929
|
+
value: input.assigned
|
|
2930
|
+
}, errorFactory)) && input.assigned.every((elem, _index17) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
2931
|
+
path: _path + ".assigned[" + _index17 + "]",
|
|
2932
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
2933
|
+
value: elem
|
|
2934
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2935
|
+
path: _path + ".assigned",
|
|
2936
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2937
|
+
value: input.assigned
|
|
2938
|
+
}, errorFactory)) && (undefined === input.unassigned || (Array.isArray(input.unassigned) || $guard(_exceptionable, {
|
|
2939
|
+
path: _path + ".unassigned",
|
|
2940
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2941
|
+
value: input.unassigned
|
|
2942
|
+
}, errorFactory)) && input.unassigned.every((elem, _index18) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
2943
|
+
path: _path + ".unassigned[" + _index18 + "]",
|
|
2944
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
2945
|
+
value: elem
|
|
2946
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2947
|
+
path: _path + ".unassigned",
|
|
2948
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2949
|
+
value: input.unassigned
|
|
2950
|
+
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
2951
|
+
path: _path + ".publishSucceeded",
|
|
2952
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
2953
|
+
value: input.publishSucceeded
|
|
2954
|
+
}, errorFactory)) && $ao48(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
2955
|
+
path: _path + ".publishSucceeded",
|
|
2956
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
2957
|
+
value: input.publishSucceeded
|
|
2958
|
+
}, errorFactory));
|
|
2959
|
+
const $ao48 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
2960
|
+
const value = input[key];
|
|
2961
|
+
if (undefined === value)
|
|
2962
|
+
return true;
|
|
2963
|
+
return undefined === value || (Array.isArray(value) || $guard(_exceptionable, {
|
|
2964
|
+
path: _path + $join(key),
|
|
2965
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2966
|
+
value: value
|
|
2967
|
+
}, errorFactory)) && value.every((elem, _index19) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
2968
|
+
path: _path + $join(key) + "[" + _index19 + "]",
|
|
2969
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
2970
|
+
value: elem
|
|
2971
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2972
|
+
path: _path + $join(key),
|
|
2973
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2974
|
+
value: value
|
|
2975
|
+
}, errorFactory);
|
|
2976
|
+
});
|
|
2462
2977
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2463
2978
|
path: _path + "",
|
|
2464
2979
|
expected: "PartialObjectDeep<Settings, __type>",
|
|
@@ -2497,33 +3012,44 @@ export const stringifySettingsRecord = input => {
|
|
|
2497
3012
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
2498
3013
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2499
3014
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2500
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.
|
|
2501
|
-
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
3015
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
3016
|
+
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
2502
3017
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2503
3018
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
2504
3019
|
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2505
|
-
const $io25 = input => undefined === input.
|
|
2506
|
-
const $io26 = input =>
|
|
2507
|
-
const $io27 = input => (undefined === input.
|
|
2508
|
-
const $io28 = input => "
|
|
2509
|
-
const $io29 = input =>
|
|
2510
|
-
const $io30 = input => undefined === input.
|
|
2511
|
-
const $io31 = input =>
|
|
2512
|
-
const $io32 = input => undefined === input.
|
|
2513
|
-
const $io33 = input =>
|
|
2514
|
-
const $io34 = input => undefined === input.
|
|
2515
|
-
const $io35 = input =>
|
|
2516
|
-
const $io36 = input => undefined === input.
|
|
3020
|
+
const $io25 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
3021
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
3022
|
+
const $io27 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io28(input.defaultValue));
|
|
3023
|
+
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
3024
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3025
|
+
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3026
|
+
const $io31 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3027
|
+
const $io32 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io33(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io34(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io38(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io40(input.item));
|
|
3028
|
+
const $io33 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
3029
|
+
const $io34 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io35(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io37(input.note));
|
|
3030
|
+
const $io35 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io36(input.excerpt);
|
|
3031
|
+
const $io36 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2517
3032
|
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2518
|
-
const $io38 = input => "
|
|
2519
|
-
const $io39 = input => undefined === input.
|
|
2520
|
-
const $io40 = input => undefined === input.
|
|
2521
|
-
const $io41 = input =>
|
|
2522
|
-
const $io42 = input =>
|
|
3033
|
+
const $io38 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io39(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
3034
|
+
const $io39 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
3035
|
+
const $io40 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3036
|
+
const $io41 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
3037
|
+
const $io42 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io43(input.adobe);
|
|
3038
|
+
const $io43 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3039
|
+
const $io44 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
3040
|
+
const $io45 = 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) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
3041
|
+
const $io46 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io47(input.events);
|
|
3042
|
+
const $io47 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io48(input.publishSucceeded));
|
|
3043
|
+
const $io48 = input => Object.keys(input).every(key => {
|
|
3044
|
+
const value = input[key];
|
|
3045
|
+
if (undefined === value)
|
|
3046
|
+
return true;
|
|
3047
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
3048
|
+
});
|
|
2523
3049
|
const $string = __typia.json.createStringify.string;
|
|
2524
3050
|
const $tail = __typia.json.createStringify.tail;
|
|
2525
3051
|
const $throws = __typia.json.createStringify.throws;
|
|
2526
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $
|
|
3052
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so31(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so32(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so42(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.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so44(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so45(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so46(input.notifications) : undefined}`}`)}}`;
|
|
2527
3053
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
2528
3054
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
2529
3055
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -2545,8 +3071,17 @@ export const stringifySettingsRecord = input => {
|
|
|
2545
3071
|
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
2546
3072
|
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
2547
3073
|
const $so19 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
2548
|
-
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.
|
|
2549
|
-
|
|
3074
|
+
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.editMode ? "" : `"editMode":${undefined !== input.editMode ? $so25(input.editMode) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so26(input.transcribe) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? (() => {
|
|
3075
|
+
if ("string" === typeof input.openCommand)
|
|
3076
|
+
return $string(input.openCommand);
|
|
3077
|
+
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|
|
3078
|
+
return $so30(input.openCommand);
|
|
3079
|
+
$throws({
|
|
3080
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
3081
|
+
value: input.openCommand
|
|
3082
|
+
});
|
|
3083
|
+
})() : undefined}`}`)}}`;
|
|
3084
|
+
const $so21 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined},`}${undefined === input.actionSafe ? "" : `"actionSafe":${undefined !== input.actionSafe ? input.actionSafe : undefined},`}${undefined === input.titleSafe ? "" : `"titleSafe":${undefined !== input.titleSafe ? input.titleSafe : undefined}`}`)}}`;
|
|
2550
3085
|
const $so22 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? (() => {
|
|
2551
3086
|
if ("string" === typeof input.preview)
|
|
2552
3087
|
return $string(input.preview);
|
|
@@ -2560,16 +3095,37 @@ export const stringifySettingsRecord = input => {
|
|
|
2560
3095
|
});
|
|
2561
3096
|
})() : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
2562
3097
|
const $so23 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
|
|
2563
|
-
const $so25 = input => `{${$tail(`${undefined === input.
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
3098
|
+
const $so25 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.defaultEnterOption ? "" : `"defaultEnterOption":${undefined !== input.defaultEnterOption ? (() => {
|
|
3099
|
+
if ("string" === typeof input.defaultEnterOption)
|
|
3100
|
+
return $string(input.defaultEnterOption);
|
|
3101
|
+
if ("string" === typeof input.defaultEnterOption)
|
|
3102
|
+
return "\"" + input.defaultEnterOption + "\"";
|
|
3103
|
+
$throws({
|
|
3104
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
3105
|
+
value: input.defaultEnterOption
|
|
3106
|
+
});
|
|
3107
|
+
})() : undefined},`}${undefined === input.defaultExitOption ? "" : `"defaultExitOption":${undefined !== input.defaultExitOption ? (() => {
|
|
3108
|
+
if ("string" === typeof input.defaultExitOption)
|
|
3109
|
+
return $string(input.defaultExitOption);
|
|
3110
|
+
if ("string" === typeof input.defaultExitOption)
|
|
3111
|
+
return "\"" + input.defaultExitOption + "\"";
|
|
3112
|
+
$throws({
|
|
3113
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
3114
|
+
value: input.defaultExitOption
|
|
3115
|
+
});
|
|
3116
|
+
})() : undefined}`}`)}}`;
|
|
3117
|
+
const $so26 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so27(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
3118
|
+
const $so27 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so28(input.defaultValue) : undefined}`}`)}}`;
|
|
3119
|
+
const $so28 = 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}`}`)}}`;
|
|
3120
|
+
const $so30 = input => `{${$tail(`${undefined === input.url ? "" : `"url":${undefined !== input.url ? $string(input.url) : undefined},`}${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.app ? "" : `"app":${undefined !== input.app ? $string(input.app) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3121
|
+
const $so31 = input => `{${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined},`}"title":${$string(input.title)}}`;
|
|
3122
|
+
const $so32 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so33(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so34(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so38(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so40(input.item) : undefined}`}`)}}`;
|
|
3123
|
+
const $so33 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
3124
|
+
const $so34 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so35(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so37(input.note) : undefined}`}`)}}`;
|
|
3125
|
+
const $so35 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so36(input.excerpt) : undefined}`}`)}}`;
|
|
3126
|
+
const $so36 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
3127
|
+
const $so37 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3128
|
+
const $so38 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so39(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
2573
3129
|
if ("string" === typeof input.sortMode)
|
|
2574
3130
|
return $string(input.sortMode);
|
|
2575
3131
|
if ("string" === typeof input.sortMode)
|
|
@@ -2579,17 +3135,57 @@ export const stringifySettingsRecord = input => {
|
|
|
2579
3135
|
value: input.sortMode
|
|
2580
3136
|
});
|
|
2581
3137
|
})() : undefined}`}`)}}`;
|
|
2582
|
-
const $
|
|
2583
|
-
const $
|
|
2584
|
-
const $
|
|
2585
|
-
const $
|
|
2586
|
-
const $
|
|
2587
|
-
const $
|
|
3138
|
+
const $so39 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
3139
|
+
const $so40 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3140
|
+
const $so42 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so43(input.adobe) : undefined}`}`)}}`;
|
|
3141
|
+
const $so43 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
3142
|
+
const $so44 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
3143
|
+
const $so45 = 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},`}${undefined === input.devWarnings ? "" : `"devWarnings":${undefined !== input.devWarnings ? input.devWarnings : undefined}`}`)}}`;
|
|
3144
|
+
const $so46 = input => `{${$tail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so47(input.events) : undefined}`}`)}}`;
|
|
3145
|
+
const $so47 = input => `{${$tail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => (() => {
|
|
3146
|
+
if ("string" === typeof elem)
|
|
3147
|
+
return $string(elem);
|
|
3148
|
+
if ("string" === typeof elem)
|
|
3149
|
+
return "\"" + elem + "\"";
|
|
3150
|
+
$throws({
|
|
3151
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3152
|
+
value: elem
|
|
3153
|
+
});
|
|
3154
|
+
})()).join(",")}]` : undefined},`}${undefined === input.assigned ? "" : `"assigned":${undefined !== input.assigned ? `[${input.assigned.map(elem => (() => {
|
|
3155
|
+
if ("string" === typeof elem)
|
|
3156
|
+
return $string(elem);
|
|
3157
|
+
if ("string" === typeof elem)
|
|
3158
|
+
return "\"" + elem + "\"";
|
|
3159
|
+
$throws({
|
|
3160
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3161
|
+
value: elem
|
|
3162
|
+
});
|
|
3163
|
+
})()).join(",")}]` : undefined},`}${undefined === input.unassigned ? "" : `"unassigned":${undefined !== input.unassigned ? `[${input.unassigned.map(elem => (() => {
|
|
3164
|
+
if ("string" === typeof elem)
|
|
3165
|
+
return $string(elem);
|
|
3166
|
+
if ("string" === typeof elem)
|
|
3167
|
+
return "\"" + elem + "\"";
|
|
3168
|
+
$throws({
|
|
3169
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3170
|
+
value: elem
|
|
3171
|
+
});
|
|
3172
|
+
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $so48(input.publishSucceeded) : undefined}`}`)}}`;
|
|
3173
|
+
const $so48 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3174
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? `[${value.map(elem => (() => {
|
|
3175
|
+
if ("string" === typeof elem)
|
|
3176
|
+
return $string(elem);
|
|
3177
|
+
if ("string" === typeof elem)
|
|
3178
|
+
return "\"" + elem + "\"";
|
|
3179
|
+
$throws({
|
|
3180
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3181
|
+
value: elem
|
|
3182
|
+
});
|
|
3183
|
+
})()).join(",")}]` : undefined}`; }).filter(str => "" !== str).join(",")}}`;
|
|
2588
3184
|
return $so0(input);
|
|
2589
3185
|
};
|
|
2590
3186
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
2591
3187
|
const __is = input => {
|
|
2592
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $
|
|
3188
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io31(elem))) && (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) && $io32(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io41(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io42(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io44(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io45(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io46(input.notifications));
|
|
2593
3189
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
2594
3190
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
2595
3191
|
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 => {
|
|
@@ -2616,29 +3212,40 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2616
3212
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
2617
3213
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2618
3214
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2619
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.
|
|
2620
|
-
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
3215
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
3216
|
+
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
2621
3217
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2622
3218
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine));
|
|
2623
3219
|
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2624
|
-
const $io25 = input => undefined === input.
|
|
2625
|
-
const $io26 = input =>
|
|
2626
|
-
const $io27 = input => (undefined === input.
|
|
2627
|
-
const $io28 = input => "
|
|
2628
|
-
const $io29 = input =>
|
|
2629
|
-
const $io30 = input => undefined === input.
|
|
2630
|
-
const $io31 = input =>
|
|
2631
|
-
const $io32 = input => undefined === input.
|
|
2632
|
-
const $io33 = input =>
|
|
2633
|
-
const $io34 = input => undefined === input.
|
|
2634
|
-
const $io35 = input =>
|
|
2635
|
-
const $io36 = input => undefined === input.
|
|
3220
|
+
const $io25 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
3221
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
3222
|
+
const $io27 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io28(input.defaultValue));
|
|
3223
|
+
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
|
|
3224
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3225
|
+
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3226
|
+
const $io31 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3227
|
+
const $io32 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io33(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io34(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io38(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io40(input.item));
|
|
3228
|
+
const $io33 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
3229
|
+
const $io34 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io35(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io37(input.note));
|
|
3230
|
+
const $io35 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io36(input.excerpt);
|
|
3231
|
+
const $io36 = input => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines)) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2636
3232
|
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
2637
|
-
const $io38 = input => "
|
|
2638
|
-
const $io39 = input => undefined === input.
|
|
2639
|
-
const $io40 = input => undefined === input.
|
|
2640
|
-
const $io41 = input =>
|
|
2641
|
-
const $io42 = input =>
|
|
3233
|
+
const $io38 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io39(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
3234
|
+
const $io39 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed);
|
|
3235
|
+
const $io40 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
3236
|
+
const $io41 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
3237
|
+
const $io42 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io43(input.adobe);
|
|
3238
|
+
const $io43 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3239
|
+
const $io44 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
3240
|
+
const $io45 = 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) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
3241
|
+
const $io46 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io47(input.events);
|
|
3242
|
+
const $io47 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io48(input.publishSucceeded));
|
|
3243
|
+
const $io48 = input => Object.keys(input).every(key => {
|
|
3244
|
+
const value = input[key];
|
|
3245
|
+
if (undefined === value)
|
|
3246
|
+
return true;
|
|
3247
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
3248
|
+
});
|
|
2642
3249
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2643
3250
|
};
|
|
2644
3251
|
if (false === __is(input))
|
|
@@ -2765,12 +3372,28 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2765
3372
|
path: _path + ".media",
|
|
2766
3373
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
2767
3374
|
value: input.media
|
|
3375
|
+
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
3376
|
+
path: _path + ".commands",
|
|
3377
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
3378
|
+
value: input.commands
|
|
3379
|
+
}, errorFactory)) && input.commands.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3380
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
3381
|
+
expected: "__type.o2",
|
|
3382
|
+
value: elem
|
|
3383
|
+
}, errorFactory)) && $ao31(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3384
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
3385
|
+
expected: "__type.o2",
|
|
3386
|
+
value: elem
|
|
3387
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
3388
|
+
path: _path + ".commands",
|
|
3389
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
3390
|
+
value: input.commands
|
|
2768
3391
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
2769
3392
|
path: _path + ".predefinedTags",
|
|
2770
3393
|
expected: "(Array<string> | undefined)",
|
|
2771
3394
|
value: input.predefinedTags
|
|
2772
|
-
}, errorFactory)) && input.predefinedTags.every((elem,
|
|
2773
|
-
path: _path + ".predefinedTags[" +
|
|
3395
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3396
|
+
path: _path + ".predefinedTags[" + _index2 + "]",
|
|
2774
3397
|
expected: "string",
|
|
2775
3398
|
value: elem
|
|
2776
3399
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2779,35 +3402,35 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2779
3402
|
value: input.predefinedTags
|
|
2780
3403
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
2781
3404
|
path: _path + ".storyboard",
|
|
2782
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3405
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2783
3406
|
value: input.storyboard
|
|
2784
|
-
}, errorFactory)) && $
|
|
3407
|
+
}, errorFactory)) && $ao32(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
2785
3408
|
path: _path + ".storyboard",
|
|
2786
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3409
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2787
3410
|
value: input.storyboard
|
|
2788
3411
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
2789
3412
|
path: _path + ".hiddenPreviews",
|
|
2790
|
-
expected: "(Array<__type>.
|
|
3413
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
2791
3414
|
value: input.hiddenPreviews
|
|
2792
|
-
}, errorFactory)) && input.hiddenPreviews.every((elem,
|
|
2793
|
-
path: _path + ".hiddenPreviews[" +
|
|
2794
|
-
expected: "__type.
|
|
3415
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3416
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
3417
|
+
expected: "__type.o3",
|
|
2795
3418
|
value: elem
|
|
2796
|
-
}, errorFactory)) && $
|
|
2797
|
-
path: _path + ".hiddenPreviews[" +
|
|
2798
|
-
expected: "__type.
|
|
3419
|
+
}, errorFactory)) && $ao41(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3420
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
3421
|
+
expected: "__type.o3",
|
|
2799
3422
|
value: elem
|
|
2800
3423
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
2801
3424
|
path: _path + ".hiddenPreviews",
|
|
2802
|
-
expected: "(Array<__type>.
|
|
3425
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
2803
3426
|
value: input.hiddenPreviews
|
|
2804
3427
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
2805
3428
|
path: _path + ".plugins",
|
|
2806
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3429
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2807
3430
|
value: input.plugins
|
|
2808
|
-
}, errorFactory)) && $
|
|
3431
|
+
}, errorFactory)) && $ao42(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
2809
3432
|
path: _path + ".plugins",
|
|
2810
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3433
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2811
3434
|
value: input.plugins
|
|
2812
3435
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
2813
3436
|
path: _path + ".crashScreen",
|
|
@@ -2819,20 +3442,28 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2819
3442
|
value: input.debug
|
|
2820
3443
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
2821
3444
|
path: _path + ".featurePreview",
|
|
2822
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3445
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
2823
3446
|
value: input.featurePreview
|
|
2824
|
-
}, errorFactory)) && $
|
|
3447
|
+
}, errorFactory)) && $ao44(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
2825
3448
|
path: _path + ".featurePreview",
|
|
2826
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3449
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
2827
3450
|
value: input.featurePreview
|
|
2828
3451
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
2829
3452
|
path: _path + ".flags",
|
|
2830
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3453
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
2831
3454
|
value: input.flags
|
|
2832
|
-
}, errorFactory)) && $
|
|
3455
|
+
}, errorFactory)) && $ao45(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2833
3456
|
path: _path + ".flags",
|
|
2834
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3457
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
2835
3458
|
value: input.flags
|
|
3459
|
+
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
3460
|
+
path: _path + ".notifications",
|
|
3461
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
3462
|
+
value: input.notifications
|
|
3463
|
+
}, errorFactory)) && $ao46(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
3464
|
+
path: _path + ".notifications",
|
|
3465
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
3466
|
+
value: input.notifications
|
|
2836
3467
|
}, errorFactory));
|
|
2837
3468
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
2838
3469
|
path: _path + ".overrideUserContact",
|
|
@@ -2903,8 +3534,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2903
3534
|
path: _path + ".sortOrder",
|
|
2904
3535
|
expected: "(Array<string> | undefined)",
|
|
2905
3536
|
value: input.sortOrder
|
|
2906
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
2907
|
-
path: _path + ".sortOrder[" +
|
|
3537
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3538
|
+
path: _path + ".sortOrder[" + _index4 + "]",
|
|
2908
3539
|
expected: "string",
|
|
2909
3540
|
value: elem
|
|
2910
3541
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2916,8 +3547,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2916
3547
|
path: _path + ".exclude",
|
|
2917
3548
|
expected: "(Array<string> | undefined)",
|
|
2918
3549
|
value: input.exclude
|
|
2919
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2920
|
-
path: _path + ".exclude[" +
|
|
3550
|
+
}, errorFactory)) && input.exclude.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3551
|
+
path: _path + ".exclude[" + _index5 + "]",
|
|
2921
3552
|
expected: "string",
|
|
2922
3553
|
value: elem
|
|
2923
3554
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2929,8 +3560,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2929
3560
|
path: _path + ".include",
|
|
2930
3561
|
expected: "(Array<string> | undefined)",
|
|
2931
3562
|
value: input.include
|
|
2932
|
-
}, errorFactory)) && input.include.every((elem,
|
|
2933
|
-
path: _path + ".include[" +
|
|
3563
|
+
}, errorFactory)) && input.include.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3564
|
+
path: _path + ".include[" + _index6 + "]",
|
|
2934
3565
|
expected: "string",
|
|
2935
3566
|
value: elem
|
|
2936
3567
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2941,8 +3572,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2941
3572
|
path: _path + ".exclude",
|
|
2942
3573
|
expected: "(Array<string> | undefined)",
|
|
2943
3574
|
value: input.exclude
|
|
2944
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2945
|
-
path: _path + ".exclude[" +
|
|
3575
|
+
}, errorFactory)) && input.exclude.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3576
|
+
path: _path + ".exclude[" + _index7 + "]",
|
|
2946
3577
|
expected: "string",
|
|
2947
3578
|
value: elem
|
|
2948
3579
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2954,8 +3585,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2954
3585
|
path: _path + ".include",
|
|
2955
3586
|
expected: "(Array<string> | undefined)",
|
|
2956
3587
|
value: input.include
|
|
2957
|
-
}, errorFactory)) && input.include.every((elem,
|
|
2958
|
-
path: _path + ".include[" +
|
|
3588
|
+
}, errorFactory)) && input.include.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3589
|
+
path: _path + ".include[" + _index8 + "]",
|
|
2959
3590
|
expected: "string",
|
|
2960
3591
|
value: elem
|
|
2961
3592
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2966,8 +3597,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2966
3597
|
path: _path + ".exclude",
|
|
2967
3598
|
expected: "(Array<string> | undefined)",
|
|
2968
3599
|
value: input.exclude
|
|
2969
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2970
|
-
path: _path + ".exclude[" +
|
|
3600
|
+
}, errorFactory)) && input.exclude.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3601
|
+
path: _path + ".exclude[" + _index9 + "]",
|
|
2971
3602
|
expected: "string",
|
|
2972
3603
|
value: elem
|
|
2973
3604
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3034,12 +3665,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3034
3665
|
path: _path + ".colorTags",
|
|
3035
3666
|
expected: "(Array<PromotedTag> | undefined)",
|
|
3036
3667
|
value: input.colorTags
|
|
3037
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
3038
|
-
path: _path + ".colorTags[" +
|
|
3668
|
+
}, errorFactory)) && input.colorTags.every((elem, _index10) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3669
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
3039
3670
|
expected: "PromotedTag",
|
|
3040
3671
|
value: elem
|
|
3041
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
3042
|
-
path: _path + ".colorTags[" +
|
|
3672
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index10 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3673
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
3043
3674
|
expected: "PromotedTag",
|
|
3044
3675
|
value: elem
|
|
3045
3676
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3088,10 +3719,6 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3088
3719
|
path: _path + ".placeholder",
|
|
3089
3720
|
expected: "(string | undefined)",
|
|
3090
3721
|
value: input.placeholder
|
|
3091
|
-
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || $guard(_exceptionable, {
|
|
3092
|
-
path: _path + ".openCommand",
|
|
3093
|
-
expected: "(string | undefined)",
|
|
3094
|
-
value: input.openCommand
|
|
3095
3722
|
}, errorFactory)) && (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
3096
3723
|
path: _path + ".guide",
|
|
3097
3724
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
@@ -3144,8 +3771,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3144
3771
|
path: _path + ".playbackRates",
|
|
3145
3772
|
expected: "(Array<number> | undefined)",
|
|
3146
3773
|
value: input.playbackRates
|
|
3147
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
3148
|
-
path: _path + ".playbackRates[" +
|
|
3774
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index11) => "number" === typeof elem && !Number.isNaN(elem) || $guard(_exceptionable, {
|
|
3775
|
+
path: _path + ".playbackRates[" + _index11 + "]",
|
|
3149
3776
|
expected: "number",
|
|
3150
3777
|
value: elem
|
|
3151
3778
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3172,12 +3799,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3172
3799
|
path: _path + ".guides",
|
|
3173
3800
|
expected: "(Array<__type> | undefined)",
|
|
3174
3801
|
value: input.guides
|
|
3175
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
3176
|
-
path: _path + ".guides[" +
|
|
3802
|
+
}, errorFactory)) && input.guides.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3803
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
3177
3804
|
expected: "__type",
|
|
3178
3805
|
value: elem
|
|
3179
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
3180
|
-
path: _path + ".guides[" +
|
|
3806
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3807
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
3181
3808
|
expected: "__type",
|
|
3182
3809
|
value: elem
|
|
3183
3810
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3188,20 +3815,48 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3188
3815
|
path: _path + ".download",
|
|
3189
3816
|
expected: "(boolean | undefined)",
|
|
3190
3817
|
value: input.download
|
|
3818
|
+
}, errorFactory)) && (undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || $guard(_exceptionable, {
|
|
3819
|
+
path: _path + ".editMode",
|
|
3820
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
3821
|
+
value: input.editMode
|
|
3822
|
+
}, errorFactory)) && $ao25(input.editMode, _path + ".editMode", true && _exceptionable) || $guard(_exceptionable, {
|
|
3823
|
+
path: _path + ".editMode",
|
|
3824
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
3825
|
+
value: input.editMode
|
|
3191
3826
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
3192
3827
|
path: _path + ".transcribe",
|
|
3193
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3828
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
3194
3829
|
value: input.transcribe
|
|
3195
|
-
}, errorFactory)) && $
|
|
3830
|
+
}, errorFactory)) && $ao26(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
3196
3831
|
path: _path + ".transcribe",
|
|
3197
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3832
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
3198
3833
|
value: input.transcribe
|
|
3199
|
-
}, errorFactory))
|
|
3200
|
-
|
|
3834
|
+
}, errorFactory)) && ((null !== input.openCommand || $guard(_exceptionable, {
|
|
3835
|
+
path: _path + ".openCommand",
|
|
3836
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
3837
|
+
value: input.openCommand
|
|
3838
|
+
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || $guard(_exceptionable, {
|
|
3839
|
+
path: _path + ".openCommand",
|
|
3840
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
3841
|
+
value: input.openCommand
|
|
3842
|
+
}, errorFactory)) && $ao30(input.openCommand, _path + ".openCommand", true && _exceptionable) || $guard(_exceptionable, {
|
|
3843
|
+
path: _path + ".openCommand",
|
|
3844
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
3845
|
+
value: input.openCommand
|
|
3846
|
+
}, errorFactory)));
|
|
3847
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
3201
3848
|
path: _path + ".mask",
|
|
3202
3849
|
expected: "(boolean | undefined)",
|
|
3203
3850
|
value: input.mask
|
|
3204
|
-
}, errorFactory)
|
|
3851
|
+
}, errorFactory)) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe || $guard(_exceptionable, {
|
|
3852
|
+
path: _path + ".actionSafe",
|
|
3853
|
+
expected: "(boolean | undefined)",
|
|
3854
|
+
value: input.actionSafe
|
|
3855
|
+
}, errorFactory)) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe || $guard(_exceptionable, {
|
|
3856
|
+
path: _path + ".titleSafe",
|
|
3857
|
+
expected: "(boolean | undefined)",
|
|
3858
|
+
value: input.titleSafe
|
|
3859
|
+
}, errorFactory));
|
|
3205
3860
|
const $ao22 = (input, _path, _exceptionable = true) => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview || $guard(_exceptionable, {
|
|
3206
3861
|
path: _path + ".preview",
|
|
3207
3862
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
@@ -3229,29 +3884,42 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3229
3884
|
expected: "string",
|
|
3230
3885
|
value: input.aspectRatio
|
|
3231
3886
|
}, errorFactory));
|
|
3232
|
-
const $ao25 = (input, _path, _exceptionable = true) => undefined === input.
|
|
3887
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.enabled || "boolean" === typeof input.enabled || $guard(_exceptionable, {
|
|
3888
|
+
path: _path + ".enabled",
|
|
3889
|
+
expected: "(boolean | undefined)",
|
|
3890
|
+
value: input.enabled
|
|
3891
|
+
}, errorFactory)) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption || $guard(_exceptionable, {
|
|
3892
|
+
path: _path + ".defaultEnterOption",
|
|
3893
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
3894
|
+
value: input.defaultEnterOption
|
|
3895
|
+
}, errorFactory)) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption || $guard(_exceptionable, {
|
|
3896
|
+
path: _path + ".defaultExitOption",
|
|
3897
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
3898
|
+
value: input.defaultExitOption
|
|
3899
|
+
}, errorFactory));
|
|
3900
|
+
const $ao26 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
3233
3901
|
path: _path + ".subtitleDisclaimer",
|
|
3234
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3902
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
3235
3903
|
value: input.subtitleDisclaimer
|
|
3236
|
-
}, errorFactory)) && $
|
|
3904
|
+
}, errorFactory)) && $ao27(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
3237
3905
|
path: _path + ".subtitleDisclaimer",
|
|
3238
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3906
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
3239
3907
|
value: input.subtitleDisclaimer
|
|
3240
3908
|
}, errorFactory);
|
|
3241
|
-
const $
|
|
3909
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
3242
3910
|
path: _path + ".isUserConfigurable",
|
|
3243
3911
|
expected: "(boolean | undefined)",
|
|
3244
3912
|
value: input.isUserConfigurable
|
|
3245
3913
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
3246
3914
|
path: _path + ".defaultValue",
|
|
3247
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3915
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
3248
3916
|
value: input.defaultValue
|
|
3249
|
-
}, errorFactory)) && $
|
|
3917
|
+
}, errorFactory)) && $ao28(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
3250
3918
|
path: _path + ".defaultValue",
|
|
3251
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3919
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
3252
3920
|
value: input.defaultValue
|
|
3253
3921
|
}, errorFactory));
|
|
3254
|
-
const $
|
|
3922
|
+
const $ao28 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
3255
3923
|
path: _path + ".enabled",
|
|
3256
3924
|
expected: "(false | undefined)",
|
|
3257
3925
|
value: input.enabled
|
|
@@ -3259,12 +3927,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3259
3927
|
path: _path + ".text",
|
|
3260
3928
|
expected: "(Array<__type>.o1 | undefined)",
|
|
3261
3929
|
value: input.text
|
|
3262
|
-
}, errorFactory)) && input.text.every((elem,
|
|
3263
|
-
path: _path + ".text[" +
|
|
3930
|
+
}, errorFactory)) && input.text.every((elem, _index13) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3931
|
+
path: _path + ".text[" + _index13 + "]",
|
|
3264
3932
|
expected: "__type.o1",
|
|
3265
3933
|
value: elem
|
|
3266
|
-
}, errorFactory)) && $
|
|
3267
|
-
path: _path + ".text[" +
|
|
3934
|
+
}, errorFactory)) && $ao29(elem, _path + ".text[" + _index13 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3935
|
+
path: _path + ".text[" + _index13 + "]",
|
|
3268
3936
|
expected: "__type.o1",
|
|
3269
3937
|
value: elem
|
|
3270
3938
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3280,7 +3948,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3280
3948
|
expected: "(number | undefined)",
|
|
3281
3949
|
value: input.duration
|
|
3282
3950
|
}, errorFactory));
|
|
3283
|
-
const $
|
|
3951
|
+
const $ao29 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
3284
3952
|
path: _path + ".language",
|
|
3285
3953
|
expected: "string",
|
|
3286
3954
|
value: input.language
|
|
@@ -3289,71 +3957,117 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3289
3957
|
expected: "string",
|
|
3290
3958
|
value: input.value
|
|
3291
3959
|
}, errorFactory));
|
|
3292
|
-
const $
|
|
3960
|
+
const $ao30 = (input, _path, _exceptionable = true) => (undefined === input.url || "string" === typeof input.url || $guard(_exceptionable, {
|
|
3961
|
+
path: _path + ".url",
|
|
3962
|
+
expected: "(string | undefined)",
|
|
3963
|
+
value: input.url
|
|
3964
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
3965
|
+
path: _path + ".command",
|
|
3966
|
+
expected: "(string | undefined)",
|
|
3967
|
+
value: input.command
|
|
3968
|
+
}, errorFactory)) && (undefined === input.app || "string" === typeof input.app || $guard(_exceptionable, {
|
|
3969
|
+
path: _path + ".app",
|
|
3970
|
+
expected: "(string | undefined)",
|
|
3971
|
+
value: input.app
|
|
3972
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
3973
|
+
path: _path + ".args",
|
|
3974
|
+
expected: "(Array<string> | undefined)",
|
|
3975
|
+
value: input.args
|
|
3976
|
+
}, errorFactory)) && input.args.every((elem, _index14) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3977
|
+
path: _path + ".args[" + _index14 + "]",
|
|
3978
|
+
expected: "string",
|
|
3979
|
+
value: elem
|
|
3980
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
3981
|
+
path: _path + ".args",
|
|
3982
|
+
expected: "(Array<string> | undefined)",
|
|
3983
|
+
value: input.args
|
|
3984
|
+
}, errorFactory));
|
|
3985
|
+
const $ao31 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
3986
|
+
path: _path + ".title",
|
|
3987
|
+
expected: "string",
|
|
3988
|
+
value: input.title
|
|
3989
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
3990
|
+
path: _path + ".command",
|
|
3991
|
+
expected: "(string | undefined)",
|
|
3992
|
+
value: input.command
|
|
3993
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
3994
|
+
path: _path + ".args",
|
|
3995
|
+
expected: "(Array<string> | undefined)",
|
|
3996
|
+
value: input.args
|
|
3997
|
+
}, errorFactory)) && input.args.every((elem, _index15) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3998
|
+
path: _path + ".args[" + _index15 + "]",
|
|
3999
|
+
expected: "string",
|
|
4000
|
+
value: elem
|
|
4001
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4002
|
+
path: _path + ".args",
|
|
4003
|
+
expected: "(Array<string> | undefined)",
|
|
4004
|
+
value: input.args
|
|
4005
|
+
}, errorFactory));
|
|
4006
|
+
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
3293
4007
|
path: _path + ".folded",
|
|
3294
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4008
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
3295
4009
|
value: input.folded
|
|
3296
|
-
}, errorFactory)) && $
|
|
4010
|
+
}, errorFactory)) && $ao33(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
3297
4011
|
path: _path + ".folded",
|
|
3298
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4012
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
3299
4013
|
value: input.folded
|
|
3300
4014
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
3301
4015
|
path: _path + ".assets",
|
|
3302
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4016
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
3303
4017
|
value: input.assets
|
|
3304
|
-
}, errorFactory)) && $
|
|
4018
|
+
}, errorFactory)) && $ao34(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
3305
4019
|
path: _path + ".assets",
|
|
3306
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4020
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
3307
4021
|
value: input.assets
|
|
3308
4022
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
3309
4023
|
path: _path + ".pipeline",
|
|
3310
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4024
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
3311
4025
|
value: input.pipeline
|
|
3312
|
-
}, errorFactory)) && $
|
|
4026
|
+
}, errorFactory)) && $ao38(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
3313
4027
|
path: _path + ".pipeline",
|
|
3314
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4028
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
3315
4029
|
value: input.pipeline
|
|
3316
4030
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
3317
4031
|
path: _path + ".item",
|
|
3318
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4032
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
3319
4033
|
value: input.item
|
|
3320
|
-
}, errorFactory)) && $
|
|
4034
|
+
}, errorFactory)) && $ao40(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
3321
4035
|
path: _path + ".item",
|
|
3322
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4036
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
3323
4037
|
value: input.item
|
|
3324
4038
|
}, errorFactory));
|
|
3325
|
-
const $
|
|
4039
|
+
const $ao33 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
3326
4040
|
path: _path + ".auto",
|
|
3327
4041
|
expected: "(boolean | undefined)",
|
|
3328
4042
|
value: input.auto
|
|
3329
4043
|
}, errorFactory);
|
|
3330
|
-
const $
|
|
4044
|
+
const $ao34 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
3331
4045
|
path: _path + ".story",
|
|
3332
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4046
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
3333
4047
|
value: input.story
|
|
3334
|
-
}, errorFactory)) && $
|
|
4048
|
+
}, errorFactory)) && $ao35(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
3335
4049
|
path: _path + ".story",
|
|
3336
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4050
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
3337
4051
|
value: input.story
|
|
3338
4052
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
3339
4053
|
path: _path + ".note",
|
|
3340
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4054
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
3341
4055
|
value: input.note
|
|
3342
|
-
}, errorFactory)) && $
|
|
4056
|
+
}, errorFactory)) && $ao37(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
3343
4057
|
path: _path + ".note",
|
|
3344
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4058
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
3345
4059
|
value: input.note
|
|
3346
4060
|
}, errorFactory));
|
|
3347
|
-
const $
|
|
4061
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
3348
4062
|
path: _path + ".excerpt",
|
|
3349
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4063
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
3350
4064
|
value: input.excerpt
|
|
3351
|
-
}, errorFactory)) && $
|
|
4065
|
+
}, errorFactory)) && $ao36(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
3352
4066
|
path: _path + ".excerpt",
|
|
3353
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4067
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
3354
4068
|
value: input.excerpt
|
|
3355
4069
|
}, errorFactory);
|
|
3356
|
-
const $
|
|
4070
|
+
const $ao36 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
3357
4071
|
path: _path + ".maxLines",
|
|
3358
4072
|
expected: "(number | undefined)",
|
|
3359
4073
|
value: input.maxLines
|
|
@@ -3362,35 +4076,35 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3362
4076
|
expected: "(string | undefined)",
|
|
3363
4077
|
value: input.mode
|
|
3364
4078
|
}, errorFactory));
|
|
3365
|
-
const $
|
|
4079
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
3366
4080
|
path: _path + ".maxHeight",
|
|
3367
4081
|
expected: "(number | undefined)",
|
|
3368
4082
|
value: input.maxHeight
|
|
3369
4083
|
}, errorFactory);
|
|
3370
|
-
const $
|
|
4084
|
+
const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
3371
4085
|
path: _path + ".search",
|
|
3372
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4086
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
3373
4087
|
value: input.search
|
|
3374
|
-
}, errorFactory)) && $
|
|
4088
|
+
}, errorFactory)) && $ao39(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
3375
4089
|
path: _path + ".search",
|
|
3376
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4090
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
3377
4091
|
value: input.search
|
|
3378
4092
|
}, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
|
|
3379
4093
|
path: _path + ".sortMode",
|
|
3380
4094
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
3381
4095
|
value: input.sortMode
|
|
3382
4096
|
}, errorFactory));
|
|
3383
|
-
const $
|
|
4097
|
+
const $ao39 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
3384
4098
|
path: _path + ".maxItemsDisplayed",
|
|
3385
4099
|
expected: "(number | undefined)",
|
|
3386
4100
|
value: input.maxItemsDisplayed
|
|
3387
4101
|
}, errorFactory);
|
|
3388
|
-
const $
|
|
4102
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
3389
4103
|
path: _path + ".maxHeight",
|
|
3390
4104
|
expected: "(number | undefined)",
|
|
3391
4105
|
value: input.maxHeight
|
|
3392
4106
|
}, errorFactory);
|
|
3393
|
-
const $
|
|
4107
|
+
const $ao41 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
3394
4108
|
path: _path + ".id",
|
|
3395
4109
|
expected: "string",
|
|
3396
4110
|
value: input.id
|
|
@@ -3399,26 +4113,26 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3399
4113
|
expected: "boolean",
|
|
3400
4114
|
value: input.folded
|
|
3401
4115
|
}, errorFactory));
|
|
3402
|
-
const $
|
|
4116
|
+
const $ao42 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
3403
4117
|
path: _path + ".adobe",
|
|
3404
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4118
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
3405
4119
|
value: input.adobe
|
|
3406
|
-
}, errorFactory)) && $
|
|
4120
|
+
}, errorFactory)) && $ao43(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
3407
4121
|
path: _path + ".adobe",
|
|
3408
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4122
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
3409
4123
|
value: input.adobe
|
|
3410
4124
|
}, errorFactory);
|
|
3411
|
-
const $
|
|
4125
|
+
const $ao43 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
3412
4126
|
path: _path + ".useProxies",
|
|
3413
4127
|
expected: "(boolean | undefined)",
|
|
3414
4128
|
value: input.useProxies
|
|
3415
4129
|
}, errorFactory);
|
|
3416
|
-
const $
|
|
4130
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
3417
4131
|
path: _path + ".collections",
|
|
3418
4132
|
expected: "(boolean | undefined)",
|
|
3419
4133
|
value: input.collections
|
|
3420
4134
|
}, errorFactory);
|
|
3421
|
-
const $
|
|
4135
|
+
const $ao45 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
3422
4136
|
path: _path + ".utils",
|
|
3423
4137
|
expected: "(boolean | undefined)",
|
|
3424
4138
|
value: input.utils
|
|
@@ -3479,6 +4193,78 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3479
4193
|
expected: "(boolean | undefined)",
|
|
3480
4194
|
value: input.devWarnings
|
|
3481
4195
|
}, errorFactory));
|
|
4196
|
+
const $ao46 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
4197
|
+
path: _path + ".events",
|
|
4198
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
4199
|
+
value: input.events
|
|
4200
|
+
}, errorFactory)) && $ao47(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
4201
|
+
path: _path + ".events",
|
|
4202
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
4203
|
+
value: input.events
|
|
4204
|
+
}, errorFactory);
|
|
4205
|
+
const $ao47 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
4206
|
+
path: _path + ".comment",
|
|
4207
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4208
|
+
value: input.comment
|
|
4209
|
+
}, errorFactory)) && input.comment.every((elem, _index16) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4210
|
+
path: _path + ".comment[" + _index16 + "]",
|
|
4211
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4212
|
+
value: elem
|
|
4213
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4214
|
+
path: _path + ".comment",
|
|
4215
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4216
|
+
value: input.comment
|
|
4217
|
+
}, errorFactory)) && (undefined === input.assigned || (Array.isArray(input.assigned) || $guard(_exceptionable, {
|
|
4218
|
+
path: _path + ".assigned",
|
|
4219
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4220
|
+
value: input.assigned
|
|
4221
|
+
}, errorFactory)) && input.assigned.every((elem, _index17) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4222
|
+
path: _path + ".assigned[" + _index17 + "]",
|
|
4223
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4224
|
+
value: elem
|
|
4225
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4226
|
+
path: _path + ".assigned",
|
|
4227
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4228
|
+
value: input.assigned
|
|
4229
|
+
}, errorFactory)) && (undefined === input.unassigned || (Array.isArray(input.unassigned) || $guard(_exceptionable, {
|
|
4230
|
+
path: _path + ".unassigned",
|
|
4231
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4232
|
+
value: input.unassigned
|
|
4233
|
+
}, errorFactory)) && input.unassigned.every((elem, _index18) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4234
|
+
path: _path + ".unassigned[" + _index18 + "]",
|
|
4235
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4236
|
+
value: elem
|
|
4237
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4238
|
+
path: _path + ".unassigned",
|
|
4239
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4240
|
+
value: input.unassigned
|
|
4241
|
+
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
4242
|
+
path: _path + ".publishSucceeded",
|
|
4243
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
4244
|
+
value: input.publishSucceeded
|
|
4245
|
+
}, errorFactory)) && $ao48(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
4246
|
+
path: _path + ".publishSucceeded",
|
|
4247
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
4248
|
+
value: input.publishSucceeded
|
|
4249
|
+
}, errorFactory));
|
|
4250
|
+
const $ao48 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
4251
|
+
const value = input[key];
|
|
4252
|
+
if (undefined === value)
|
|
4253
|
+
return true;
|
|
4254
|
+
return undefined === value || (Array.isArray(value) || $guard(_exceptionable, {
|
|
4255
|
+
path: _path + $join(key),
|
|
4256
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4257
|
+
value: value
|
|
4258
|
+
}, errorFactory)) && value.every((elem, _index19) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4259
|
+
path: _path + $join(key) + "[" + _index19 + "]",
|
|
4260
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4261
|
+
value: elem
|
|
4262
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4263
|
+
path: _path + $join(key),
|
|
4264
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4265
|
+
value: value
|
|
4266
|
+
}, errorFactory);
|
|
4267
|
+
});
|
|
3482
4268
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
3483
4269
|
path: _path + "",
|
|
3484
4270
|
expected: "PartialObjectDeep<Settings, __type>",
|
|
@@ -3517,33 +4303,44 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3517
4303
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
3518
4304
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
3519
4305
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
3520
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.
|
|
3521
|
-
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
4306
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
4307
|
+
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
3522
4308
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
3523
4309
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
3524
4310
|
const $io24 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
3525
|
-
const $io25 = input => undefined === input.
|
|
3526
|
-
const $io26 = input =>
|
|
3527
|
-
const $io27 = input => (undefined === input.
|
|
3528
|
-
const $io28 = input => "
|
|
3529
|
-
const $io29 = input =>
|
|
3530
|
-
const $io30 = input => undefined === input.
|
|
3531
|
-
const $io31 = input =>
|
|
3532
|
-
const $io32 = input => undefined === input.
|
|
3533
|
-
const $io33 = input =>
|
|
3534
|
-
const $io34 = input => undefined === input.
|
|
3535
|
-
const $io35 = input =>
|
|
3536
|
-
const $io36 = input => undefined === input.
|
|
4311
|
+
const $io25 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
4312
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
4313
|
+
const $io27 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io28(input.defaultValue));
|
|
4314
|
+
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
4315
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
4316
|
+
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
4317
|
+
const $io31 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
4318
|
+
const $io32 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io33(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io34(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io38(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io40(input.item));
|
|
4319
|
+
const $io33 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
4320
|
+
const $io34 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io35(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io37(input.note));
|
|
4321
|
+
const $io35 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io36(input.excerpt);
|
|
4322
|
+
const $io36 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3537
4323
|
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3538
|
-
const $io38 = input => "
|
|
3539
|
-
const $io39 = input => undefined === input.
|
|
3540
|
-
const $io40 = input => undefined === input.
|
|
3541
|
-
const $io41 = input =>
|
|
3542
|
-
const $io42 = input =>
|
|
4324
|
+
const $io38 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io39(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
4325
|
+
const $io39 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
4326
|
+
const $io40 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
4327
|
+
const $io41 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
4328
|
+
const $io42 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io43(input.adobe);
|
|
4329
|
+
const $io43 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
4330
|
+
const $io44 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
4331
|
+
const $io45 = 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) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
4332
|
+
const $io46 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io47(input.events);
|
|
4333
|
+
const $io47 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io48(input.publishSucceeded));
|
|
4334
|
+
const $io48 = input => Object.keys(input).every(key => {
|
|
4335
|
+
const value = input[key];
|
|
4336
|
+
if (undefined === value)
|
|
4337
|
+
return true;
|
|
4338
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
4339
|
+
});
|
|
3543
4340
|
const $string = __typia.json.createAssertStringify.string;
|
|
3544
4341
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
3545
4342
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
3546
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $
|
|
4343
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so31(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so32(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so42(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.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so44(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so45(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so46(input.notifications) : undefined}`}`)}}`;
|
|
3547
4344
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
3548
4345
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
3549
4346
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -3565,8 +4362,17 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3565
4362
|
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
3566
4363
|
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
3567
4364
|
const $so19 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
3568
|
-
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.
|
|
3569
|
-
|
|
4365
|
+
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.editMode ? "" : `"editMode":${undefined !== input.editMode ? $so25(input.editMode) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so26(input.transcribe) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? (() => {
|
|
4366
|
+
if ("string" === typeof input.openCommand)
|
|
4367
|
+
return $string(input.openCommand);
|
|
4368
|
+
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|
|
4369
|
+
return $so30(input.openCommand);
|
|
4370
|
+
$throws({
|
|
4371
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
4372
|
+
value: input.openCommand
|
|
4373
|
+
});
|
|
4374
|
+
})() : undefined}`}`)}}`;
|
|
4375
|
+
const $so21 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined},`}${undefined === input.actionSafe ? "" : `"actionSafe":${undefined !== input.actionSafe ? input.actionSafe : undefined},`}${undefined === input.titleSafe ? "" : `"titleSafe":${undefined !== input.titleSafe ? input.titleSafe : undefined}`}`)}}`;
|
|
3570
4376
|
const $so22 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? (() => {
|
|
3571
4377
|
if ("string" === typeof input.preview)
|
|
3572
4378
|
return $string(input.preview);
|
|
@@ -3580,16 +4386,37 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3580
4386
|
});
|
|
3581
4387
|
})() : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
3582
4388
|
const $so23 = input => `{${$tail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined}`}`)}}`;
|
|
3583
|
-
const $so25 = input => `{${$tail(`${undefined === input.
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
4389
|
+
const $so25 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.defaultEnterOption ? "" : `"defaultEnterOption":${undefined !== input.defaultEnterOption ? (() => {
|
|
4390
|
+
if ("string" === typeof input.defaultEnterOption)
|
|
4391
|
+
return $string(input.defaultEnterOption);
|
|
4392
|
+
if ("string" === typeof input.defaultEnterOption)
|
|
4393
|
+
return "\"" + input.defaultEnterOption + "\"";
|
|
4394
|
+
$throws({
|
|
4395
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
4396
|
+
value: input.defaultEnterOption
|
|
4397
|
+
});
|
|
4398
|
+
})() : undefined},`}${undefined === input.defaultExitOption ? "" : `"defaultExitOption":${undefined !== input.defaultExitOption ? (() => {
|
|
4399
|
+
if ("string" === typeof input.defaultExitOption)
|
|
4400
|
+
return $string(input.defaultExitOption);
|
|
4401
|
+
if ("string" === typeof input.defaultExitOption)
|
|
4402
|
+
return "\"" + input.defaultExitOption + "\"";
|
|
4403
|
+
$throws({
|
|
4404
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
4405
|
+
value: input.defaultExitOption
|
|
4406
|
+
});
|
|
4407
|
+
})() : undefined}`}`)}}`;
|
|
4408
|
+
const $so26 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so27(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
4409
|
+
const $so27 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so28(input.defaultValue) : undefined}`}`)}}`;
|
|
4410
|
+
const $so28 = 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}`}`)}}`;
|
|
4411
|
+
const $so30 = input => `{${$tail(`${undefined === input.url ? "" : `"url":${undefined !== input.url ? $string(input.url) : undefined},`}${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.app ? "" : `"app":${undefined !== input.app ? $string(input.app) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
4412
|
+
const $so31 = input => `{${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined},`}"title":${$string(input.title)}}`;
|
|
4413
|
+
const $so32 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so33(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so34(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so38(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so40(input.item) : undefined}`}`)}}`;
|
|
4414
|
+
const $so33 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
4415
|
+
const $so34 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so35(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so37(input.note) : undefined}`}`)}}`;
|
|
4416
|
+
const $so35 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so36(input.excerpt) : undefined}`}`)}}`;
|
|
4417
|
+
const $so36 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
4418
|
+
const $so37 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
4419
|
+
const $so38 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so39(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
3593
4420
|
if ("string" === typeof input.sortMode)
|
|
3594
4421
|
return $string(input.sortMode);
|
|
3595
4422
|
if ("string" === typeof input.sortMode)
|
|
@@ -3599,11 +4426,51 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3599
4426
|
value: input.sortMode
|
|
3600
4427
|
});
|
|
3601
4428
|
})() : undefined}`}`)}}`;
|
|
3602
|
-
const $
|
|
3603
|
-
const $
|
|
3604
|
-
const $
|
|
3605
|
-
const $
|
|
3606
|
-
const $
|
|
3607
|
-
const $
|
|
4429
|
+
const $so39 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
4430
|
+
const $so40 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
4431
|
+
const $so42 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so43(input.adobe) : undefined}`}`)}}`;
|
|
4432
|
+
const $so43 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
4433
|
+
const $so44 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
4434
|
+
const $so45 = 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},`}${undefined === input.devWarnings ? "" : `"devWarnings":${undefined !== input.devWarnings ? input.devWarnings : undefined}`}`)}}`;
|
|
4435
|
+
const $so46 = input => `{${$tail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so47(input.events) : undefined}`}`)}}`;
|
|
4436
|
+
const $so47 = input => `{${$tail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => (() => {
|
|
4437
|
+
if ("string" === typeof elem)
|
|
4438
|
+
return $string(elem);
|
|
4439
|
+
if ("string" === typeof elem)
|
|
4440
|
+
return "\"" + elem + "\"";
|
|
4441
|
+
$throws({
|
|
4442
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4443
|
+
value: elem
|
|
4444
|
+
});
|
|
4445
|
+
})()).join(",")}]` : undefined},`}${undefined === input.assigned ? "" : `"assigned":${undefined !== input.assigned ? `[${input.assigned.map(elem => (() => {
|
|
4446
|
+
if ("string" === typeof elem)
|
|
4447
|
+
return $string(elem);
|
|
4448
|
+
if ("string" === typeof elem)
|
|
4449
|
+
return "\"" + elem + "\"";
|
|
4450
|
+
$throws({
|
|
4451
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4452
|
+
value: elem
|
|
4453
|
+
});
|
|
4454
|
+
})()).join(",")}]` : undefined},`}${undefined === input.unassigned ? "" : `"unassigned":${undefined !== input.unassigned ? `[${input.unassigned.map(elem => (() => {
|
|
4455
|
+
if ("string" === typeof elem)
|
|
4456
|
+
return $string(elem);
|
|
4457
|
+
if ("string" === typeof elem)
|
|
4458
|
+
return "\"" + elem + "\"";
|
|
4459
|
+
$throws({
|
|
4460
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4461
|
+
value: elem
|
|
4462
|
+
});
|
|
4463
|
+
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $so48(input.publishSucceeded) : undefined}`}`)}}`;
|
|
4464
|
+
const $so48 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
4465
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? `[${value.map(elem => (() => {
|
|
4466
|
+
if ("string" === typeof elem)
|
|
4467
|
+
return $string(elem);
|
|
4468
|
+
if ("string" === typeof elem)
|
|
4469
|
+
return "\"" + elem + "\"";
|
|
4470
|
+
$throws({
|
|
4471
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4472
|
+
value: elem
|
|
4473
|
+
});
|
|
4474
|
+
})()).join(",")}]` : undefined}`; }).filter(str => "" !== str).join(",")}}`;
|
|
3608
4475
|
return $so0(input);
|
|
3609
4476
|
}; return stringify(assert(input, errorFactory)); };
|