@nxtedition/types 23.0.12 → 23.0.14
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/index.d.ts +1 -0
- package/dist/common/index.js +1 -0
- package/dist/common/settings.d.ts +37 -6
- package/dist/common/settings.js +1474 -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 +5730 -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 +1480 -536
- 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 +1453 -32
- 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.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io32(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) && $io33(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io42(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io43(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) && $io45(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io46(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io47(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,46 @@ 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 => (undefined === input.
|
|
44
|
-
const $io34 = input => undefined === input.
|
|
45
|
-
const $io35 = input => (undefined === input.
|
|
46
|
-
const $io36 = input => undefined === input.
|
|
47
|
-
const $io37 = input => undefined === input.
|
|
48
|
-
const $io38 = input =>
|
|
49
|
-
const $io39 = input => undefined === input.
|
|
50
|
-
const $io40 = input => undefined === input.
|
|
51
|
-
const $io41 = input => undefined === input.
|
|
52
|
-
const $io42 = 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 => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
42
|
+
const $io32 = 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));
|
|
43
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
44
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
45
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
46
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
47
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
48
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
49
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(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);
|
|
50
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
51
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
52
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
53
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
54
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
55
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
56
|
+
const $io46 = 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);
|
|
57
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
58
|
+
const $io48 = 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) && $io49(input.publishSucceeded));
|
|
59
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
60
|
+
const value = input[key];
|
|
61
|
+
if (undefined === value)
|
|
62
|
+
return true;
|
|
63
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
64
|
+
});
|
|
53
65
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
54
66
|
};
|
|
55
67
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
56
68
|
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) && $
|
|
69
|
+
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.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io32(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) && $io33(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io42(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io43(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) && $io45(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io46(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io47(input.notifications));
|
|
58
70
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
59
71
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
60
72
|
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 +93,41 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
81
93
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
82
94
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
83
95
|
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;
|
|
96
|
+
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)));
|
|
97
|
+
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
98
|
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
99
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
88
100
|
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 => (undefined === input.
|
|
98
|
-
const $io34 = input => undefined === input.
|
|
99
|
-
const $io35 = input => (undefined === input.
|
|
100
|
-
const $io36 = input => undefined === input.
|
|
101
|
-
const $io37 = input => undefined === input.
|
|
102
|
-
const $io38 = input =>
|
|
103
|
-
const $io39 = input => undefined === input.
|
|
104
|
-
const $io40 = input => undefined === input.
|
|
105
|
-
const $io41 = input => undefined === input.
|
|
106
|
-
const $io42 = input =>
|
|
101
|
+
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);
|
|
102
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
103
|
+
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));
|
|
104
|
+
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);
|
|
105
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
106
|
+
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));
|
|
107
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
108
|
+
const $io32 = 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));
|
|
109
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
110
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
111
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
112
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
113
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
114
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
115
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(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);
|
|
116
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
117
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
118
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
119
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
120
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
121
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
122
|
+
const $io46 = 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);
|
|
123
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
124
|
+
const $io48 = 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) && $io49(input.publishSucceeded));
|
|
125
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
126
|
+
const value = input[key];
|
|
127
|
+
if (undefined === value)
|
|
128
|
+
return true;
|
|
129
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
130
|
+
});
|
|
107
131
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
108
132
|
};
|
|
109
133
|
if (false === __is(input))
|
|
@@ -230,12 +254,36 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
230
254
|
path: _path + ".media",
|
|
231
255
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
232
256
|
value: input.media
|
|
257
|
+
}, errorFactory)) && (undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || $guard(_exceptionable, {
|
|
258
|
+
path: _path + ".edit",
|
|
259
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
260
|
+
value: input.edit
|
|
261
|
+
}, errorFactory)) && $ao31(input.edit, _path + ".edit", true && _exceptionable) || $guard(_exceptionable, {
|
|
262
|
+
path: _path + ".edit",
|
|
263
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
264
|
+
value: input.edit
|
|
265
|
+
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
266
|
+
path: _path + ".commands",
|
|
267
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
268
|
+
value: input.commands
|
|
269
|
+
}, errorFactory)) && input.commands.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
270
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
271
|
+
expected: "__type.o2",
|
|
272
|
+
value: elem
|
|
273
|
+
}, errorFactory)) && $ao32(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
274
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
275
|
+
expected: "__type.o2",
|
|
276
|
+
value: elem
|
|
277
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
278
|
+
path: _path + ".commands",
|
|
279
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
280
|
+
value: input.commands
|
|
233
281
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
234
282
|
path: _path + ".predefinedTags",
|
|
235
283
|
expected: "(Array<string> | undefined)",
|
|
236
284
|
value: input.predefinedTags
|
|
237
|
-
}, errorFactory)) && input.predefinedTags.every((elem,
|
|
238
|
-
path: _path + ".predefinedTags[" +
|
|
285
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
286
|
+
path: _path + ".predefinedTags[" + _index2 + "]",
|
|
239
287
|
expected: "string",
|
|
240
288
|
value: elem
|
|
241
289
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -244,35 +292,35 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
244
292
|
value: input.predefinedTags
|
|
245
293
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
246
294
|
path: _path + ".storyboard",
|
|
247
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
295
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
248
296
|
value: input.storyboard
|
|
249
|
-
}, errorFactory)) && $
|
|
297
|
+
}, errorFactory)) && $ao33(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
250
298
|
path: _path + ".storyboard",
|
|
251
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
299
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
252
300
|
value: input.storyboard
|
|
253
301
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
254
302
|
path: _path + ".hiddenPreviews",
|
|
255
|
-
expected: "(Array<__type>.
|
|
303
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
256
304
|
value: input.hiddenPreviews
|
|
257
|
-
}, errorFactory)) && input.hiddenPreviews.every((elem,
|
|
258
|
-
path: _path + ".hiddenPreviews[" +
|
|
259
|
-
expected: "__type.
|
|
305
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
306
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
307
|
+
expected: "__type.o3",
|
|
260
308
|
value: elem
|
|
261
|
-
}, errorFactory)) && $
|
|
262
|
-
path: _path + ".hiddenPreviews[" +
|
|
263
|
-
expected: "__type.
|
|
309
|
+
}, errorFactory)) && $ao42(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
310
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
311
|
+
expected: "__type.o3",
|
|
264
312
|
value: elem
|
|
265
313
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
266
314
|
path: _path + ".hiddenPreviews",
|
|
267
|
-
expected: "(Array<__type>.
|
|
315
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
268
316
|
value: input.hiddenPreviews
|
|
269
317
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
270
318
|
path: _path + ".plugins",
|
|
271
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
319
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
272
320
|
value: input.plugins
|
|
273
|
-
}, errorFactory)) && $
|
|
321
|
+
}, errorFactory)) && $ao43(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
274
322
|
path: _path + ".plugins",
|
|
275
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
323
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
276
324
|
value: input.plugins
|
|
277
325
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
278
326
|
path: _path + ".crashScreen",
|
|
@@ -284,20 +332,28 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
284
332
|
value: input.debug
|
|
285
333
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
286
334
|
path: _path + ".featurePreview",
|
|
287
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
335
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
288
336
|
value: input.featurePreview
|
|
289
|
-
}, errorFactory)) && $
|
|
337
|
+
}, errorFactory)) && $ao45(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
290
338
|
path: _path + ".featurePreview",
|
|
291
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
339
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
292
340
|
value: input.featurePreview
|
|
293
341
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
294
342
|
path: _path + ".flags",
|
|
295
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
343
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
296
344
|
value: input.flags
|
|
297
|
-
}, errorFactory)) && $
|
|
345
|
+
}, errorFactory)) && $ao46(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
298
346
|
path: _path + ".flags",
|
|
299
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
347
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
300
348
|
value: input.flags
|
|
349
|
+
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
350
|
+
path: _path + ".notifications",
|
|
351
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
352
|
+
value: input.notifications
|
|
353
|
+
}, errorFactory)) && $ao47(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
354
|
+
path: _path + ".notifications",
|
|
355
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
356
|
+
value: input.notifications
|
|
301
357
|
}, errorFactory));
|
|
302
358
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
303
359
|
path: _path + ".overrideUserContact",
|
|
@@ -368,8 +424,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
368
424
|
path: _path + ".sortOrder",
|
|
369
425
|
expected: "(Array<string> | undefined)",
|
|
370
426
|
value: input.sortOrder
|
|
371
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
372
|
-
path: _path + ".sortOrder[" +
|
|
427
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
428
|
+
path: _path + ".sortOrder[" + _index4 + "]",
|
|
373
429
|
expected: "string",
|
|
374
430
|
value: elem
|
|
375
431
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -381,8 +437,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
381
437
|
path: _path + ".exclude",
|
|
382
438
|
expected: "(Array<string> | undefined)",
|
|
383
439
|
value: input.exclude
|
|
384
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
385
|
-
path: _path + ".exclude[" +
|
|
440
|
+
}, errorFactory)) && input.exclude.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
441
|
+
path: _path + ".exclude[" + _index5 + "]",
|
|
386
442
|
expected: "string",
|
|
387
443
|
value: elem
|
|
388
444
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -394,8 +450,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
394
450
|
path: _path + ".include",
|
|
395
451
|
expected: "(Array<string> | undefined)",
|
|
396
452
|
value: input.include
|
|
397
|
-
}, errorFactory)) && input.include.every((elem,
|
|
398
|
-
path: _path + ".include[" +
|
|
453
|
+
}, errorFactory)) && input.include.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
454
|
+
path: _path + ".include[" + _index6 + "]",
|
|
399
455
|
expected: "string",
|
|
400
456
|
value: elem
|
|
401
457
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -406,8 +462,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
406
462
|
path: _path + ".exclude",
|
|
407
463
|
expected: "(Array<string> | undefined)",
|
|
408
464
|
value: input.exclude
|
|
409
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
410
|
-
path: _path + ".exclude[" +
|
|
465
|
+
}, errorFactory)) && input.exclude.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
466
|
+
path: _path + ".exclude[" + _index7 + "]",
|
|
411
467
|
expected: "string",
|
|
412
468
|
value: elem
|
|
413
469
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -419,8 +475,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
419
475
|
path: _path + ".include",
|
|
420
476
|
expected: "(Array<string> | undefined)",
|
|
421
477
|
value: input.include
|
|
422
|
-
}, errorFactory)) && input.include.every((elem,
|
|
423
|
-
path: _path + ".include[" +
|
|
478
|
+
}, errorFactory)) && input.include.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
479
|
+
path: _path + ".include[" + _index8 + "]",
|
|
424
480
|
expected: "string",
|
|
425
481
|
value: elem
|
|
426
482
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -431,8 +487,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
431
487
|
path: _path + ".exclude",
|
|
432
488
|
expected: "(Array<string> | undefined)",
|
|
433
489
|
value: input.exclude
|
|
434
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
435
|
-
path: _path + ".exclude[" +
|
|
490
|
+
}, errorFactory)) && input.exclude.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
|
|
491
|
+
path: _path + ".exclude[" + _index9 + "]",
|
|
436
492
|
expected: "string",
|
|
437
493
|
value: elem
|
|
438
494
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -499,12 +555,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
499
555
|
path: _path + ".colorTags",
|
|
500
556
|
expected: "(Array<PromotedTag> | undefined)",
|
|
501
557
|
value: input.colorTags
|
|
502
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
503
|
-
path: _path + ".colorTags[" +
|
|
558
|
+
}, errorFactory)) && input.colorTags.every((elem, _index10) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
559
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
504
560
|
expected: "PromotedTag",
|
|
505
561
|
value: elem
|
|
506
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
507
|
-
path: _path + ".colorTags[" +
|
|
562
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index10 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
563
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
508
564
|
expected: "PromotedTag",
|
|
509
565
|
value: elem
|
|
510
566
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -553,10 +609,6 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
553
609
|
path: _path + ".placeholder",
|
|
554
610
|
expected: "(string | undefined)",
|
|
555
611
|
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
612
|
}, errorFactory)) && (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
561
613
|
path: _path + ".guide",
|
|
562
614
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
@@ -609,8 +661,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
609
661
|
path: _path + ".playbackRates",
|
|
610
662
|
expected: "(Array<number> | undefined)",
|
|
611
663
|
value: input.playbackRates
|
|
612
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
613
|
-
path: _path + ".playbackRates[" +
|
|
664
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index11) => "number" === typeof elem || $guard(_exceptionable, {
|
|
665
|
+
path: _path + ".playbackRates[" + _index11 + "]",
|
|
614
666
|
expected: "number",
|
|
615
667
|
value: elem
|
|
616
668
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -637,12 +689,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
637
689
|
path: _path + ".guides",
|
|
638
690
|
expected: "(Array<__type> | undefined)",
|
|
639
691
|
value: input.guides
|
|
640
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
641
|
-
path: _path + ".guides[" +
|
|
692
|
+
}, errorFactory)) && input.guides.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
693
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
642
694
|
expected: "__type",
|
|
643
695
|
value: elem
|
|
644
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
645
|
-
path: _path + ".guides[" +
|
|
696
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
697
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
646
698
|
expected: "__type",
|
|
647
699
|
value: elem
|
|
648
700
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -653,20 +705,48 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
653
705
|
path: _path + ".download",
|
|
654
706
|
expected: "(boolean | undefined)",
|
|
655
707
|
value: input.download
|
|
708
|
+
}, errorFactory)) && (undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || $guard(_exceptionable, {
|
|
709
|
+
path: _path + ".editMode",
|
|
710
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
711
|
+
value: input.editMode
|
|
712
|
+
}, errorFactory)) && $ao25(input.editMode, _path + ".editMode", true && _exceptionable) || $guard(_exceptionable, {
|
|
713
|
+
path: _path + ".editMode",
|
|
714
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
715
|
+
value: input.editMode
|
|
656
716
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
657
717
|
path: _path + ".transcribe",
|
|
658
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
718
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
659
719
|
value: input.transcribe
|
|
660
|
-
}, errorFactory)) && $
|
|
720
|
+
}, errorFactory)) && $ao26(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
661
721
|
path: _path + ".transcribe",
|
|
662
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
722
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
663
723
|
value: input.transcribe
|
|
664
|
-
}, errorFactory))
|
|
665
|
-
|
|
724
|
+
}, errorFactory)) && ((null !== input.openCommand || $guard(_exceptionable, {
|
|
725
|
+
path: _path + ".openCommand",
|
|
726
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
727
|
+
value: input.openCommand
|
|
728
|
+
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || $guard(_exceptionable, {
|
|
729
|
+
path: _path + ".openCommand",
|
|
730
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
731
|
+
value: input.openCommand
|
|
732
|
+
}, errorFactory)) && $ao30(input.openCommand, _path + ".openCommand", true && _exceptionable) || $guard(_exceptionable, {
|
|
733
|
+
path: _path + ".openCommand",
|
|
734
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
735
|
+
value: input.openCommand
|
|
736
|
+
}, errorFactory)));
|
|
737
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
666
738
|
path: _path + ".mask",
|
|
667
739
|
expected: "(boolean | undefined)",
|
|
668
740
|
value: input.mask
|
|
669
|
-
}, errorFactory)
|
|
741
|
+
}, errorFactory)) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe || $guard(_exceptionable, {
|
|
742
|
+
path: _path + ".actionSafe",
|
|
743
|
+
expected: "(boolean | undefined)",
|
|
744
|
+
value: input.actionSafe
|
|
745
|
+
}, errorFactory)) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe || $guard(_exceptionable, {
|
|
746
|
+
path: _path + ".titleSafe",
|
|
747
|
+
expected: "(boolean | undefined)",
|
|
748
|
+
value: input.titleSafe
|
|
749
|
+
}, errorFactory));
|
|
670
750
|
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
751
|
path: _path + ".preview",
|
|
672
752
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
@@ -694,29 +774,42 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
694
774
|
expected: "string",
|
|
695
775
|
value: input.aspectRatio
|
|
696
776
|
}, errorFactory));
|
|
697
|
-
const $ao25 = (input, _path, _exceptionable = true) => undefined === input.
|
|
777
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.enabled || "boolean" === typeof input.enabled || $guard(_exceptionable, {
|
|
778
|
+
path: _path + ".enabled",
|
|
779
|
+
expected: "(boolean | undefined)",
|
|
780
|
+
value: input.enabled
|
|
781
|
+
}, errorFactory)) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption || $guard(_exceptionable, {
|
|
782
|
+
path: _path + ".defaultEnterOption",
|
|
783
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
784
|
+
value: input.defaultEnterOption
|
|
785
|
+
}, errorFactory)) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption || $guard(_exceptionable, {
|
|
786
|
+
path: _path + ".defaultExitOption",
|
|
787
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
788
|
+
value: input.defaultExitOption
|
|
789
|
+
}, errorFactory));
|
|
790
|
+
const $ao26 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
698
791
|
path: _path + ".subtitleDisclaimer",
|
|
699
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
792
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
700
793
|
value: input.subtitleDisclaimer
|
|
701
|
-
}, errorFactory)) && $
|
|
794
|
+
}, errorFactory)) && $ao27(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
702
795
|
path: _path + ".subtitleDisclaimer",
|
|
703
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
796
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
704
797
|
value: input.subtitleDisclaimer
|
|
705
798
|
}, errorFactory);
|
|
706
|
-
const $
|
|
799
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
707
800
|
path: _path + ".isUserConfigurable",
|
|
708
801
|
expected: "(boolean | undefined)",
|
|
709
802
|
value: input.isUserConfigurable
|
|
710
803
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
711
804
|
path: _path + ".defaultValue",
|
|
712
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
805
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
713
806
|
value: input.defaultValue
|
|
714
|
-
}, errorFactory)) && $
|
|
807
|
+
}, errorFactory)) && $ao28(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
715
808
|
path: _path + ".defaultValue",
|
|
716
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
809
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
717
810
|
value: input.defaultValue
|
|
718
811
|
}, errorFactory));
|
|
719
|
-
const $
|
|
812
|
+
const $ao28 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
720
813
|
path: _path + ".enabled",
|
|
721
814
|
expected: "(false | undefined)",
|
|
722
815
|
value: input.enabled
|
|
@@ -724,12 +817,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
724
817
|
path: _path + ".text",
|
|
725
818
|
expected: "(Array<__type>.o1 | undefined)",
|
|
726
819
|
value: input.text
|
|
727
|
-
}, errorFactory)) && input.text.every((elem,
|
|
728
|
-
path: _path + ".text[" +
|
|
820
|
+
}, errorFactory)) && input.text.every((elem, _index13) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
821
|
+
path: _path + ".text[" + _index13 + "]",
|
|
729
822
|
expected: "__type.o1",
|
|
730
823
|
value: elem
|
|
731
|
-
}, errorFactory)) && $
|
|
732
|
-
path: _path + ".text[" +
|
|
824
|
+
}, errorFactory)) && $ao29(elem, _path + ".text[" + _index13 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
825
|
+
path: _path + ".text[" + _index13 + "]",
|
|
733
826
|
expected: "__type.o1",
|
|
734
827
|
value: elem
|
|
735
828
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -745,7 +838,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
745
838
|
expected: "(number | undefined)",
|
|
746
839
|
value: input.duration
|
|
747
840
|
}, errorFactory));
|
|
748
|
-
const $
|
|
841
|
+
const $ao29 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
749
842
|
path: _path + ".language",
|
|
750
843
|
expected: "string",
|
|
751
844
|
value: input.language
|
|
@@ -754,71 +847,122 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
754
847
|
expected: "string",
|
|
755
848
|
value: input.value
|
|
756
849
|
}, errorFactory));
|
|
757
|
-
const $
|
|
850
|
+
const $ao30 = (input, _path, _exceptionable = true) => (undefined === input.url || "string" === typeof input.url || $guard(_exceptionable, {
|
|
851
|
+
path: _path + ".url",
|
|
852
|
+
expected: "(string | undefined)",
|
|
853
|
+
value: input.url
|
|
854
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
855
|
+
path: _path + ".command",
|
|
856
|
+
expected: "(string | undefined)",
|
|
857
|
+
value: input.command
|
|
858
|
+
}, errorFactory)) && (undefined === input.app || "string" === typeof input.app || $guard(_exceptionable, {
|
|
859
|
+
path: _path + ".app",
|
|
860
|
+
expected: "(string | undefined)",
|
|
861
|
+
value: input.app
|
|
862
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
863
|
+
path: _path + ".args",
|
|
864
|
+
expected: "(Array<string> | undefined)",
|
|
865
|
+
value: input.args
|
|
866
|
+
}, errorFactory)) && input.args.every((elem, _index14) => "string" === typeof elem || $guard(_exceptionable, {
|
|
867
|
+
path: _path + ".args[" + _index14 + "]",
|
|
868
|
+
expected: "string",
|
|
869
|
+
value: elem
|
|
870
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
871
|
+
path: _path + ".args",
|
|
872
|
+
expected: "(Array<string> | undefined)",
|
|
873
|
+
value: input.args
|
|
874
|
+
}, errorFactory));
|
|
875
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
876
|
+
path: _path + ".thumbnailView",
|
|
877
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
878
|
+
value: input.thumbnailView
|
|
879
|
+
}, errorFactory);
|
|
880
|
+
const $ao32 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
881
|
+
path: _path + ".title",
|
|
882
|
+
expected: "string",
|
|
883
|
+
value: input.title
|
|
884
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
885
|
+
path: _path + ".command",
|
|
886
|
+
expected: "(string | undefined)",
|
|
887
|
+
value: input.command
|
|
888
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
889
|
+
path: _path + ".args",
|
|
890
|
+
expected: "(Array<string> | undefined)",
|
|
891
|
+
value: input.args
|
|
892
|
+
}, errorFactory)) && input.args.every((elem, _index15) => "string" === typeof elem || $guard(_exceptionable, {
|
|
893
|
+
path: _path + ".args[" + _index15 + "]",
|
|
894
|
+
expected: "string",
|
|
895
|
+
value: elem
|
|
896
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
897
|
+
path: _path + ".args",
|
|
898
|
+
expected: "(Array<string> | undefined)",
|
|
899
|
+
value: input.args
|
|
900
|
+
}, errorFactory));
|
|
901
|
+
const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
758
902
|
path: _path + ".folded",
|
|
759
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
903
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
760
904
|
value: input.folded
|
|
761
|
-
}, errorFactory)) && $
|
|
905
|
+
}, errorFactory)) && $ao34(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
762
906
|
path: _path + ".folded",
|
|
763
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
907
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
764
908
|
value: input.folded
|
|
765
909
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
766
910
|
path: _path + ".assets",
|
|
767
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
911
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
768
912
|
value: input.assets
|
|
769
|
-
}, errorFactory)) && $
|
|
913
|
+
}, errorFactory)) && $ao35(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
770
914
|
path: _path + ".assets",
|
|
771
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
915
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
772
916
|
value: input.assets
|
|
773
917
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
774
918
|
path: _path + ".pipeline",
|
|
775
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
919
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
776
920
|
value: input.pipeline
|
|
777
|
-
}, errorFactory)) && $
|
|
921
|
+
}, errorFactory)) && $ao39(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
778
922
|
path: _path + ".pipeline",
|
|
779
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
923
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
780
924
|
value: input.pipeline
|
|
781
925
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
782
926
|
path: _path + ".item",
|
|
783
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
927
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
784
928
|
value: input.item
|
|
785
|
-
}, errorFactory)) && $
|
|
929
|
+
}, errorFactory)) && $ao41(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
786
930
|
path: _path + ".item",
|
|
787
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
931
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
788
932
|
value: input.item
|
|
789
933
|
}, errorFactory));
|
|
790
|
-
const $
|
|
934
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
791
935
|
path: _path + ".auto",
|
|
792
936
|
expected: "(boolean | undefined)",
|
|
793
937
|
value: input.auto
|
|
794
938
|
}, errorFactory);
|
|
795
|
-
const $
|
|
939
|
+
const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
796
940
|
path: _path + ".story",
|
|
797
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
941
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
798
942
|
value: input.story
|
|
799
|
-
}, errorFactory)) && $
|
|
943
|
+
}, errorFactory)) && $ao36(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
800
944
|
path: _path + ".story",
|
|
801
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
945
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
802
946
|
value: input.story
|
|
803
947
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
804
948
|
path: _path + ".note",
|
|
805
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
949
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
806
950
|
value: input.note
|
|
807
|
-
}, errorFactory)) && $
|
|
951
|
+
}, errorFactory)) && $ao38(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
808
952
|
path: _path + ".note",
|
|
809
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
953
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
810
954
|
value: input.note
|
|
811
955
|
}, errorFactory));
|
|
812
|
-
const $
|
|
956
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
813
957
|
path: _path + ".excerpt",
|
|
814
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
958
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
815
959
|
value: input.excerpt
|
|
816
|
-
}, errorFactory)) && $
|
|
960
|
+
}, errorFactory)) && $ao37(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
817
961
|
path: _path + ".excerpt",
|
|
818
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
962
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
819
963
|
value: input.excerpt
|
|
820
964
|
}, errorFactory);
|
|
821
|
-
const $
|
|
965
|
+
const $ao37 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
822
966
|
path: _path + ".maxLines",
|
|
823
967
|
expected: "(number | undefined)",
|
|
824
968
|
value: input.maxLines
|
|
@@ -827,35 +971,35 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
827
971
|
expected: "(string | undefined)",
|
|
828
972
|
value: input.mode
|
|
829
973
|
}, errorFactory));
|
|
830
|
-
const $
|
|
974
|
+
const $ao38 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
831
975
|
path: _path + ".maxHeight",
|
|
832
976
|
expected: "(number | undefined)",
|
|
833
977
|
value: input.maxHeight
|
|
834
978
|
}, errorFactory);
|
|
835
|
-
const $
|
|
979
|
+
const $ao39 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
836
980
|
path: _path + ".search",
|
|
837
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
981
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
838
982
|
value: input.search
|
|
839
|
-
}, errorFactory)) && $
|
|
983
|
+
}, errorFactory)) && $ao40(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
840
984
|
path: _path + ".search",
|
|
841
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
985
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
842
986
|
value: input.search
|
|
843
987
|
}, 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
988
|
path: _path + ".sortMode",
|
|
845
989
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
846
990
|
value: input.sortMode
|
|
847
991
|
}, errorFactory));
|
|
848
|
-
const $
|
|
992
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
849
993
|
path: _path + ".maxItemsDisplayed",
|
|
850
994
|
expected: "(number | undefined)",
|
|
851
995
|
value: input.maxItemsDisplayed
|
|
852
996
|
}, errorFactory);
|
|
853
|
-
const $
|
|
997
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
854
998
|
path: _path + ".maxHeight",
|
|
855
999
|
expected: "(number | undefined)",
|
|
856
1000
|
value: input.maxHeight
|
|
857
1001
|
}, errorFactory);
|
|
858
|
-
const $
|
|
1002
|
+
const $ao42 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
859
1003
|
path: _path + ".id",
|
|
860
1004
|
expected: "string",
|
|
861
1005
|
value: input.id
|
|
@@ -864,26 +1008,26 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
864
1008
|
expected: "boolean",
|
|
865
1009
|
value: input.folded
|
|
866
1010
|
}, errorFactory));
|
|
867
|
-
const $
|
|
1011
|
+
const $ao43 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
868
1012
|
path: _path + ".adobe",
|
|
869
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1013
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
870
1014
|
value: input.adobe
|
|
871
|
-
}, errorFactory)) && $
|
|
1015
|
+
}, errorFactory)) && $ao44(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
872
1016
|
path: _path + ".adobe",
|
|
873
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1017
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
874
1018
|
value: input.adobe
|
|
875
1019
|
}, errorFactory);
|
|
876
|
-
const $
|
|
1020
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
877
1021
|
path: _path + ".useProxies",
|
|
878
1022
|
expected: "(boolean | undefined)",
|
|
879
1023
|
value: input.useProxies
|
|
880
1024
|
}, errorFactory);
|
|
881
|
-
const $
|
|
1025
|
+
const $ao45 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
882
1026
|
path: _path + ".collections",
|
|
883
1027
|
expected: "(boolean | undefined)",
|
|
884
1028
|
value: input.collections
|
|
885
1029
|
}, errorFactory);
|
|
886
|
-
const $
|
|
1030
|
+
const $ao46 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
887
1031
|
path: _path + ".utils",
|
|
888
1032
|
expected: "(boolean | undefined)",
|
|
889
1033
|
value: input.utils
|
|
@@ -944,6 +1088,78 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
944
1088
|
expected: "(boolean | undefined)",
|
|
945
1089
|
value: input.devWarnings
|
|
946
1090
|
}, errorFactory));
|
|
1091
|
+
const $ao47 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
1092
|
+
path: _path + ".events",
|
|
1093
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
1094
|
+
value: input.events
|
|
1095
|
+
}, errorFactory)) && $ao48(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
1096
|
+
path: _path + ".events",
|
|
1097
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
1098
|
+
value: input.events
|
|
1099
|
+
}, errorFactory);
|
|
1100
|
+
const $ao48 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
1101
|
+
path: _path + ".comment",
|
|
1102
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1103
|
+
value: input.comment
|
|
1104
|
+
}, errorFactory)) && input.comment.every((elem, _index16) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1105
|
+
path: _path + ".comment[" + _index16 + "]",
|
|
1106
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1107
|
+
value: elem
|
|
1108
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1109
|
+
path: _path + ".comment",
|
|
1110
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1111
|
+
value: input.comment
|
|
1112
|
+
}, errorFactory)) && (undefined === input.assigned || (Array.isArray(input.assigned) || $guard(_exceptionable, {
|
|
1113
|
+
path: _path + ".assigned",
|
|
1114
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1115
|
+
value: input.assigned
|
|
1116
|
+
}, errorFactory)) && input.assigned.every((elem, _index17) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1117
|
+
path: _path + ".assigned[" + _index17 + "]",
|
|
1118
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1119
|
+
value: elem
|
|
1120
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1121
|
+
path: _path + ".assigned",
|
|
1122
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1123
|
+
value: input.assigned
|
|
1124
|
+
}, errorFactory)) && (undefined === input.unassigned || (Array.isArray(input.unassigned) || $guard(_exceptionable, {
|
|
1125
|
+
path: _path + ".unassigned",
|
|
1126
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1127
|
+
value: input.unassigned
|
|
1128
|
+
}, errorFactory)) && input.unassigned.every((elem, _index18) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1129
|
+
path: _path + ".unassigned[" + _index18 + "]",
|
|
1130
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1131
|
+
value: elem
|
|
1132
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1133
|
+
path: _path + ".unassigned",
|
|
1134
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1135
|
+
value: input.unassigned
|
|
1136
|
+
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
1137
|
+
path: _path + ".publishSucceeded",
|
|
1138
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
1139
|
+
value: input.publishSucceeded
|
|
1140
|
+
}, errorFactory)) && $ao49(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
1141
|
+
path: _path + ".publishSucceeded",
|
|
1142
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
1143
|
+
value: input.publishSucceeded
|
|
1144
|
+
}, errorFactory));
|
|
1145
|
+
const $ao49 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1146
|
+
const value = input[key];
|
|
1147
|
+
if (undefined === value)
|
|
1148
|
+
return true;
|
|
1149
|
+
return undefined === value || (Array.isArray(value) || $guard(_exceptionable, {
|
|
1150
|
+
path: _path + $join(key),
|
|
1151
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1152
|
+
value: value
|
|
1153
|
+
}, errorFactory)) && value.every((elem, _index19) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1154
|
+
path: _path + $join(key) + "[" + _index19 + "]",
|
|
1155
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1156
|
+
value: elem
|
|
1157
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1158
|
+
path: _path + $join(key),
|
|
1159
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
1160
|
+
value: value
|
|
1161
|
+
}, errorFactory);
|
|
1162
|
+
});
|
|
947
1163
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
948
1164
|
path: _path + "",
|
|
949
1165
|
expected: "PartialObjectDeep<Settings, __type>",
|
|
@@ -1028,21 +1244,29 @@ export const randomSettingsRecord = generator => {
|
|
|
1028
1244
|
() => undefined,
|
|
1029
1245
|
() => $ro20(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1030
1246
|
])(),
|
|
1247
|
+
edit: $pick([
|
|
1248
|
+
() => undefined,
|
|
1249
|
+
() => $ro31(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1250
|
+
])(),
|
|
1251
|
+
commands: $pick([
|
|
1252
|
+
() => undefined,
|
|
1253
|
+
() => (generator?.array ?? $generator.array)(() => $ro32(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1254
|
+
])(),
|
|
1031
1255
|
predefinedTags: $pick([
|
|
1032
1256
|
() => undefined,
|
|
1033
1257
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1034
1258
|
])(),
|
|
1035
1259
|
storyboard: $pick([
|
|
1036
1260
|
() => undefined,
|
|
1037
|
-
() => $
|
|
1261
|
+
() => $ro33(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1038
1262
|
])(),
|
|
1039
1263
|
hiddenPreviews: $pick([
|
|
1040
1264
|
() => undefined,
|
|
1041
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1265
|
+
() => (generator?.array ?? $generator.array)(() => $ro42(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1042
1266
|
])(),
|
|
1043
1267
|
plugins: $pick([
|
|
1044
1268
|
() => undefined,
|
|
1045
|
-
() => $
|
|
1269
|
+
() => $ro43(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1046
1270
|
])(),
|
|
1047
1271
|
crashScreen: $pick([
|
|
1048
1272
|
() => undefined,
|
|
@@ -1054,11 +1278,15 @@ export const randomSettingsRecord = generator => {
|
|
|
1054
1278
|
])(),
|
|
1055
1279
|
featurePreview: $pick([
|
|
1056
1280
|
() => undefined,
|
|
1057
|
-
() => $
|
|
1281
|
+
() => $ro45(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1058
1282
|
])(),
|
|
1059
1283
|
flags: $pick([
|
|
1060
1284
|
() => undefined,
|
|
1061
|
-
() => $
|
|
1285
|
+
() => $ro46(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1286
|
+
])(),
|
|
1287
|
+
notifications: $pick([
|
|
1288
|
+
() => undefined,
|
|
1289
|
+
() => $ro47(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1062
1290
|
])()
|
|
1063
1291
|
});
|
|
1064
1292
|
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1251,10 +1479,6 @@ export const randomSettingsRecord = generator => {
|
|
|
1251
1479
|
() => undefined,
|
|
1252
1480
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1253
1481
|
])(),
|
|
1254
|
-
openCommand: $pick([
|
|
1255
|
-
() => undefined,
|
|
1256
|
-
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1257
|
-
])(),
|
|
1258
1482
|
guide: $pick([
|
|
1259
1483
|
() => undefined,
|
|
1260
1484
|
() => $ro21(_recursive, _recursive ? 1 + _depth : _depth)
|
|
@@ -1319,15 +1543,32 @@ export const randomSettingsRecord = generator => {
|
|
|
1319
1543
|
() => undefined,
|
|
1320
1544
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1321
1545
|
])(),
|
|
1322
|
-
|
|
1546
|
+
editMode: $pick([
|
|
1323
1547
|
() => undefined,
|
|
1324
1548
|
() => $ro25(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1549
|
+
])(),
|
|
1550
|
+
transcribe: $pick([
|
|
1551
|
+
() => undefined,
|
|
1552
|
+
() => $ro26(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1553
|
+
])(),
|
|
1554
|
+
openCommand: $pick([
|
|
1555
|
+
() => undefined,
|
|
1556
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1557
|
+
() => $ro30(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1325
1558
|
])()
|
|
1326
1559
|
});
|
|
1327
1560
|
const $ro21 = (_recursive = false, _depth = 0) => ({
|
|
1328
1561
|
mask: $pick([
|
|
1329
1562
|
() => undefined,
|
|
1330
1563
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1564
|
+
])(),
|
|
1565
|
+
actionSafe: $pick([
|
|
1566
|
+
() => undefined,
|
|
1567
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1568
|
+
])(),
|
|
1569
|
+
titleSafe: $pick([
|
|
1570
|
+
() => undefined,
|
|
1571
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1331
1572
|
])()
|
|
1332
1573
|
});
|
|
1333
1574
|
const $ro22 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1359,29 +1600,47 @@ export const randomSettingsRecord = generator => {
|
|
|
1359
1600
|
aspectRatio: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1360
1601
|
});
|
|
1361
1602
|
const $ro25 = (_recursive = false, _depth = 0) => ({
|
|
1362
|
-
|
|
1603
|
+
enabled: $pick([
|
|
1363
1604
|
() => undefined,
|
|
1364
|
-
() =>
|
|
1605
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1606
|
+
])(),
|
|
1607
|
+
defaultEnterOption: $pick([
|
|
1608
|
+
() => undefined,
|
|
1609
|
+
() => "edit",
|
|
1610
|
+
() => "createNew",
|
|
1611
|
+
() => "none"
|
|
1612
|
+
])(),
|
|
1613
|
+
defaultExitOption: $pick([
|
|
1614
|
+
() => undefined,
|
|
1615
|
+
() => "none",
|
|
1616
|
+
() => "update",
|
|
1617
|
+
() => "leave"
|
|
1365
1618
|
])()
|
|
1366
1619
|
});
|
|
1367
1620
|
const $ro26 = (_recursive = false, _depth = 0) => ({
|
|
1621
|
+
subtitleDisclaimer: $pick([
|
|
1622
|
+
() => undefined,
|
|
1623
|
+
() => $ro27(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1624
|
+
])()
|
|
1625
|
+
});
|
|
1626
|
+
const $ro27 = (_recursive = false, _depth = 0) => ({
|
|
1368
1627
|
isUserConfigurable: $pick([
|
|
1369
1628
|
() => undefined,
|
|
1370
1629
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1371
1630
|
])(),
|
|
1372
1631
|
defaultValue: $pick([
|
|
1373
1632
|
() => undefined,
|
|
1374
|
-
() => $
|
|
1633
|
+
() => $ro28(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1375
1634
|
])()
|
|
1376
1635
|
});
|
|
1377
|
-
const $
|
|
1636
|
+
const $ro28 = (_recursive = false, _depth = 0) => ({
|
|
1378
1637
|
enabled: $pick([
|
|
1379
1638
|
() => undefined,
|
|
1380
1639
|
() => false
|
|
1381
1640
|
])(),
|
|
1382
1641
|
text: $pick([
|
|
1383
1642
|
() => undefined,
|
|
1384
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1643
|
+
() => (generator?.array ?? $generator.array)(() => $ro29(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1385
1644
|
])(),
|
|
1386
1645
|
offset: $pick([
|
|
1387
1646
|
() => undefined,
|
|
@@ -1392,51 +1651,88 @@ export const randomSettingsRecord = generator => {
|
|
|
1392
1651
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1393
1652
|
])()
|
|
1394
1653
|
});
|
|
1395
|
-
const $
|
|
1654
|
+
const $ro29 = (_recursive = false, _depth = 0) => ({
|
|
1396
1655
|
language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1397
1656
|
value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1398
1657
|
});
|
|
1399
|
-
const $
|
|
1658
|
+
const $ro30 = (_recursive = false, _depth = 0) => ({
|
|
1659
|
+
url: $pick([
|
|
1660
|
+
() => undefined,
|
|
1661
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1662
|
+
])(),
|
|
1663
|
+
command: $pick([
|
|
1664
|
+
() => undefined,
|
|
1665
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1666
|
+
])(),
|
|
1667
|
+
app: $pick([
|
|
1668
|
+
() => undefined,
|
|
1669
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1670
|
+
])(),
|
|
1671
|
+
args: $pick([
|
|
1672
|
+
() => undefined,
|
|
1673
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1674
|
+
])()
|
|
1675
|
+
});
|
|
1676
|
+
const $ro31 = (_recursive = false, _depth = 0) => ({
|
|
1677
|
+
thumbnailView: $pick([
|
|
1678
|
+
() => undefined,
|
|
1679
|
+
() => "none",
|
|
1680
|
+
() => "filmStrip",
|
|
1681
|
+
() => "thumbnail"
|
|
1682
|
+
])()
|
|
1683
|
+
});
|
|
1684
|
+
const $ro32 = (_recursive = false, _depth = 0) => ({
|
|
1685
|
+
title: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1686
|
+
command: $pick([
|
|
1687
|
+
() => undefined,
|
|
1688
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1689
|
+
])(),
|
|
1690
|
+
args: $pick([
|
|
1691
|
+
() => undefined,
|
|
1692
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1693
|
+
])()
|
|
1694
|
+
});
|
|
1695
|
+
const $ro33 = (_recursive = false, _depth = 0) => ({
|
|
1400
1696
|
folded: $pick([
|
|
1401
1697
|
() => undefined,
|
|
1402
|
-
() => $
|
|
1698
|
+
() => $ro34(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1403
1699
|
])(),
|
|
1404
1700
|
assets: $pick([
|
|
1405
1701
|
() => undefined,
|
|
1406
|
-
() => $
|
|
1702
|
+
() => $ro35(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1407
1703
|
])(),
|
|
1408
1704
|
pipeline: $pick([
|
|
1409
1705
|
() => undefined,
|
|
1410
|
-
() => $
|
|
1706
|
+
() => $ro39(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1411
1707
|
])(),
|
|
1412
1708
|
item: $pick([
|
|
1413
1709
|
() => undefined,
|
|
1414
|
-
() => $
|
|
1710
|
+
() => $ro41(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1415
1711
|
])()
|
|
1416
1712
|
});
|
|
1417
|
-
const $
|
|
1713
|
+
const $ro34 = (_recursive = false, _depth = 0) => ({
|
|
1418
1714
|
auto: $pick([
|
|
1419
1715
|
() => undefined,
|
|
1420
1716
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1421
1717
|
])()
|
|
1422
1718
|
});
|
|
1423
|
-
const $
|
|
1719
|
+
const $ro35 = (_recursive = false, _depth = 0) => ({
|
|
1424
1720
|
story: $pick([
|
|
1425
1721
|
() => undefined,
|
|
1426
|
-
() => $
|
|
1722
|
+
() => $ro36(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1427
1723
|
])(),
|
|
1428
1724
|
note: $pick([
|
|
1429
1725
|
() => undefined,
|
|
1430
|
-
() => $
|
|
1726
|
+
() => $ro38(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1431
1727
|
])()
|
|
1432
1728
|
});
|
|
1433
|
-
const $
|
|
1729
|
+
const $ro36 = (_recursive = false, _depth = 0) => ({
|
|
1434
1730
|
excerpt: $pick([
|
|
1435
1731
|
() => undefined,
|
|
1436
|
-
() => $
|
|
1732
|
+
() => $ro37(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1437
1733
|
])()
|
|
1438
1734
|
});
|
|
1439
|
-
const $
|
|
1735
|
+
const $ro37 = (_recursive = false, _depth = 0) => ({
|
|
1440
1736
|
maxLines: $pick([
|
|
1441
1737
|
() => undefined,
|
|
1442
1738
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1446,16 +1742,16 @@ export const randomSettingsRecord = generator => {
|
|
|
1446
1742
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1447
1743
|
])()
|
|
1448
1744
|
});
|
|
1449
|
-
const $
|
|
1745
|
+
const $ro38 = (_recursive = false, _depth = 0) => ({
|
|
1450
1746
|
maxHeight: $pick([
|
|
1451
1747
|
() => undefined,
|
|
1452
1748
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1453
1749
|
])()
|
|
1454
1750
|
});
|
|
1455
|
-
const $
|
|
1751
|
+
const $ro39 = (_recursive = false, _depth = 0) => ({
|
|
1456
1752
|
search: $pick([
|
|
1457
1753
|
() => undefined,
|
|
1458
|
-
() => $
|
|
1754
|
+
() => $ro40(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1459
1755
|
])(),
|
|
1460
1756
|
sortMode: $pick([
|
|
1461
1757
|
() => undefined,
|
|
@@ -1469,41 +1765,41 @@ export const randomSettingsRecord = generator => {
|
|
|
1469
1765
|
() => "leastrecent"
|
|
1470
1766
|
])()
|
|
1471
1767
|
});
|
|
1472
|
-
const $
|
|
1768
|
+
const $ro40 = (_recursive = false, _depth = 0) => ({
|
|
1473
1769
|
maxItemsDisplayed: $pick([
|
|
1474
1770
|
() => undefined,
|
|
1475
1771
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1476
1772
|
])()
|
|
1477
1773
|
});
|
|
1478
|
-
const $
|
|
1774
|
+
const $ro41 = (_recursive = false, _depth = 0) => ({
|
|
1479
1775
|
maxHeight: $pick([
|
|
1480
1776
|
() => undefined,
|
|
1481
1777
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1482
1778
|
])()
|
|
1483
1779
|
});
|
|
1484
|
-
const $
|
|
1780
|
+
const $ro42 = (_recursive = false, _depth = 0) => ({
|
|
1485
1781
|
id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1486
1782
|
folded: (generator?.boolean ?? $generator.boolean)()
|
|
1487
1783
|
});
|
|
1488
|
-
const $
|
|
1784
|
+
const $ro43 = (_recursive = false, _depth = 0) => ({
|
|
1489
1785
|
adobe: $pick([
|
|
1490
1786
|
() => undefined,
|
|
1491
|
-
() => $
|
|
1787
|
+
() => $ro44(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1492
1788
|
])()
|
|
1493
1789
|
});
|
|
1494
|
-
const $
|
|
1790
|
+
const $ro44 = (_recursive = false, _depth = 0) => ({
|
|
1495
1791
|
useProxies: $pick([
|
|
1496
1792
|
() => undefined,
|
|
1497
1793
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1498
1794
|
])()
|
|
1499
1795
|
});
|
|
1500
|
-
const $
|
|
1796
|
+
const $ro45 = (_recursive = false, _depth = 0) => ({
|
|
1501
1797
|
collections: $pick([
|
|
1502
1798
|
() => undefined,
|
|
1503
1799
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1504
1800
|
])()
|
|
1505
1801
|
});
|
|
1506
|
-
const $
|
|
1802
|
+
const $ro46 = (_recursive = false, _depth = 0) => ({
|
|
1507
1803
|
utils: $pick([
|
|
1508
1804
|
() => undefined,
|
|
1509
1805
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -1565,15 +1861,71 @@ export const randomSettingsRecord = generator => {
|
|
|
1565
1861
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1566
1862
|
])()
|
|
1567
1863
|
});
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1864
|
+
const $ro47 = (_recursive = false, _depth = 0) => ({
|
|
1865
|
+
events: $pick([
|
|
1866
|
+
() => undefined,
|
|
1867
|
+
() => $ro48(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1868
|
+
])()
|
|
1869
|
+
});
|
|
1870
|
+
const $ro48 = (_recursive = false, _depth = 0) => ({
|
|
1871
|
+
comment: $pick([
|
|
1872
|
+
() => undefined,
|
|
1873
|
+
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
1874
|
+
() => "mentioned",
|
|
1875
|
+
() => "assigned",
|
|
1876
|
+
() => "author",
|
|
1877
|
+
() => "participated",
|
|
1878
|
+
() => "always"
|
|
1879
|
+
])())
|
|
1880
|
+
])(),
|
|
1881
|
+
assigned: $pick([
|
|
1882
|
+
() => undefined,
|
|
1883
|
+
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
1884
|
+
() => "mentioned",
|
|
1885
|
+
() => "assigned",
|
|
1886
|
+
() => "author",
|
|
1887
|
+
() => "participated",
|
|
1888
|
+
() => "always"
|
|
1889
|
+
])())
|
|
1890
|
+
])(),
|
|
1891
|
+
unassigned: $pick([
|
|
1892
|
+
() => undefined,
|
|
1893
|
+
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
1894
|
+
() => "mentioned",
|
|
1895
|
+
() => "assigned",
|
|
1896
|
+
() => "author",
|
|
1897
|
+
() => "participated",
|
|
1898
|
+
() => "always"
|
|
1899
|
+
])())
|
|
1900
|
+
])(),
|
|
1901
|
+
publishSucceeded: $pick([
|
|
1902
|
+
() => undefined,
|
|
1903
|
+
() => $ro49(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1904
|
+
])()
|
|
1905
|
+
});
|
|
1906
|
+
const $ro49 = (_recursive = false, _depth = 0) => {
|
|
1907
|
+
const output = {};
|
|
1908
|
+
(generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $pick([
|
|
1909
|
+
() => undefined,
|
|
1910
|
+
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
1911
|
+
() => "mentioned",
|
|
1912
|
+
() => "assigned",
|
|
1913
|
+
() => "author",
|
|
1914
|
+
() => "participated",
|
|
1915
|
+
() => "always"
|
|
1916
|
+
])())
|
|
1917
|
+
])(), (generator?.integer ?? $generator.integer)(0, 3));
|
|
1918
|
+
return output;
|
|
1919
|
+
};
|
|
1920
|
+
return $ro0();
|
|
1921
|
+
};
|
|
1922
|
+
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
1923
|
+
const __is = input => {
|
|
1924
|
+
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.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io32(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) && $io33(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io42(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io43(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) && $io45(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io46(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io47(input.notifications));
|
|
1925
|
+
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
1926
|
+
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
1927
|
+
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 => {
|
|
1928
|
+
if (["settingsPanelStore"].some(prop => key === prop))
|
|
1577
1929
|
return true;
|
|
1578
1930
|
const value = input[key];
|
|
1579
1931
|
if (undefined === value)
|
|
@@ -1596,29 +1948,41 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1596
1948
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
1597
1949
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
1598
1950
|
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;
|
|
1951
|
+
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)));
|
|
1952
|
+
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
1953
|
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
1954
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
1603
1955
|
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 => (undefined === input.
|
|
1613
|
-
const $io34 = input => undefined === input.
|
|
1614
|
-
const $io35 = input => (undefined === input.
|
|
1615
|
-
const $io36 = input => undefined === input.
|
|
1616
|
-
const $io37 = input => undefined === input.
|
|
1617
|
-
const $io38 = input =>
|
|
1618
|
-
const $io39 = input => undefined === input.
|
|
1619
|
-
const $io40 = input => undefined === input.
|
|
1620
|
-
const $io41 = input => undefined === input.
|
|
1621
|
-
const $io42 = input =>
|
|
1956
|
+
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);
|
|
1957
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
1958
|
+
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));
|
|
1959
|
+
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);
|
|
1960
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1961
|
+
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));
|
|
1962
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
1963
|
+
const $io32 = 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));
|
|
1964
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
1965
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
1966
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
1967
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
1968
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
1969
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1970
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(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);
|
|
1971
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
1972
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1973
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
1974
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
1975
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
1976
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
1977
|
+
const $io46 = 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);
|
|
1978
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
1979
|
+
const $io48 = 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) && $io49(input.publishSucceeded));
|
|
1980
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
1981
|
+
const value = input[key];
|
|
1982
|
+
if (undefined === value)
|
|
1983
|
+
return true;
|
|
1984
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
1985
|
+
});
|
|
1622
1986
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1623
1987
|
};
|
|
1624
1988
|
if (false === __is(input))
|
|
@@ -1745,12 +2109,36 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1745
2109
|
path: _path + ".media",
|
|
1746
2110
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
1747
2111
|
value: input.media
|
|
2112
|
+
}, errorFactory)) && (undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || $guard(_exceptionable, {
|
|
2113
|
+
path: _path + ".edit",
|
|
2114
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2115
|
+
value: input.edit
|
|
2116
|
+
}, errorFactory)) && $ao31(input.edit, _path + ".edit", true && _exceptionable) || $guard(_exceptionable, {
|
|
2117
|
+
path: _path + ".edit",
|
|
2118
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2119
|
+
value: input.edit
|
|
2120
|
+
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
2121
|
+
path: _path + ".commands",
|
|
2122
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
2123
|
+
value: input.commands
|
|
2124
|
+
}, errorFactory)) && input.commands.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2125
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
2126
|
+
expected: "__type.o2",
|
|
2127
|
+
value: elem
|
|
2128
|
+
}, errorFactory)) && $ao32(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2129
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
2130
|
+
expected: "__type.o2",
|
|
2131
|
+
value: elem
|
|
2132
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2133
|
+
path: _path + ".commands",
|
|
2134
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
2135
|
+
value: input.commands
|
|
1748
2136
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
1749
2137
|
path: _path + ".predefinedTags",
|
|
1750
2138
|
expected: "(Array<string> | undefined)",
|
|
1751
2139
|
value: input.predefinedTags
|
|
1752
|
-
}, errorFactory)) && input.predefinedTags.every((elem,
|
|
1753
|
-
path: _path + ".predefinedTags[" +
|
|
2140
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2141
|
+
path: _path + ".predefinedTags[" + _index2 + "]",
|
|
1754
2142
|
expected: "string",
|
|
1755
2143
|
value: elem
|
|
1756
2144
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1759,35 +2147,35 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1759
2147
|
value: input.predefinedTags
|
|
1760
2148
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
1761
2149
|
path: _path + ".storyboard",
|
|
1762
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2150
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
1763
2151
|
value: input.storyboard
|
|
1764
|
-
}, errorFactory)) && $
|
|
2152
|
+
}, errorFactory)) && $ao33(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
1765
2153
|
path: _path + ".storyboard",
|
|
1766
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2154
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
1767
2155
|
value: input.storyboard
|
|
1768
2156
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
1769
2157
|
path: _path + ".hiddenPreviews",
|
|
1770
|
-
expected: "(Array<__type>.
|
|
2158
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
1771
2159
|
value: input.hiddenPreviews
|
|
1772
|
-
}, errorFactory)) && input.hiddenPreviews.every((elem,
|
|
1773
|
-
path: _path + ".hiddenPreviews[" +
|
|
1774
|
-
expected: "__type.
|
|
2160
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2161
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
2162
|
+
expected: "__type.o3",
|
|
1775
2163
|
value: elem
|
|
1776
|
-
}, errorFactory)) && $
|
|
1777
|
-
path: _path + ".hiddenPreviews[" +
|
|
1778
|
-
expected: "__type.
|
|
2164
|
+
}, errorFactory)) && $ao42(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2165
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
2166
|
+
expected: "__type.o3",
|
|
1779
2167
|
value: elem
|
|
1780
2168
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
1781
2169
|
path: _path + ".hiddenPreviews",
|
|
1782
|
-
expected: "(Array<__type>.
|
|
2170
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
1783
2171
|
value: input.hiddenPreviews
|
|
1784
2172
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
1785
2173
|
path: _path + ".plugins",
|
|
1786
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2174
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
1787
2175
|
value: input.plugins
|
|
1788
|
-
}, errorFactory)) && $
|
|
2176
|
+
}, errorFactory)) && $ao43(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
1789
2177
|
path: _path + ".plugins",
|
|
1790
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2178
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
1791
2179
|
value: input.plugins
|
|
1792
2180
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
1793
2181
|
path: _path + ".crashScreen",
|
|
@@ -1799,20 +2187,28 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1799
2187
|
value: input.debug
|
|
1800
2188
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
1801
2189
|
path: _path + ".featurePreview",
|
|
1802
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2190
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
1803
2191
|
value: input.featurePreview
|
|
1804
|
-
}, errorFactory)) && $
|
|
2192
|
+
}, errorFactory)) && $ao45(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
1805
2193
|
path: _path + ".featurePreview",
|
|
1806
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2194
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
1807
2195
|
value: input.featurePreview
|
|
1808
2196
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
1809
2197
|
path: _path + ".flags",
|
|
1810
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2198
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
1811
2199
|
value: input.flags
|
|
1812
|
-
}, errorFactory)) && $
|
|
2200
|
+
}, errorFactory)) && $ao46(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1813
2201
|
path: _path + ".flags",
|
|
1814
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2202
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
1815
2203
|
value: input.flags
|
|
2204
|
+
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
2205
|
+
path: _path + ".notifications",
|
|
2206
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
2207
|
+
value: input.notifications
|
|
2208
|
+
}, errorFactory)) && $ao47(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
2209
|
+
path: _path + ".notifications",
|
|
2210
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
2211
|
+
value: input.notifications
|
|
1816
2212
|
}, errorFactory));
|
|
1817
2213
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
1818
2214
|
path: _path + ".overrideUserContact",
|
|
@@ -1883,8 +2279,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1883
2279
|
path: _path + ".sortOrder",
|
|
1884
2280
|
expected: "(Array<string> | undefined)",
|
|
1885
2281
|
value: input.sortOrder
|
|
1886
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
1887
|
-
path: _path + ".sortOrder[" +
|
|
2282
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2283
|
+
path: _path + ".sortOrder[" + _index4 + "]",
|
|
1888
2284
|
expected: "string",
|
|
1889
2285
|
value: elem
|
|
1890
2286
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1896,8 +2292,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1896
2292
|
path: _path + ".exclude",
|
|
1897
2293
|
expected: "(Array<string> | undefined)",
|
|
1898
2294
|
value: input.exclude
|
|
1899
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
1900
|
-
path: _path + ".exclude[" +
|
|
2295
|
+
}, errorFactory)) && input.exclude.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2296
|
+
path: _path + ".exclude[" + _index5 + "]",
|
|
1901
2297
|
expected: "string",
|
|
1902
2298
|
value: elem
|
|
1903
2299
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1909,8 +2305,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1909
2305
|
path: _path + ".include",
|
|
1910
2306
|
expected: "(Array<string> | undefined)",
|
|
1911
2307
|
value: input.include
|
|
1912
|
-
}, errorFactory)) && input.include.every((elem,
|
|
1913
|
-
path: _path + ".include[" +
|
|
2308
|
+
}, errorFactory)) && input.include.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2309
|
+
path: _path + ".include[" + _index6 + "]",
|
|
1914
2310
|
expected: "string",
|
|
1915
2311
|
value: elem
|
|
1916
2312
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1921,8 +2317,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1921
2317
|
path: _path + ".exclude",
|
|
1922
2318
|
expected: "(Array<string> | undefined)",
|
|
1923
2319
|
value: input.exclude
|
|
1924
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
1925
|
-
path: _path + ".exclude[" +
|
|
2320
|
+
}, errorFactory)) && input.exclude.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2321
|
+
path: _path + ".exclude[" + _index7 + "]",
|
|
1926
2322
|
expected: "string",
|
|
1927
2323
|
value: elem
|
|
1928
2324
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1934,8 +2330,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1934
2330
|
path: _path + ".include",
|
|
1935
2331
|
expected: "(Array<string> | undefined)",
|
|
1936
2332
|
value: input.include
|
|
1937
|
-
}, errorFactory)) && input.include.every((elem,
|
|
1938
|
-
path: _path + ".include[" +
|
|
2333
|
+
}, errorFactory)) && input.include.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2334
|
+
path: _path + ".include[" + _index8 + "]",
|
|
1939
2335
|
expected: "string",
|
|
1940
2336
|
value: elem
|
|
1941
2337
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1946,8 +2342,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1946
2342
|
path: _path + ".exclude",
|
|
1947
2343
|
expected: "(Array<string> | undefined)",
|
|
1948
2344
|
value: input.exclude
|
|
1949
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
1950
|
-
path: _path + ".exclude[" +
|
|
2345
|
+
}, errorFactory)) && input.exclude.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2346
|
+
path: _path + ".exclude[" + _index9 + "]",
|
|
1951
2347
|
expected: "string",
|
|
1952
2348
|
value: elem
|
|
1953
2349
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2014,12 +2410,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2014
2410
|
path: _path + ".colorTags",
|
|
2015
2411
|
expected: "(Array<PromotedTag> | undefined)",
|
|
2016
2412
|
value: input.colorTags
|
|
2017
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
2018
|
-
path: _path + ".colorTags[" +
|
|
2413
|
+
}, errorFactory)) && input.colorTags.every((elem, _index10) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2414
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
2019
2415
|
expected: "PromotedTag",
|
|
2020
2416
|
value: elem
|
|
2021
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
2022
|
-
path: _path + ".colorTags[" +
|
|
2417
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index10 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2418
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
2023
2419
|
expected: "PromotedTag",
|
|
2024
2420
|
value: elem
|
|
2025
2421
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2068,10 +2464,6 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2068
2464
|
path: _path + ".placeholder",
|
|
2069
2465
|
expected: "(string | undefined)",
|
|
2070
2466
|
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
2467
|
}, errorFactory)) && (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
2076
2468
|
path: _path + ".guide",
|
|
2077
2469
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
@@ -2124,8 +2516,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2124
2516
|
path: _path + ".playbackRates",
|
|
2125
2517
|
expected: "(Array<number> | undefined)",
|
|
2126
2518
|
value: input.playbackRates
|
|
2127
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
2128
|
-
path: _path + ".playbackRates[" +
|
|
2519
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index11) => "number" === typeof elem || $guard(_exceptionable, {
|
|
2520
|
+
path: _path + ".playbackRates[" + _index11 + "]",
|
|
2129
2521
|
expected: "number",
|
|
2130
2522
|
value: elem
|
|
2131
2523
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2152,12 +2544,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2152
2544
|
path: _path + ".guides",
|
|
2153
2545
|
expected: "(Array<__type> | undefined)",
|
|
2154
2546
|
value: input.guides
|
|
2155
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
2156
|
-
path: _path + ".guides[" +
|
|
2547
|
+
}, errorFactory)) && input.guides.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2548
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
2157
2549
|
expected: "__type",
|
|
2158
2550
|
value: elem
|
|
2159
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
2160
|
-
path: _path + ".guides[" +
|
|
2551
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2552
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
2161
2553
|
expected: "__type",
|
|
2162
2554
|
value: elem
|
|
2163
2555
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2168,20 +2560,48 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2168
2560
|
path: _path + ".download",
|
|
2169
2561
|
expected: "(boolean | undefined)",
|
|
2170
2562
|
value: input.download
|
|
2563
|
+
}, errorFactory)) && (undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || $guard(_exceptionable, {
|
|
2564
|
+
path: _path + ".editMode",
|
|
2565
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2566
|
+
value: input.editMode
|
|
2567
|
+
}, errorFactory)) && $ao25(input.editMode, _path + ".editMode", true && _exceptionable) || $guard(_exceptionable, {
|
|
2568
|
+
path: _path + ".editMode",
|
|
2569
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
2570
|
+
value: input.editMode
|
|
2171
2571
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
2172
2572
|
path: _path + ".transcribe",
|
|
2173
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2573
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2174
2574
|
value: input.transcribe
|
|
2175
|
-
}, errorFactory)) && $
|
|
2575
|
+
}, errorFactory)) && $ao26(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2176
2576
|
path: _path + ".transcribe",
|
|
2177
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2577
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
2178
2578
|
value: input.transcribe
|
|
2179
|
-
}, errorFactory))
|
|
2180
|
-
|
|
2579
|
+
}, errorFactory)) && ((null !== input.openCommand || $guard(_exceptionable, {
|
|
2580
|
+
path: _path + ".openCommand",
|
|
2581
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
2582
|
+
value: input.openCommand
|
|
2583
|
+
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || $guard(_exceptionable, {
|
|
2584
|
+
path: _path + ".openCommand",
|
|
2585
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
2586
|
+
value: input.openCommand
|
|
2587
|
+
}, errorFactory)) && $ao30(input.openCommand, _path + ".openCommand", true && _exceptionable) || $guard(_exceptionable, {
|
|
2588
|
+
path: _path + ".openCommand",
|
|
2589
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
2590
|
+
value: input.openCommand
|
|
2591
|
+
}, errorFactory)));
|
|
2592
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
2181
2593
|
path: _path + ".mask",
|
|
2182
2594
|
expected: "(boolean | undefined)",
|
|
2183
2595
|
value: input.mask
|
|
2184
|
-
}, errorFactory)
|
|
2596
|
+
}, errorFactory)) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe || $guard(_exceptionable, {
|
|
2597
|
+
path: _path + ".actionSafe",
|
|
2598
|
+
expected: "(boolean | undefined)",
|
|
2599
|
+
value: input.actionSafe
|
|
2600
|
+
}, errorFactory)) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe || $guard(_exceptionable, {
|
|
2601
|
+
path: _path + ".titleSafe",
|
|
2602
|
+
expected: "(boolean | undefined)",
|
|
2603
|
+
value: input.titleSafe
|
|
2604
|
+
}, errorFactory));
|
|
2185
2605
|
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
2606
|
path: _path + ".preview",
|
|
2187
2607
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
@@ -2209,29 +2629,42 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2209
2629
|
expected: "string",
|
|
2210
2630
|
value: input.aspectRatio
|
|
2211
2631
|
}, errorFactory));
|
|
2212
|
-
const $ao25 = (input, _path, _exceptionable = true) => undefined === input.
|
|
2632
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.enabled || "boolean" === typeof input.enabled || $guard(_exceptionable, {
|
|
2633
|
+
path: _path + ".enabled",
|
|
2634
|
+
expected: "(boolean | undefined)",
|
|
2635
|
+
value: input.enabled
|
|
2636
|
+
}, errorFactory)) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption || $guard(_exceptionable, {
|
|
2637
|
+
path: _path + ".defaultEnterOption",
|
|
2638
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
2639
|
+
value: input.defaultEnterOption
|
|
2640
|
+
}, errorFactory)) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption || $guard(_exceptionable, {
|
|
2641
|
+
path: _path + ".defaultExitOption",
|
|
2642
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
2643
|
+
value: input.defaultExitOption
|
|
2644
|
+
}, errorFactory));
|
|
2645
|
+
const $ao26 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
2213
2646
|
path: _path + ".subtitleDisclaimer",
|
|
2214
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2647
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2215
2648
|
value: input.subtitleDisclaimer
|
|
2216
|
-
}, errorFactory)) && $
|
|
2649
|
+
}, errorFactory)) && $ao27(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
2217
2650
|
path: _path + ".subtitleDisclaimer",
|
|
2218
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2651
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
2219
2652
|
value: input.subtitleDisclaimer
|
|
2220
2653
|
}, errorFactory);
|
|
2221
|
-
const $
|
|
2654
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
2222
2655
|
path: _path + ".isUserConfigurable",
|
|
2223
2656
|
expected: "(boolean | undefined)",
|
|
2224
2657
|
value: input.isUserConfigurable
|
|
2225
2658
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
2226
2659
|
path: _path + ".defaultValue",
|
|
2227
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2660
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2228
2661
|
value: input.defaultValue
|
|
2229
|
-
}, errorFactory)) && $
|
|
2662
|
+
}, errorFactory)) && $ao28(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
2230
2663
|
path: _path + ".defaultValue",
|
|
2231
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2664
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2232
2665
|
value: input.defaultValue
|
|
2233
2666
|
}, errorFactory));
|
|
2234
|
-
const $
|
|
2667
|
+
const $ao28 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
2235
2668
|
path: _path + ".enabled",
|
|
2236
2669
|
expected: "(false | undefined)",
|
|
2237
2670
|
value: input.enabled
|
|
@@ -2239,12 +2672,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2239
2672
|
path: _path + ".text",
|
|
2240
2673
|
expected: "(Array<__type>.o1 | undefined)",
|
|
2241
2674
|
value: input.text
|
|
2242
|
-
}, errorFactory)) && input.text.every((elem,
|
|
2243
|
-
path: _path + ".text[" +
|
|
2675
|
+
}, errorFactory)) && input.text.every((elem, _index13) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2676
|
+
path: _path + ".text[" + _index13 + "]",
|
|
2244
2677
|
expected: "__type.o1",
|
|
2245
2678
|
value: elem
|
|
2246
|
-
}, errorFactory)) && $
|
|
2247
|
-
path: _path + ".text[" +
|
|
2679
|
+
}, errorFactory)) && $ao29(elem, _path + ".text[" + _index13 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2680
|
+
path: _path + ".text[" + _index13 + "]",
|
|
2248
2681
|
expected: "__type.o1",
|
|
2249
2682
|
value: elem
|
|
2250
2683
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2260,7 +2693,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2260
2693
|
expected: "(number | undefined)",
|
|
2261
2694
|
value: input.duration
|
|
2262
2695
|
}, errorFactory));
|
|
2263
|
-
const $
|
|
2696
|
+
const $ao29 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
2264
2697
|
path: _path + ".language",
|
|
2265
2698
|
expected: "string",
|
|
2266
2699
|
value: input.language
|
|
@@ -2269,71 +2702,122 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2269
2702
|
expected: "string",
|
|
2270
2703
|
value: input.value
|
|
2271
2704
|
}, errorFactory));
|
|
2272
|
-
const $
|
|
2705
|
+
const $ao30 = (input, _path, _exceptionable = true) => (undefined === input.url || "string" === typeof input.url || $guard(_exceptionable, {
|
|
2706
|
+
path: _path + ".url",
|
|
2707
|
+
expected: "(string | undefined)",
|
|
2708
|
+
value: input.url
|
|
2709
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
2710
|
+
path: _path + ".command",
|
|
2711
|
+
expected: "(string | undefined)",
|
|
2712
|
+
value: input.command
|
|
2713
|
+
}, errorFactory)) && (undefined === input.app || "string" === typeof input.app || $guard(_exceptionable, {
|
|
2714
|
+
path: _path + ".app",
|
|
2715
|
+
expected: "(string | undefined)",
|
|
2716
|
+
value: input.app
|
|
2717
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
2718
|
+
path: _path + ".args",
|
|
2719
|
+
expected: "(Array<string> | undefined)",
|
|
2720
|
+
value: input.args
|
|
2721
|
+
}, errorFactory)) && input.args.every((elem, _index14) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2722
|
+
path: _path + ".args[" + _index14 + "]",
|
|
2723
|
+
expected: "string",
|
|
2724
|
+
value: elem
|
|
2725
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2726
|
+
path: _path + ".args",
|
|
2727
|
+
expected: "(Array<string> | undefined)",
|
|
2728
|
+
value: input.args
|
|
2729
|
+
}, errorFactory));
|
|
2730
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
2731
|
+
path: _path + ".thumbnailView",
|
|
2732
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
2733
|
+
value: input.thumbnailView
|
|
2734
|
+
}, errorFactory);
|
|
2735
|
+
const $ao32 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
2736
|
+
path: _path + ".title",
|
|
2737
|
+
expected: "string",
|
|
2738
|
+
value: input.title
|
|
2739
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
2740
|
+
path: _path + ".command",
|
|
2741
|
+
expected: "(string | undefined)",
|
|
2742
|
+
value: input.command
|
|
2743
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
2744
|
+
path: _path + ".args",
|
|
2745
|
+
expected: "(Array<string> | undefined)",
|
|
2746
|
+
value: input.args
|
|
2747
|
+
}, errorFactory)) && input.args.every((elem, _index15) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2748
|
+
path: _path + ".args[" + _index15 + "]",
|
|
2749
|
+
expected: "string",
|
|
2750
|
+
value: elem
|
|
2751
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2752
|
+
path: _path + ".args",
|
|
2753
|
+
expected: "(Array<string> | undefined)",
|
|
2754
|
+
value: input.args
|
|
2755
|
+
}, errorFactory));
|
|
2756
|
+
const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
2273
2757
|
path: _path + ".folded",
|
|
2274
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2758
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2275
2759
|
value: input.folded
|
|
2276
|
-
}, errorFactory)) && $
|
|
2760
|
+
}, errorFactory)) && $ao34(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
2277
2761
|
path: _path + ".folded",
|
|
2278
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2762
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2279
2763
|
value: input.folded
|
|
2280
2764
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
2281
2765
|
path: _path + ".assets",
|
|
2282
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2766
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2283
2767
|
value: input.assets
|
|
2284
|
-
}, errorFactory)) && $
|
|
2768
|
+
}, errorFactory)) && $ao35(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2285
2769
|
path: _path + ".assets",
|
|
2286
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2770
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2287
2771
|
value: input.assets
|
|
2288
2772
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
2289
2773
|
path: _path + ".pipeline",
|
|
2290
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2774
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2291
2775
|
value: input.pipeline
|
|
2292
|
-
}, errorFactory)) && $
|
|
2776
|
+
}, errorFactory)) && $ao39(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2293
2777
|
path: _path + ".pipeline",
|
|
2294
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2778
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2295
2779
|
value: input.pipeline
|
|
2296
2780
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
2297
2781
|
path: _path + ".item",
|
|
2298
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2782
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2299
2783
|
value: input.item
|
|
2300
|
-
}, errorFactory)) && $
|
|
2784
|
+
}, errorFactory)) && $ao41(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2301
2785
|
path: _path + ".item",
|
|
2302
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2786
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2303
2787
|
value: input.item
|
|
2304
2788
|
}, errorFactory));
|
|
2305
|
-
const $
|
|
2789
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
2306
2790
|
path: _path + ".auto",
|
|
2307
2791
|
expected: "(boolean | undefined)",
|
|
2308
2792
|
value: input.auto
|
|
2309
2793
|
}, errorFactory);
|
|
2310
|
-
const $
|
|
2794
|
+
const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
2311
2795
|
path: _path + ".story",
|
|
2312
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2796
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2313
2797
|
value: input.story
|
|
2314
|
-
}, errorFactory)) && $
|
|
2798
|
+
}, errorFactory)) && $ao36(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2315
2799
|
path: _path + ".story",
|
|
2316
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2800
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2317
2801
|
value: input.story
|
|
2318
2802
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
2319
2803
|
path: _path + ".note",
|
|
2320
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2804
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2321
2805
|
value: input.note
|
|
2322
|
-
}, errorFactory)) && $
|
|
2806
|
+
}, errorFactory)) && $ao38(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
2323
2807
|
path: _path + ".note",
|
|
2324
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2808
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2325
2809
|
value: input.note
|
|
2326
2810
|
}, errorFactory));
|
|
2327
|
-
const $
|
|
2811
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
2328
2812
|
path: _path + ".excerpt",
|
|
2329
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2813
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2330
2814
|
value: input.excerpt
|
|
2331
|
-
}, errorFactory)) && $
|
|
2815
|
+
}, errorFactory)) && $ao37(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2332
2816
|
path: _path + ".excerpt",
|
|
2333
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2817
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2334
2818
|
value: input.excerpt
|
|
2335
2819
|
}, errorFactory);
|
|
2336
|
-
const $
|
|
2820
|
+
const $ao37 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
2337
2821
|
path: _path + ".maxLines",
|
|
2338
2822
|
expected: "(number | undefined)",
|
|
2339
2823
|
value: input.maxLines
|
|
@@ -2342,35 +2826,35 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2342
2826
|
expected: "(string | undefined)",
|
|
2343
2827
|
value: input.mode
|
|
2344
2828
|
}, errorFactory));
|
|
2345
|
-
const $
|
|
2829
|
+
const $ao38 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2346
2830
|
path: _path + ".maxHeight",
|
|
2347
2831
|
expected: "(number | undefined)",
|
|
2348
2832
|
value: input.maxHeight
|
|
2349
2833
|
}, errorFactory);
|
|
2350
|
-
const $
|
|
2834
|
+
const $ao39 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2351
2835
|
path: _path + ".search",
|
|
2352
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2836
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2353
2837
|
value: input.search
|
|
2354
|
-
}, errorFactory)) && $
|
|
2838
|
+
}, errorFactory)) && $ao40(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2355
2839
|
path: _path + ".search",
|
|
2356
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2840
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2357
2841
|
value: input.search
|
|
2358
2842
|
}, 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
2843
|
path: _path + ".sortMode",
|
|
2360
2844
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
2361
2845
|
value: input.sortMode
|
|
2362
2846
|
}, errorFactory));
|
|
2363
|
-
const $
|
|
2847
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
2364
2848
|
path: _path + ".maxItemsDisplayed",
|
|
2365
2849
|
expected: "(number | undefined)",
|
|
2366
2850
|
value: input.maxItemsDisplayed
|
|
2367
2851
|
}, errorFactory);
|
|
2368
|
-
const $
|
|
2852
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2369
2853
|
path: _path + ".maxHeight",
|
|
2370
2854
|
expected: "(number | undefined)",
|
|
2371
2855
|
value: input.maxHeight
|
|
2372
2856
|
}, errorFactory);
|
|
2373
|
-
const $
|
|
2857
|
+
const $ao42 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
2374
2858
|
path: _path + ".id",
|
|
2375
2859
|
expected: "string",
|
|
2376
2860
|
value: input.id
|
|
@@ -2379,26 +2863,26 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2379
2863
|
expected: "boolean",
|
|
2380
2864
|
value: input.folded
|
|
2381
2865
|
}, errorFactory));
|
|
2382
|
-
const $
|
|
2866
|
+
const $ao43 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
2383
2867
|
path: _path + ".adobe",
|
|
2384
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2868
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
2385
2869
|
value: input.adobe
|
|
2386
|
-
}, errorFactory)) && $
|
|
2870
|
+
}, errorFactory)) && $ao44(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2387
2871
|
path: _path + ".adobe",
|
|
2388
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2872
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
2389
2873
|
value: input.adobe
|
|
2390
2874
|
}, errorFactory);
|
|
2391
|
-
const $
|
|
2875
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2392
2876
|
path: _path + ".useProxies",
|
|
2393
2877
|
expected: "(boolean | undefined)",
|
|
2394
2878
|
value: input.useProxies
|
|
2395
2879
|
}, errorFactory);
|
|
2396
|
-
const $
|
|
2880
|
+
const $ao45 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
2397
2881
|
path: _path + ".collections",
|
|
2398
2882
|
expected: "(boolean | undefined)",
|
|
2399
2883
|
value: input.collections
|
|
2400
2884
|
}, errorFactory);
|
|
2401
|
-
const $
|
|
2885
|
+
const $ao46 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2402
2886
|
path: _path + ".utils",
|
|
2403
2887
|
expected: "(boolean | undefined)",
|
|
2404
2888
|
value: input.utils
|
|
@@ -2459,6 +2943,78 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2459
2943
|
expected: "(boolean | undefined)",
|
|
2460
2944
|
value: input.devWarnings
|
|
2461
2945
|
}, errorFactory));
|
|
2946
|
+
const $ao47 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
2947
|
+
path: _path + ".events",
|
|
2948
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
2949
|
+
value: input.events
|
|
2950
|
+
}, errorFactory)) && $ao48(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
2951
|
+
path: _path + ".events",
|
|
2952
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
2953
|
+
value: input.events
|
|
2954
|
+
}, errorFactory);
|
|
2955
|
+
const $ao48 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
2956
|
+
path: _path + ".comment",
|
|
2957
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2958
|
+
value: input.comment
|
|
2959
|
+
}, errorFactory)) && input.comment.every((elem, _index16) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
2960
|
+
path: _path + ".comment[" + _index16 + "]",
|
|
2961
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
2962
|
+
value: elem
|
|
2963
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2964
|
+
path: _path + ".comment",
|
|
2965
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2966
|
+
value: input.comment
|
|
2967
|
+
}, errorFactory)) && (undefined === input.assigned || (Array.isArray(input.assigned) || $guard(_exceptionable, {
|
|
2968
|
+
path: _path + ".assigned",
|
|
2969
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2970
|
+
value: input.assigned
|
|
2971
|
+
}, errorFactory)) && input.assigned.every((elem, _index17) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
2972
|
+
path: _path + ".assigned[" + _index17 + "]",
|
|
2973
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
2974
|
+
value: elem
|
|
2975
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2976
|
+
path: _path + ".assigned",
|
|
2977
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2978
|
+
value: input.assigned
|
|
2979
|
+
}, errorFactory)) && (undefined === input.unassigned || (Array.isArray(input.unassigned) || $guard(_exceptionable, {
|
|
2980
|
+
path: _path + ".unassigned",
|
|
2981
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2982
|
+
value: input.unassigned
|
|
2983
|
+
}, errorFactory)) && input.unassigned.every((elem, _index18) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
2984
|
+
path: _path + ".unassigned[" + _index18 + "]",
|
|
2985
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
2986
|
+
value: elem
|
|
2987
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2988
|
+
path: _path + ".unassigned",
|
|
2989
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
2990
|
+
value: input.unassigned
|
|
2991
|
+
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
2992
|
+
path: _path + ".publishSucceeded",
|
|
2993
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
2994
|
+
value: input.publishSucceeded
|
|
2995
|
+
}, errorFactory)) && $ao49(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
2996
|
+
path: _path + ".publishSucceeded",
|
|
2997
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
2998
|
+
value: input.publishSucceeded
|
|
2999
|
+
}, errorFactory));
|
|
3000
|
+
const $ao49 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
3001
|
+
const value = input[key];
|
|
3002
|
+
if (undefined === value)
|
|
3003
|
+
return true;
|
|
3004
|
+
return undefined === value || (Array.isArray(value) || $guard(_exceptionable, {
|
|
3005
|
+
path: _path + $join(key),
|
|
3006
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
3007
|
+
value: value
|
|
3008
|
+
}, errorFactory)) && value.every((elem, _index19) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
3009
|
+
path: _path + $join(key) + "[" + _index19 + "]",
|
|
3010
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3011
|
+
value: elem
|
|
3012
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
3013
|
+
path: _path + $join(key),
|
|
3014
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
3015
|
+
value: value
|
|
3016
|
+
}, errorFactory);
|
|
3017
|
+
});
|
|
2462
3018
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2463
3019
|
path: _path + "",
|
|
2464
3020
|
expected: "PartialObjectDeep<Settings, __type>",
|
|
@@ -2497,33 +3053,45 @@ export const stringifySettingsRecord = input => {
|
|
|
2497
3053
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
2498
3054
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2499
3055
|
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;
|
|
3056
|
+
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)));
|
|
3057
|
+
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
3058
|
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
3059
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
2504
3060
|
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 => (undefined === input.
|
|
2514
|
-
const $io34 = input => undefined === input.
|
|
2515
|
-
const $io35 = input => (undefined === input.
|
|
2516
|
-
const $io36 = input => undefined === input.
|
|
2517
|
-
const $io37 = input => undefined === input.
|
|
2518
|
-
const $io38 = input =>
|
|
2519
|
-
const $io39 = input => undefined === input.
|
|
2520
|
-
const $io40 = input => undefined === input.
|
|
2521
|
-
const $io41 = input => undefined === input.
|
|
2522
|
-
const $io42 = input =>
|
|
3061
|
+
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);
|
|
3062
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
3063
|
+
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));
|
|
3064
|
+
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);
|
|
3065
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3066
|
+
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));
|
|
3067
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
3068
|
+
const $io32 = 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));
|
|
3069
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
3070
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
3071
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
3072
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
3073
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3074
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3075
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(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);
|
|
3076
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
3077
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3078
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
3079
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
3080
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3081
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
3082
|
+
const $io46 = 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);
|
|
3083
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
3084
|
+
const $io48 = 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) && $io49(input.publishSucceeded));
|
|
3085
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
3086
|
+
const value = input[key];
|
|
3087
|
+
if (undefined === value)
|
|
3088
|
+
return true;
|
|
3089
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
3090
|
+
});
|
|
2523
3091
|
const $string = __typia.json.createStringify.string;
|
|
2524
3092
|
const $tail = __typia.json.createStringify.tail;
|
|
2525
3093
|
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 ? $
|
|
3094
|
+
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.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so32(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 ? $so33(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 ? $so43(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 ? $so45(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so46(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so47(input.notifications) : undefined}`}`)}}`;
|
|
2527
3095
|
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
3096
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
2529
3097
|
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 +3113,17 @@ export const stringifySettingsRecord = input => {
|
|
|
2545
3113
|
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
2546
3114
|
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
2547
3115
|
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
|
-
|
|
3116
|
+
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 ? (() => {
|
|
3117
|
+
if ("string" === typeof input.openCommand)
|
|
3118
|
+
return $string(input.openCommand);
|
|
3119
|
+
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|
|
3120
|
+
return $so30(input.openCommand);
|
|
3121
|
+
$throws({
|
|
3122
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
3123
|
+
value: input.openCommand
|
|
3124
|
+
});
|
|
3125
|
+
})() : undefined}`}`)}}`;
|
|
3126
|
+
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
3127
|
const $so22 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? (() => {
|
|
2551
3128
|
if ("string" === typeof input.preview)
|
|
2552
3129
|
return $string(input.preview);
|
|
@@ -2560,16 +3137,47 @@ export const stringifySettingsRecord = input => {
|
|
|
2560
3137
|
});
|
|
2561
3138
|
})() : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
2562
3139
|
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
|
-
|
|
3140
|
+
const $so25 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.defaultEnterOption ? "" : `"defaultEnterOption":${undefined !== input.defaultEnterOption ? (() => {
|
|
3141
|
+
if ("string" === typeof input.defaultEnterOption)
|
|
3142
|
+
return $string(input.defaultEnterOption);
|
|
3143
|
+
if ("string" === typeof input.defaultEnterOption)
|
|
3144
|
+
return "\"" + input.defaultEnterOption + "\"";
|
|
3145
|
+
$throws({
|
|
3146
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
3147
|
+
value: input.defaultEnterOption
|
|
3148
|
+
});
|
|
3149
|
+
})() : undefined},`}${undefined === input.defaultExitOption ? "" : `"defaultExitOption":${undefined !== input.defaultExitOption ? (() => {
|
|
3150
|
+
if ("string" === typeof input.defaultExitOption)
|
|
3151
|
+
return $string(input.defaultExitOption);
|
|
3152
|
+
if ("string" === typeof input.defaultExitOption)
|
|
3153
|
+
return "\"" + input.defaultExitOption + "\"";
|
|
3154
|
+
$throws({
|
|
3155
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
3156
|
+
value: input.defaultExitOption
|
|
3157
|
+
});
|
|
3158
|
+
})() : undefined}`}`)}}`;
|
|
3159
|
+
const $so26 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so27(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
3160
|
+
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}`}`)}}`;
|
|
3161
|
+
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}`}`)}}`;
|
|
3162
|
+
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}`}`)}}`;
|
|
3163
|
+
const $so31 = input => `{${$tail(`${undefined === input.thumbnailView ? "" : `"thumbnailView":${undefined !== input.thumbnailView ? (() => {
|
|
3164
|
+
if ("string" === typeof input.thumbnailView)
|
|
3165
|
+
return $string(input.thumbnailView);
|
|
3166
|
+
if ("string" === typeof input.thumbnailView)
|
|
3167
|
+
return "\"" + input.thumbnailView + "\"";
|
|
3168
|
+
$throws({
|
|
3169
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
3170
|
+
value: input.thumbnailView
|
|
3171
|
+
});
|
|
3172
|
+
})() : undefined}`}`)}}`;
|
|
3173
|
+
const $so32 = 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)}}`;
|
|
3174
|
+
const $so33 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so34(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so35(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so39(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so41(input.item) : undefined}`}`)}}`;
|
|
3175
|
+
const $so34 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
3176
|
+
const $so35 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so36(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so38(input.note) : undefined}`}`)}}`;
|
|
3177
|
+
const $so36 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so37(input.excerpt) : undefined}`}`)}}`;
|
|
3178
|
+
const $so37 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
3179
|
+
const $so38 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3180
|
+
const $so39 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so40(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
2573
3181
|
if ("string" === typeof input.sortMode)
|
|
2574
3182
|
return $string(input.sortMode);
|
|
2575
3183
|
if ("string" === typeof input.sortMode)
|
|
@@ -2579,17 +3187,57 @@ export const stringifySettingsRecord = input => {
|
|
|
2579
3187
|
value: input.sortMode
|
|
2580
3188
|
});
|
|
2581
3189
|
})() : undefined}`}`)}}`;
|
|
2582
|
-
const $
|
|
2583
|
-
const $
|
|
2584
|
-
const $
|
|
2585
|
-
const $
|
|
2586
|
-
const $
|
|
2587
|
-
const $
|
|
3190
|
+
const $so40 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
3191
|
+
const $so41 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3192
|
+
const $so43 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so44(input.adobe) : undefined}`}`)}}`;
|
|
3193
|
+
const $so44 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
3194
|
+
const $so45 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
3195
|
+
const $so46 = 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}`}`)}}`;
|
|
3196
|
+
const $so47 = input => `{${$tail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so48(input.events) : undefined}`}`)}}`;
|
|
3197
|
+
const $so48 = input => `{${$tail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => (() => {
|
|
3198
|
+
if ("string" === typeof elem)
|
|
3199
|
+
return $string(elem);
|
|
3200
|
+
if ("string" === typeof elem)
|
|
3201
|
+
return "\"" + elem + "\"";
|
|
3202
|
+
$throws({
|
|
3203
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3204
|
+
value: elem
|
|
3205
|
+
});
|
|
3206
|
+
})()).join(",")}]` : undefined},`}${undefined === input.assigned ? "" : `"assigned":${undefined !== input.assigned ? `[${input.assigned.map(elem => (() => {
|
|
3207
|
+
if ("string" === typeof elem)
|
|
3208
|
+
return $string(elem);
|
|
3209
|
+
if ("string" === typeof elem)
|
|
3210
|
+
return "\"" + elem + "\"";
|
|
3211
|
+
$throws({
|
|
3212
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3213
|
+
value: elem
|
|
3214
|
+
});
|
|
3215
|
+
})()).join(",")}]` : undefined},`}${undefined === input.unassigned ? "" : `"unassigned":${undefined !== input.unassigned ? `[${input.unassigned.map(elem => (() => {
|
|
3216
|
+
if ("string" === typeof elem)
|
|
3217
|
+
return $string(elem);
|
|
3218
|
+
if ("string" === typeof elem)
|
|
3219
|
+
return "\"" + elem + "\"";
|
|
3220
|
+
$throws({
|
|
3221
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3222
|
+
value: elem
|
|
3223
|
+
});
|
|
3224
|
+
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $so49(input.publishSucceeded) : undefined}`}`)}}`;
|
|
3225
|
+
const $so49 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3226
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? `[${value.map(elem => (() => {
|
|
3227
|
+
if ("string" === typeof elem)
|
|
3228
|
+
return $string(elem);
|
|
3229
|
+
if ("string" === typeof elem)
|
|
3230
|
+
return "\"" + elem + "\"";
|
|
3231
|
+
$throws({
|
|
3232
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3233
|
+
value: elem
|
|
3234
|
+
});
|
|
3235
|
+
})()).join(",")}]` : undefined}`; }).filter(str => "" !== str).join(",")}}`;
|
|
2588
3236
|
return $so0(input);
|
|
2589
3237
|
};
|
|
2590
3238
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
2591
3239
|
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) && $
|
|
3240
|
+
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.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io32(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) && $io33(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io42(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io43(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) && $io45(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io46(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io47(input.notifications));
|
|
2593
3241
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
2594
3242
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
2595
3243
|
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 +3264,41 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2616
3264
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
2617
3265
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2618
3266
|
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;
|
|
3267
|
+
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)));
|
|
3268
|
+
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
3269
|
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
3270
|
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
3271
|
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 => (undefined === input.
|
|
2633
|
-
const $io34 = input => undefined === input.
|
|
2634
|
-
const $io35 = input => (undefined === input.
|
|
2635
|
-
const $io36 = input => undefined === input.
|
|
2636
|
-
const $io37 = input => undefined === input.
|
|
2637
|
-
const $io38 = input =>
|
|
2638
|
-
const $io39 = input => undefined === input.
|
|
2639
|
-
const $io40 = input => undefined === input.
|
|
2640
|
-
const $io41 = input => undefined === input.
|
|
2641
|
-
const $io42 = input =>
|
|
3272
|
+
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);
|
|
3273
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
3274
|
+
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));
|
|
3275
|
+
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));
|
|
3276
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3277
|
+
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));
|
|
3278
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
3279
|
+
const $io32 = 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));
|
|
3280
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
3281
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
3282
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
3283
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
3284
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines)) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3285
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
3286
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(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);
|
|
3287
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed);
|
|
3288
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
3289
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
3290
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
3291
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3292
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
3293
|
+
const $io46 = 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);
|
|
3294
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
3295
|
+
const $io48 = 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) && $io49(input.publishSucceeded));
|
|
3296
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
3297
|
+
const value = input[key];
|
|
3298
|
+
if (undefined === value)
|
|
3299
|
+
return true;
|
|
3300
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
3301
|
+
});
|
|
2642
3302
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2643
3303
|
};
|
|
2644
3304
|
if (false === __is(input))
|
|
@@ -2765,12 +3425,36 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2765
3425
|
path: _path + ".media",
|
|
2766
3426
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
2767
3427
|
value: input.media
|
|
3428
|
+
}, errorFactory)) && (undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || $guard(_exceptionable, {
|
|
3429
|
+
path: _path + ".edit",
|
|
3430
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
3431
|
+
value: input.edit
|
|
3432
|
+
}, errorFactory)) && $ao31(input.edit, _path + ".edit", true && _exceptionable) || $guard(_exceptionable, {
|
|
3433
|
+
path: _path + ".edit",
|
|
3434
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
3435
|
+
value: input.edit
|
|
3436
|
+
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
3437
|
+
path: _path + ".commands",
|
|
3438
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
3439
|
+
value: input.commands
|
|
3440
|
+
}, errorFactory)) && input.commands.every((elem, _index1) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3441
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
3442
|
+
expected: "__type.o2",
|
|
3443
|
+
value: elem
|
|
3444
|
+
}, errorFactory)) && $ao32(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3445
|
+
path: _path + ".commands[" + _index1 + "]",
|
|
3446
|
+
expected: "__type.o2",
|
|
3447
|
+
value: elem
|
|
3448
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
3449
|
+
path: _path + ".commands",
|
|
3450
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
3451
|
+
value: input.commands
|
|
2768
3452
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
2769
3453
|
path: _path + ".predefinedTags",
|
|
2770
3454
|
expected: "(Array<string> | undefined)",
|
|
2771
3455
|
value: input.predefinedTags
|
|
2772
|
-
}, errorFactory)) && input.predefinedTags.every((elem,
|
|
2773
|
-
path: _path + ".predefinedTags[" +
|
|
3456
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3457
|
+
path: _path + ".predefinedTags[" + _index2 + "]",
|
|
2774
3458
|
expected: "string",
|
|
2775
3459
|
value: elem
|
|
2776
3460
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2779,35 +3463,35 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2779
3463
|
value: input.predefinedTags
|
|
2780
3464
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
2781
3465
|
path: _path + ".storyboard",
|
|
2782
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3466
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2783
3467
|
value: input.storyboard
|
|
2784
|
-
}, errorFactory)) && $
|
|
3468
|
+
}, errorFactory)) && $ao33(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
2785
3469
|
path: _path + ".storyboard",
|
|
2786
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3470
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2787
3471
|
value: input.storyboard
|
|
2788
3472
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
2789
3473
|
path: _path + ".hiddenPreviews",
|
|
2790
|
-
expected: "(Array<__type>.
|
|
3474
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
2791
3475
|
value: input.hiddenPreviews
|
|
2792
|
-
}, errorFactory)) && input.hiddenPreviews.every((elem,
|
|
2793
|
-
path: _path + ".hiddenPreviews[" +
|
|
2794
|
-
expected: "__type.
|
|
3476
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3477
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
3478
|
+
expected: "__type.o3",
|
|
2795
3479
|
value: elem
|
|
2796
|
-
}, errorFactory)) && $
|
|
2797
|
-
path: _path + ".hiddenPreviews[" +
|
|
2798
|
-
expected: "__type.
|
|
3480
|
+
}, errorFactory)) && $ao42(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3481
|
+
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
3482
|
+
expected: "__type.o3",
|
|
2799
3483
|
value: elem
|
|
2800
3484
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
2801
3485
|
path: _path + ".hiddenPreviews",
|
|
2802
|
-
expected: "(Array<__type>.
|
|
3486
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
2803
3487
|
value: input.hiddenPreviews
|
|
2804
3488
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
2805
3489
|
path: _path + ".plugins",
|
|
2806
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3490
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2807
3491
|
value: input.plugins
|
|
2808
|
-
}, errorFactory)) && $
|
|
3492
|
+
}, errorFactory)) && $ao43(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
2809
3493
|
path: _path + ".plugins",
|
|
2810
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3494
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2811
3495
|
value: input.plugins
|
|
2812
3496
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
2813
3497
|
path: _path + ".crashScreen",
|
|
@@ -2819,20 +3503,28 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2819
3503
|
value: input.debug
|
|
2820
3504
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
2821
3505
|
path: _path + ".featurePreview",
|
|
2822
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3506
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
2823
3507
|
value: input.featurePreview
|
|
2824
|
-
}, errorFactory)) && $
|
|
3508
|
+
}, errorFactory)) && $ao45(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
2825
3509
|
path: _path + ".featurePreview",
|
|
2826
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3510
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
2827
3511
|
value: input.featurePreview
|
|
2828
3512
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
2829
3513
|
path: _path + ".flags",
|
|
2830
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3514
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
2831
3515
|
value: input.flags
|
|
2832
|
-
}, errorFactory)) && $
|
|
3516
|
+
}, errorFactory)) && $ao46(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2833
3517
|
path: _path + ".flags",
|
|
2834
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3518
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
2835
3519
|
value: input.flags
|
|
3520
|
+
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
3521
|
+
path: _path + ".notifications",
|
|
3522
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
3523
|
+
value: input.notifications
|
|
3524
|
+
}, errorFactory)) && $ao47(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
3525
|
+
path: _path + ".notifications",
|
|
3526
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
3527
|
+
value: input.notifications
|
|
2836
3528
|
}, errorFactory));
|
|
2837
3529
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
2838
3530
|
path: _path + ".overrideUserContact",
|
|
@@ -2903,8 +3595,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2903
3595
|
path: _path + ".sortOrder",
|
|
2904
3596
|
expected: "(Array<string> | undefined)",
|
|
2905
3597
|
value: input.sortOrder
|
|
2906
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
2907
|
-
path: _path + ".sortOrder[" +
|
|
3598
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3599
|
+
path: _path + ".sortOrder[" + _index4 + "]",
|
|
2908
3600
|
expected: "string",
|
|
2909
3601
|
value: elem
|
|
2910
3602
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2916,8 +3608,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2916
3608
|
path: _path + ".exclude",
|
|
2917
3609
|
expected: "(Array<string> | undefined)",
|
|
2918
3610
|
value: input.exclude
|
|
2919
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2920
|
-
path: _path + ".exclude[" +
|
|
3611
|
+
}, errorFactory)) && input.exclude.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3612
|
+
path: _path + ".exclude[" + _index5 + "]",
|
|
2921
3613
|
expected: "string",
|
|
2922
3614
|
value: elem
|
|
2923
3615
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2929,8 +3621,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2929
3621
|
path: _path + ".include",
|
|
2930
3622
|
expected: "(Array<string> | undefined)",
|
|
2931
3623
|
value: input.include
|
|
2932
|
-
}, errorFactory)) && input.include.every((elem,
|
|
2933
|
-
path: _path + ".include[" +
|
|
3624
|
+
}, errorFactory)) && input.include.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3625
|
+
path: _path + ".include[" + _index6 + "]",
|
|
2934
3626
|
expected: "string",
|
|
2935
3627
|
value: elem
|
|
2936
3628
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2941,8 +3633,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2941
3633
|
path: _path + ".exclude",
|
|
2942
3634
|
expected: "(Array<string> | undefined)",
|
|
2943
3635
|
value: input.exclude
|
|
2944
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2945
|
-
path: _path + ".exclude[" +
|
|
3636
|
+
}, errorFactory)) && input.exclude.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3637
|
+
path: _path + ".exclude[" + _index7 + "]",
|
|
2946
3638
|
expected: "string",
|
|
2947
3639
|
value: elem
|
|
2948
3640
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2954,8 +3646,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2954
3646
|
path: _path + ".include",
|
|
2955
3647
|
expected: "(Array<string> | undefined)",
|
|
2956
3648
|
value: input.include
|
|
2957
|
-
}, errorFactory)) && input.include.every((elem,
|
|
2958
|
-
path: _path + ".include[" +
|
|
3649
|
+
}, errorFactory)) && input.include.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3650
|
+
path: _path + ".include[" + _index8 + "]",
|
|
2959
3651
|
expected: "string",
|
|
2960
3652
|
value: elem
|
|
2961
3653
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2966,8 +3658,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2966
3658
|
path: _path + ".exclude",
|
|
2967
3659
|
expected: "(Array<string> | undefined)",
|
|
2968
3660
|
value: input.exclude
|
|
2969
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2970
|
-
path: _path + ".exclude[" +
|
|
3661
|
+
}, errorFactory)) && input.exclude.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3662
|
+
path: _path + ".exclude[" + _index9 + "]",
|
|
2971
3663
|
expected: "string",
|
|
2972
3664
|
value: elem
|
|
2973
3665
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3034,12 +3726,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3034
3726
|
path: _path + ".colorTags",
|
|
3035
3727
|
expected: "(Array<PromotedTag> | undefined)",
|
|
3036
3728
|
value: input.colorTags
|
|
3037
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
3038
|
-
path: _path + ".colorTags[" +
|
|
3729
|
+
}, errorFactory)) && input.colorTags.every((elem, _index10) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3730
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
3039
3731
|
expected: "PromotedTag",
|
|
3040
3732
|
value: elem
|
|
3041
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
3042
|
-
path: _path + ".colorTags[" +
|
|
3733
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index10 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3734
|
+
path: _path + ".colorTags[" + _index10 + "]",
|
|
3043
3735
|
expected: "PromotedTag",
|
|
3044
3736
|
value: elem
|
|
3045
3737
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3088,10 +3780,6 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3088
3780
|
path: _path + ".placeholder",
|
|
3089
3781
|
expected: "(string | undefined)",
|
|
3090
3782
|
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
3783
|
}, errorFactory)) && (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
3096
3784
|
path: _path + ".guide",
|
|
3097
3785
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
@@ -3144,8 +3832,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3144
3832
|
path: _path + ".playbackRates",
|
|
3145
3833
|
expected: "(Array<number> | undefined)",
|
|
3146
3834
|
value: input.playbackRates
|
|
3147
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
3148
|
-
path: _path + ".playbackRates[" +
|
|
3835
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index11) => "number" === typeof elem && !Number.isNaN(elem) || $guard(_exceptionable, {
|
|
3836
|
+
path: _path + ".playbackRates[" + _index11 + "]",
|
|
3149
3837
|
expected: "number",
|
|
3150
3838
|
value: elem
|
|
3151
3839
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3172,12 +3860,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3172
3860
|
path: _path + ".guides",
|
|
3173
3861
|
expected: "(Array<__type> | undefined)",
|
|
3174
3862
|
value: input.guides
|
|
3175
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
3176
|
-
path: _path + ".guides[" +
|
|
3863
|
+
}, errorFactory)) && input.guides.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3864
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
3177
3865
|
expected: "__type",
|
|
3178
3866
|
value: elem
|
|
3179
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
3180
|
-
path: _path + ".guides[" +
|
|
3867
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3868
|
+
path: _path + ".guides[" + _index12 + "]",
|
|
3181
3869
|
expected: "__type",
|
|
3182
3870
|
value: elem
|
|
3183
3871
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3188,20 +3876,48 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3188
3876
|
path: _path + ".download",
|
|
3189
3877
|
expected: "(boolean | undefined)",
|
|
3190
3878
|
value: input.download
|
|
3879
|
+
}, errorFactory)) && (undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || $guard(_exceptionable, {
|
|
3880
|
+
path: _path + ".editMode",
|
|
3881
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
3882
|
+
value: input.editMode
|
|
3883
|
+
}, errorFactory)) && $ao25(input.editMode, _path + ".editMode", true && _exceptionable) || $guard(_exceptionable, {
|
|
3884
|
+
path: _path + ".editMode",
|
|
3885
|
+
expected: "(PartialObjectDeep<__type, __type>.o19 | undefined)",
|
|
3886
|
+
value: input.editMode
|
|
3191
3887
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
3192
3888
|
path: _path + ".transcribe",
|
|
3193
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3889
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
3194
3890
|
value: input.transcribe
|
|
3195
|
-
}, errorFactory)) && $
|
|
3891
|
+
}, errorFactory)) && $ao26(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
3196
3892
|
path: _path + ".transcribe",
|
|
3197
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3893
|
+
expected: "(PartialObjectDeep<__type, __type>.o20 | undefined)",
|
|
3198
3894
|
value: input.transcribe
|
|
3199
|
-
}, errorFactory))
|
|
3200
|
-
|
|
3895
|
+
}, errorFactory)) && ((null !== input.openCommand || $guard(_exceptionable, {
|
|
3896
|
+
path: _path + ".openCommand",
|
|
3897
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
3898
|
+
value: input.openCommand
|
|
3899
|
+
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || $guard(_exceptionable, {
|
|
3900
|
+
path: _path + ".openCommand",
|
|
3901
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
3902
|
+
value: input.openCommand
|
|
3903
|
+
}, errorFactory)) && $ao30(input.openCommand, _path + ".openCommand", true && _exceptionable) || $guard(_exceptionable, {
|
|
3904
|
+
path: _path + ".openCommand",
|
|
3905
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
3906
|
+
value: input.openCommand
|
|
3907
|
+
}, errorFactory)));
|
|
3908
|
+
const $ao21 = (input, _path, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
3201
3909
|
path: _path + ".mask",
|
|
3202
3910
|
expected: "(boolean | undefined)",
|
|
3203
3911
|
value: input.mask
|
|
3204
|
-
}, errorFactory)
|
|
3912
|
+
}, errorFactory)) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe || $guard(_exceptionable, {
|
|
3913
|
+
path: _path + ".actionSafe",
|
|
3914
|
+
expected: "(boolean | undefined)",
|
|
3915
|
+
value: input.actionSafe
|
|
3916
|
+
}, errorFactory)) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe || $guard(_exceptionable, {
|
|
3917
|
+
path: _path + ".titleSafe",
|
|
3918
|
+
expected: "(boolean | undefined)",
|
|
3919
|
+
value: input.titleSafe
|
|
3920
|
+
}, errorFactory));
|
|
3205
3921
|
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
3922
|
path: _path + ".preview",
|
|
3207
3923
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
@@ -3229,29 +3945,42 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3229
3945
|
expected: "string",
|
|
3230
3946
|
value: input.aspectRatio
|
|
3231
3947
|
}, errorFactory));
|
|
3232
|
-
const $ao25 = (input, _path, _exceptionable = true) => undefined === input.
|
|
3948
|
+
const $ao25 = (input, _path, _exceptionable = true) => (undefined === input.enabled || "boolean" === typeof input.enabled || $guard(_exceptionable, {
|
|
3949
|
+
path: _path + ".enabled",
|
|
3950
|
+
expected: "(boolean | undefined)",
|
|
3951
|
+
value: input.enabled
|
|
3952
|
+
}, errorFactory)) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption || $guard(_exceptionable, {
|
|
3953
|
+
path: _path + ".defaultEnterOption",
|
|
3954
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
3955
|
+
value: input.defaultEnterOption
|
|
3956
|
+
}, errorFactory)) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption || $guard(_exceptionable, {
|
|
3957
|
+
path: _path + ".defaultExitOption",
|
|
3958
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
3959
|
+
value: input.defaultExitOption
|
|
3960
|
+
}, errorFactory));
|
|
3961
|
+
const $ao26 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
3233
3962
|
path: _path + ".subtitleDisclaimer",
|
|
3234
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3963
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
3235
3964
|
value: input.subtitleDisclaimer
|
|
3236
|
-
}, errorFactory)) && $
|
|
3965
|
+
}, errorFactory)) && $ao27(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
3237
3966
|
path: _path + ".subtitleDisclaimer",
|
|
3238
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3967
|
+
expected: "(PartialObjectDeep<__type, __type>.o21 | undefined)",
|
|
3239
3968
|
value: input.subtitleDisclaimer
|
|
3240
3969
|
}, errorFactory);
|
|
3241
|
-
const $
|
|
3970
|
+
const $ao27 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
3242
3971
|
path: _path + ".isUserConfigurable",
|
|
3243
3972
|
expected: "(boolean | undefined)",
|
|
3244
3973
|
value: input.isUserConfigurable
|
|
3245
3974
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
3246
3975
|
path: _path + ".defaultValue",
|
|
3247
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3976
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
3248
3977
|
value: input.defaultValue
|
|
3249
|
-
}, errorFactory)) && $
|
|
3978
|
+
}, errorFactory)) && $ao28(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
3250
3979
|
path: _path + ".defaultValue",
|
|
3251
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3980
|
+
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
3252
3981
|
value: input.defaultValue
|
|
3253
3982
|
}, errorFactory));
|
|
3254
|
-
const $
|
|
3983
|
+
const $ao28 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
3255
3984
|
path: _path + ".enabled",
|
|
3256
3985
|
expected: "(false | undefined)",
|
|
3257
3986
|
value: input.enabled
|
|
@@ -3259,12 +3988,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3259
3988
|
path: _path + ".text",
|
|
3260
3989
|
expected: "(Array<__type>.o1 | undefined)",
|
|
3261
3990
|
value: input.text
|
|
3262
|
-
}, errorFactory)) && input.text.every((elem,
|
|
3263
|
-
path: _path + ".text[" +
|
|
3991
|
+
}, errorFactory)) && input.text.every((elem, _index13) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3992
|
+
path: _path + ".text[" + _index13 + "]",
|
|
3264
3993
|
expected: "__type.o1",
|
|
3265
3994
|
value: elem
|
|
3266
|
-
}, errorFactory)) && $
|
|
3267
|
-
path: _path + ".text[" +
|
|
3995
|
+
}, errorFactory)) && $ao29(elem, _path + ".text[" + _index13 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3996
|
+
path: _path + ".text[" + _index13 + "]",
|
|
3268
3997
|
expected: "__type.o1",
|
|
3269
3998
|
value: elem
|
|
3270
3999
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3280,7 +4009,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3280
4009
|
expected: "(number | undefined)",
|
|
3281
4010
|
value: input.duration
|
|
3282
4011
|
}, errorFactory));
|
|
3283
|
-
const $
|
|
4012
|
+
const $ao29 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
3284
4013
|
path: _path + ".language",
|
|
3285
4014
|
expected: "string",
|
|
3286
4015
|
value: input.language
|
|
@@ -3289,71 +4018,122 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3289
4018
|
expected: "string",
|
|
3290
4019
|
value: input.value
|
|
3291
4020
|
}, errorFactory));
|
|
3292
|
-
const $
|
|
4021
|
+
const $ao30 = (input, _path, _exceptionable = true) => (undefined === input.url || "string" === typeof input.url || $guard(_exceptionable, {
|
|
4022
|
+
path: _path + ".url",
|
|
4023
|
+
expected: "(string | undefined)",
|
|
4024
|
+
value: input.url
|
|
4025
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
4026
|
+
path: _path + ".command",
|
|
4027
|
+
expected: "(string | undefined)",
|
|
4028
|
+
value: input.command
|
|
4029
|
+
}, errorFactory)) && (undefined === input.app || "string" === typeof input.app || $guard(_exceptionable, {
|
|
4030
|
+
path: _path + ".app",
|
|
4031
|
+
expected: "(string | undefined)",
|
|
4032
|
+
value: input.app
|
|
4033
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
4034
|
+
path: _path + ".args",
|
|
4035
|
+
expected: "(Array<string> | undefined)",
|
|
4036
|
+
value: input.args
|
|
4037
|
+
}, errorFactory)) && input.args.every((elem, _index14) => "string" === typeof elem || $guard(_exceptionable, {
|
|
4038
|
+
path: _path + ".args[" + _index14 + "]",
|
|
4039
|
+
expected: "string",
|
|
4040
|
+
value: elem
|
|
4041
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4042
|
+
path: _path + ".args",
|
|
4043
|
+
expected: "(Array<string> | undefined)",
|
|
4044
|
+
value: input.args
|
|
4045
|
+
}, errorFactory));
|
|
4046
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
4047
|
+
path: _path + ".thumbnailView",
|
|
4048
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
4049
|
+
value: input.thumbnailView
|
|
4050
|
+
}, errorFactory);
|
|
4051
|
+
const $ao32 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
4052
|
+
path: _path + ".title",
|
|
4053
|
+
expected: "string",
|
|
4054
|
+
value: input.title
|
|
4055
|
+
}, errorFactory)) && (undefined === input.command || "string" === typeof input.command || $guard(_exceptionable, {
|
|
4056
|
+
path: _path + ".command",
|
|
4057
|
+
expected: "(string | undefined)",
|
|
4058
|
+
value: input.command
|
|
4059
|
+
}, errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || $guard(_exceptionable, {
|
|
4060
|
+
path: _path + ".args",
|
|
4061
|
+
expected: "(Array<string> | undefined)",
|
|
4062
|
+
value: input.args
|
|
4063
|
+
}, errorFactory)) && input.args.every((elem, _index15) => "string" === typeof elem || $guard(_exceptionable, {
|
|
4064
|
+
path: _path + ".args[" + _index15 + "]",
|
|
4065
|
+
expected: "string",
|
|
4066
|
+
value: elem
|
|
4067
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4068
|
+
path: _path + ".args",
|
|
4069
|
+
expected: "(Array<string> | undefined)",
|
|
4070
|
+
value: input.args
|
|
4071
|
+
}, errorFactory));
|
|
4072
|
+
const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
3293
4073
|
path: _path + ".folded",
|
|
3294
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4074
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
3295
4075
|
value: input.folded
|
|
3296
|
-
}, errorFactory)) && $
|
|
4076
|
+
}, errorFactory)) && $ao34(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
3297
4077
|
path: _path + ".folded",
|
|
3298
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4078
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
3299
4079
|
value: input.folded
|
|
3300
4080
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
3301
4081
|
path: _path + ".assets",
|
|
3302
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4082
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
3303
4083
|
value: input.assets
|
|
3304
|
-
}, errorFactory)) && $
|
|
4084
|
+
}, errorFactory)) && $ao35(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
3305
4085
|
path: _path + ".assets",
|
|
3306
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4086
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
3307
4087
|
value: input.assets
|
|
3308
4088
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
3309
4089
|
path: _path + ".pipeline",
|
|
3310
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4090
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
3311
4091
|
value: input.pipeline
|
|
3312
|
-
}, errorFactory)) && $
|
|
4092
|
+
}, errorFactory)) && $ao39(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
3313
4093
|
path: _path + ".pipeline",
|
|
3314
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4094
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
3315
4095
|
value: input.pipeline
|
|
3316
4096
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
3317
4097
|
path: _path + ".item",
|
|
3318
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4098
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
3319
4099
|
value: input.item
|
|
3320
|
-
}, errorFactory)) && $
|
|
4100
|
+
}, errorFactory)) && $ao41(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
3321
4101
|
path: _path + ".item",
|
|
3322
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4102
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
3323
4103
|
value: input.item
|
|
3324
4104
|
}, errorFactory));
|
|
3325
|
-
const $
|
|
4105
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
3326
4106
|
path: _path + ".auto",
|
|
3327
4107
|
expected: "(boolean | undefined)",
|
|
3328
4108
|
value: input.auto
|
|
3329
4109
|
}, errorFactory);
|
|
3330
|
-
const $
|
|
4110
|
+
const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
3331
4111
|
path: _path + ".story",
|
|
3332
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4112
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
3333
4113
|
value: input.story
|
|
3334
|
-
}, errorFactory)) && $
|
|
4114
|
+
}, errorFactory)) && $ao36(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
3335
4115
|
path: _path + ".story",
|
|
3336
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4116
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
3337
4117
|
value: input.story
|
|
3338
4118
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
3339
4119
|
path: _path + ".note",
|
|
3340
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4120
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
3341
4121
|
value: input.note
|
|
3342
|
-
}, errorFactory)) && $
|
|
4122
|
+
}, errorFactory)) && $ao38(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
3343
4123
|
path: _path + ".note",
|
|
3344
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4124
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
3345
4125
|
value: input.note
|
|
3346
4126
|
}, errorFactory));
|
|
3347
|
-
const $
|
|
4127
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
3348
4128
|
path: _path + ".excerpt",
|
|
3349
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4129
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
3350
4130
|
value: input.excerpt
|
|
3351
|
-
}, errorFactory)) && $
|
|
4131
|
+
}, errorFactory)) && $ao37(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
3352
4132
|
path: _path + ".excerpt",
|
|
3353
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4133
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
3354
4134
|
value: input.excerpt
|
|
3355
4135
|
}, errorFactory);
|
|
3356
|
-
const $
|
|
4136
|
+
const $ao37 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
3357
4137
|
path: _path + ".maxLines",
|
|
3358
4138
|
expected: "(number | undefined)",
|
|
3359
4139
|
value: input.maxLines
|
|
@@ -3362,35 +4142,35 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3362
4142
|
expected: "(string | undefined)",
|
|
3363
4143
|
value: input.mode
|
|
3364
4144
|
}, errorFactory));
|
|
3365
|
-
const $
|
|
4145
|
+
const $ao38 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
3366
4146
|
path: _path + ".maxHeight",
|
|
3367
4147
|
expected: "(number | undefined)",
|
|
3368
4148
|
value: input.maxHeight
|
|
3369
4149
|
}, errorFactory);
|
|
3370
|
-
const $
|
|
4150
|
+
const $ao39 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
3371
4151
|
path: _path + ".search",
|
|
3372
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4152
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
3373
4153
|
value: input.search
|
|
3374
|
-
}, errorFactory)) && $
|
|
4154
|
+
}, errorFactory)) && $ao40(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
3375
4155
|
path: _path + ".search",
|
|
3376
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4156
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
3377
4157
|
value: input.search
|
|
3378
4158
|
}, 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
4159
|
path: _path + ".sortMode",
|
|
3380
4160
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
3381
4161
|
value: input.sortMode
|
|
3382
4162
|
}, errorFactory));
|
|
3383
|
-
const $
|
|
4163
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
3384
4164
|
path: _path + ".maxItemsDisplayed",
|
|
3385
4165
|
expected: "(number | undefined)",
|
|
3386
4166
|
value: input.maxItemsDisplayed
|
|
3387
4167
|
}, errorFactory);
|
|
3388
|
-
const $
|
|
4168
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
3389
4169
|
path: _path + ".maxHeight",
|
|
3390
4170
|
expected: "(number | undefined)",
|
|
3391
4171
|
value: input.maxHeight
|
|
3392
4172
|
}, errorFactory);
|
|
3393
|
-
const $
|
|
4173
|
+
const $ao42 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
3394
4174
|
path: _path + ".id",
|
|
3395
4175
|
expected: "string",
|
|
3396
4176
|
value: input.id
|
|
@@ -3399,26 +4179,26 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3399
4179
|
expected: "boolean",
|
|
3400
4180
|
value: input.folded
|
|
3401
4181
|
}, errorFactory));
|
|
3402
|
-
const $
|
|
4182
|
+
const $ao43 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
3403
4183
|
path: _path + ".adobe",
|
|
3404
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4184
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
3405
4185
|
value: input.adobe
|
|
3406
|
-
}, errorFactory)) && $
|
|
4186
|
+
}, errorFactory)) && $ao44(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
3407
4187
|
path: _path + ".adobe",
|
|
3408
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4188
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
3409
4189
|
value: input.adobe
|
|
3410
4190
|
}, errorFactory);
|
|
3411
|
-
const $
|
|
4191
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
3412
4192
|
path: _path + ".useProxies",
|
|
3413
4193
|
expected: "(boolean | undefined)",
|
|
3414
4194
|
value: input.useProxies
|
|
3415
4195
|
}, errorFactory);
|
|
3416
|
-
const $
|
|
4196
|
+
const $ao45 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
3417
4197
|
path: _path + ".collections",
|
|
3418
4198
|
expected: "(boolean | undefined)",
|
|
3419
4199
|
value: input.collections
|
|
3420
4200
|
}, errorFactory);
|
|
3421
|
-
const $
|
|
4201
|
+
const $ao46 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
3422
4202
|
path: _path + ".utils",
|
|
3423
4203
|
expected: "(boolean | undefined)",
|
|
3424
4204
|
value: input.utils
|
|
@@ -3479,6 +4259,78 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3479
4259
|
expected: "(boolean | undefined)",
|
|
3480
4260
|
value: input.devWarnings
|
|
3481
4261
|
}, errorFactory));
|
|
4262
|
+
const $ao47 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
4263
|
+
path: _path + ".events",
|
|
4264
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
4265
|
+
value: input.events
|
|
4266
|
+
}, errorFactory)) && $ao48(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
4267
|
+
path: _path + ".events",
|
|
4268
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
4269
|
+
value: input.events
|
|
4270
|
+
}, errorFactory);
|
|
4271
|
+
const $ao48 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
4272
|
+
path: _path + ".comment",
|
|
4273
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4274
|
+
value: input.comment
|
|
4275
|
+
}, errorFactory)) && input.comment.every((elem, _index16) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4276
|
+
path: _path + ".comment[" + _index16 + "]",
|
|
4277
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4278
|
+
value: elem
|
|
4279
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4280
|
+
path: _path + ".comment",
|
|
4281
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4282
|
+
value: input.comment
|
|
4283
|
+
}, errorFactory)) && (undefined === input.assigned || (Array.isArray(input.assigned) || $guard(_exceptionable, {
|
|
4284
|
+
path: _path + ".assigned",
|
|
4285
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4286
|
+
value: input.assigned
|
|
4287
|
+
}, errorFactory)) && input.assigned.every((elem, _index17) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4288
|
+
path: _path + ".assigned[" + _index17 + "]",
|
|
4289
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4290
|
+
value: elem
|
|
4291
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4292
|
+
path: _path + ".assigned",
|
|
4293
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4294
|
+
value: input.assigned
|
|
4295
|
+
}, errorFactory)) && (undefined === input.unassigned || (Array.isArray(input.unassigned) || $guard(_exceptionable, {
|
|
4296
|
+
path: _path + ".unassigned",
|
|
4297
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4298
|
+
value: input.unassigned
|
|
4299
|
+
}, errorFactory)) && input.unassigned.every((elem, _index18) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4300
|
+
path: _path + ".unassigned[" + _index18 + "]",
|
|
4301
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4302
|
+
value: elem
|
|
4303
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4304
|
+
path: _path + ".unassigned",
|
|
4305
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4306
|
+
value: input.unassigned
|
|
4307
|
+
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
4308
|
+
path: _path + ".publishSucceeded",
|
|
4309
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
4310
|
+
value: input.publishSucceeded
|
|
4311
|
+
}, errorFactory)) && $ao49(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
4312
|
+
path: _path + ".publishSucceeded",
|
|
4313
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
4314
|
+
value: input.publishSucceeded
|
|
4315
|
+
}, errorFactory));
|
|
4316
|
+
const $ao49 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
4317
|
+
const value = input[key];
|
|
4318
|
+
if (undefined === value)
|
|
4319
|
+
return true;
|
|
4320
|
+
return undefined === value || (Array.isArray(value) || $guard(_exceptionable, {
|
|
4321
|
+
path: _path + $join(key),
|
|
4322
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4323
|
+
value: value
|
|
4324
|
+
}, errorFactory)) && value.every((elem, _index19) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4325
|
+
path: _path + $join(key) + "[" + _index19 + "]",
|
|
4326
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4327
|
+
value: elem
|
|
4328
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
4329
|
+
path: _path + $join(key),
|
|
4330
|
+
expected: "(Array<NotificationReason> | undefined)",
|
|
4331
|
+
value: value
|
|
4332
|
+
}, errorFactory);
|
|
4333
|
+
});
|
|
3482
4334
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
3483
4335
|
path: _path + "",
|
|
3484
4336
|
expected: "PartialObjectDeep<Settings, __type>",
|
|
@@ -3517,33 +4369,45 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3517
4369
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
3518
4370
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
3519
4371
|
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;
|
|
4372
|
+
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)));
|
|
4373
|
+
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
4374
|
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
4375
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
3524
4376
|
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 => (undefined === input.
|
|
3534
|
-
const $io34 = input => undefined === input.
|
|
3535
|
-
const $io35 = input => (undefined === input.
|
|
3536
|
-
const $io36 = input => undefined === input.
|
|
3537
|
-
const $io37 = input => undefined === input.
|
|
3538
|
-
const $io38 = input =>
|
|
3539
|
-
const $io39 = input => undefined === input.
|
|
3540
|
-
const $io40 = input => undefined === input.
|
|
3541
|
-
const $io41 = input => undefined === input.
|
|
3542
|
-
const $io42 = input =>
|
|
4377
|
+
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);
|
|
4378
|
+
const $io26 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io27(input.subtitleDisclaimer);
|
|
4379
|
+
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));
|
|
4380
|
+
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);
|
|
4381
|
+
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
4382
|
+
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));
|
|
4383
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
4384
|
+
const $io32 = 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));
|
|
4385
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
4386
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
4387
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
4388
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
4389
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
4390
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
4391
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(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);
|
|
4392
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
4393
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
4394
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
4395
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
4396
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
4397
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
4398
|
+
const $io46 = 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);
|
|
4399
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
4400
|
+
const $io48 = 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) && $io49(input.publishSucceeded));
|
|
4401
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
4402
|
+
const value = input[key];
|
|
4403
|
+
if (undefined === value)
|
|
4404
|
+
return true;
|
|
4405
|
+
return undefined === value || Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
4406
|
+
});
|
|
3543
4407
|
const $string = __typia.json.createAssertStringify.string;
|
|
3544
4408
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
3545
4409
|
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 ? $
|
|
4410
|
+
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.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so32(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 ? $so33(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 ? $so43(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 ? $so45(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so46(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so47(input.notifications) : undefined}`}`)}}`;
|
|
3547
4411
|
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
4412
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
3549
4413
|
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 +4429,17 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3565
4429
|
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
3566
4430
|
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
3567
4431
|
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
|
-
|
|
4432
|
+
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 ? (() => {
|
|
4433
|
+
if ("string" === typeof input.openCommand)
|
|
4434
|
+
return $string(input.openCommand);
|
|
4435
|
+
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|
|
4436
|
+
return $so30(input.openCommand);
|
|
4437
|
+
$throws({
|
|
4438
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | string | undefined)",
|
|
4439
|
+
value: input.openCommand
|
|
4440
|
+
});
|
|
4441
|
+
})() : undefined}`}`)}}`;
|
|
4442
|
+
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
4443
|
const $so22 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? (() => {
|
|
3571
4444
|
if ("string" === typeof input.preview)
|
|
3572
4445
|
return $string(input.preview);
|
|
@@ -3580,16 +4453,47 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3580
4453
|
});
|
|
3581
4454
|
})() : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`;
|
|
3582
4455
|
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
|
-
|
|
4456
|
+
const $so25 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.defaultEnterOption ? "" : `"defaultEnterOption":${undefined !== input.defaultEnterOption ? (() => {
|
|
4457
|
+
if ("string" === typeof input.defaultEnterOption)
|
|
4458
|
+
return $string(input.defaultEnterOption);
|
|
4459
|
+
if ("string" === typeof input.defaultEnterOption)
|
|
4460
|
+
return "\"" + input.defaultEnterOption + "\"";
|
|
4461
|
+
$throws({
|
|
4462
|
+
expected: "(\"createNew\" | \"edit\" | \"none\" | undefined)",
|
|
4463
|
+
value: input.defaultEnterOption
|
|
4464
|
+
});
|
|
4465
|
+
})() : undefined},`}${undefined === input.defaultExitOption ? "" : `"defaultExitOption":${undefined !== input.defaultExitOption ? (() => {
|
|
4466
|
+
if ("string" === typeof input.defaultExitOption)
|
|
4467
|
+
return $string(input.defaultExitOption);
|
|
4468
|
+
if ("string" === typeof input.defaultExitOption)
|
|
4469
|
+
return "\"" + input.defaultExitOption + "\"";
|
|
4470
|
+
$throws({
|
|
4471
|
+
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
4472
|
+
value: input.defaultExitOption
|
|
4473
|
+
});
|
|
4474
|
+
})() : undefined}`}`)}}`;
|
|
4475
|
+
const $so26 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so27(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
4476
|
+
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}`}`)}}`;
|
|
4477
|
+
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}`}`)}}`;
|
|
4478
|
+
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}`}`)}}`;
|
|
4479
|
+
const $so31 = input => `{${$tail(`${undefined === input.thumbnailView ? "" : `"thumbnailView":${undefined !== input.thumbnailView ? (() => {
|
|
4480
|
+
if ("string" === typeof input.thumbnailView)
|
|
4481
|
+
return $string(input.thumbnailView);
|
|
4482
|
+
if ("string" === typeof input.thumbnailView)
|
|
4483
|
+
return "\"" + input.thumbnailView + "\"";
|
|
4484
|
+
$throws({
|
|
4485
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
4486
|
+
value: input.thumbnailView
|
|
4487
|
+
});
|
|
4488
|
+
})() : undefined}`}`)}}`;
|
|
4489
|
+
const $so32 = 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)}}`;
|
|
4490
|
+
const $so33 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so34(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so35(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so39(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so41(input.item) : undefined}`}`)}}`;
|
|
4491
|
+
const $so34 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
4492
|
+
const $so35 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so36(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so38(input.note) : undefined}`}`)}}`;
|
|
4493
|
+
const $so36 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so37(input.excerpt) : undefined}`}`)}}`;
|
|
4494
|
+
const $so37 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
4495
|
+
const $so38 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
4496
|
+
const $so39 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so40(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
3593
4497
|
if ("string" === typeof input.sortMode)
|
|
3594
4498
|
return $string(input.sortMode);
|
|
3595
4499
|
if ("string" === typeof input.sortMode)
|
|
@@ -3599,11 +4503,51 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3599
4503
|
value: input.sortMode
|
|
3600
4504
|
});
|
|
3601
4505
|
})() : undefined}`}`)}}`;
|
|
3602
|
-
const $
|
|
3603
|
-
const $
|
|
3604
|
-
const $
|
|
3605
|
-
const $
|
|
3606
|
-
const $
|
|
3607
|
-
const $
|
|
4506
|
+
const $so40 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
4507
|
+
const $so41 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
4508
|
+
const $so43 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so44(input.adobe) : undefined}`}`)}}`;
|
|
4509
|
+
const $so44 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
4510
|
+
const $so45 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
4511
|
+
const $so46 = 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}`}`)}}`;
|
|
4512
|
+
const $so47 = input => `{${$tail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so48(input.events) : undefined}`}`)}}`;
|
|
4513
|
+
const $so48 = input => `{${$tail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => (() => {
|
|
4514
|
+
if ("string" === typeof elem)
|
|
4515
|
+
return $string(elem);
|
|
4516
|
+
if ("string" === typeof elem)
|
|
4517
|
+
return "\"" + elem + "\"";
|
|
4518
|
+
$throws({
|
|
4519
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4520
|
+
value: elem
|
|
4521
|
+
});
|
|
4522
|
+
})()).join(",")}]` : undefined},`}${undefined === input.assigned ? "" : `"assigned":${undefined !== input.assigned ? `[${input.assigned.map(elem => (() => {
|
|
4523
|
+
if ("string" === typeof elem)
|
|
4524
|
+
return $string(elem);
|
|
4525
|
+
if ("string" === typeof elem)
|
|
4526
|
+
return "\"" + elem + "\"";
|
|
4527
|
+
$throws({
|
|
4528
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4529
|
+
value: elem
|
|
4530
|
+
});
|
|
4531
|
+
})()).join(",")}]` : undefined},`}${undefined === input.unassigned ? "" : `"unassigned":${undefined !== input.unassigned ? `[${input.unassigned.map(elem => (() => {
|
|
4532
|
+
if ("string" === typeof elem)
|
|
4533
|
+
return $string(elem);
|
|
4534
|
+
if ("string" === typeof elem)
|
|
4535
|
+
return "\"" + elem + "\"";
|
|
4536
|
+
$throws({
|
|
4537
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4538
|
+
value: elem
|
|
4539
|
+
});
|
|
4540
|
+
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $so49(input.publishSucceeded) : undefined}`}`)}}`;
|
|
4541
|
+
const $so49 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
4542
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? `[${value.map(elem => (() => {
|
|
4543
|
+
if ("string" === typeof elem)
|
|
4544
|
+
return $string(elem);
|
|
4545
|
+
if ("string" === typeof elem)
|
|
4546
|
+
return "\"" + elem + "\"";
|
|
4547
|
+
$throws({
|
|
4548
|
+
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4549
|
+
value: elem
|
|
4550
|
+
});
|
|
4551
|
+
})()).join(",")}]` : undefined}`; }).filter(str => "" !== str).join(",")}}`;
|
|
3608
4552
|
return $so0(input);
|
|
3609
4553
|
}; return stringify(assert(input, errorFactory)); };
|