@nxtedition/types 23.0.38 → 23.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/settings.d.ts +13 -8
- package/dist/common/settings.js +916 -796
- package/dist/domains/settings.js +882 -767
- package/dist/nxtpression.d.ts +9 -4
- package/dist/schema.json +25 -7
- package/package.json +1 -1
package/dist/domains/settings.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
2
|
export const isSettingsRecord = input => {
|
|
3
|
-
const $
|
|
4
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== 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.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && $io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && $io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && $io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && $io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && $io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && $io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && $io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && $io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && $io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io22(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && $io23(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && $io24(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && $io25(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && $io38(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && $
|
|
3
|
+
const $iv22 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
4
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== 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.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && $io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && $io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && $io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && $io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && $io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && $io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && $io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && $io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && $io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io22(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && $io23(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && $io24(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && $io25(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && $io38(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && $io51(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io53(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 && $io54(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io63(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && $io64(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) && $io67(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && $io68(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && $io69(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert);
|
|
5
5
|
const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
|
|
6
6
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
|
|
7
7
|
const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && ("number" === typeof input.settingsPanelStore.activeSectionIndex && "string" === typeof input.settingsPanelStore.activeTab) && Object.keys(input).every(key => {
|
|
@@ -98,35 +98,36 @@ export const isSettingsRecord = input => {
|
|
|
98
98
|
return true;
|
|
99
99
|
return "object" === typeof value && null !== value && $io27(value);
|
|
100
100
|
});
|
|
101
|
-
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $
|
|
101
|
+
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io44(elem))) && "boolean" === typeof input.download && ("object" === typeof input.editMode && null !== input.editMode && $io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io50(input.openCommand)));
|
|
102
102
|
const $io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
103
103
|
const $io40 = input => ("play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && "boolean" === typeof input.showRenderProgress;
|
|
104
|
-
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.
|
|
105
|
-
const $io42 = input => (undefined === input.
|
|
106
|
-
const $io43 = input => "string" === typeof input.label && "string" === typeof input.
|
|
107
|
-
const $io44 = input => "
|
|
108
|
-
const $io45 = input =>
|
|
109
|
-
const $io46 = input =>
|
|
110
|
-
const $io47 = input => (undefined === input.
|
|
111
|
-
const $io48 = input => "
|
|
112
|
-
const $io49 = input =>
|
|
113
|
-
const $io50 = input => (
|
|
114
|
-
const $io51 = input => (
|
|
115
|
-
const $io52 = input => "string" === typeof input.
|
|
116
|
-
const $io53 = input =>
|
|
117
|
-
const $io54 = input => undefined === input.
|
|
118
|
-
const $io55 = input =>
|
|
119
|
-
const $io56 = input => "object" === typeof input.
|
|
120
|
-
const $
|
|
121
|
-
const $io59 = input =>
|
|
122
|
-
const $
|
|
123
|
-
const $io63 = input => "
|
|
124
|
-
const $
|
|
125
|
-
const $io66 = input =>
|
|
126
|
-
const $io67 = input =>
|
|
127
|
-
const $io68 = input => "
|
|
128
|
-
const $io69 = input =>
|
|
129
|
-
const $io70 = input =>
|
|
104
|
+
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io43(elem)));
|
|
105
|
+
const $io42 = input => (undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (undefined === input.ifLang || "string" === typeof input.ifLang) && (undefined === input.thenStyle || "string" === typeof input.thenStyle) && (undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine);
|
|
106
|
+
const $io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color);
|
|
107
|
+
const $io44 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
108
|
+
const $io45 = input => "boolean" === typeof input.enabled && ("edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && ("none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
109
|
+
const $io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io47(input.subtitleDisclaimer);
|
|
110
|
+
const $io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io48(input.defaultValue));
|
|
111
|
+
const $io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
112
|
+
const $io49 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
113
|
+
const $io50 = 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));
|
|
114
|
+
const $io51 = input => ("none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && ("object" === typeof input.voiceOver && null !== input.voiceOver && $io52(input.voiceOver));
|
|
115
|
+
const $io52 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && "number" === typeof input.inputGainDb && "number" === typeof input.backgroundReductionDb && ("instant" === input.recordMode || "punchAndRoll" === input.recordMode) && "number" === typeof input.preRollDuration;
|
|
116
|
+
const $io53 = 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));
|
|
117
|
+
const $io54 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io55(input.folded)) && ("object" === typeof input.assets && null !== input.assets && $io56(input.assets)) && ("object" === typeof input.pipeline && null !== input.pipeline && $io60(input.pipeline)) && ("object" === typeof input.item && null !== input.item && "number" === typeof input.item.maxHeight);
|
|
118
|
+
const $io55 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
119
|
+
const $io56 = input => "object" === typeof input.story && null !== input.story && $io57(input.story) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io59(input.note));
|
|
120
|
+
const $io57 = input => "object" === typeof input.excerpt && null !== input.excerpt && ("number" === typeof input.excerpt.maxLines && "string" === typeof input.excerpt.mode);
|
|
121
|
+
const $io59 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
122
|
+
const $io60 = input => "object" === typeof input.search && null !== input.search && "number" === typeof input.search.maxItemsDisplayed && true === $iv22.has(input.sortMode);
|
|
123
|
+
const $io63 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
124
|
+
const $io64 = input => "object" === typeof input.adobe && null !== input.adobe && "boolean" === typeof input.adobe.useProxies && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && $io66(input.rive));
|
|
125
|
+
const $io66 = input => undefined === input.template || "string" === typeof input.template;
|
|
126
|
+
const $io67 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering);
|
|
127
|
+
const $io68 = input => "boolean" === typeof input.utils && "boolean" === typeof input.history && "boolean" === typeof input.refs && "boolean" === typeof input.access && "boolean" === typeof input.files && "boolean" === typeof input["export"] && "boolean" === typeof input.json && "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);
|
|
128
|
+
const $io69 = input => "object" === typeof input.events && null !== input.events && $io70(input.events);
|
|
129
|
+
const $io70 = input => Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem) && (Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io71(input.publishSucceeded));
|
|
130
|
+
const $io71 = input => Object.keys(input).every(key => {
|
|
130
131
|
const value = input[key];
|
|
131
132
|
if (undefined === value)
|
|
132
133
|
return true;
|
|
@@ -136,8 +137,8 @@ export const isSettingsRecord = input => {
|
|
|
136
137
|
};
|
|
137
138
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
138
139
|
const __is = input => {
|
|
139
|
-
const $
|
|
140
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== 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.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && $io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && $io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && $io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && $io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && $io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && $io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && $io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && $io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && $io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io22(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && $io23(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && $io24(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && $io25(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && $io38(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && $
|
|
140
|
+
const $iv22 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
141
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== 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.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && $io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && $io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && $io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && $io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && $io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && $io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && $io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && $io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && $io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io22(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && $io23(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && $io24(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && $io25(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && $io38(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && $io51(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io53(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 && $io54(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io63(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && $io64(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) && $io67(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && $io68(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && $io69(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert);
|
|
141
142
|
const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
|
|
142
143
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
|
|
143
144
|
const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && ("number" === typeof input.settingsPanelStore.activeSectionIndex && "string" === typeof input.settingsPanelStore.activeTab) && Object.keys(input).every(key => {
|
|
@@ -234,35 +235,36 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
234
235
|
return true;
|
|
235
236
|
return "object" === typeof value && null !== value && $io27(value);
|
|
236
237
|
});
|
|
237
|
-
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $
|
|
238
|
+
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io44(elem))) && "boolean" === typeof input.download && ("object" === typeof input.editMode && null !== input.editMode && $io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io50(input.openCommand)));
|
|
238
239
|
const $io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
239
240
|
const $io40 = input => ("play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && "boolean" === typeof input.showRenderProgress;
|
|
240
|
-
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.
|
|
241
|
-
const $io42 = input => (undefined === input.
|
|
242
|
-
const $io43 = input => "string" === typeof input.label && "string" === typeof input.
|
|
243
|
-
const $io44 = input => "
|
|
244
|
-
const $io45 = input =>
|
|
245
|
-
const $io46 = input =>
|
|
246
|
-
const $io47 = input => (undefined === input.
|
|
247
|
-
const $io48 = input => "
|
|
248
|
-
const $io49 = input =>
|
|
249
|
-
const $io50 = input => (
|
|
250
|
-
const $io51 = input => (
|
|
251
|
-
const $io52 = input => "string" === typeof input.
|
|
252
|
-
const $io53 = input =>
|
|
253
|
-
const $io54 = input => undefined === input.
|
|
254
|
-
const $io55 = input =>
|
|
255
|
-
const $io56 = input => "object" === typeof input.
|
|
256
|
-
const $
|
|
257
|
-
const $io59 = input =>
|
|
258
|
-
const $
|
|
259
|
-
const $io63 = input => "
|
|
260
|
-
const $
|
|
261
|
-
const $io66 = input =>
|
|
262
|
-
const $io67 = input =>
|
|
263
|
-
const $io68 = input => "
|
|
264
|
-
const $io69 = input =>
|
|
265
|
-
const $io70 = input =>
|
|
241
|
+
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io43(elem)));
|
|
242
|
+
const $io42 = input => (undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (undefined === input.ifLang || "string" === typeof input.ifLang) && (undefined === input.thenStyle || "string" === typeof input.thenStyle) && (undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine);
|
|
243
|
+
const $io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color);
|
|
244
|
+
const $io44 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
245
|
+
const $io45 = input => "boolean" === typeof input.enabled && ("edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && ("none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
246
|
+
const $io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io47(input.subtitleDisclaimer);
|
|
247
|
+
const $io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io48(input.defaultValue));
|
|
248
|
+
const $io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
249
|
+
const $io49 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
250
|
+
const $io50 = 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));
|
|
251
|
+
const $io51 = input => ("none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && ("object" === typeof input.voiceOver && null !== input.voiceOver && $io52(input.voiceOver));
|
|
252
|
+
const $io52 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && "number" === typeof input.inputGainDb && "number" === typeof input.backgroundReductionDb && ("instant" === input.recordMode || "punchAndRoll" === input.recordMode) && "number" === typeof input.preRollDuration;
|
|
253
|
+
const $io53 = 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));
|
|
254
|
+
const $io54 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io55(input.folded)) && ("object" === typeof input.assets && null !== input.assets && $io56(input.assets)) && ("object" === typeof input.pipeline && null !== input.pipeline && $io60(input.pipeline)) && ("object" === typeof input.item && null !== input.item && "number" === typeof input.item.maxHeight);
|
|
255
|
+
const $io55 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
256
|
+
const $io56 = input => "object" === typeof input.story && null !== input.story && $io57(input.story) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io59(input.note));
|
|
257
|
+
const $io57 = input => "object" === typeof input.excerpt && null !== input.excerpt && ("number" === typeof input.excerpt.maxLines && "string" === typeof input.excerpt.mode);
|
|
258
|
+
const $io59 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
259
|
+
const $io60 = input => "object" === typeof input.search && null !== input.search && "number" === typeof input.search.maxItemsDisplayed && true === $iv22.has(input.sortMode);
|
|
260
|
+
const $io63 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
261
|
+
const $io64 = input => "object" === typeof input.adobe && null !== input.adobe && "boolean" === typeof input.adobe.useProxies && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && $io66(input.rive));
|
|
262
|
+
const $io66 = input => undefined === input.template || "string" === typeof input.template;
|
|
263
|
+
const $io67 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering);
|
|
264
|
+
const $io68 = input => "boolean" === typeof input.utils && "boolean" === typeof input.history && "boolean" === typeof input.refs && "boolean" === typeof input.access && "boolean" === typeof input.files && "boolean" === typeof input["export"] && "boolean" === typeof input.json && "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);
|
|
265
|
+
const $io69 = input => "object" === typeof input.events && null !== input.events && $io70(input.events);
|
|
266
|
+
const $io70 = input => Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem) && (Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io71(input.publishSucceeded));
|
|
267
|
+
const $io71 = input => Object.keys(input).every(key => {
|
|
266
268
|
const value = input[key];
|
|
267
269
|
if (undefined === value)
|
|
268
270
|
return true;
|
|
@@ -274,7 +276,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
274
276
|
((input, _path, _exceptionable = true) => {
|
|
275
277
|
const $guard = __typia.createAssert.guard;
|
|
276
278
|
const $join = __typia.createAssert.join;
|
|
277
|
-
const $
|
|
279
|
+
const $av22 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
278
280
|
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || $guard(_exceptionable, {
|
|
279
281
|
path: _path + ".autoLogoutTime",
|
|
280
282
|
expected: "(number | undefined)",
|
|
@@ -449,27 +451,27 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
449
451
|
value: input.media
|
|
450
452
|
}, errorFactory)) && (undefined === input.edit || ("object" === typeof input.edit && null !== input.edit || $guard(_exceptionable, {
|
|
451
453
|
path: _path + ".edit",
|
|
452
|
-
expected: "(__type.
|
|
454
|
+
expected: "(__type.o45 | undefined)",
|
|
453
455
|
value: input.edit
|
|
454
|
-
}, errorFactory)) && $
|
|
456
|
+
}, errorFactory)) && $ao51(input.edit, _path + ".edit", true && _exceptionable) || $guard(_exceptionable, {
|
|
455
457
|
path: _path + ".edit",
|
|
456
|
-
expected: "(__type.
|
|
458
|
+
expected: "(__type.o45 | undefined)",
|
|
457
459
|
value: input.edit
|
|
458
460
|
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
459
461
|
path: _path + ".commands",
|
|
460
|
-
expected: "(Array<__type>.
|
|
462
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
461
463
|
value: input.commands
|
|
462
464
|
}, errorFactory)) && input.commands.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
463
465
|
path: _path + ".commands[" + _index3 + "]",
|
|
464
|
-
expected: "__type.
|
|
466
|
+
expected: "__type.o47",
|
|
465
467
|
value: elem
|
|
466
|
-
}, errorFactory)) && $
|
|
468
|
+
}, errorFactory)) && $ao53(elem, _path + ".commands[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
467
469
|
path: _path + ".commands[" + _index3 + "]",
|
|
468
|
-
expected: "__type.
|
|
470
|
+
expected: "__type.o47",
|
|
469
471
|
value: elem
|
|
470
472
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
471
473
|
path: _path + ".commands",
|
|
472
|
-
expected: "(Array<__type>.
|
|
474
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
473
475
|
value: input.commands
|
|
474
476
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
475
477
|
path: _path + ".predefinedTags",
|
|
@@ -485,35 +487,35 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
485
487
|
value: input.predefinedTags
|
|
486
488
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard || $guard(_exceptionable, {
|
|
487
489
|
path: _path + ".storyboard",
|
|
488
|
-
expected: "(__type.
|
|
490
|
+
expected: "(__type.o48 | undefined)",
|
|
489
491
|
value: input.storyboard
|
|
490
|
-
}, errorFactory)) && $
|
|
492
|
+
}, errorFactory)) && $ao54(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
491
493
|
path: _path + ".storyboard",
|
|
492
|
-
expected: "(__type.
|
|
494
|
+
expected: "(__type.o48 | undefined)",
|
|
493
495
|
value: input.storyboard
|
|
494
496
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
495
497
|
path: _path + ".hiddenPreviews",
|
|
496
|
-
expected: "(Array<__type>.
|
|
498
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
497
499
|
value: input.hiddenPreviews
|
|
498
500
|
}, errorFactory)) && input.hiddenPreviews.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
499
501
|
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
500
|
-
expected: "__type.
|
|
502
|
+
expected: "__type.o57",
|
|
501
503
|
value: elem
|
|
502
|
-
}, errorFactory)) && $
|
|
504
|
+
}, errorFactory)) && $ao63(elem, _path + ".hiddenPreviews[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
503
505
|
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
504
|
-
expected: "__type.
|
|
506
|
+
expected: "__type.o57",
|
|
505
507
|
value: elem
|
|
506
508
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
507
509
|
path: _path + ".hiddenPreviews",
|
|
508
|
-
expected: "(Array<__type>.
|
|
510
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
509
511
|
value: input.hiddenPreviews
|
|
510
512
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins || $guard(_exceptionable, {
|
|
511
513
|
path: _path + ".plugins",
|
|
512
|
-
expected: "(__type.
|
|
514
|
+
expected: "(__type.o58 | undefined)",
|
|
513
515
|
value: input.plugins
|
|
514
|
-
}, errorFactory)) && $
|
|
516
|
+
}, errorFactory)) && $ao64(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
515
517
|
path: _path + ".plugins",
|
|
516
|
-
expected: "(__type.
|
|
518
|
+
expected: "(__type.o58 | undefined)",
|
|
517
519
|
value: input.plugins
|
|
518
520
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
519
521
|
path: _path + ".crashScreen",
|
|
@@ -525,27 +527,27 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
525
527
|
value: input.debug
|
|
526
528
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
527
529
|
path: _path + ".featurePreview",
|
|
528
|
-
expected: "(__type.
|
|
530
|
+
expected: "(__type.o61 | undefined)",
|
|
529
531
|
value: input.featurePreview
|
|
530
|
-
}, errorFactory)) && $
|
|
532
|
+
}, errorFactory)) && $ao67(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
531
533
|
path: _path + ".featurePreview",
|
|
532
|
-
expected: "(__type.
|
|
534
|
+
expected: "(__type.o61 | undefined)",
|
|
533
535
|
value: input.featurePreview
|
|
534
536
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags || $guard(_exceptionable, {
|
|
535
537
|
path: _path + ".flags",
|
|
536
|
-
expected: "(__type.
|
|
538
|
+
expected: "(__type.o62 | undefined)",
|
|
537
539
|
value: input.flags
|
|
538
|
-
}, errorFactory)) && $
|
|
540
|
+
}, errorFactory)) && $ao68(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
539
541
|
path: _path + ".flags",
|
|
540
|
-
expected: "(__type.
|
|
542
|
+
expected: "(__type.o62 | undefined)",
|
|
541
543
|
value: input.flags
|
|
542
544
|
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications || $guard(_exceptionable, {
|
|
543
545
|
path: _path + ".notifications",
|
|
544
|
-
expected: "(__type.
|
|
546
|
+
expected: "(__type.o63 | undefined)",
|
|
545
547
|
value: input.notifications
|
|
546
|
-
}, errorFactory)) && $
|
|
548
|
+
}, errorFactory)) && $ao69(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
547
549
|
path: _path + ".notifications",
|
|
548
|
-
expected: "(__type.
|
|
550
|
+
expected: "(__type.o63 | undefined)",
|
|
549
551
|
value: input.notifications
|
|
550
552
|
}, errorFactory)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || $guard(_exceptionable, {
|
|
551
553
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -1221,19 +1223,19 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1221
1223
|
value: input.initialVolume
|
|
1222
1224
|
}, errorFactory)) && ((Array.isArray(input.guides) || $guard(_exceptionable, {
|
|
1223
1225
|
path: _path + ".guides",
|
|
1224
|
-
expected: "Array<__type>.
|
|
1226
|
+
expected: "Array<__type>.o2",
|
|
1225
1227
|
value: input.guides
|
|
1226
1228
|
}, errorFactory)) && input.guides.every((elem, _index16) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1227
1229
|
path: _path + ".guides[" + _index16 + "]",
|
|
1228
|
-
expected: "__type.
|
|
1230
|
+
expected: "__type.o38",
|
|
1229
1231
|
value: elem
|
|
1230
|
-
}, errorFactory)) && $
|
|
1232
|
+
}, errorFactory)) && $ao44(elem, _path + ".guides[" + _index16 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1231
1233
|
path: _path + ".guides[" + _index16 + "]",
|
|
1232
|
-
expected: "__type.
|
|
1234
|
+
expected: "__type.o38",
|
|
1233
1235
|
value: elem
|
|
1234
1236
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
1235
1237
|
path: _path + ".guides",
|
|
1236
|
-
expected: "Array<__type>.
|
|
1238
|
+
expected: "Array<__type>.o2",
|
|
1237
1239
|
value: input.guides
|
|
1238
1240
|
}, errorFactory)) && ("boolean" === typeof input.download || $guard(_exceptionable, {
|
|
1239
1241
|
path: _path + ".download",
|
|
@@ -1241,31 +1243,31 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1241
1243
|
value: input.download
|
|
1242
1244
|
}, errorFactory)) && (("object" === typeof input.editMode && null !== input.editMode || $guard(_exceptionable, {
|
|
1243
1245
|
path: _path + ".editMode",
|
|
1244
|
-
expected: "__type.
|
|
1246
|
+
expected: "__type.o39",
|
|
1245
1247
|
value: input.editMode
|
|
1246
|
-
}, errorFactory)) && $
|
|
1248
|
+
}, errorFactory)) && $ao45(input.editMode, _path + ".editMode", true && _exceptionable) || $guard(_exceptionable, {
|
|
1247
1249
|
path: _path + ".editMode",
|
|
1248
|
-
expected: "__type.
|
|
1250
|
+
expected: "__type.o39",
|
|
1249
1251
|
value: input.editMode
|
|
1250
1252
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
1251
1253
|
path: _path + ".transcribe",
|
|
1252
|
-
expected: "(__type.
|
|
1254
|
+
expected: "(__type.o40 | undefined)",
|
|
1253
1255
|
value: input.transcribe
|
|
1254
|
-
}, errorFactory)) && $
|
|
1256
|
+
}, errorFactory)) && $ao46(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1255
1257
|
path: _path + ".transcribe",
|
|
1256
|
-
expected: "(__type.
|
|
1258
|
+
expected: "(__type.o40 | undefined)",
|
|
1257
1259
|
value: input.transcribe
|
|
1258
1260
|
}, errorFactory)) && ((null !== input.openCommand || $guard(_exceptionable, {
|
|
1259
1261
|
path: _path + ".openCommand",
|
|
1260
|
-
expected: "(__type.
|
|
1262
|
+
expected: "(__type.o44 | string | undefined)",
|
|
1261
1263
|
value: input.openCommand
|
|
1262
1264
|
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || $guard(_exceptionable, {
|
|
1263
1265
|
path: _path + ".openCommand",
|
|
1264
|
-
expected: "(__type.
|
|
1266
|
+
expected: "(__type.o44 | string | undefined)",
|
|
1265
1267
|
value: input.openCommand
|
|
1266
|
-
}, errorFactory)) && $
|
|
1268
|
+
}, errorFactory)) && $ao50(input.openCommand, _path + ".openCommand", true && _exceptionable) || $guard(_exceptionable, {
|
|
1267
1269
|
path: _path + ".openCommand",
|
|
1268
|
-
expected: "(__type.
|
|
1270
|
+
expected: "(__type.o44 | string | undefined)",
|
|
1269
1271
|
value: input.openCommand
|
|
1270
1272
|
}, errorFactory)));
|
|
1271
1273
|
const $ao39 = (input, _path, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
@@ -1298,37 +1300,66 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1298
1300
|
path: _path + ".maxCharactersPerLine",
|
|
1299
1301
|
expected: "number",
|
|
1300
1302
|
value: input.maxCharactersPerLine
|
|
1301
|
-
}, errorFactory)) && (undefined === input.
|
|
1302
|
-
path: _path + ".
|
|
1303
|
+
}, errorFactory)) && (undefined === input.suggestions || (Array.isArray(input.suggestions) || $guard(_exceptionable, {
|
|
1304
|
+
path: _path + ".suggestions",
|
|
1303
1305
|
expected: "(Array<__type> | undefined)",
|
|
1304
|
-
value: input.
|
|
1305
|
-
}, errorFactory)) && input.
|
|
1306
|
-
path: _path + ".
|
|
1306
|
+
value: input.suggestions
|
|
1307
|
+
}, errorFactory)) && input.suggestions.every((elem, _index17) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
|
|
1308
|
+
path: _path + ".suggestions[" + _index17 + "]",
|
|
1307
1309
|
expected: "__type.o36",
|
|
1308
1310
|
value: elem
|
|
1309
|
-
}, errorFactory)) && $ao42(elem, _path + ".
|
|
1310
|
-
path: _path + ".
|
|
1311
|
+
}, errorFactory)) && $ao42(elem, _path + ".suggestions[" + _index17 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1312
|
+
path: _path + ".suggestions[" + _index17 + "]",
|
|
1311
1313
|
expected: "__type.o36",
|
|
1312
1314
|
value: elem
|
|
1313
1315
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
1314
|
-
path: _path + ".
|
|
1316
|
+
path: _path + ".suggestions",
|
|
1315
1317
|
expected: "(Array<__type> | undefined)",
|
|
1316
|
-
value: input.
|
|
1318
|
+
value: input.suggestions
|
|
1319
|
+
}, errorFactory)) && (undefined === input.colors || (Array.isArray(input.colors) || $guard(_exceptionable, {
|
|
1320
|
+
path: _path + ".colors",
|
|
1321
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
1322
|
+
value: input.colors
|
|
1323
|
+
}, errorFactory)) && input.colors.every((elem, _index18) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
|
|
1324
|
+
path: _path + ".colors[" + _index18 + "]",
|
|
1325
|
+
expected: "__type.o37",
|
|
1326
|
+
value: elem
|
|
1327
|
+
}, errorFactory)) && $ao43(elem, _path + ".colors[" + _index18 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1328
|
+
path: _path + ".colors[" + _index18 + "]",
|
|
1329
|
+
expected: "__type.o37",
|
|
1330
|
+
value: elem
|
|
1331
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1332
|
+
path: _path + ".colors",
|
|
1333
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
1334
|
+
value: input.colors
|
|
1317
1335
|
}, errorFactory));
|
|
1318
|
-
const $ao42 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
1319
|
-
path: _path + ".
|
|
1336
|
+
const $ao42 = (input, _path, _exceptionable = true) => (undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio || $guard(_exceptionable, {
|
|
1337
|
+
path: _path + ".ifAspectRatio",
|
|
1320
1338
|
expected: "(string | undefined)",
|
|
1321
|
-
value: input.
|
|
1322
|
-
}, errorFactory)) && (undefined === input.
|
|
1323
|
-
path: _path + ".
|
|
1339
|
+
value: input.ifAspectRatio
|
|
1340
|
+
}, errorFactory)) && (undefined === input.ifLang || "string" === typeof input.ifLang || $guard(_exceptionable, {
|
|
1341
|
+
path: _path + ".ifLang",
|
|
1324
1342
|
expected: "(string | undefined)",
|
|
1325
|
-
value: input.
|
|
1326
|
-
}, errorFactory)) && (undefined === input.
|
|
1327
|
-
path: _path + ".
|
|
1343
|
+
value: input.ifLang
|
|
1344
|
+
}, errorFactory)) && (undefined === input.thenStyle || "string" === typeof input.thenStyle || $guard(_exceptionable, {
|
|
1345
|
+
path: _path + ".thenStyle",
|
|
1346
|
+
expected: "(string | undefined)",
|
|
1347
|
+
value: input.thenStyle
|
|
1348
|
+
}, errorFactory)) && (undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine || $guard(_exceptionable, {
|
|
1349
|
+
path: _path + ".thenMaxCharactersPerLine",
|
|
1328
1350
|
expected: "(number | undefined)",
|
|
1329
|
-
value: input.
|
|
1351
|
+
value: input.thenMaxCharactersPerLine
|
|
1352
|
+
}, errorFactory));
|
|
1353
|
+
const $ao43 = (input, _path, _exceptionable = true) => (null === input.label || undefined === input.label || "string" === typeof input.label || $guard(_exceptionable, {
|
|
1354
|
+
path: _path + ".label",
|
|
1355
|
+
expected: "(null | string | undefined)",
|
|
1356
|
+
value: input.label
|
|
1357
|
+
}, errorFactory)) && (null === input.color || undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
1358
|
+
path: _path + ".color",
|
|
1359
|
+
expected: "(null | string | undefined)",
|
|
1360
|
+
value: input.color
|
|
1330
1361
|
}, errorFactory));
|
|
1331
|
-
const $
|
|
1362
|
+
const $ao44 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
1332
1363
|
path: _path + ".label",
|
|
1333
1364
|
expected: "string",
|
|
1334
1365
|
value: input.label
|
|
@@ -1337,7 +1368,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1337
1368
|
expected: "string",
|
|
1338
1369
|
value: input.aspectRatio
|
|
1339
1370
|
}, errorFactory));
|
|
1340
|
-
const $
|
|
1371
|
+
const $ao45 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.enabled || $guard(_exceptionable, {
|
|
1341
1372
|
path: _path + ".enabled",
|
|
1342
1373
|
expected: "boolean",
|
|
1343
1374
|
value: input.enabled
|
|
@@ -1350,47 +1381,47 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1350
1381
|
expected: "(\"leave\" | \"none\" | \"update\")",
|
|
1351
1382
|
value: input.defaultExitOption
|
|
1352
1383
|
}, errorFactory));
|
|
1353
|
-
const $
|
|
1384
|
+
const $ao46 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
1354
1385
|
path: _path + ".subtitleDisclaimer",
|
|
1355
|
-
expected: "(__type.
|
|
1386
|
+
expected: "(__type.o41 | undefined)",
|
|
1356
1387
|
value: input.subtitleDisclaimer
|
|
1357
|
-
}, errorFactory)) && $
|
|
1388
|
+
}, errorFactory)) && $ao47(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
1358
1389
|
path: _path + ".subtitleDisclaimer",
|
|
1359
|
-
expected: "(__type.
|
|
1390
|
+
expected: "(__type.o41 | undefined)",
|
|
1360
1391
|
value: input.subtitleDisclaimer
|
|
1361
1392
|
}, errorFactory);
|
|
1362
|
-
const $
|
|
1393
|
+
const $ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
1363
1394
|
path: _path + ".isUserConfigurable",
|
|
1364
1395
|
expected: "(boolean | undefined)",
|
|
1365
1396
|
value: input.isUserConfigurable
|
|
1366
1397
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
1367
1398
|
path: _path + ".defaultValue",
|
|
1368
|
-
expected: "(__type.
|
|
1399
|
+
expected: "(__type.o42 | undefined)",
|
|
1369
1400
|
value: input.defaultValue
|
|
1370
|
-
}, errorFactory)) && $
|
|
1401
|
+
}, errorFactory)) && $ao48(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
1371
1402
|
path: _path + ".defaultValue",
|
|
1372
|
-
expected: "(__type.
|
|
1403
|
+
expected: "(__type.o42 | undefined)",
|
|
1373
1404
|
value: input.defaultValue
|
|
1374
1405
|
}, errorFactory));
|
|
1375
|
-
const $
|
|
1406
|
+
const $ao48 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
1376
1407
|
path: _path + ".enabled",
|
|
1377
1408
|
expected: "(false | undefined)",
|
|
1378
1409
|
value: input.enabled
|
|
1379
1410
|
}, errorFactory)) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
|
|
1380
1411
|
path: _path + ".text",
|
|
1381
|
-
expected: "(Array<__type>.
|
|
1412
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
1382
1413
|
value: input.text
|
|
1383
|
-
}, errorFactory)) && input.text.every((elem,
|
|
1384
|
-
path: _path + ".text[" +
|
|
1385
|
-
expected: "__type.
|
|
1414
|
+
}, errorFactory)) && input.text.every((elem, _index19) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1415
|
+
path: _path + ".text[" + _index19 + "]",
|
|
1416
|
+
expected: "__type.o43",
|
|
1386
1417
|
value: elem
|
|
1387
|
-
}, errorFactory)) && $
|
|
1388
|
-
path: _path + ".text[" +
|
|
1389
|
-
expected: "__type.
|
|
1418
|
+
}, errorFactory)) && $ao49(elem, _path + ".text[" + _index19 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1419
|
+
path: _path + ".text[" + _index19 + "]",
|
|
1420
|
+
expected: "__type.o43",
|
|
1390
1421
|
value: elem
|
|
1391
1422
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
1392
1423
|
path: _path + ".text",
|
|
1393
|
-
expected: "(Array<__type>.
|
|
1424
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
1394
1425
|
value: input.text
|
|
1395
1426
|
}, errorFactory)) && (undefined === input.offset || "number" === typeof input.offset || $guard(_exceptionable, {
|
|
1396
1427
|
path: _path + ".offset",
|
|
@@ -1401,7 +1432,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1401
1432
|
expected: "(number | undefined)",
|
|
1402
1433
|
value: input.duration
|
|
1403
1434
|
}, errorFactory));
|
|
1404
|
-
const $
|
|
1435
|
+
const $ao49 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
1405
1436
|
path: _path + ".language",
|
|
1406
1437
|
expected: "string",
|
|
1407
1438
|
value: input.language
|
|
@@ -1410,7 +1441,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1410
1441
|
expected: "string",
|
|
1411
1442
|
value: input.value
|
|
1412
1443
|
}, errorFactory));
|
|
1413
|
-
const $
|
|
1444
|
+
const $ao50 = (input, _path, _exceptionable = true) => (undefined === input.url || "string" === typeof input.url || $guard(_exceptionable, {
|
|
1414
1445
|
path: _path + ".url",
|
|
1415
1446
|
expected: "(string | undefined)",
|
|
1416
1447
|
value: input.url
|
|
@@ -1426,8 +1457,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1426
1457
|
path: _path + ".args",
|
|
1427
1458
|
expected: "(Array<string> | undefined)",
|
|
1428
1459
|
value: input.args
|
|
1429
|
-
}, errorFactory)) && input.args.every((elem,
|
|
1430
|
-
path: _path + ".args[" +
|
|
1460
|
+
}, errorFactory)) && input.args.every((elem, _index20) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1461
|
+
path: _path + ".args[" + _index20 + "]",
|
|
1431
1462
|
expected: "string",
|
|
1432
1463
|
value: elem
|
|
1433
1464
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1435,20 +1466,20 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1435
1466
|
expected: "(Array<string> | undefined)",
|
|
1436
1467
|
value: input.args
|
|
1437
1468
|
}, errorFactory));
|
|
1438
|
-
const $
|
|
1469
|
+
const $ao51 = (input, _path, _exceptionable = true) => ("none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
1439
1470
|
path: _path + ".thumbnailView",
|
|
1440
1471
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\")",
|
|
1441
1472
|
value: input.thumbnailView
|
|
1442
1473
|
}, errorFactory)) && (("object" === typeof input.voiceOver && null !== input.voiceOver || $guard(_exceptionable, {
|
|
1443
1474
|
path: _path + ".voiceOver",
|
|
1444
|
-
expected: "__type.
|
|
1475
|
+
expected: "__type.o46",
|
|
1445
1476
|
value: input.voiceOver
|
|
1446
|
-
}, errorFactory)) && $
|
|
1477
|
+
}, errorFactory)) && $ao52(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || $guard(_exceptionable, {
|
|
1447
1478
|
path: _path + ".voiceOver",
|
|
1448
|
-
expected: "__type.
|
|
1479
|
+
expected: "__type.o46",
|
|
1449
1480
|
value: input.voiceOver
|
|
1450
1481
|
}, errorFactory));
|
|
1451
|
-
const $
|
|
1482
|
+
const $ao52 = (input, _path, _exceptionable = true) => (undefined === input.inputDevice || "string" === typeof input.inputDevice || $guard(_exceptionable, {
|
|
1452
1483
|
path: _path + ".inputDevice",
|
|
1453
1484
|
expected: "(string | undefined)",
|
|
1454
1485
|
value: input.inputDevice
|
|
@@ -1469,7 +1500,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1469
1500
|
expected: "number",
|
|
1470
1501
|
value: input.preRollDuration
|
|
1471
1502
|
}, errorFactory));
|
|
1472
|
-
const $
|
|
1503
|
+
const $ao53 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
1473
1504
|
path: _path + ".title",
|
|
1474
1505
|
expected: "string",
|
|
1475
1506
|
value: input.title
|
|
@@ -1481,8 +1512,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1481
1512
|
path: _path + ".args",
|
|
1482
1513
|
expected: "(Array<string> | undefined)",
|
|
1483
1514
|
value: input.args
|
|
1484
|
-
}, errorFactory)) && input.args.every((elem,
|
|
1485
|
-
path: _path + ".args[" +
|
|
1515
|
+
}, errorFactory)) && input.args.every((elem, _index21) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1516
|
+
path: _path + ".args[" + _index21 + "]",
|
|
1486
1517
|
expected: "string",
|
|
1487
1518
|
value: elem
|
|
1488
1519
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1490,71 +1521,71 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1490
1521
|
expected: "(Array<string> | undefined)",
|
|
1491
1522
|
value: input.args
|
|
1492
1523
|
}, errorFactory));
|
|
1493
|
-
const $
|
|
1524
|
+
const $ao54 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
1494
1525
|
path: _path + ".folded",
|
|
1495
|
-
expected: "(__type.
|
|
1526
|
+
expected: "(__type.o49 | undefined)",
|
|
1496
1527
|
value: input.folded
|
|
1497
|
-
}, errorFactory)) && $
|
|
1528
|
+
}, errorFactory)) && $ao55(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
1498
1529
|
path: _path + ".folded",
|
|
1499
|
-
expected: "(__type.
|
|
1530
|
+
expected: "(__type.o49 | undefined)",
|
|
1500
1531
|
value: input.folded
|
|
1501
1532
|
}, errorFactory)) && (("object" === typeof input.assets && null !== input.assets || $guard(_exceptionable, {
|
|
1502
1533
|
path: _path + ".assets",
|
|
1503
|
-
expected: "__type.
|
|
1534
|
+
expected: "__type.o50",
|
|
1504
1535
|
value: input.assets
|
|
1505
|
-
}, errorFactory)) && $
|
|
1536
|
+
}, errorFactory)) && $ao56(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
1506
1537
|
path: _path + ".assets",
|
|
1507
|
-
expected: "__type.
|
|
1538
|
+
expected: "__type.o50",
|
|
1508
1539
|
value: input.assets
|
|
1509
1540
|
}, errorFactory)) && (("object" === typeof input.pipeline && null !== input.pipeline || $guard(_exceptionable, {
|
|
1510
1541
|
path: _path + ".pipeline",
|
|
1511
|
-
expected: "__type.
|
|
1542
|
+
expected: "__type.o54",
|
|
1512
1543
|
value: input.pipeline
|
|
1513
|
-
}, errorFactory)) && $
|
|
1544
|
+
}, errorFactory)) && $ao60(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
1514
1545
|
path: _path + ".pipeline",
|
|
1515
|
-
expected: "__type.
|
|
1546
|
+
expected: "__type.o54",
|
|
1516
1547
|
value: input.pipeline
|
|
1517
1548
|
}, errorFactory)) && (("object" === typeof input.item && null !== input.item || $guard(_exceptionable, {
|
|
1518
1549
|
path: _path + ".item",
|
|
1519
|
-
expected: "__type.
|
|
1550
|
+
expected: "__type.o56",
|
|
1520
1551
|
value: input.item
|
|
1521
|
-
}, errorFactory)) && $
|
|
1552
|
+
}, errorFactory)) && $ao62(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
1522
1553
|
path: _path + ".item",
|
|
1523
|
-
expected: "__type.
|
|
1554
|
+
expected: "__type.o56",
|
|
1524
1555
|
value: input.item
|
|
1525
1556
|
}, errorFactory));
|
|
1526
|
-
const $
|
|
1557
|
+
const $ao55 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
1527
1558
|
path: _path + ".auto",
|
|
1528
1559
|
expected: "(boolean | undefined)",
|
|
1529
1560
|
value: input.auto
|
|
1530
1561
|
}, errorFactory);
|
|
1531
|
-
const $
|
|
1562
|
+
const $ao56 = (input, _path, _exceptionable = true) => (("object" === typeof input.story && null !== input.story || $guard(_exceptionable, {
|
|
1532
1563
|
path: _path + ".story",
|
|
1533
|
-
expected: "__type.
|
|
1564
|
+
expected: "__type.o51",
|
|
1534
1565
|
value: input.story
|
|
1535
|
-
}, errorFactory)) && $
|
|
1566
|
+
}, errorFactory)) && $ao57(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
1536
1567
|
path: _path + ".story",
|
|
1537
|
-
expected: "__type.
|
|
1568
|
+
expected: "__type.o51",
|
|
1538
1569
|
value: input.story
|
|
1539
1570
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
1540
1571
|
path: _path + ".note",
|
|
1541
|
-
expected: "(__type.
|
|
1572
|
+
expected: "(__type.o53 | undefined)",
|
|
1542
1573
|
value: input.note
|
|
1543
|
-
}, errorFactory)) && $
|
|
1574
|
+
}, errorFactory)) && $ao59(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
1544
1575
|
path: _path + ".note",
|
|
1545
|
-
expected: "(__type.
|
|
1576
|
+
expected: "(__type.o53 | undefined)",
|
|
1546
1577
|
value: input.note
|
|
1547
1578
|
}, errorFactory));
|
|
1548
|
-
const $
|
|
1579
|
+
const $ao57 = (input, _path, _exceptionable = true) => ("object" === typeof input.excerpt && null !== input.excerpt || $guard(_exceptionable, {
|
|
1549
1580
|
path: _path + ".excerpt",
|
|
1550
|
-
expected: "__type.
|
|
1581
|
+
expected: "__type.o52",
|
|
1551
1582
|
value: input.excerpt
|
|
1552
|
-
}, errorFactory)) && $
|
|
1583
|
+
}, errorFactory)) && $ao58(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
1553
1584
|
path: _path + ".excerpt",
|
|
1554
|
-
expected: "__type.
|
|
1585
|
+
expected: "__type.o52",
|
|
1555
1586
|
value: input.excerpt
|
|
1556
1587
|
}, errorFactory);
|
|
1557
|
-
const $
|
|
1588
|
+
const $ao58 = (input, _path, _exceptionable = true) => ("number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
1558
1589
|
path: _path + ".maxLines",
|
|
1559
1590
|
expected: "number",
|
|
1560
1591
|
value: input.maxLines
|
|
@@ -1563,35 +1594,35 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1563
1594
|
expected: "string",
|
|
1564
1595
|
value: input.mode
|
|
1565
1596
|
}, errorFactory));
|
|
1566
|
-
const $
|
|
1597
|
+
const $ao59 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
1567
1598
|
path: _path + ".maxHeight",
|
|
1568
1599
|
expected: "(number | undefined)",
|
|
1569
1600
|
value: input.maxHeight
|
|
1570
1601
|
}, errorFactory);
|
|
1571
|
-
const $
|
|
1602
|
+
const $ao60 = (input, _path, _exceptionable = true) => (("object" === typeof input.search && null !== input.search || $guard(_exceptionable, {
|
|
1572
1603
|
path: _path + ".search",
|
|
1573
|
-
expected: "__type.
|
|
1604
|
+
expected: "__type.o55",
|
|
1574
1605
|
value: input.search
|
|
1575
|
-
}, errorFactory)) && $
|
|
1606
|
+
}, errorFactory)) && $ao61(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
1576
1607
|
path: _path + ".search",
|
|
1577
|
-
expected: "__type.
|
|
1608
|
+
expected: "__type.o55",
|
|
1578
1609
|
value: input.search
|
|
1579
|
-
}, errorFactory)) && (true === $
|
|
1610
|
+
}, errorFactory)) && (true === $av22.has(input.sortMode) || $guard(_exceptionable, {
|
|
1580
1611
|
path: _path + ".sortMode",
|
|
1581
1612
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\")",
|
|
1582
1613
|
value: input.sortMode
|
|
1583
1614
|
}, errorFactory));
|
|
1584
|
-
const $
|
|
1615
|
+
const $ao61 = (input, _path, _exceptionable = true) => "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
1585
1616
|
path: _path + ".maxItemsDisplayed",
|
|
1586
1617
|
expected: "number",
|
|
1587
1618
|
value: input.maxItemsDisplayed
|
|
1588
1619
|
}, errorFactory);
|
|
1589
|
-
const $
|
|
1620
|
+
const $ao62 = (input, _path, _exceptionable = true) => "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
1590
1621
|
path: _path + ".maxHeight",
|
|
1591
1622
|
expected: "number",
|
|
1592
1623
|
value: input.maxHeight
|
|
1593
1624
|
}, errorFactory);
|
|
1594
|
-
const $
|
|
1625
|
+
const $ao63 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
1595
1626
|
path: _path + ".id",
|
|
1596
1627
|
expected: "string",
|
|
1597
1628
|
value: input.id
|
|
@@ -1600,34 +1631,34 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1600
1631
|
expected: "boolean",
|
|
1601
1632
|
value: input.folded
|
|
1602
1633
|
}, errorFactory));
|
|
1603
|
-
const $
|
|
1634
|
+
const $ao64 = (input, _path, _exceptionable = true) => (("object" === typeof input.adobe && null !== input.adobe || $guard(_exceptionable, {
|
|
1604
1635
|
path: _path + ".adobe",
|
|
1605
|
-
expected: "__type.
|
|
1636
|
+
expected: "__type.o59",
|
|
1606
1637
|
value: input.adobe
|
|
1607
|
-
}, errorFactory)) && $
|
|
1638
|
+
}, errorFactory)) && $ao65(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1608
1639
|
path: _path + ".adobe",
|
|
1609
|
-
expected: "__type.
|
|
1640
|
+
expected: "__type.o59",
|
|
1610
1641
|
value: input.adobe
|
|
1611
1642
|
}, errorFactory)) && (undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || $guard(_exceptionable, {
|
|
1612
1643
|
path: _path + ".rive",
|
|
1613
|
-
expected: "(__type.
|
|
1644
|
+
expected: "(__type.o60 | undefined)",
|
|
1614
1645
|
value: input.rive
|
|
1615
|
-
}, errorFactory)) && $
|
|
1646
|
+
}, errorFactory)) && $ao66(input.rive, _path + ".rive", true && _exceptionable) || $guard(_exceptionable, {
|
|
1616
1647
|
path: _path + ".rive",
|
|
1617
|
-
expected: "(__type.
|
|
1648
|
+
expected: "(__type.o60 | undefined)",
|
|
1618
1649
|
value: input.rive
|
|
1619
1650
|
}, errorFactory));
|
|
1620
|
-
const $
|
|
1651
|
+
const $ao65 = (input, _path, _exceptionable = true) => "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
1621
1652
|
path: _path + ".useProxies",
|
|
1622
1653
|
expected: "boolean",
|
|
1623
1654
|
value: input.useProxies
|
|
1624
1655
|
}, errorFactory);
|
|
1625
|
-
const $
|
|
1656
|
+
const $ao66 = (input, _path, _exceptionable = true) => undefined === input.template || "string" === typeof input.template || $guard(_exceptionable, {
|
|
1626
1657
|
path: _path + ".template",
|
|
1627
1658
|
expected: "(string | undefined)",
|
|
1628
1659
|
value: input.template
|
|
1629
1660
|
}, errorFactory);
|
|
1630
|
-
const $
|
|
1661
|
+
const $ao67 = (input, _path, _exceptionable = true) => (undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
1631
1662
|
path: _path + ".collections",
|
|
1632
1663
|
expected: "(boolean | undefined)",
|
|
1633
1664
|
value: input.collections
|
|
@@ -1640,7 +1671,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1640
1671
|
expected: "(boolean | undefined)",
|
|
1641
1672
|
value: input.ameRemoteRendering
|
|
1642
1673
|
}, errorFactory));
|
|
1643
|
-
const $
|
|
1674
|
+
const $ao68 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
1644
1675
|
path: _path + ".utils",
|
|
1645
1676
|
expected: "boolean",
|
|
1646
1677
|
value: input.utils
|
|
@@ -1701,21 +1732,21 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1701
1732
|
expected: "(boolean | undefined)",
|
|
1702
1733
|
value: input.devWarnings
|
|
1703
1734
|
}, errorFactory));
|
|
1704
|
-
const $
|
|
1735
|
+
const $ao69 = (input, _path, _exceptionable = true) => ("object" === typeof input.events && null !== input.events || $guard(_exceptionable, {
|
|
1705
1736
|
path: _path + ".events",
|
|
1706
|
-
expected: "__type.
|
|
1737
|
+
expected: "__type.o64",
|
|
1707
1738
|
value: input.events
|
|
1708
|
-
}, errorFactory)) && $
|
|
1739
|
+
}, errorFactory)) && $ao70(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
1709
1740
|
path: _path + ".events",
|
|
1710
|
-
expected: "__type.
|
|
1741
|
+
expected: "__type.o64",
|
|
1711
1742
|
value: input.events
|
|
1712
1743
|
}, errorFactory);
|
|
1713
|
-
const $
|
|
1744
|
+
const $ao70 = (input, _path, _exceptionable = true) => ((Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
1714
1745
|
path: _path + ".comment",
|
|
1715
1746
|
expected: "Array<NotificationReason>",
|
|
1716
1747
|
value: input.comment
|
|
1717
|
-
}, errorFactory)) && input.comment.every((elem,
|
|
1718
|
-
path: _path + ".comment[" +
|
|
1748
|
+
}, errorFactory)) && input.comment.every((elem, _index23) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1749
|
+
path: _path + ".comment[" + _index23 + "]",
|
|
1719
1750
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1720
1751
|
value: elem
|
|
1721
1752
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1726,8 +1757,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1726
1757
|
path: _path + ".assigned",
|
|
1727
1758
|
expected: "Array<NotificationReason>",
|
|
1728
1759
|
value: input.assigned
|
|
1729
|
-
}, errorFactory)) && input.assigned.every((elem,
|
|
1730
|
-
path: _path + ".assigned[" +
|
|
1760
|
+
}, errorFactory)) && input.assigned.every((elem, _index24) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1761
|
+
path: _path + ".assigned[" + _index24 + "]",
|
|
1731
1762
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1732
1763
|
value: elem
|
|
1733
1764
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1738,8 +1769,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1738
1769
|
path: _path + ".unassigned",
|
|
1739
1770
|
expected: "Array<NotificationReason>",
|
|
1740
1771
|
value: input.unassigned
|
|
1741
|
-
}, errorFactory)) && input.unassigned.every((elem,
|
|
1742
|
-
path: _path + ".unassigned[" +
|
|
1772
|
+
}, errorFactory)) && input.unassigned.every((elem, _index25) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1773
|
+
path: _path + ".unassigned[" + _index25 + "]",
|
|
1743
1774
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1744
1775
|
value: elem
|
|
1745
1776
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1748,14 +1779,14 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1748
1779
|
value: input.unassigned
|
|
1749
1780
|
}, errorFactory)) && (("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
1750
1781
|
path: _path + ".publishSucceeded",
|
|
1751
|
-
expected: "__type.
|
|
1782
|
+
expected: "__type.o65",
|
|
1752
1783
|
value: input.publishSucceeded
|
|
1753
|
-
}, errorFactory)) && $
|
|
1784
|
+
}, errorFactory)) && $ao71(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
1754
1785
|
path: _path + ".publishSucceeded",
|
|
1755
|
-
expected: "__type.
|
|
1786
|
+
expected: "__type.o65",
|
|
1756
1787
|
value: input.publishSucceeded
|
|
1757
1788
|
}, errorFactory));
|
|
1758
|
-
const $
|
|
1789
|
+
const $ao71 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1759
1790
|
const value = input[key];
|
|
1760
1791
|
if (undefined === value)
|
|
1761
1792
|
return true;
|
|
@@ -1763,8 +1794,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1763
1794
|
path: _path + $join(key),
|
|
1764
1795
|
expected: "Array<NotificationReason>",
|
|
1765
1796
|
value: value
|
|
1766
|
-
}, errorFactory)) && value.every((elem,
|
|
1767
|
-
path: _path + $join(key) + "[" +
|
|
1797
|
+
}, errorFactory)) && value.every((elem, _index26) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1798
|
+
path: _path + $join(key) + "[" + _index26 + "]",
|
|
1768
1799
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1769
1800
|
value: elem
|
|
1770
1801
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1875,11 +1906,11 @@ export const randomSettingsRecord = generator => {
|
|
|
1875
1906
|
])(),
|
|
1876
1907
|
edit: $pick([
|
|
1877
1908
|
() => undefined,
|
|
1878
|
-
() => $
|
|
1909
|
+
() => $ro51(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1879
1910
|
])(),
|
|
1880
1911
|
commands: $pick([
|
|
1881
1912
|
() => undefined,
|
|
1882
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1913
|
+
() => (generator?.array ?? $generator.array)(() => $ro53(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1883
1914
|
])(),
|
|
1884
1915
|
predefinedTags: $pick([
|
|
1885
1916
|
() => undefined,
|
|
@@ -1887,15 +1918,15 @@ export const randomSettingsRecord = generator => {
|
|
|
1887
1918
|
])(),
|
|
1888
1919
|
storyboard: $pick([
|
|
1889
1920
|
() => undefined,
|
|
1890
|
-
() => $
|
|
1921
|
+
() => $ro54(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1891
1922
|
])(),
|
|
1892
1923
|
hiddenPreviews: $pick([
|
|
1893
1924
|
() => undefined,
|
|
1894
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1925
|
+
() => (generator?.array ?? $generator.array)(() => $ro63(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1895
1926
|
])(),
|
|
1896
1927
|
plugins: $pick([
|
|
1897
1928
|
() => undefined,
|
|
1898
|
-
() => $
|
|
1929
|
+
() => $ro64(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1899
1930
|
])(),
|
|
1900
1931
|
crashScreen: $pick([
|
|
1901
1932
|
() => undefined,
|
|
@@ -1907,15 +1938,15 @@ export const randomSettingsRecord = generator => {
|
|
|
1907
1938
|
])(),
|
|
1908
1939
|
featurePreview: $pick([
|
|
1909
1940
|
() => undefined,
|
|
1910
|
-
() => $
|
|
1941
|
+
() => $ro67(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1911
1942
|
])(),
|
|
1912
1943
|
flags: $pick([
|
|
1913
1944
|
() => undefined,
|
|
1914
|
-
() => $
|
|
1945
|
+
() => $ro68(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1915
1946
|
])(),
|
|
1916
1947
|
notifications: $pick([
|
|
1917
1948
|
() => undefined,
|
|
1918
|
-
() => $
|
|
1949
|
+
() => $ro69(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1919
1950
|
])(),
|
|
1920
1951
|
suppressDeleteAlert: $pick([
|
|
1921
1952
|
() => undefined,
|
|
@@ -2191,17 +2222,17 @@ export const randomSettingsRecord = generator => {
|
|
|
2191
2222
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2192
2223
|
])(),
|
|
2193
2224
|
initialVolume: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
2194
|
-
guides: (generator?.array ?? $generator.array)(() => $
|
|
2225
|
+
guides: (generator?.array ?? $generator.array)(() => $ro44(_recursive, _recursive ? 1 + _depth : _depth)),
|
|
2195
2226
|
download: (generator?.boolean ?? $generator.boolean)(),
|
|
2196
|
-
editMode: $
|
|
2227
|
+
editMode: $ro45(_recursive, _recursive ? 1 + _depth : _depth),
|
|
2197
2228
|
transcribe: $pick([
|
|
2198
2229
|
() => undefined,
|
|
2199
|
-
() => $
|
|
2230
|
+
() => $ro46(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2200
2231
|
])(),
|
|
2201
2232
|
openCommand: $pick([
|
|
2202
2233
|
() => undefined,
|
|
2203
2234
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
2204
|
-
() => $
|
|
2235
|
+
() => $ro50(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2205
2236
|
])()
|
|
2206
2237
|
});
|
|
2207
2238
|
const $ro39 = (_recursive = false, _depth = 0) => ({
|
|
@@ -2231,30 +2262,50 @@ export const randomSettingsRecord = generator => {
|
|
|
2231
2262
|
const $ro41 = (_recursive = false, _depth = 0) => ({
|
|
2232
2263
|
spacing: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
2233
2264
|
maxCharactersPerLine: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
2234
|
-
|
|
2265
|
+
suggestions: $pick([
|
|
2235
2266
|
() => undefined,
|
|
2236
2267
|
() => (generator?.array ?? $generator.array)(() => $ro42(_recursive, _recursive ? 1 + _depth : _depth))
|
|
2268
|
+
])(),
|
|
2269
|
+
colors: $pick([
|
|
2270
|
+
() => undefined,
|
|
2271
|
+
() => (generator?.array ?? $generator.array)(() => $ro43(_recursive, _recursive ? 1 + _depth : _depth))
|
|
2237
2272
|
])()
|
|
2238
2273
|
});
|
|
2239
2274
|
const $ro42 = (_recursive = false, _depth = 0) => ({
|
|
2240
|
-
|
|
2275
|
+
ifAspectRatio: $pick([
|
|
2241
2276
|
() => undefined,
|
|
2242
2277
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2243
2278
|
])(),
|
|
2244
|
-
|
|
2279
|
+
ifLang: $pick([
|
|
2245
2280
|
() => undefined,
|
|
2246
2281
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2247
2282
|
])(),
|
|
2248
|
-
|
|
2283
|
+
thenStyle: $pick([
|
|
2284
|
+
() => undefined,
|
|
2285
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2286
|
+
])(),
|
|
2287
|
+
thenMaxCharactersPerLine: $pick([
|
|
2249
2288
|
() => undefined,
|
|
2250
2289
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
2251
2290
|
])()
|
|
2252
2291
|
});
|
|
2253
2292
|
const $ro43 = (_recursive = false, _depth = 0) => ({
|
|
2293
|
+
label: $pick([
|
|
2294
|
+
() => undefined,
|
|
2295
|
+
() => null,
|
|
2296
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2297
|
+
])(),
|
|
2298
|
+
color: $pick([
|
|
2299
|
+
() => undefined,
|
|
2300
|
+
() => null,
|
|
2301
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2302
|
+
])()
|
|
2303
|
+
});
|
|
2304
|
+
const $ro44 = (_recursive = false, _depth = 0) => ({
|
|
2254
2305
|
label: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
2255
2306
|
aspectRatio: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2256
2307
|
});
|
|
2257
|
-
const $
|
|
2308
|
+
const $ro45 = (_recursive = false, _depth = 0) => ({
|
|
2258
2309
|
enabled: (generator?.boolean ?? $generator.boolean)(),
|
|
2259
2310
|
defaultEnterOption: $pick([
|
|
2260
2311
|
() => "edit",
|
|
@@ -2267,30 +2318,30 @@ export const randomSettingsRecord = generator => {
|
|
|
2267
2318
|
() => "leave"
|
|
2268
2319
|
])()
|
|
2269
2320
|
});
|
|
2270
|
-
const $
|
|
2321
|
+
const $ro46 = (_recursive = false, _depth = 0) => ({
|
|
2271
2322
|
subtitleDisclaimer: $pick([
|
|
2272
2323
|
() => undefined,
|
|
2273
|
-
() => $
|
|
2324
|
+
() => $ro47(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2274
2325
|
])()
|
|
2275
2326
|
});
|
|
2276
|
-
const $
|
|
2327
|
+
const $ro47 = (_recursive = false, _depth = 0) => ({
|
|
2277
2328
|
isUserConfigurable: $pick([
|
|
2278
2329
|
() => undefined,
|
|
2279
2330
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
2280
2331
|
])(),
|
|
2281
2332
|
defaultValue: $pick([
|
|
2282
2333
|
() => undefined,
|
|
2283
|
-
() => $
|
|
2334
|
+
() => $ro48(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2284
2335
|
])()
|
|
2285
2336
|
});
|
|
2286
|
-
const $
|
|
2337
|
+
const $ro48 = (_recursive = false, _depth = 0) => ({
|
|
2287
2338
|
enabled: $pick([
|
|
2288
2339
|
() => undefined,
|
|
2289
2340
|
() => false
|
|
2290
2341
|
])(),
|
|
2291
2342
|
text: $pick([
|
|
2292
2343
|
() => undefined,
|
|
2293
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
2344
|
+
() => (generator?.array ?? $generator.array)(() => $ro49(_recursive, _recursive ? 1 + _depth : _depth))
|
|
2294
2345
|
])(),
|
|
2295
2346
|
offset: $pick([
|
|
2296
2347
|
() => undefined,
|
|
@@ -2301,11 +2352,11 @@ export const randomSettingsRecord = generator => {
|
|
|
2301
2352
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
2302
2353
|
])()
|
|
2303
2354
|
});
|
|
2304
|
-
const $
|
|
2355
|
+
const $ro49 = (_recursive = false, _depth = 0) => ({
|
|
2305
2356
|
language: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
2306
2357
|
value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2307
2358
|
});
|
|
2308
|
-
const $
|
|
2359
|
+
const $ro50 = (_recursive = false, _depth = 0) => ({
|
|
2309
2360
|
url: $pick([
|
|
2310
2361
|
() => undefined,
|
|
2311
2362
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
@@ -2323,15 +2374,15 @@ export const randomSettingsRecord = generator => {
|
|
|
2323
2374
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
2324
2375
|
])()
|
|
2325
2376
|
});
|
|
2326
|
-
const $
|
|
2377
|
+
const $ro51 = (_recursive = false, _depth = 0) => ({
|
|
2327
2378
|
thumbnailView: $pick([
|
|
2328
2379
|
() => "none",
|
|
2329
2380
|
() => "filmStrip",
|
|
2330
2381
|
() => "thumbnail"
|
|
2331
2382
|
])(),
|
|
2332
|
-
voiceOver: $
|
|
2383
|
+
voiceOver: $ro52(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2333
2384
|
});
|
|
2334
|
-
const $
|
|
2385
|
+
const $ro52 = (_recursive = false, _depth = 0) => ({
|
|
2335
2386
|
inputDevice: $pick([
|
|
2336
2387
|
() => undefined,
|
|
2337
2388
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
@@ -2344,7 +2395,7 @@ export const randomSettingsRecord = generator => {
|
|
|
2344
2395
|
])(),
|
|
2345
2396
|
preRollDuration: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
2346
2397
|
});
|
|
2347
|
-
const $
|
|
2398
|
+
const $ro53 = (_recursive = false, _depth = 0) => ({
|
|
2348
2399
|
title: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
2349
2400
|
command: $pick([
|
|
2350
2401
|
() => undefined,
|
|
@@ -2355,43 +2406,43 @@ export const randomSettingsRecord = generator => {
|
|
|
2355
2406
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
2356
2407
|
])()
|
|
2357
2408
|
});
|
|
2358
|
-
const $
|
|
2409
|
+
const $ro54 = (_recursive = false, _depth = 0) => ({
|
|
2359
2410
|
folded: $pick([
|
|
2360
2411
|
() => undefined,
|
|
2361
|
-
() => $
|
|
2412
|
+
() => $ro55(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2362
2413
|
])(),
|
|
2363
|
-
assets: $
|
|
2364
|
-
pipeline: $
|
|
2365
|
-
item: $
|
|
2414
|
+
assets: $ro56(_recursive, _recursive ? 1 + _depth : _depth),
|
|
2415
|
+
pipeline: $ro60(_recursive, _recursive ? 1 + _depth : _depth),
|
|
2416
|
+
item: $ro62(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2366
2417
|
});
|
|
2367
|
-
const $
|
|
2418
|
+
const $ro55 = (_recursive = false, _depth = 0) => ({
|
|
2368
2419
|
auto: $pick([
|
|
2369
2420
|
() => undefined,
|
|
2370
2421
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
2371
2422
|
])()
|
|
2372
2423
|
});
|
|
2373
|
-
const $
|
|
2374
|
-
story: $
|
|
2424
|
+
const $ro56 = (_recursive = false, _depth = 0) => ({
|
|
2425
|
+
story: $ro57(_recursive, _recursive ? 1 + _depth : _depth),
|
|
2375
2426
|
note: $pick([
|
|
2376
2427
|
() => undefined,
|
|
2377
|
-
() => $
|
|
2428
|
+
() => $ro59(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2378
2429
|
])()
|
|
2379
2430
|
});
|
|
2380
|
-
const $ro56 = (_recursive = false, _depth = 0) => ({
|
|
2381
|
-
excerpt: $ro57(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2382
|
-
});
|
|
2383
2431
|
const $ro57 = (_recursive = false, _depth = 0) => ({
|
|
2432
|
+
excerpt: $ro58(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2433
|
+
});
|
|
2434
|
+
const $ro58 = (_recursive = false, _depth = 0) => ({
|
|
2384
2435
|
maxLines: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
|
|
2385
2436
|
mode: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2386
2437
|
});
|
|
2387
|
-
const $
|
|
2438
|
+
const $ro59 = (_recursive = false, _depth = 0) => ({
|
|
2388
2439
|
maxHeight: $pick([
|
|
2389
2440
|
() => undefined,
|
|
2390
2441
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
2391
2442
|
])()
|
|
2392
2443
|
});
|
|
2393
|
-
const $
|
|
2394
|
-
search: $
|
|
2444
|
+
const $ro60 = (_recursive = false, _depth = 0) => ({
|
|
2445
|
+
search: $ro61(_recursive, _recursive ? 1 + _depth : _depth),
|
|
2395
2446
|
sortMode: $pick([
|
|
2396
2447
|
() => "default",
|
|
2397
2448
|
() => "manual",
|
|
@@ -2405,33 +2456,33 @@ export const randomSettingsRecord = generator => {
|
|
|
2405
2456
|
() => "latestdeadline"
|
|
2406
2457
|
])()
|
|
2407
2458
|
});
|
|
2408
|
-
const $
|
|
2459
|
+
const $ro61 = (_recursive = false, _depth = 0) => ({
|
|
2409
2460
|
maxItemsDisplayed: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
2410
2461
|
});
|
|
2411
|
-
const $
|
|
2462
|
+
const $ro62 = (_recursive = false, _depth = 0) => ({
|
|
2412
2463
|
maxHeight: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
2413
2464
|
});
|
|
2414
|
-
const $
|
|
2465
|
+
const $ro63 = (_recursive = false, _depth = 0) => ({
|
|
2415
2466
|
id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
2416
2467
|
folded: (generator?.boolean ?? $generator.boolean)()
|
|
2417
2468
|
});
|
|
2418
|
-
const $
|
|
2419
|
-
adobe: $
|
|
2469
|
+
const $ro64 = (_recursive = false, _depth = 0) => ({
|
|
2470
|
+
adobe: $ro65(_recursive, _recursive ? 1 + _depth : _depth),
|
|
2420
2471
|
rive: $pick([
|
|
2421
2472
|
() => undefined,
|
|
2422
|
-
() => $
|
|
2473
|
+
() => $ro66(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2423
2474
|
])()
|
|
2424
2475
|
});
|
|
2425
|
-
const $
|
|
2476
|
+
const $ro65 = (_recursive = false, _depth = 0) => ({
|
|
2426
2477
|
useProxies: (generator?.boolean ?? $generator.boolean)()
|
|
2427
2478
|
});
|
|
2428
|
-
const $
|
|
2479
|
+
const $ro66 = (_recursive = false, _depth = 0) => ({
|
|
2429
2480
|
template: $pick([
|
|
2430
2481
|
() => undefined,
|
|
2431
2482
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
2432
2483
|
])()
|
|
2433
2484
|
});
|
|
2434
|
-
const $
|
|
2485
|
+
const $ro67 = (_recursive = false, _depth = 0) => ({
|
|
2435
2486
|
collections: $pick([
|
|
2436
2487
|
() => undefined,
|
|
2437
2488
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -2445,7 +2496,7 @@ export const randomSettingsRecord = generator => {
|
|
|
2445
2496
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
2446
2497
|
])()
|
|
2447
2498
|
});
|
|
2448
|
-
const $
|
|
2499
|
+
const $ro68 = (_recursive = false, _depth = 0) => ({
|
|
2449
2500
|
utils: (generator?.boolean ?? $generator.boolean)(),
|
|
2450
2501
|
history: (generator?.boolean ?? $generator.boolean)(),
|
|
2451
2502
|
refs: (generator?.boolean ?? $generator.boolean)(),
|
|
@@ -2483,10 +2534,10 @@ export const randomSettingsRecord = generator => {
|
|
|
2483
2534
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
2484
2535
|
])()
|
|
2485
2536
|
});
|
|
2486
|
-
const $ro68 = (_recursive = false, _depth = 0) => ({
|
|
2487
|
-
events: $ro69(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2488
|
-
});
|
|
2489
2537
|
const $ro69 = (_recursive = false, _depth = 0) => ({
|
|
2538
|
+
events: $ro70(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2539
|
+
});
|
|
2540
|
+
const $ro70 = (_recursive = false, _depth = 0) => ({
|
|
2490
2541
|
comment: (generator?.array ?? $generator.array)(() => $pick([
|
|
2491
2542
|
() => "mentioned",
|
|
2492
2543
|
() => "assigned",
|
|
@@ -2508,9 +2559,9 @@ export const randomSettingsRecord = generator => {
|
|
|
2508
2559
|
() => "participated",
|
|
2509
2560
|
() => "always"
|
|
2510
2561
|
])()),
|
|
2511
|
-
publishSucceeded: $
|
|
2562
|
+
publishSucceeded: $ro71(_recursive, _recursive ? 1 + _depth : _depth)
|
|
2512
2563
|
});
|
|
2513
|
-
const $
|
|
2564
|
+
const $ro71 = (_recursive = false, _depth = 0) => {
|
|
2514
2565
|
const output = {};
|
|
2515
2566
|
(generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = (generator?.array ?? $generator.array)(() => $pick([
|
|
2516
2567
|
() => "mentioned",
|
|
@@ -2525,8 +2576,8 @@ export const randomSettingsRecord = generator => {
|
|
|
2525
2576
|
};
|
|
2526
2577
|
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
2527
2578
|
const __is = input => {
|
|
2528
|
-
const $
|
|
2529
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== 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.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && $io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && $io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && $io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && $io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && $io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && $io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && $io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && $io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && $io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io22(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && $io23(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && $io24(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && $io25(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && $io38(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && $
|
|
2579
|
+
const $iv22 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
2580
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== 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.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && $io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && $io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && $io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && $io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && $io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && $io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && $io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && $io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && $io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io22(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && $io23(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && $io24(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && $io25(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && $io38(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && $io51(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io53(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 && $io54(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io63(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && $io64(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) && $io67(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && $io68(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && $io69(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert);
|
|
2530
2581
|
const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
|
|
2531
2582
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
|
|
2532
2583
|
const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && ("number" === typeof input.settingsPanelStore.activeSectionIndex && "string" === typeof input.settingsPanelStore.activeTab) && Object.keys(input).every(key => {
|
|
@@ -2623,35 +2674,36 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2623
2674
|
return true;
|
|
2624
2675
|
return "object" === typeof value && null !== value && $io27(value);
|
|
2625
2676
|
});
|
|
2626
|
-
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $
|
|
2677
|
+
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io44(elem))) && "boolean" === typeof input.download && ("object" === typeof input.editMode && null !== input.editMode && $io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io50(input.openCommand)));
|
|
2627
2678
|
const $io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
2628
2679
|
const $io40 = input => ("play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && "boolean" === typeof input.showRenderProgress;
|
|
2629
|
-
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.
|
|
2630
|
-
const $io42 = input => (undefined === input.
|
|
2631
|
-
const $io43 = input => "string" === typeof input.label && "string" === typeof input.
|
|
2632
|
-
const $io44 = input => "
|
|
2633
|
-
const $io45 = input =>
|
|
2634
|
-
const $io46 = input =>
|
|
2635
|
-
const $io47 = input => (undefined === input.
|
|
2636
|
-
const $io48 = input => "
|
|
2637
|
-
const $io49 = input =>
|
|
2638
|
-
const $io50 = input => (
|
|
2639
|
-
const $io51 = input => (
|
|
2640
|
-
const $io52 = input => "string" === typeof input.
|
|
2641
|
-
const $io53 = input =>
|
|
2642
|
-
const $io54 = input => undefined === input.
|
|
2643
|
-
const $io55 = input =>
|
|
2644
|
-
const $io56 = input => "object" === typeof input.
|
|
2645
|
-
const $
|
|
2646
|
-
const $io59 = input =>
|
|
2647
|
-
const $
|
|
2648
|
-
const $io63 = input => "
|
|
2649
|
-
const $
|
|
2650
|
-
const $io66 = input =>
|
|
2651
|
-
const $io67 = input =>
|
|
2652
|
-
const $io68 = input => "
|
|
2653
|
-
const $io69 = input =>
|
|
2654
|
-
const $io70 = input =>
|
|
2680
|
+
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io43(elem)));
|
|
2681
|
+
const $io42 = input => (undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (undefined === input.ifLang || "string" === typeof input.ifLang) && (undefined === input.thenStyle || "string" === typeof input.thenStyle) && (undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine);
|
|
2682
|
+
const $io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color);
|
|
2683
|
+
const $io44 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
2684
|
+
const $io45 = input => "boolean" === typeof input.enabled && ("edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && ("none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
2685
|
+
const $io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io47(input.subtitleDisclaimer);
|
|
2686
|
+
const $io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io48(input.defaultValue));
|
|
2687
|
+
const $io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
2688
|
+
const $io49 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2689
|
+
const $io50 = 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));
|
|
2690
|
+
const $io51 = input => ("none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && ("object" === typeof input.voiceOver && null !== input.voiceOver && $io52(input.voiceOver));
|
|
2691
|
+
const $io52 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && "number" === typeof input.inputGainDb && "number" === typeof input.backgroundReductionDb && ("instant" === input.recordMode || "punchAndRoll" === input.recordMode) && "number" === typeof input.preRollDuration;
|
|
2692
|
+
const $io53 = 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));
|
|
2693
|
+
const $io54 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io55(input.folded)) && ("object" === typeof input.assets && null !== input.assets && $io56(input.assets)) && ("object" === typeof input.pipeline && null !== input.pipeline && $io60(input.pipeline)) && ("object" === typeof input.item && null !== input.item && "number" === typeof input.item.maxHeight);
|
|
2694
|
+
const $io55 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
2695
|
+
const $io56 = input => "object" === typeof input.story && null !== input.story && $io57(input.story) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io59(input.note));
|
|
2696
|
+
const $io57 = input => "object" === typeof input.excerpt && null !== input.excerpt && ("number" === typeof input.excerpt.maxLines && "string" === typeof input.excerpt.mode);
|
|
2697
|
+
const $io59 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2698
|
+
const $io60 = input => "object" === typeof input.search && null !== input.search && "number" === typeof input.search.maxItemsDisplayed && true === $iv22.has(input.sortMode);
|
|
2699
|
+
const $io63 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
2700
|
+
const $io64 = input => "object" === typeof input.adobe && null !== input.adobe && "boolean" === typeof input.adobe.useProxies && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && $io66(input.rive));
|
|
2701
|
+
const $io66 = input => undefined === input.template || "string" === typeof input.template;
|
|
2702
|
+
const $io67 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering);
|
|
2703
|
+
const $io68 = input => "boolean" === typeof input.utils && "boolean" === typeof input.history && "boolean" === typeof input.refs && "boolean" === typeof input.access && "boolean" === typeof input.files && "boolean" === typeof input["export"] && "boolean" === typeof input.json && "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);
|
|
2704
|
+
const $io69 = input => "object" === typeof input.events && null !== input.events && $io70(input.events);
|
|
2705
|
+
const $io70 = input => Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem) && (Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io71(input.publishSucceeded));
|
|
2706
|
+
const $io71 = input => Object.keys(input).every(key => {
|
|
2655
2707
|
const value = input[key];
|
|
2656
2708
|
if (undefined === value)
|
|
2657
2709
|
return true;
|
|
@@ -2663,7 +2715,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2663
2715
|
((input, _path, _exceptionable = true) => {
|
|
2664
2716
|
const $guard = __typia.createAssertGuard.guard;
|
|
2665
2717
|
const $join = __typia.createAssertGuard.join;
|
|
2666
|
-
const $
|
|
2718
|
+
const $av22 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
2667
2719
|
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || $guard(_exceptionable, {
|
|
2668
2720
|
path: _path + ".autoLogoutTime",
|
|
2669
2721
|
expected: "(number | undefined)",
|
|
@@ -2838,27 +2890,27 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2838
2890
|
value: input.media
|
|
2839
2891
|
}, errorFactory)) && (undefined === input.edit || ("object" === typeof input.edit && null !== input.edit || $guard(_exceptionable, {
|
|
2840
2892
|
path: _path + ".edit",
|
|
2841
|
-
expected: "(__type.
|
|
2893
|
+
expected: "(__type.o45 | undefined)",
|
|
2842
2894
|
value: input.edit
|
|
2843
|
-
}, errorFactory)) && $
|
|
2895
|
+
}, errorFactory)) && $ao51(input.edit, _path + ".edit", true && _exceptionable) || $guard(_exceptionable, {
|
|
2844
2896
|
path: _path + ".edit",
|
|
2845
|
-
expected: "(__type.
|
|
2897
|
+
expected: "(__type.o45 | undefined)",
|
|
2846
2898
|
value: input.edit
|
|
2847
2899
|
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
2848
2900
|
path: _path + ".commands",
|
|
2849
|
-
expected: "(Array<__type>.
|
|
2901
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
2850
2902
|
value: input.commands
|
|
2851
2903
|
}, errorFactory)) && input.commands.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2852
2904
|
path: _path + ".commands[" + _index3 + "]",
|
|
2853
|
-
expected: "__type.
|
|
2905
|
+
expected: "__type.o47",
|
|
2854
2906
|
value: elem
|
|
2855
|
-
}, errorFactory)) && $
|
|
2907
|
+
}, errorFactory)) && $ao53(elem, _path + ".commands[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2856
2908
|
path: _path + ".commands[" + _index3 + "]",
|
|
2857
|
-
expected: "__type.
|
|
2909
|
+
expected: "__type.o47",
|
|
2858
2910
|
value: elem
|
|
2859
2911
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
2860
2912
|
path: _path + ".commands",
|
|
2861
|
-
expected: "(Array<__type>.
|
|
2913
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
2862
2914
|
value: input.commands
|
|
2863
2915
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
2864
2916
|
path: _path + ".predefinedTags",
|
|
@@ -2874,35 +2926,35 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2874
2926
|
value: input.predefinedTags
|
|
2875
2927
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard || $guard(_exceptionable, {
|
|
2876
2928
|
path: _path + ".storyboard",
|
|
2877
|
-
expected: "(__type.
|
|
2929
|
+
expected: "(__type.o48 | undefined)",
|
|
2878
2930
|
value: input.storyboard
|
|
2879
|
-
}, errorFactory)) && $
|
|
2931
|
+
}, errorFactory)) && $ao54(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
2880
2932
|
path: _path + ".storyboard",
|
|
2881
|
-
expected: "(__type.
|
|
2933
|
+
expected: "(__type.o48 | undefined)",
|
|
2882
2934
|
value: input.storyboard
|
|
2883
2935
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
2884
2936
|
path: _path + ".hiddenPreviews",
|
|
2885
|
-
expected: "(Array<__type>.
|
|
2937
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
2886
2938
|
value: input.hiddenPreviews
|
|
2887
2939
|
}, errorFactory)) && input.hiddenPreviews.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2888
2940
|
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
2889
|
-
expected: "__type.
|
|
2941
|
+
expected: "__type.o57",
|
|
2890
2942
|
value: elem
|
|
2891
|
-
}, errorFactory)) && $
|
|
2943
|
+
}, errorFactory)) && $ao63(elem, _path + ".hiddenPreviews[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2892
2944
|
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
2893
|
-
expected: "__type.
|
|
2945
|
+
expected: "__type.o57",
|
|
2894
2946
|
value: elem
|
|
2895
2947
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
2896
2948
|
path: _path + ".hiddenPreviews",
|
|
2897
|
-
expected: "(Array<__type>.
|
|
2949
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
2898
2950
|
value: input.hiddenPreviews
|
|
2899
2951
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins || $guard(_exceptionable, {
|
|
2900
2952
|
path: _path + ".plugins",
|
|
2901
|
-
expected: "(__type.
|
|
2953
|
+
expected: "(__type.o58 | undefined)",
|
|
2902
2954
|
value: input.plugins
|
|
2903
|
-
}, errorFactory)) && $
|
|
2955
|
+
}, errorFactory)) && $ao64(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
2904
2956
|
path: _path + ".plugins",
|
|
2905
|
-
expected: "(__type.
|
|
2957
|
+
expected: "(__type.o58 | undefined)",
|
|
2906
2958
|
value: input.plugins
|
|
2907
2959
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
2908
2960
|
path: _path + ".crashScreen",
|
|
@@ -2914,27 +2966,27 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2914
2966
|
value: input.debug
|
|
2915
2967
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
2916
2968
|
path: _path + ".featurePreview",
|
|
2917
|
-
expected: "(__type.
|
|
2969
|
+
expected: "(__type.o61 | undefined)",
|
|
2918
2970
|
value: input.featurePreview
|
|
2919
|
-
}, errorFactory)) && $
|
|
2971
|
+
}, errorFactory)) && $ao67(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
2920
2972
|
path: _path + ".featurePreview",
|
|
2921
|
-
expected: "(__type.
|
|
2973
|
+
expected: "(__type.o61 | undefined)",
|
|
2922
2974
|
value: input.featurePreview
|
|
2923
2975
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags || $guard(_exceptionable, {
|
|
2924
2976
|
path: _path + ".flags",
|
|
2925
|
-
expected: "(__type.
|
|
2977
|
+
expected: "(__type.o62 | undefined)",
|
|
2926
2978
|
value: input.flags
|
|
2927
|
-
}, errorFactory)) && $
|
|
2979
|
+
}, errorFactory)) && $ao68(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2928
2980
|
path: _path + ".flags",
|
|
2929
|
-
expected: "(__type.
|
|
2981
|
+
expected: "(__type.o62 | undefined)",
|
|
2930
2982
|
value: input.flags
|
|
2931
2983
|
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications || $guard(_exceptionable, {
|
|
2932
2984
|
path: _path + ".notifications",
|
|
2933
|
-
expected: "(__type.
|
|
2985
|
+
expected: "(__type.o63 | undefined)",
|
|
2934
2986
|
value: input.notifications
|
|
2935
|
-
}, errorFactory)) && $
|
|
2987
|
+
}, errorFactory)) && $ao69(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
2936
2988
|
path: _path + ".notifications",
|
|
2937
|
-
expected: "(__type.
|
|
2989
|
+
expected: "(__type.o63 | undefined)",
|
|
2938
2990
|
value: input.notifications
|
|
2939
2991
|
}, errorFactory)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || $guard(_exceptionable, {
|
|
2940
2992
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -3610,19 +3662,19 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3610
3662
|
value: input.initialVolume
|
|
3611
3663
|
}, errorFactory)) && ((Array.isArray(input.guides) || $guard(_exceptionable, {
|
|
3612
3664
|
path: _path + ".guides",
|
|
3613
|
-
expected: "Array<__type>.
|
|
3665
|
+
expected: "Array<__type>.o2",
|
|
3614
3666
|
value: input.guides
|
|
3615
3667
|
}, errorFactory)) && input.guides.every((elem, _index16) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3616
3668
|
path: _path + ".guides[" + _index16 + "]",
|
|
3617
|
-
expected: "__type.
|
|
3669
|
+
expected: "__type.o38",
|
|
3618
3670
|
value: elem
|
|
3619
|
-
}, errorFactory)) && $
|
|
3671
|
+
}, errorFactory)) && $ao44(elem, _path + ".guides[" + _index16 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3620
3672
|
path: _path + ".guides[" + _index16 + "]",
|
|
3621
|
-
expected: "__type.
|
|
3673
|
+
expected: "__type.o38",
|
|
3622
3674
|
value: elem
|
|
3623
3675
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
3624
3676
|
path: _path + ".guides",
|
|
3625
|
-
expected: "Array<__type>.
|
|
3677
|
+
expected: "Array<__type>.o2",
|
|
3626
3678
|
value: input.guides
|
|
3627
3679
|
}, errorFactory)) && ("boolean" === typeof input.download || $guard(_exceptionable, {
|
|
3628
3680
|
path: _path + ".download",
|
|
@@ -3630,31 +3682,31 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3630
3682
|
value: input.download
|
|
3631
3683
|
}, errorFactory)) && (("object" === typeof input.editMode && null !== input.editMode || $guard(_exceptionable, {
|
|
3632
3684
|
path: _path + ".editMode",
|
|
3633
|
-
expected: "__type.
|
|
3685
|
+
expected: "__type.o39",
|
|
3634
3686
|
value: input.editMode
|
|
3635
|
-
}, errorFactory)) && $
|
|
3687
|
+
}, errorFactory)) && $ao45(input.editMode, _path + ".editMode", true && _exceptionable) || $guard(_exceptionable, {
|
|
3636
3688
|
path: _path + ".editMode",
|
|
3637
|
-
expected: "__type.
|
|
3689
|
+
expected: "__type.o39",
|
|
3638
3690
|
value: input.editMode
|
|
3639
3691
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
3640
3692
|
path: _path + ".transcribe",
|
|
3641
|
-
expected: "(__type.
|
|
3693
|
+
expected: "(__type.o40 | undefined)",
|
|
3642
3694
|
value: input.transcribe
|
|
3643
|
-
}, errorFactory)) && $
|
|
3695
|
+
}, errorFactory)) && $ao46(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
3644
3696
|
path: _path + ".transcribe",
|
|
3645
|
-
expected: "(__type.
|
|
3697
|
+
expected: "(__type.o40 | undefined)",
|
|
3646
3698
|
value: input.transcribe
|
|
3647
3699
|
}, errorFactory)) && ((null !== input.openCommand || $guard(_exceptionable, {
|
|
3648
3700
|
path: _path + ".openCommand",
|
|
3649
|
-
expected: "(__type.
|
|
3701
|
+
expected: "(__type.o44 | string | undefined)",
|
|
3650
3702
|
value: input.openCommand
|
|
3651
3703
|
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || $guard(_exceptionable, {
|
|
3652
3704
|
path: _path + ".openCommand",
|
|
3653
|
-
expected: "(__type.
|
|
3705
|
+
expected: "(__type.o44 | string | undefined)",
|
|
3654
3706
|
value: input.openCommand
|
|
3655
|
-
}, errorFactory)) && $
|
|
3707
|
+
}, errorFactory)) && $ao50(input.openCommand, _path + ".openCommand", true && _exceptionable) || $guard(_exceptionable, {
|
|
3656
3708
|
path: _path + ".openCommand",
|
|
3657
|
-
expected: "(__type.
|
|
3709
|
+
expected: "(__type.o44 | string | undefined)",
|
|
3658
3710
|
value: input.openCommand
|
|
3659
3711
|
}, errorFactory)));
|
|
3660
3712
|
const $ao39 = (input, _path, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
@@ -3687,37 +3739,66 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3687
3739
|
path: _path + ".maxCharactersPerLine",
|
|
3688
3740
|
expected: "number",
|
|
3689
3741
|
value: input.maxCharactersPerLine
|
|
3690
|
-
}, errorFactory)) && (undefined === input.
|
|
3691
|
-
path: _path + ".
|
|
3742
|
+
}, errorFactory)) && (undefined === input.suggestions || (Array.isArray(input.suggestions) || $guard(_exceptionable, {
|
|
3743
|
+
path: _path + ".suggestions",
|
|
3692
3744
|
expected: "(Array<__type> | undefined)",
|
|
3693
|
-
value: input.
|
|
3694
|
-
}, errorFactory)) && input.
|
|
3695
|
-
path: _path + ".
|
|
3745
|
+
value: input.suggestions
|
|
3746
|
+
}, errorFactory)) && input.suggestions.every((elem, _index17) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
|
|
3747
|
+
path: _path + ".suggestions[" + _index17 + "]",
|
|
3696
3748
|
expected: "__type.o36",
|
|
3697
3749
|
value: elem
|
|
3698
|
-
}, errorFactory)) && $ao42(elem, _path + ".
|
|
3699
|
-
path: _path + ".
|
|
3750
|
+
}, errorFactory)) && $ao42(elem, _path + ".suggestions[" + _index17 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3751
|
+
path: _path + ".suggestions[" + _index17 + "]",
|
|
3700
3752
|
expected: "__type.o36",
|
|
3701
3753
|
value: elem
|
|
3702
3754
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
3703
|
-
path: _path + ".
|
|
3755
|
+
path: _path + ".suggestions",
|
|
3704
3756
|
expected: "(Array<__type> | undefined)",
|
|
3705
|
-
value: input.
|
|
3757
|
+
value: input.suggestions
|
|
3758
|
+
}, errorFactory)) && (undefined === input.colors || (Array.isArray(input.colors) || $guard(_exceptionable, {
|
|
3759
|
+
path: _path + ".colors",
|
|
3760
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
3761
|
+
value: input.colors
|
|
3762
|
+
}, errorFactory)) && input.colors.every((elem, _index18) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
|
|
3763
|
+
path: _path + ".colors[" + _index18 + "]",
|
|
3764
|
+
expected: "__type.o37",
|
|
3765
|
+
value: elem
|
|
3766
|
+
}, errorFactory)) && $ao43(elem, _path + ".colors[" + _index18 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3767
|
+
path: _path + ".colors[" + _index18 + "]",
|
|
3768
|
+
expected: "__type.o37",
|
|
3769
|
+
value: elem
|
|
3770
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
3771
|
+
path: _path + ".colors",
|
|
3772
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
3773
|
+
value: input.colors
|
|
3706
3774
|
}, errorFactory));
|
|
3707
|
-
const $ao42 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
3708
|
-
path: _path + ".
|
|
3775
|
+
const $ao42 = (input, _path, _exceptionable = true) => (undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio || $guard(_exceptionable, {
|
|
3776
|
+
path: _path + ".ifAspectRatio",
|
|
3709
3777
|
expected: "(string | undefined)",
|
|
3710
|
-
value: input.
|
|
3711
|
-
}, errorFactory)) && (undefined === input.
|
|
3712
|
-
path: _path + ".
|
|
3778
|
+
value: input.ifAspectRatio
|
|
3779
|
+
}, errorFactory)) && (undefined === input.ifLang || "string" === typeof input.ifLang || $guard(_exceptionable, {
|
|
3780
|
+
path: _path + ".ifLang",
|
|
3713
3781
|
expected: "(string | undefined)",
|
|
3714
|
-
value: input.
|
|
3715
|
-
}, errorFactory)) && (undefined === input.
|
|
3716
|
-
path: _path + ".
|
|
3782
|
+
value: input.ifLang
|
|
3783
|
+
}, errorFactory)) && (undefined === input.thenStyle || "string" === typeof input.thenStyle || $guard(_exceptionable, {
|
|
3784
|
+
path: _path + ".thenStyle",
|
|
3785
|
+
expected: "(string | undefined)",
|
|
3786
|
+
value: input.thenStyle
|
|
3787
|
+
}, errorFactory)) && (undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine || $guard(_exceptionable, {
|
|
3788
|
+
path: _path + ".thenMaxCharactersPerLine",
|
|
3717
3789
|
expected: "(number | undefined)",
|
|
3718
|
-
value: input.
|
|
3790
|
+
value: input.thenMaxCharactersPerLine
|
|
3791
|
+
}, errorFactory));
|
|
3792
|
+
const $ao43 = (input, _path, _exceptionable = true) => (null === input.label || undefined === input.label || "string" === typeof input.label || $guard(_exceptionable, {
|
|
3793
|
+
path: _path + ".label",
|
|
3794
|
+
expected: "(null | string | undefined)",
|
|
3795
|
+
value: input.label
|
|
3796
|
+
}, errorFactory)) && (null === input.color || undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
3797
|
+
path: _path + ".color",
|
|
3798
|
+
expected: "(null | string | undefined)",
|
|
3799
|
+
value: input.color
|
|
3719
3800
|
}, errorFactory));
|
|
3720
|
-
const $
|
|
3801
|
+
const $ao44 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
3721
3802
|
path: _path + ".label",
|
|
3722
3803
|
expected: "string",
|
|
3723
3804
|
value: input.label
|
|
@@ -3726,7 +3807,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3726
3807
|
expected: "string",
|
|
3727
3808
|
value: input.aspectRatio
|
|
3728
3809
|
}, errorFactory));
|
|
3729
|
-
const $
|
|
3810
|
+
const $ao45 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.enabled || $guard(_exceptionable, {
|
|
3730
3811
|
path: _path + ".enabled",
|
|
3731
3812
|
expected: "boolean",
|
|
3732
3813
|
value: input.enabled
|
|
@@ -3739,47 +3820,47 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3739
3820
|
expected: "(\"leave\" | \"none\" | \"update\")",
|
|
3740
3821
|
value: input.defaultExitOption
|
|
3741
3822
|
}, errorFactory));
|
|
3742
|
-
const $
|
|
3823
|
+
const $ao46 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
3743
3824
|
path: _path + ".subtitleDisclaimer",
|
|
3744
|
-
expected: "(__type.
|
|
3825
|
+
expected: "(__type.o41 | undefined)",
|
|
3745
3826
|
value: input.subtitleDisclaimer
|
|
3746
|
-
}, errorFactory)) && $
|
|
3827
|
+
}, errorFactory)) && $ao47(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
3747
3828
|
path: _path + ".subtitleDisclaimer",
|
|
3748
|
-
expected: "(__type.
|
|
3829
|
+
expected: "(__type.o41 | undefined)",
|
|
3749
3830
|
value: input.subtitleDisclaimer
|
|
3750
3831
|
}, errorFactory);
|
|
3751
|
-
const $
|
|
3832
|
+
const $ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
3752
3833
|
path: _path + ".isUserConfigurable",
|
|
3753
3834
|
expected: "(boolean | undefined)",
|
|
3754
3835
|
value: input.isUserConfigurable
|
|
3755
3836
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
3756
3837
|
path: _path + ".defaultValue",
|
|
3757
|
-
expected: "(__type.
|
|
3838
|
+
expected: "(__type.o42 | undefined)",
|
|
3758
3839
|
value: input.defaultValue
|
|
3759
|
-
}, errorFactory)) && $
|
|
3840
|
+
}, errorFactory)) && $ao48(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
3760
3841
|
path: _path + ".defaultValue",
|
|
3761
|
-
expected: "(__type.
|
|
3842
|
+
expected: "(__type.o42 | undefined)",
|
|
3762
3843
|
value: input.defaultValue
|
|
3763
3844
|
}, errorFactory));
|
|
3764
|
-
const $
|
|
3845
|
+
const $ao48 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
3765
3846
|
path: _path + ".enabled",
|
|
3766
3847
|
expected: "(false | undefined)",
|
|
3767
3848
|
value: input.enabled
|
|
3768
3849
|
}, errorFactory)) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
|
|
3769
3850
|
path: _path + ".text",
|
|
3770
|
-
expected: "(Array<__type>.
|
|
3851
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
3771
3852
|
value: input.text
|
|
3772
|
-
}, errorFactory)) && input.text.every((elem,
|
|
3773
|
-
path: _path + ".text[" +
|
|
3774
|
-
expected: "__type.
|
|
3853
|
+
}, errorFactory)) && input.text.every((elem, _index19) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3854
|
+
path: _path + ".text[" + _index19 + "]",
|
|
3855
|
+
expected: "__type.o43",
|
|
3775
3856
|
value: elem
|
|
3776
|
-
}, errorFactory)) && $
|
|
3777
|
-
path: _path + ".text[" +
|
|
3778
|
-
expected: "__type.
|
|
3857
|
+
}, errorFactory)) && $ao49(elem, _path + ".text[" + _index19 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3858
|
+
path: _path + ".text[" + _index19 + "]",
|
|
3859
|
+
expected: "__type.o43",
|
|
3779
3860
|
value: elem
|
|
3780
3861
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
3781
3862
|
path: _path + ".text",
|
|
3782
|
-
expected: "(Array<__type>.
|
|
3863
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
3783
3864
|
value: input.text
|
|
3784
3865
|
}, errorFactory)) && (undefined === input.offset || "number" === typeof input.offset || $guard(_exceptionable, {
|
|
3785
3866
|
path: _path + ".offset",
|
|
@@ -3790,7 +3871,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3790
3871
|
expected: "(number | undefined)",
|
|
3791
3872
|
value: input.duration
|
|
3792
3873
|
}, errorFactory));
|
|
3793
|
-
const $
|
|
3874
|
+
const $ao49 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
3794
3875
|
path: _path + ".language",
|
|
3795
3876
|
expected: "string",
|
|
3796
3877
|
value: input.language
|
|
@@ -3799,7 +3880,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3799
3880
|
expected: "string",
|
|
3800
3881
|
value: input.value
|
|
3801
3882
|
}, errorFactory));
|
|
3802
|
-
const $
|
|
3883
|
+
const $ao50 = (input, _path, _exceptionable = true) => (undefined === input.url || "string" === typeof input.url || $guard(_exceptionable, {
|
|
3803
3884
|
path: _path + ".url",
|
|
3804
3885
|
expected: "(string | undefined)",
|
|
3805
3886
|
value: input.url
|
|
@@ -3815,8 +3896,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3815
3896
|
path: _path + ".args",
|
|
3816
3897
|
expected: "(Array<string> | undefined)",
|
|
3817
3898
|
value: input.args
|
|
3818
|
-
}, errorFactory)) && input.args.every((elem,
|
|
3819
|
-
path: _path + ".args[" +
|
|
3899
|
+
}, errorFactory)) && input.args.every((elem, _index20) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3900
|
+
path: _path + ".args[" + _index20 + "]",
|
|
3820
3901
|
expected: "string",
|
|
3821
3902
|
value: elem
|
|
3822
3903
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3824,20 +3905,20 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3824
3905
|
expected: "(Array<string> | undefined)",
|
|
3825
3906
|
value: input.args
|
|
3826
3907
|
}, errorFactory));
|
|
3827
|
-
const $
|
|
3908
|
+
const $ao51 = (input, _path, _exceptionable = true) => ("none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
3828
3909
|
path: _path + ".thumbnailView",
|
|
3829
3910
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\")",
|
|
3830
3911
|
value: input.thumbnailView
|
|
3831
3912
|
}, errorFactory)) && (("object" === typeof input.voiceOver && null !== input.voiceOver || $guard(_exceptionable, {
|
|
3832
3913
|
path: _path + ".voiceOver",
|
|
3833
|
-
expected: "__type.
|
|
3914
|
+
expected: "__type.o46",
|
|
3834
3915
|
value: input.voiceOver
|
|
3835
|
-
}, errorFactory)) && $
|
|
3916
|
+
}, errorFactory)) && $ao52(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || $guard(_exceptionable, {
|
|
3836
3917
|
path: _path + ".voiceOver",
|
|
3837
|
-
expected: "__type.
|
|
3918
|
+
expected: "__type.o46",
|
|
3838
3919
|
value: input.voiceOver
|
|
3839
3920
|
}, errorFactory));
|
|
3840
|
-
const $
|
|
3921
|
+
const $ao52 = (input, _path, _exceptionable = true) => (undefined === input.inputDevice || "string" === typeof input.inputDevice || $guard(_exceptionable, {
|
|
3841
3922
|
path: _path + ".inputDevice",
|
|
3842
3923
|
expected: "(string | undefined)",
|
|
3843
3924
|
value: input.inputDevice
|
|
@@ -3858,7 +3939,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3858
3939
|
expected: "number",
|
|
3859
3940
|
value: input.preRollDuration
|
|
3860
3941
|
}, errorFactory));
|
|
3861
|
-
const $
|
|
3942
|
+
const $ao53 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
3862
3943
|
path: _path + ".title",
|
|
3863
3944
|
expected: "string",
|
|
3864
3945
|
value: input.title
|
|
@@ -3870,8 +3951,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3870
3951
|
path: _path + ".args",
|
|
3871
3952
|
expected: "(Array<string> | undefined)",
|
|
3872
3953
|
value: input.args
|
|
3873
|
-
}, errorFactory)) && input.args.every((elem,
|
|
3874
|
-
path: _path + ".args[" +
|
|
3954
|
+
}, errorFactory)) && input.args.every((elem, _index21) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3955
|
+
path: _path + ".args[" + _index21 + "]",
|
|
3875
3956
|
expected: "string",
|
|
3876
3957
|
value: elem
|
|
3877
3958
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3879,71 +3960,71 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3879
3960
|
expected: "(Array<string> | undefined)",
|
|
3880
3961
|
value: input.args
|
|
3881
3962
|
}, errorFactory));
|
|
3882
|
-
const $
|
|
3963
|
+
const $ao54 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
3883
3964
|
path: _path + ".folded",
|
|
3884
|
-
expected: "(__type.
|
|
3965
|
+
expected: "(__type.o49 | undefined)",
|
|
3885
3966
|
value: input.folded
|
|
3886
|
-
}, errorFactory)) && $
|
|
3967
|
+
}, errorFactory)) && $ao55(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
3887
3968
|
path: _path + ".folded",
|
|
3888
|
-
expected: "(__type.
|
|
3969
|
+
expected: "(__type.o49 | undefined)",
|
|
3889
3970
|
value: input.folded
|
|
3890
3971
|
}, errorFactory)) && (("object" === typeof input.assets && null !== input.assets || $guard(_exceptionable, {
|
|
3891
3972
|
path: _path + ".assets",
|
|
3892
|
-
expected: "__type.
|
|
3973
|
+
expected: "__type.o50",
|
|
3893
3974
|
value: input.assets
|
|
3894
|
-
}, errorFactory)) && $
|
|
3975
|
+
}, errorFactory)) && $ao56(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
3895
3976
|
path: _path + ".assets",
|
|
3896
|
-
expected: "__type.
|
|
3977
|
+
expected: "__type.o50",
|
|
3897
3978
|
value: input.assets
|
|
3898
3979
|
}, errorFactory)) && (("object" === typeof input.pipeline && null !== input.pipeline || $guard(_exceptionable, {
|
|
3899
3980
|
path: _path + ".pipeline",
|
|
3900
|
-
expected: "__type.
|
|
3981
|
+
expected: "__type.o54",
|
|
3901
3982
|
value: input.pipeline
|
|
3902
|
-
}, errorFactory)) && $
|
|
3983
|
+
}, errorFactory)) && $ao60(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
3903
3984
|
path: _path + ".pipeline",
|
|
3904
|
-
expected: "__type.
|
|
3985
|
+
expected: "__type.o54",
|
|
3905
3986
|
value: input.pipeline
|
|
3906
3987
|
}, errorFactory)) && (("object" === typeof input.item && null !== input.item || $guard(_exceptionable, {
|
|
3907
3988
|
path: _path + ".item",
|
|
3908
|
-
expected: "__type.
|
|
3989
|
+
expected: "__type.o56",
|
|
3909
3990
|
value: input.item
|
|
3910
|
-
}, errorFactory)) && $
|
|
3991
|
+
}, errorFactory)) && $ao62(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
3911
3992
|
path: _path + ".item",
|
|
3912
|
-
expected: "__type.
|
|
3993
|
+
expected: "__type.o56",
|
|
3913
3994
|
value: input.item
|
|
3914
3995
|
}, errorFactory));
|
|
3915
|
-
const $
|
|
3996
|
+
const $ao55 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
3916
3997
|
path: _path + ".auto",
|
|
3917
3998
|
expected: "(boolean | undefined)",
|
|
3918
3999
|
value: input.auto
|
|
3919
4000
|
}, errorFactory);
|
|
3920
|
-
const $
|
|
4001
|
+
const $ao56 = (input, _path, _exceptionable = true) => (("object" === typeof input.story && null !== input.story || $guard(_exceptionable, {
|
|
3921
4002
|
path: _path + ".story",
|
|
3922
|
-
expected: "__type.
|
|
4003
|
+
expected: "__type.o51",
|
|
3923
4004
|
value: input.story
|
|
3924
|
-
}, errorFactory)) && $
|
|
4005
|
+
}, errorFactory)) && $ao57(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
3925
4006
|
path: _path + ".story",
|
|
3926
|
-
expected: "__type.
|
|
4007
|
+
expected: "__type.o51",
|
|
3927
4008
|
value: input.story
|
|
3928
4009
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
3929
4010
|
path: _path + ".note",
|
|
3930
|
-
expected: "(__type.
|
|
4011
|
+
expected: "(__type.o53 | undefined)",
|
|
3931
4012
|
value: input.note
|
|
3932
|
-
}, errorFactory)) && $
|
|
4013
|
+
}, errorFactory)) && $ao59(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
3933
4014
|
path: _path + ".note",
|
|
3934
|
-
expected: "(__type.
|
|
4015
|
+
expected: "(__type.o53 | undefined)",
|
|
3935
4016
|
value: input.note
|
|
3936
4017
|
}, errorFactory));
|
|
3937
|
-
const $
|
|
4018
|
+
const $ao57 = (input, _path, _exceptionable = true) => ("object" === typeof input.excerpt && null !== input.excerpt || $guard(_exceptionable, {
|
|
3938
4019
|
path: _path + ".excerpt",
|
|
3939
|
-
expected: "__type.
|
|
4020
|
+
expected: "__type.o52",
|
|
3940
4021
|
value: input.excerpt
|
|
3941
|
-
}, errorFactory)) && $
|
|
4022
|
+
}, errorFactory)) && $ao58(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
3942
4023
|
path: _path + ".excerpt",
|
|
3943
|
-
expected: "__type.
|
|
4024
|
+
expected: "__type.o52",
|
|
3944
4025
|
value: input.excerpt
|
|
3945
4026
|
}, errorFactory);
|
|
3946
|
-
const $
|
|
4027
|
+
const $ao58 = (input, _path, _exceptionable = true) => ("number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
3947
4028
|
path: _path + ".maxLines",
|
|
3948
4029
|
expected: "number",
|
|
3949
4030
|
value: input.maxLines
|
|
@@ -3952,35 +4033,35 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3952
4033
|
expected: "string",
|
|
3953
4034
|
value: input.mode
|
|
3954
4035
|
}, errorFactory));
|
|
3955
|
-
const $
|
|
4036
|
+
const $ao59 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
3956
4037
|
path: _path + ".maxHeight",
|
|
3957
4038
|
expected: "(number | undefined)",
|
|
3958
4039
|
value: input.maxHeight
|
|
3959
4040
|
}, errorFactory);
|
|
3960
|
-
const $
|
|
4041
|
+
const $ao60 = (input, _path, _exceptionable = true) => (("object" === typeof input.search && null !== input.search || $guard(_exceptionable, {
|
|
3961
4042
|
path: _path + ".search",
|
|
3962
|
-
expected: "__type.
|
|
4043
|
+
expected: "__type.o55",
|
|
3963
4044
|
value: input.search
|
|
3964
|
-
}, errorFactory)) && $
|
|
4045
|
+
}, errorFactory)) && $ao61(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
3965
4046
|
path: _path + ".search",
|
|
3966
|
-
expected: "__type.
|
|
4047
|
+
expected: "__type.o55",
|
|
3967
4048
|
value: input.search
|
|
3968
|
-
}, errorFactory)) && (true === $
|
|
4049
|
+
}, errorFactory)) && (true === $av22.has(input.sortMode) || $guard(_exceptionable, {
|
|
3969
4050
|
path: _path + ".sortMode",
|
|
3970
4051
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\")",
|
|
3971
4052
|
value: input.sortMode
|
|
3972
4053
|
}, errorFactory));
|
|
3973
|
-
const $
|
|
4054
|
+
const $ao61 = (input, _path, _exceptionable = true) => "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
3974
4055
|
path: _path + ".maxItemsDisplayed",
|
|
3975
4056
|
expected: "number",
|
|
3976
4057
|
value: input.maxItemsDisplayed
|
|
3977
4058
|
}, errorFactory);
|
|
3978
|
-
const $
|
|
4059
|
+
const $ao62 = (input, _path, _exceptionable = true) => "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
3979
4060
|
path: _path + ".maxHeight",
|
|
3980
4061
|
expected: "number",
|
|
3981
4062
|
value: input.maxHeight
|
|
3982
4063
|
}, errorFactory);
|
|
3983
|
-
const $
|
|
4064
|
+
const $ao63 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
3984
4065
|
path: _path + ".id",
|
|
3985
4066
|
expected: "string",
|
|
3986
4067
|
value: input.id
|
|
@@ -3989,34 +4070,34 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3989
4070
|
expected: "boolean",
|
|
3990
4071
|
value: input.folded
|
|
3991
4072
|
}, errorFactory));
|
|
3992
|
-
const $
|
|
4073
|
+
const $ao64 = (input, _path, _exceptionable = true) => (("object" === typeof input.adobe && null !== input.adobe || $guard(_exceptionable, {
|
|
3993
4074
|
path: _path + ".adobe",
|
|
3994
|
-
expected: "__type.
|
|
4075
|
+
expected: "__type.o59",
|
|
3995
4076
|
value: input.adobe
|
|
3996
|
-
}, errorFactory)) && $
|
|
4077
|
+
}, errorFactory)) && $ao65(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
3997
4078
|
path: _path + ".adobe",
|
|
3998
|
-
expected: "__type.
|
|
4079
|
+
expected: "__type.o59",
|
|
3999
4080
|
value: input.adobe
|
|
4000
4081
|
}, errorFactory)) && (undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || $guard(_exceptionable, {
|
|
4001
4082
|
path: _path + ".rive",
|
|
4002
|
-
expected: "(__type.
|
|
4083
|
+
expected: "(__type.o60 | undefined)",
|
|
4003
4084
|
value: input.rive
|
|
4004
|
-
}, errorFactory)) && $
|
|
4085
|
+
}, errorFactory)) && $ao66(input.rive, _path + ".rive", true && _exceptionable) || $guard(_exceptionable, {
|
|
4005
4086
|
path: _path + ".rive",
|
|
4006
|
-
expected: "(__type.
|
|
4087
|
+
expected: "(__type.o60 | undefined)",
|
|
4007
4088
|
value: input.rive
|
|
4008
4089
|
}, errorFactory));
|
|
4009
|
-
const $
|
|
4090
|
+
const $ao65 = (input, _path, _exceptionable = true) => "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
4010
4091
|
path: _path + ".useProxies",
|
|
4011
4092
|
expected: "boolean",
|
|
4012
4093
|
value: input.useProxies
|
|
4013
4094
|
}, errorFactory);
|
|
4014
|
-
const $
|
|
4095
|
+
const $ao66 = (input, _path, _exceptionable = true) => undefined === input.template || "string" === typeof input.template || $guard(_exceptionable, {
|
|
4015
4096
|
path: _path + ".template",
|
|
4016
4097
|
expected: "(string | undefined)",
|
|
4017
4098
|
value: input.template
|
|
4018
4099
|
}, errorFactory);
|
|
4019
|
-
const $
|
|
4100
|
+
const $ao67 = (input, _path, _exceptionable = true) => (undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
4020
4101
|
path: _path + ".collections",
|
|
4021
4102
|
expected: "(boolean | undefined)",
|
|
4022
4103
|
value: input.collections
|
|
@@ -4029,7 +4110,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
4029
4110
|
expected: "(boolean | undefined)",
|
|
4030
4111
|
value: input.ameRemoteRendering
|
|
4031
4112
|
}, errorFactory));
|
|
4032
|
-
const $
|
|
4113
|
+
const $ao68 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
4033
4114
|
path: _path + ".utils",
|
|
4034
4115
|
expected: "boolean",
|
|
4035
4116
|
value: input.utils
|
|
@@ -4090,21 +4171,21 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
4090
4171
|
expected: "(boolean | undefined)",
|
|
4091
4172
|
value: input.devWarnings
|
|
4092
4173
|
}, errorFactory));
|
|
4093
|
-
const $
|
|
4174
|
+
const $ao69 = (input, _path, _exceptionable = true) => ("object" === typeof input.events && null !== input.events || $guard(_exceptionable, {
|
|
4094
4175
|
path: _path + ".events",
|
|
4095
|
-
expected: "__type.
|
|
4176
|
+
expected: "__type.o64",
|
|
4096
4177
|
value: input.events
|
|
4097
|
-
}, errorFactory)) && $
|
|
4178
|
+
}, errorFactory)) && $ao70(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
4098
4179
|
path: _path + ".events",
|
|
4099
|
-
expected: "__type.
|
|
4180
|
+
expected: "__type.o64",
|
|
4100
4181
|
value: input.events
|
|
4101
4182
|
}, errorFactory);
|
|
4102
|
-
const $
|
|
4183
|
+
const $ao70 = (input, _path, _exceptionable = true) => ((Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
4103
4184
|
path: _path + ".comment",
|
|
4104
4185
|
expected: "Array<NotificationReason>",
|
|
4105
4186
|
value: input.comment
|
|
4106
|
-
}, errorFactory)) && input.comment.every((elem,
|
|
4107
|
-
path: _path + ".comment[" +
|
|
4187
|
+
}, errorFactory)) && input.comment.every((elem, _index23) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4188
|
+
path: _path + ".comment[" + _index23 + "]",
|
|
4108
4189
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4109
4190
|
value: elem
|
|
4110
4191
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4115,8 +4196,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
4115
4196
|
path: _path + ".assigned",
|
|
4116
4197
|
expected: "Array<NotificationReason>",
|
|
4117
4198
|
value: input.assigned
|
|
4118
|
-
}, errorFactory)) && input.assigned.every((elem,
|
|
4119
|
-
path: _path + ".assigned[" +
|
|
4199
|
+
}, errorFactory)) && input.assigned.every((elem, _index24) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4200
|
+
path: _path + ".assigned[" + _index24 + "]",
|
|
4120
4201
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4121
4202
|
value: elem
|
|
4122
4203
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4127,8 +4208,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
4127
4208
|
path: _path + ".unassigned",
|
|
4128
4209
|
expected: "Array<NotificationReason>",
|
|
4129
4210
|
value: input.unassigned
|
|
4130
|
-
}, errorFactory)) && input.unassigned.every((elem,
|
|
4131
|
-
path: _path + ".unassigned[" +
|
|
4211
|
+
}, errorFactory)) && input.unassigned.every((elem, _index25) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4212
|
+
path: _path + ".unassigned[" + _index25 + "]",
|
|
4132
4213
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4133
4214
|
value: elem
|
|
4134
4215
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4137,14 +4218,14 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
4137
4218
|
value: input.unassigned
|
|
4138
4219
|
}, errorFactory)) && (("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
4139
4220
|
path: _path + ".publishSucceeded",
|
|
4140
|
-
expected: "__type.
|
|
4221
|
+
expected: "__type.o65",
|
|
4141
4222
|
value: input.publishSucceeded
|
|
4142
|
-
}, errorFactory)) && $
|
|
4223
|
+
}, errorFactory)) && $ao71(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
4143
4224
|
path: _path + ".publishSucceeded",
|
|
4144
|
-
expected: "__type.
|
|
4225
|
+
expected: "__type.o65",
|
|
4145
4226
|
value: input.publishSucceeded
|
|
4146
4227
|
}, errorFactory));
|
|
4147
|
-
const $
|
|
4228
|
+
const $ao71 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
4148
4229
|
const value = input[key];
|
|
4149
4230
|
if (undefined === value)
|
|
4150
4231
|
return true;
|
|
@@ -4152,8 +4233,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
4152
4233
|
path: _path + $join(key),
|
|
4153
4234
|
expected: "Array<NotificationReason>",
|
|
4154
4235
|
value: value
|
|
4155
|
-
}, errorFactory)) && value.every((elem,
|
|
4156
|
-
path: _path + $join(key) + "[" +
|
|
4236
|
+
}, errorFactory)) && value.every((elem, _index26) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4237
|
+
path: _path + $join(key) + "[" + _index26 + "]",
|
|
4157
4238
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4158
4239
|
value: elem
|
|
4159
4240
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4273,39 +4354,40 @@ export const stringifySettingsRecord = input => {
|
|
|
4273
4354
|
return true;
|
|
4274
4355
|
return "object" === typeof value && null !== value && $io27(value);
|
|
4275
4356
|
});
|
|
4276
|
-
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $
|
|
4357
|
+
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io44(elem))) && "boolean" === typeof input.download && ("object" === typeof input.editMode && null !== input.editMode && $io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io50(input.openCommand)));
|
|
4277
4358
|
const $io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
4278
4359
|
const $io40 = input => ("play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && "boolean" === typeof input.showRenderProgress;
|
|
4279
|
-
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.
|
|
4280
|
-
const $io42 = input => (undefined === input.
|
|
4281
|
-
const $io43 = input => "string" === typeof input.label && "string" === typeof input.
|
|
4282
|
-
const $io44 = input => "
|
|
4283
|
-
const $io45 = input =>
|
|
4284
|
-
const $io46 = input =>
|
|
4285
|
-
const $io47 = input => (undefined === input.
|
|
4286
|
-
const $io48 = input => "
|
|
4287
|
-
const $io49 = input =>
|
|
4288
|
-
const $io50 = input => (
|
|
4289
|
-
const $io51 = input => (
|
|
4290
|
-
const $io52 = input => "string" === typeof input.
|
|
4291
|
-
const $io53 = input =>
|
|
4292
|
-
const $io54 = input => undefined === input.
|
|
4293
|
-
const $io55 = input =>
|
|
4294
|
-
const $io56 = input => "object" === typeof input.
|
|
4295
|
-
const $io57 = input => "
|
|
4296
|
-
const $io58 = input =>
|
|
4297
|
-
const $io59 = input =>
|
|
4298
|
-
const $io60 = input => "
|
|
4299
|
-
const $io61 = input => "number" === typeof input.
|
|
4300
|
-
const $io62 = input => "
|
|
4301
|
-
const $io63 = input => "
|
|
4302
|
-
const $io64 = input => "
|
|
4303
|
-
const $io65 = input =>
|
|
4304
|
-
const $io66 = input =>
|
|
4305
|
-
const $io67 = input =>
|
|
4306
|
-
const $io68 = input => "
|
|
4307
|
-
const $io69 = input =>
|
|
4308
|
-
const $io70 = input =>
|
|
4360
|
+
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io43(elem)));
|
|
4361
|
+
const $io42 = input => (undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (undefined === input.ifLang || "string" === typeof input.ifLang) && (undefined === input.thenStyle || "string" === typeof input.thenStyle) && (undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine);
|
|
4362
|
+
const $io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color);
|
|
4363
|
+
const $io44 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
4364
|
+
const $io45 = input => "boolean" === typeof input.enabled && ("edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && ("none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
4365
|
+
const $io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io47(input.subtitleDisclaimer);
|
|
4366
|
+
const $io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io48(input.defaultValue));
|
|
4367
|
+
const $io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
4368
|
+
const $io49 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
4369
|
+
const $io50 = 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));
|
|
4370
|
+
const $io51 = input => ("none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && ("object" === typeof input.voiceOver && null !== input.voiceOver && $io52(input.voiceOver));
|
|
4371
|
+
const $io52 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && "number" === typeof input.inputGainDb && "number" === typeof input.backgroundReductionDb && ("instant" === input.recordMode || "punchAndRoll" === input.recordMode) && "number" === typeof input.preRollDuration;
|
|
4372
|
+
const $io53 = 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));
|
|
4373
|
+
const $io54 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io55(input.folded)) && ("object" === typeof input.assets && null !== input.assets && $io56(input.assets)) && ("object" === typeof input.pipeline && null !== input.pipeline && $io60(input.pipeline)) && ("object" === typeof input.item && null !== input.item && $io62(input.item));
|
|
4374
|
+
const $io55 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
4375
|
+
const $io56 = input => "object" === typeof input.story && null !== input.story && $io57(input.story) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io59(input.note));
|
|
4376
|
+
const $io57 = input => "object" === typeof input.excerpt && null !== input.excerpt && $io58(input.excerpt);
|
|
4377
|
+
const $io58 = input => "number" === typeof input.maxLines && "string" === typeof input.mode;
|
|
4378
|
+
const $io59 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
4379
|
+
const $io60 = input => "object" === typeof input.search && null !== input.search && $io61(input.search) && true === $iv47.has(input.sortMode);
|
|
4380
|
+
const $io61 = input => "number" === typeof input.maxItemsDisplayed;
|
|
4381
|
+
const $io62 = input => "number" === typeof input.maxHeight;
|
|
4382
|
+
const $io63 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
4383
|
+
const $io64 = input => "object" === typeof input.adobe && null !== input.adobe && $io65(input.adobe) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && $io66(input.rive));
|
|
4384
|
+
const $io65 = input => "boolean" === typeof input.useProxies;
|
|
4385
|
+
const $io66 = input => undefined === input.template || "string" === typeof input.template;
|
|
4386
|
+
const $io67 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering);
|
|
4387
|
+
const $io68 = input => "boolean" === typeof input.utils && "boolean" === typeof input.history && "boolean" === typeof input.refs && "boolean" === typeof input.access && "boolean" === typeof input.files && "boolean" === typeof input["export"] && "boolean" === typeof input.json && "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);
|
|
4388
|
+
const $io69 = input => "object" === typeof input.events && null !== input.events && $io70(input.events);
|
|
4389
|
+
const $io70 = input => Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem) && (Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io71(input.publishSucceeded));
|
|
4390
|
+
const $io71 = input => Object.keys(input).every(key => {
|
|
4309
4391
|
const value = input[key];
|
|
4310
4392
|
if (undefined === value)
|
|
4311
4393
|
return true;
|
|
@@ -4314,8 +4396,8 @@ export const stringifySettingsRecord = input => {
|
|
|
4314
4396
|
const $string = __typia.json.createStringify.string;
|
|
4315
4397
|
const $tail = __typia.json.createStringify.tail;
|
|
4316
4398
|
const $throws = __typia.json.createStringify.throws;
|
|
4317
|
-
const $
|
|
4318
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? `{"overrideUserContact":${input.permission.overrideUserContact},"overrideUserLogin":${input.permission.overrideUserLogin}}` : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? $so6(input.upload) : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? $so7(input.download) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so8(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so12(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so13(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so14(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? $so15(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so16(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so17(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? `{"maxMru":${input.dashboard.maxMru},"maxTabs":${input.dashboard.maxTabs}}` : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so19(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so22(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? `{"eventThumbnails":${input.rundown.eventThumbnails}}` : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? `{"dimOnBlur":${input.gallery.dimOnBlur}}` : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? $so25(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so38(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $
|
|
4399
|
+
const $iv47 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
4400
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? `{"overrideUserContact":${input.permission.overrideUserContact},"overrideUserLogin":${input.permission.overrideUserLogin}}` : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? $so6(input.upload) : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? $so7(input.download) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so8(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so12(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so13(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so14(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? $so15(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so16(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so17(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? `{"maxMru":${input.dashboard.maxMru},"maxTabs":${input.dashboard.maxTabs}}` : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so19(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so22(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? `{"eventThumbnails":${input.rundown.eventThumbnails}}` : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? `{"dimOnBlur":${input.gallery.dimOnBlur}}` : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? $so25(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so38(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so51(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so53(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 ? $so54(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 ? $so64(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 ? $so67(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so68(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so69(input.notifications) : undefined},`}${undefined === input.suppressDeleteAlert ? "" : `"suppressDeleteAlert":${undefined !== input.suppressDeleteAlert ? input.suppressDeleteAlert : undefined}`}`)}}`;
|
|
4319
4401
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
4320
4402
|
const $so3 = input => `{${$tail(`"settingsPanelStore":${`{"activeSectionIndex":${input.settingsPanelStore.activeSectionIndex},"activeTab":${$string(input.settingsPanelStore.activeTab)}}`},${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
4321
4403
|
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
@@ -4385,16 +4467,16 @@ export const stringifySettingsRecord = input => {
|
|
|
4385
4467
|
return ""; return `${JSON.stringify(key)}:${$so27(value)}`; }).filter(str => "" !== str).join(",")}}`;
|
|
4386
4468
|
const $so37 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
4387
4469
|
return ""; return `${JSON.stringify(key)}:${$so27(value)}`; }).filter(str => "" !== str).join(",")}}`;
|
|
4388
|
-
const $so38 = input => `{${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so39(input.guide) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $
|
|
4470
|
+
const $so38 = input => `{${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so39(input.guide) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so46(input.transcribe) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? (() => {
|
|
4389
4471
|
if ("string" === typeof input.openCommand)
|
|
4390
4472
|
return $string(input.openCommand);
|
|
4391
4473
|
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|
|
4392
|
-
return $
|
|
4474
|
+
return $so50(input.openCommand);
|
|
4393
4475
|
$throws({
|
|
4394
|
-
expected: "(__type.
|
|
4476
|
+
expected: "(__type.o44 | string | undefined)",
|
|
4395
4477
|
value: input.openCommand
|
|
4396
4478
|
});
|
|
4397
|
-
})() : undefined},`}"defaultFrameRate":${input.defaultFrameRate},"stepManyFrames":${input.stepManyFrames},"liveZoomDuration":${input.liveZoomDuration},"importTitleTemplate":${$string(input.importTitleTemplate)},"tile":${$so40(input.tile)},"timecodeReference":${$string(input.timecodeReference)},"maxSubclipDuration":${input.maxSubclipDuration},"rewindStep":${input.rewindStep},"forwardStep":${input.forwardStep},"interlacedPlayback":${$string(input.interlacedPlayback)},"playbackRates":${`[${input.playbackRates.map(elem => elem).join(",")}]`},"subtitles":${$so41(input.subtitles)},"initialVolume":${$string(input.initialVolume)},"guides":${`[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]`},"download":${input.download},"editMode":${$
|
|
4479
|
+
})() : undefined},`}"defaultFrameRate":${input.defaultFrameRate},"stepManyFrames":${input.stepManyFrames},"liveZoomDuration":${input.liveZoomDuration},"importTitleTemplate":${$string(input.importTitleTemplate)},"tile":${$so40(input.tile)},"timecodeReference":${$string(input.timecodeReference)},"maxSubclipDuration":${input.maxSubclipDuration},"rewindStep":${input.rewindStep},"forwardStep":${input.forwardStep},"interlacedPlayback":${$string(input.interlacedPlayback)},"playbackRates":${`[${input.playbackRates.map(elem => elem).join(",")}]`},"subtitles":${$so41(input.subtitles)},"initialVolume":${$string(input.initialVolume)},"guides":${`[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]`},"download":${input.download},"editMode":${$so45(input.editMode)}}`;
|
|
4398
4480
|
const $so39 = 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}`}`)}}`;
|
|
4399
4481
|
const $so40 = input => `{"preview":${(() => {
|
|
4400
4482
|
if ("string" === typeof input.preview)
|
|
@@ -4408,9 +4490,10 @@ export const stringifySettingsRecord = input => {
|
|
|
4408
4490
|
value: input.preview
|
|
4409
4491
|
});
|
|
4410
4492
|
})()},"showRenderProgress":${input.showRenderProgress}}`;
|
|
4411
|
-
const $so41 = input => `{${undefined === input.
|
|
4412
|
-
const $so42 = input => `{${$tail(`${undefined === input.
|
|
4413
|
-
const $
|
|
4493
|
+
const $so41 = input => `{${undefined === input.suggestions ? "" : `"suggestions":${undefined !== input.suggestions ? `[${input.suggestions.map(elem => $so42(elem)).join(",")}]` : undefined},`}${undefined === input.colors ? "" : `"colors":${undefined !== input.colors ? `[${input.colors.map(elem => $so43(elem)).join(",")}]` : undefined},`}"spacing":${input.spacing},"maxCharactersPerLine":${input.maxCharactersPerLine}}`;
|
|
4494
|
+
const $so42 = input => `{${$tail(`${undefined === input.ifAspectRatio ? "" : `"ifAspectRatio":${undefined !== input.ifAspectRatio ? $string(input.ifAspectRatio) : undefined},`}${undefined === input.ifLang ? "" : `"ifLang":${undefined !== input.ifLang ? $string(input.ifLang) : undefined},`}${undefined === input.thenStyle ? "" : `"thenStyle":${undefined !== input.thenStyle ? $string(input.thenStyle) : undefined},`}${undefined === input.thenMaxCharactersPerLine ? "" : `"thenMaxCharactersPerLine":${undefined !== input.thenMaxCharactersPerLine ? input.thenMaxCharactersPerLine : undefined}`}`)}}`;
|
|
4495
|
+
const $so43 = input => `{${$tail(`${undefined === input.label ? "" : `"label":${undefined !== input.label ? null !== input.label ? $string(input.label) : "null" : undefined},`}${undefined === input.color ? "" : `"color":${undefined !== input.color ? null !== input.color ? $string(input.color) : "null" : undefined}`}`)}}`;
|
|
4496
|
+
const $so45 = input => `{"enabled":${input.enabled},"defaultEnterOption":${(() => {
|
|
4414
4497
|
if ("string" === typeof input.defaultEnterOption)
|
|
4415
4498
|
return $string(input.defaultEnterOption);
|
|
4416
4499
|
if ("string" === typeof input.defaultEnterOption)
|
|
@@ -4429,11 +4512,11 @@ export const stringifySettingsRecord = input => {
|
|
|
4429
4512
|
value: input.defaultExitOption
|
|
4430
4513
|
});
|
|
4431
4514
|
})()}}`;
|
|
4432
|
-
const $
|
|
4433
|
-
const $
|
|
4434
|
-
const $
|
|
4435
|
-
const $
|
|
4436
|
-
const $
|
|
4515
|
+
const $so46 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so47(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
4516
|
+
const $so47 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so48(input.defaultValue) : undefined}`}`)}}`;
|
|
4517
|
+
const $so48 = 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}`}`)}}`;
|
|
4518
|
+
const $so50 = 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}`}`)}}`;
|
|
4519
|
+
const $so51 = input => `{"thumbnailView":${(() => {
|
|
4437
4520
|
if ("string" === typeof input.thumbnailView)
|
|
4438
4521
|
return $string(input.thumbnailView);
|
|
4439
4522
|
if ("string" === typeof input.thumbnailView)
|
|
@@ -4442,8 +4525,8 @@ export const stringifySettingsRecord = input => {
|
|
|
4442
4525
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\")",
|
|
4443
4526
|
value: input.thumbnailView
|
|
4444
4527
|
});
|
|
4445
|
-
})()},"voiceOver":${$
|
|
4446
|
-
const $
|
|
4528
|
+
})()},"voiceOver":${$so52(input.voiceOver)}}`;
|
|
4529
|
+
const $so52 = input => `{${undefined === input.inputDevice ? "" : `"inputDevice":${undefined !== input.inputDevice ? $string(input.inputDevice) : undefined},`}"inputGainDb":${input.inputGainDb},"backgroundReductionDb":${input.backgroundReductionDb},"recordMode":${(() => {
|
|
4447
4530
|
if ("string" === typeof input.recordMode)
|
|
4448
4531
|
return $string(input.recordMode);
|
|
4449
4532
|
if ("string" === typeof input.recordMode)
|
|
@@ -4453,13 +4536,13 @@ export const stringifySettingsRecord = input => {
|
|
|
4453
4536
|
value: input.recordMode
|
|
4454
4537
|
});
|
|
4455
4538
|
})()},"preRollDuration":${input.preRollDuration}}`;
|
|
4456
|
-
const $
|
|
4457
|
-
const $
|
|
4458
|
-
const $
|
|
4459
|
-
const $
|
|
4460
|
-
const $
|
|
4461
|
-
const $
|
|
4462
|
-
const $
|
|
4539
|
+
const $so53 = 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)}}`;
|
|
4540
|
+
const $so54 = input => `{${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so55(input.folded) : undefined},`}"assets":${$so56(input.assets)},"pipeline":${$so60(input.pipeline)},"item":${`{"maxHeight":${input.item.maxHeight}}`}}`;
|
|
4541
|
+
const $so55 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
4542
|
+
const $so56 = input => `{${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so59(input.note) : undefined},`}"story":${$so57(input.story)}}`;
|
|
4543
|
+
const $so57 = input => `{"excerpt":${`{"maxLines":${input.excerpt.maxLines},"mode":${$string(input.excerpt.mode)}}`}}`;
|
|
4544
|
+
const $so59 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
4545
|
+
const $so60 = input => `{"search":${`{"maxItemsDisplayed":${input.search.maxItemsDisplayed}}`},"sortMode":${(() => {
|
|
4463
4546
|
if ("string" === typeof input.sortMode)
|
|
4464
4547
|
return $string(input.sortMode);
|
|
4465
4548
|
if ("string" === typeof input.sortMode)
|
|
@@ -4469,12 +4552,12 @@ export const stringifySettingsRecord = input => {
|
|
|
4469
4552
|
value: input.sortMode
|
|
4470
4553
|
});
|
|
4471
4554
|
})()}}`;
|
|
4472
|
-
const $
|
|
4473
|
-
const $
|
|
4474
|
-
const $
|
|
4475
|
-
const $
|
|
4476
|
-
const $
|
|
4477
|
-
const $
|
|
4555
|
+
const $so64 = input => `{${undefined === input.rive ? "" : `"rive":${undefined !== input.rive ? $so66(input.rive) : undefined},`}"adobe":${`{"useProxies":${input.adobe.useProxies}}`}}`;
|
|
4556
|
+
const $so66 = input => `{${$tail(`${undefined === input.template ? "" : `"template":${undefined !== input.template ? $string(input.template) : undefined}`}`)}}`;
|
|
4557
|
+
const $so67 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined},`}${undefined === input.semanticSearch ? "" : `"semanticSearch":${undefined !== input.semanticSearch ? input.semanticSearch : undefined},`}${undefined === input.ameRemoteRendering ? "" : `"ameRemoteRendering":${undefined !== input.ameRemoteRendering ? input.ameRemoteRendering : undefined}`}`)}}`;
|
|
4558
|
+
const $so68 = input => `{${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},`}"utils":${input.utils},"history":${input.history},"refs":${input.refs},"access":${input.access},"files":${input.files},"export":${input["export"]},"json":${input.json},"hlsjs":${input.hlsjs}}`;
|
|
4559
|
+
const $so69 = input => `{"events":${$so70(input.events)}}`;
|
|
4560
|
+
const $so70 = input => `{"comment":${`[${input.comment.map(elem => (() => {
|
|
4478
4561
|
if ("string" === typeof elem)
|
|
4479
4562
|
return $string(elem);
|
|
4480
4563
|
if ("string" === typeof elem)
|
|
@@ -4501,8 +4584,8 @@ export const stringifySettingsRecord = input => {
|
|
|
4501
4584
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4502
4585
|
value: elem
|
|
4503
4586
|
});
|
|
4504
|
-
})()).join(",")}]`},"publishSucceeded":${$
|
|
4505
|
-
const $
|
|
4587
|
+
})()).join(",")}]`},"publishSucceeded":${$so71(input.publishSucceeded)}}`;
|
|
4588
|
+
const $so71 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
4506
4589
|
return ""; return `${JSON.stringify(key)}:${`[${value.map(elem => (() => {
|
|
4507
4590
|
if ("string" === typeof elem)
|
|
4508
4591
|
return $string(elem);
|
|
@@ -4517,8 +4600,8 @@ export const stringifySettingsRecord = input => {
|
|
|
4517
4600
|
};
|
|
4518
4601
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
4519
4602
|
const __is = input => {
|
|
4520
|
-
const $
|
|
4521
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== 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.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && $io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && $io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && $io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && $io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && $io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && $io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && $io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && $io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && $io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io22(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && $io23(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && $io24(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && $io25(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && $io38(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && $
|
|
4603
|
+
const $iv22 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
4604
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== 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.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && $io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && $io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && $io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && $io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && $io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && $io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && $io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && $io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && $io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && $io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io22(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && $io23(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && $io24(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && $io25(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && $io38(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && $io51(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io53(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 && $io54(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io63(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && $io64(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) && $io67(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && $io68(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && $io69(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert);
|
|
4522
4605
|
const $io1 = input => "boolean" === typeof input.overrideUserContact && "boolean" === typeof input.overrideUserLogin;
|
|
4523
4606
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && $io3(input.tabs);
|
|
4524
4607
|
const $io3 = input => "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && ("number" === typeof input.settingsPanelStore.activeSectionIndex && !Number.isNaN(input.settingsPanelStore.activeSectionIndex) && "string" === typeof input.settingsPanelStore.activeTab) && Object.keys(input).every(key => {
|
|
@@ -4615,35 +4698,36 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4615
4698
|
return true;
|
|
4616
4699
|
return "object" === typeof value && null !== value && $io27(value);
|
|
4617
4700
|
});
|
|
4618
|
-
const $io38 = input => "number" === typeof input.defaultFrameRate && !Number.isNaN(input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && ("number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && ("number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && ("number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && ("number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && ("number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $
|
|
4701
|
+
const $io38 = input => "number" === typeof input.defaultFrameRate && !Number.isNaN(input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && ("number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && ("number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && ("number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && ("number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && ("number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io44(elem))) && "boolean" === typeof input.download && ("object" === typeof input.editMode && null !== input.editMode && $io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io50(input.openCommand)));
|
|
4619
4702
|
const $io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
4620
4703
|
const $io40 = input => ("play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && "boolean" === typeof input.showRenderProgress;
|
|
4621
|
-
const $io41 = input => "number" === typeof input.spacing && !Number.isNaN(input.spacing) && ("number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine)) && (undefined === input.
|
|
4622
|
-
const $io42 = input => (undefined === input.
|
|
4623
|
-
const $io43 = input => "string" === typeof input.label && "string" === typeof input.
|
|
4624
|
-
const $io44 = input => "
|
|
4625
|
-
const $io45 = input =>
|
|
4626
|
-
const $io46 = input =>
|
|
4627
|
-
const $io47 = input => (undefined === input.
|
|
4628
|
-
const $io48 = input => "
|
|
4629
|
-
const $io49 = input =>
|
|
4630
|
-
const $io50 = input => (
|
|
4631
|
-
const $io51 = input => (
|
|
4632
|
-
const $io52 = input => "string" === typeof input.
|
|
4633
|
-
const $io53 = input =>
|
|
4634
|
-
const $io54 = input => undefined === input.
|
|
4635
|
-
const $io55 = input =>
|
|
4636
|
-
const $io56 = input => "object" === typeof input.
|
|
4637
|
-
const $
|
|
4638
|
-
const $io59 = input =>
|
|
4639
|
-
const $
|
|
4640
|
-
const $io63 = input => "
|
|
4641
|
-
const $
|
|
4642
|
-
const $io66 = input =>
|
|
4643
|
-
const $io67 = input =>
|
|
4644
|
-
const $io68 = input => "
|
|
4645
|
-
const $io69 = input =>
|
|
4646
|
-
const $io70 = input =>
|
|
4704
|
+
const $io41 = input => "number" === typeof input.spacing && !Number.isNaN(input.spacing) && ("number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine)) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io43(elem)));
|
|
4705
|
+
const $io42 = input => (undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (undefined === input.ifLang || "string" === typeof input.ifLang) && (undefined === input.thenStyle || "string" === typeof input.thenStyle) && (undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine && !Number.isNaN(input.thenMaxCharactersPerLine));
|
|
4706
|
+
const $io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color);
|
|
4707
|
+
const $io44 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
4708
|
+
const $io45 = input => "boolean" === typeof input.enabled && ("edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && ("none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
4709
|
+
const $io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io47(input.subtitleDisclaimer);
|
|
4710
|
+
const $io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io48(input.defaultValue));
|
|
4711
|
+
const $io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io49(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
|
|
4712
|
+
const $io49 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
4713
|
+
const $io50 = 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));
|
|
4714
|
+
const $io51 = input => ("none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && ("object" === typeof input.voiceOver && null !== input.voiceOver && $io52(input.voiceOver));
|
|
4715
|
+
const $io52 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && ("number" === typeof input.inputGainDb && !Number.isNaN(input.inputGainDb)) && ("number" === typeof input.backgroundReductionDb && !Number.isNaN(input.backgroundReductionDb)) && ("instant" === input.recordMode || "punchAndRoll" === input.recordMode) && ("number" === typeof input.preRollDuration && !Number.isNaN(input.preRollDuration));
|
|
4716
|
+
const $io53 = 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));
|
|
4717
|
+
const $io54 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io55(input.folded)) && ("object" === typeof input.assets && null !== input.assets && $io56(input.assets)) && ("object" === typeof input.pipeline && null !== input.pipeline && $io60(input.pipeline)) && ("object" === typeof input.item && null !== input.item && ("number" === typeof input.item.maxHeight && !Number.isNaN(input.item.maxHeight)));
|
|
4718
|
+
const $io55 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
4719
|
+
const $io56 = input => "object" === typeof input.story && null !== input.story && $io57(input.story) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io59(input.note));
|
|
4720
|
+
const $io57 = input => "object" === typeof input.excerpt && null !== input.excerpt && ("number" === typeof input.excerpt.maxLines && !Number.isNaN(input.excerpt.maxLines) && "string" === typeof input.excerpt.mode);
|
|
4721
|
+
const $io59 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
4722
|
+
const $io60 = input => "object" === typeof input.search && null !== input.search && ("number" === typeof input.search.maxItemsDisplayed && !Number.isNaN(input.search.maxItemsDisplayed)) && true === $iv22.has(input.sortMode);
|
|
4723
|
+
const $io63 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
4724
|
+
const $io64 = input => "object" === typeof input.adobe && null !== input.adobe && "boolean" === typeof input.adobe.useProxies && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && $io66(input.rive));
|
|
4725
|
+
const $io66 = input => undefined === input.template || "string" === typeof input.template;
|
|
4726
|
+
const $io67 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering);
|
|
4727
|
+
const $io68 = input => "boolean" === typeof input.utils && "boolean" === typeof input.history && "boolean" === typeof input.refs && "boolean" === typeof input.access && "boolean" === typeof input.files && "boolean" === typeof input["export"] && "boolean" === typeof input.json && "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);
|
|
4728
|
+
const $io69 = input => "object" === typeof input.events && null !== input.events && $io70(input.events);
|
|
4729
|
+
const $io70 = input => Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem) && (Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io71(input.publishSucceeded));
|
|
4730
|
+
const $io71 = input => Object.keys(input).every(key => {
|
|
4647
4731
|
const value = input[key];
|
|
4648
4732
|
if (undefined === value)
|
|
4649
4733
|
return true;
|
|
@@ -4655,7 +4739,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4655
4739
|
((input, _path, _exceptionable = true) => {
|
|
4656
4740
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
4657
4741
|
const $join = __typia.json.createAssertStringify.join;
|
|
4658
|
-
const $
|
|
4742
|
+
const $av22 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
4659
4743
|
const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime) || $guard(_exceptionable, {
|
|
4660
4744
|
path: _path + ".autoLogoutTime",
|
|
4661
4745
|
expected: "(number | undefined)",
|
|
@@ -4830,27 +4914,27 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4830
4914
|
value: input.media
|
|
4831
4915
|
}, errorFactory)) && (undefined === input.edit || ("object" === typeof input.edit && null !== input.edit || $guard(_exceptionable, {
|
|
4832
4916
|
path: _path + ".edit",
|
|
4833
|
-
expected: "(__type.
|
|
4917
|
+
expected: "(__type.o45 | undefined)",
|
|
4834
4918
|
value: input.edit
|
|
4835
|
-
}, errorFactory)) && $
|
|
4919
|
+
}, errorFactory)) && $ao51(input.edit, _path + ".edit", true && _exceptionable) || $guard(_exceptionable, {
|
|
4836
4920
|
path: _path + ".edit",
|
|
4837
|
-
expected: "(__type.
|
|
4921
|
+
expected: "(__type.o45 | undefined)",
|
|
4838
4922
|
value: input.edit
|
|
4839
4923
|
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
4840
4924
|
path: _path + ".commands",
|
|
4841
|
-
expected: "(Array<__type>.
|
|
4925
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
4842
4926
|
value: input.commands
|
|
4843
4927
|
}, errorFactory)) && input.commands.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
4844
4928
|
path: _path + ".commands[" + _index3 + "]",
|
|
4845
|
-
expected: "__type.
|
|
4929
|
+
expected: "__type.o47",
|
|
4846
4930
|
value: elem
|
|
4847
|
-
}, errorFactory)) && $
|
|
4931
|
+
}, errorFactory)) && $ao53(elem, _path + ".commands[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
4848
4932
|
path: _path + ".commands[" + _index3 + "]",
|
|
4849
|
-
expected: "__type.
|
|
4933
|
+
expected: "__type.o47",
|
|
4850
4934
|
value: elem
|
|
4851
4935
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
4852
4936
|
path: _path + ".commands",
|
|
4853
|
-
expected: "(Array<__type>.
|
|
4937
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
4854
4938
|
value: input.commands
|
|
4855
4939
|
}, errorFactory)) && (undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || $guard(_exceptionable, {
|
|
4856
4940
|
path: _path + ".predefinedTags",
|
|
@@ -4866,35 +4950,35 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4866
4950
|
value: input.predefinedTags
|
|
4867
4951
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard || $guard(_exceptionable, {
|
|
4868
4952
|
path: _path + ".storyboard",
|
|
4869
|
-
expected: "(__type.
|
|
4953
|
+
expected: "(__type.o48 | undefined)",
|
|
4870
4954
|
value: input.storyboard
|
|
4871
|
-
}, errorFactory)) && $
|
|
4955
|
+
}, errorFactory)) && $ao54(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
4872
4956
|
path: _path + ".storyboard",
|
|
4873
|
-
expected: "(__type.
|
|
4957
|
+
expected: "(__type.o48 | undefined)",
|
|
4874
4958
|
value: input.storyboard
|
|
4875
4959
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
4876
4960
|
path: _path + ".hiddenPreviews",
|
|
4877
|
-
expected: "(Array<__type>.
|
|
4961
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
4878
4962
|
value: input.hiddenPreviews
|
|
4879
4963
|
}, errorFactory)) && input.hiddenPreviews.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
4880
4964
|
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
4881
|
-
expected: "__type.
|
|
4965
|
+
expected: "__type.o57",
|
|
4882
4966
|
value: elem
|
|
4883
|
-
}, errorFactory)) && $
|
|
4967
|
+
}, errorFactory)) && $ao63(elem, _path + ".hiddenPreviews[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
4884
4968
|
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
4885
|
-
expected: "__type.
|
|
4969
|
+
expected: "__type.o57",
|
|
4886
4970
|
value: elem
|
|
4887
4971
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
4888
4972
|
path: _path + ".hiddenPreviews",
|
|
4889
|
-
expected: "(Array<__type>.
|
|
4973
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
4890
4974
|
value: input.hiddenPreviews
|
|
4891
4975
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins || $guard(_exceptionable, {
|
|
4892
4976
|
path: _path + ".plugins",
|
|
4893
|
-
expected: "(__type.
|
|
4977
|
+
expected: "(__type.o58 | undefined)",
|
|
4894
4978
|
value: input.plugins
|
|
4895
|
-
}, errorFactory)) && $
|
|
4979
|
+
}, errorFactory)) && $ao64(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
4896
4980
|
path: _path + ".plugins",
|
|
4897
|
-
expected: "(__type.
|
|
4981
|
+
expected: "(__type.o58 | undefined)",
|
|
4898
4982
|
value: input.plugins
|
|
4899
4983
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
4900
4984
|
path: _path + ".crashScreen",
|
|
@@ -4906,27 +4990,27 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4906
4990
|
value: input.debug
|
|
4907
4991
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
4908
4992
|
path: _path + ".featurePreview",
|
|
4909
|
-
expected: "(__type.
|
|
4993
|
+
expected: "(__type.o61 | undefined)",
|
|
4910
4994
|
value: input.featurePreview
|
|
4911
|
-
}, errorFactory)) && $
|
|
4995
|
+
}, errorFactory)) && $ao67(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
4912
4996
|
path: _path + ".featurePreview",
|
|
4913
|
-
expected: "(__type.
|
|
4997
|
+
expected: "(__type.o61 | undefined)",
|
|
4914
4998
|
value: input.featurePreview
|
|
4915
4999
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags || $guard(_exceptionable, {
|
|
4916
5000
|
path: _path + ".flags",
|
|
4917
|
-
expected: "(__type.
|
|
5001
|
+
expected: "(__type.o62 | undefined)",
|
|
4918
5002
|
value: input.flags
|
|
4919
|
-
}, errorFactory)) && $
|
|
5003
|
+
}, errorFactory)) && $ao68(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
4920
5004
|
path: _path + ".flags",
|
|
4921
|
-
expected: "(__type.
|
|
5005
|
+
expected: "(__type.o62 | undefined)",
|
|
4922
5006
|
value: input.flags
|
|
4923
5007
|
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications || $guard(_exceptionable, {
|
|
4924
5008
|
path: _path + ".notifications",
|
|
4925
|
-
expected: "(__type.
|
|
5009
|
+
expected: "(__type.o63 | undefined)",
|
|
4926
5010
|
value: input.notifications
|
|
4927
|
-
}, errorFactory)) && $
|
|
5011
|
+
}, errorFactory)) && $ao69(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
4928
5012
|
path: _path + ".notifications",
|
|
4929
|
-
expected: "(__type.
|
|
5013
|
+
expected: "(__type.o63 | undefined)",
|
|
4930
5014
|
value: input.notifications
|
|
4931
5015
|
}, errorFactory)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || $guard(_exceptionable, {
|
|
4932
5016
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -5602,19 +5686,19 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5602
5686
|
value: input.initialVolume
|
|
5603
5687
|
}, errorFactory)) && ((Array.isArray(input.guides) || $guard(_exceptionable, {
|
|
5604
5688
|
path: _path + ".guides",
|
|
5605
|
-
expected: "Array<__type>.
|
|
5689
|
+
expected: "Array<__type>.o2",
|
|
5606
5690
|
value: input.guides
|
|
5607
5691
|
}, errorFactory)) && input.guides.every((elem, _index16) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
5608
5692
|
path: _path + ".guides[" + _index16 + "]",
|
|
5609
|
-
expected: "__type.
|
|
5693
|
+
expected: "__type.o38",
|
|
5610
5694
|
value: elem
|
|
5611
|
-
}, errorFactory)) && $
|
|
5695
|
+
}, errorFactory)) && $ao44(elem, _path + ".guides[" + _index16 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
5612
5696
|
path: _path + ".guides[" + _index16 + "]",
|
|
5613
|
-
expected: "__type.
|
|
5697
|
+
expected: "__type.o38",
|
|
5614
5698
|
value: elem
|
|
5615
5699
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
5616
5700
|
path: _path + ".guides",
|
|
5617
|
-
expected: "Array<__type>.
|
|
5701
|
+
expected: "Array<__type>.o2",
|
|
5618
5702
|
value: input.guides
|
|
5619
5703
|
}, errorFactory)) && ("boolean" === typeof input.download || $guard(_exceptionable, {
|
|
5620
5704
|
path: _path + ".download",
|
|
@@ -5622,31 +5706,31 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5622
5706
|
value: input.download
|
|
5623
5707
|
}, errorFactory)) && (("object" === typeof input.editMode && null !== input.editMode || $guard(_exceptionable, {
|
|
5624
5708
|
path: _path + ".editMode",
|
|
5625
|
-
expected: "__type.
|
|
5709
|
+
expected: "__type.o39",
|
|
5626
5710
|
value: input.editMode
|
|
5627
|
-
}, errorFactory)) && $
|
|
5711
|
+
}, errorFactory)) && $ao45(input.editMode, _path + ".editMode", true && _exceptionable) || $guard(_exceptionable, {
|
|
5628
5712
|
path: _path + ".editMode",
|
|
5629
|
-
expected: "__type.
|
|
5713
|
+
expected: "__type.o39",
|
|
5630
5714
|
value: input.editMode
|
|
5631
5715
|
}, errorFactory)) && (undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || $guard(_exceptionable, {
|
|
5632
5716
|
path: _path + ".transcribe",
|
|
5633
|
-
expected: "(__type.
|
|
5717
|
+
expected: "(__type.o40 | undefined)",
|
|
5634
5718
|
value: input.transcribe
|
|
5635
|
-
}, errorFactory)) && $
|
|
5719
|
+
}, errorFactory)) && $ao46(input.transcribe, _path + ".transcribe", true && _exceptionable) || $guard(_exceptionable, {
|
|
5636
5720
|
path: _path + ".transcribe",
|
|
5637
|
-
expected: "(__type.
|
|
5721
|
+
expected: "(__type.o40 | undefined)",
|
|
5638
5722
|
value: input.transcribe
|
|
5639
5723
|
}, errorFactory)) && ((null !== input.openCommand || $guard(_exceptionable, {
|
|
5640
5724
|
path: _path + ".openCommand",
|
|
5641
|
-
expected: "(__type.
|
|
5725
|
+
expected: "(__type.o44 | string | undefined)",
|
|
5642
5726
|
value: input.openCommand
|
|
5643
5727
|
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || $guard(_exceptionable, {
|
|
5644
5728
|
path: _path + ".openCommand",
|
|
5645
|
-
expected: "(__type.
|
|
5729
|
+
expected: "(__type.o44 | string | undefined)",
|
|
5646
5730
|
value: input.openCommand
|
|
5647
|
-
}, errorFactory)) && $
|
|
5731
|
+
}, errorFactory)) && $ao50(input.openCommand, _path + ".openCommand", true && _exceptionable) || $guard(_exceptionable, {
|
|
5648
5732
|
path: _path + ".openCommand",
|
|
5649
|
-
expected: "(__type.
|
|
5733
|
+
expected: "(__type.o44 | string | undefined)",
|
|
5650
5734
|
value: input.openCommand
|
|
5651
5735
|
}, errorFactory)));
|
|
5652
5736
|
const $ao39 = (input, _path, _exceptionable = true) => (undefined === input.mask || "boolean" === typeof input.mask || $guard(_exceptionable, {
|
|
@@ -5679,37 +5763,66 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5679
5763
|
path: _path + ".maxCharactersPerLine",
|
|
5680
5764
|
expected: "number",
|
|
5681
5765
|
value: input.maxCharactersPerLine
|
|
5682
|
-
}, errorFactory)) && (undefined === input.
|
|
5683
|
-
path: _path + ".
|
|
5766
|
+
}, errorFactory)) && (undefined === input.suggestions || (Array.isArray(input.suggestions) || $guard(_exceptionable, {
|
|
5767
|
+
path: _path + ".suggestions",
|
|
5684
5768
|
expected: "(Array<__type> | undefined)",
|
|
5685
|
-
value: input.
|
|
5686
|
-
}, errorFactory)) && input.
|
|
5687
|
-
path: _path + ".
|
|
5769
|
+
value: input.suggestions
|
|
5770
|
+
}, errorFactory)) && input.suggestions.every((elem, _index17) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
|
|
5771
|
+
path: _path + ".suggestions[" + _index17 + "]",
|
|
5688
5772
|
expected: "__type.o36",
|
|
5689
5773
|
value: elem
|
|
5690
|
-
}, errorFactory)) && $ao42(elem, _path + ".
|
|
5691
|
-
path: _path + ".
|
|
5774
|
+
}, errorFactory)) && $ao42(elem, _path + ".suggestions[" + _index17 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
5775
|
+
path: _path + ".suggestions[" + _index17 + "]",
|
|
5692
5776
|
expected: "__type.o36",
|
|
5693
5777
|
value: elem
|
|
5694
5778
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
5695
|
-
path: _path + ".
|
|
5779
|
+
path: _path + ".suggestions",
|
|
5696
5780
|
expected: "(Array<__type> | undefined)",
|
|
5697
|
-
value: input.
|
|
5781
|
+
value: input.suggestions
|
|
5782
|
+
}, errorFactory)) && (undefined === input.colors || (Array.isArray(input.colors) || $guard(_exceptionable, {
|
|
5783
|
+
path: _path + ".colors",
|
|
5784
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
5785
|
+
value: input.colors
|
|
5786
|
+
}, errorFactory)) && input.colors.every((elem, _index18) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
|
|
5787
|
+
path: _path + ".colors[" + _index18 + "]",
|
|
5788
|
+
expected: "__type.o37",
|
|
5789
|
+
value: elem
|
|
5790
|
+
}, errorFactory)) && $ao43(elem, _path + ".colors[" + _index18 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
5791
|
+
path: _path + ".colors[" + _index18 + "]",
|
|
5792
|
+
expected: "__type.o37",
|
|
5793
|
+
value: elem
|
|
5794
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
5795
|
+
path: _path + ".colors",
|
|
5796
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
5797
|
+
value: input.colors
|
|
5698
5798
|
}, errorFactory));
|
|
5699
|
-
const $ao42 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
5700
|
-
path: _path + ".
|
|
5799
|
+
const $ao42 = (input, _path, _exceptionable = true) => (undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio || $guard(_exceptionable, {
|
|
5800
|
+
path: _path + ".ifAspectRatio",
|
|
5701
5801
|
expected: "(string | undefined)",
|
|
5702
|
-
value: input.
|
|
5703
|
-
}, errorFactory)) && (undefined === input.
|
|
5704
|
-
path: _path + ".
|
|
5802
|
+
value: input.ifAspectRatio
|
|
5803
|
+
}, errorFactory)) && (undefined === input.ifLang || "string" === typeof input.ifLang || $guard(_exceptionable, {
|
|
5804
|
+
path: _path + ".ifLang",
|
|
5705
5805
|
expected: "(string | undefined)",
|
|
5706
|
-
value: input.
|
|
5707
|
-
}, errorFactory)) && (undefined === input.
|
|
5708
|
-
path: _path + ".
|
|
5806
|
+
value: input.ifLang
|
|
5807
|
+
}, errorFactory)) && (undefined === input.thenStyle || "string" === typeof input.thenStyle || $guard(_exceptionable, {
|
|
5808
|
+
path: _path + ".thenStyle",
|
|
5809
|
+
expected: "(string | undefined)",
|
|
5810
|
+
value: input.thenStyle
|
|
5811
|
+
}, errorFactory)) && (undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine && !Number.isNaN(input.thenMaxCharactersPerLine) || $guard(_exceptionable, {
|
|
5812
|
+
path: _path + ".thenMaxCharactersPerLine",
|
|
5709
5813
|
expected: "(number | undefined)",
|
|
5710
|
-
value: input.
|
|
5814
|
+
value: input.thenMaxCharactersPerLine
|
|
5815
|
+
}, errorFactory));
|
|
5816
|
+
const $ao43 = (input, _path, _exceptionable = true) => (null === input.label || undefined === input.label || "string" === typeof input.label || $guard(_exceptionable, {
|
|
5817
|
+
path: _path + ".label",
|
|
5818
|
+
expected: "(null | string | undefined)",
|
|
5819
|
+
value: input.label
|
|
5820
|
+
}, errorFactory)) && (null === input.color || undefined === input.color || "string" === typeof input.color || $guard(_exceptionable, {
|
|
5821
|
+
path: _path + ".color",
|
|
5822
|
+
expected: "(null | string | undefined)",
|
|
5823
|
+
value: input.color
|
|
5711
5824
|
}, errorFactory));
|
|
5712
|
-
const $
|
|
5825
|
+
const $ao44 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || $guard(_exceptionable, {
|
|
5713
5826
|
path: _path + ".label",
|
|
5714
5827
|
expected: "string",
|
|
5715
5828
|
value: input.label
|
|
@@ -5718,7 +5831,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5718
5831
|
expected: "string",
|
|
5719
5832
|
value: input.aspectRatio
|
|
5720
5833
|
}, errorFactory));
|
|
5721
|
-
const $
|
|
5834
|
+
const $ao45 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.enabled || $guard(_exceptionable, {
|
|
5722
5835
|
path: _path + ".enabled",
|
|
5723
5836
|
expected: "boolean",
|
|
5724
5837
|
value: input.enabled
|
|
@@ -5731,47 +5844,47 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5731
5844
|
expected: "(\"leave\" | \"none\" | \"update\")",
|
|
5732
5845
|
value: input.defaultExitOption
|
|
5733
5846
|
}, errorFactory));
|
|
5734
|
-
const $
|
|
5847
|
+
const $ao46 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || $guard(_exceptionable, {
|
|
5735
5848
|
path: _path + ".subtitleDisclaimer",
|
|
5736
|
-
expected: "(__type.
|
|
5849
|
+
expected: "(__type.o41 | undefined)",
|
|
5737
5850
|
value: input.subtitleDisclaimer
|
|
5738
|
-
}, errorFactory)) && $
|
|
5851
|
+
}, errorFactory)) && $ao47(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || $guard(_exceptionable, {
|
|
5739
5852
|
path: _path + ".subtitleDisclaimer",
|
|
5740
|
-
expected: "(__type.
|
|
5853
|
+
expected: "(__type.o41 | undefined)",
|
|
5741
5854
|
value: input.subtitleDisclaimer
|
|
5742
5855
|
}, errorFactory);
|
|
5743
|
-
const $
|
|
5856
|
+
const $ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || $guard(_exceptionable, {
|
|
5744
5857
|
path: _path + ".isUserConfigurable",
|
|
5745
5858
|
expected: "(boolean | undefined)",
|
|
5746
5859
|
value: input.isUserConfigurable
|
|
5747
5860
|
}, errorFactory)) && (undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || $guard(_exceptionable, {
|
|
5748
5861
|
path: _path + ".defaultValue",
|
|
5749
|
-
expected: "(__type.
|
|
5862
|
+
expected: "(__type.o42 | undefined)",
|
|
5750
5863
|
value: input.defaultValue
|
|
5751
|
-
}, errorFactory)) && $
|
|
5864
|
+
}, errorFactory)) && $ao48(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || $guard(_exceptionable, {
|
|
5752
5865
|
path: _path + ".defaultValue",
|
|
5753
|
-
expected: "(__type.
|
|
5866
|
+
expected: "(__type.o42 | undefined)",
|
|
5754
5867
|
value: input.defaultValue
|
|
5755
5868
|
}, errorFactory));
|
|
5756
|
-
const $
|
|
5869
|
+
const $ao48 = (input, _path, _exceptionable = true) => (undefined === input.enabled || false === input.enabled || $guard(_exceptionable, {
|
|
5757
5870
|
path: _path + ".enabled",
|
|
5758
5871
|
expected: "(false | undefined)",
|
|
5759
5872
|
value: input.enabled
|
|
5760
5873
|
}, errorFactory)) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
|
|
5761
5874
|
path: _path + ".text",
|
|
5762
|
-
expected: "(Array<__type>.
|
|
5875
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
5763
5876
|
value: input.text
|
|
5764
|
-
}, errorFactory)) && input.text.every((elem,
|
|
5765
|
-
path: _path + ".text[" +
|
|
5766
|
-
expected: "__type.
|
|
5877
|
+
}, errorFactory)) && input.text.every((elem, _index19) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
5878
|
+
path: _path + ".text[" + _index19 + "]",
|
|
5879
|
+
expected: "__type.o43",
|
|
5767
5880
|
value: elem
|
|
5768
|
-
}, errorFactory)) && $
|
|
5769
|
-
path: _path + ".text[" +
|
|
5770
|
-
expected: "__type.
|
|
5881
|
+
}, errorFactory)) && $ao49(elem, _path + ".text[" + _index19 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
5882
|
+
path: _path + ".text[" + _index19 + "]",
|
|
5883
|
+
expected: "__type.o43",
|
|
5771
5884
|
value: elem
|
|
5772
5885
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
5773
5886
|
path: _path + ".text",
|
|
5774
|
-
expected: "(Array<__type>.
|
|
5887
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
5775
5888
|
value: input.text
|
|
5776
5889
|
}, errorFactory)) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset) || $guard(_exceptionable, {
|
|
5777
5890
|
path: _path + ".offset",
|
|
@@ -5782,7 +5895,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5782
5895
|
expected: "(number | undefined)",
|
|
5783
5896
|
value: input.duration
|
|
5784
5897
|
}, errorFactory));
|
|
5785
|
-
const $
|
|
5898
|
+
const $ao49 = (input, _path, _exceptionable = true) => ("string" === typeof input.language || $guard(_exceptionable, {
|
|
5786
5899
|
path: _path + ".language",
|
|
5787
5900
|
expected: "string",
|
|
5788
5901
|
value: input.language
|
|
@@ -5791,7 +5904,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5791
5904
|
expected: "string",
|
|
5792
5905
|
value: input.value
|
|
5793
5906
|
}, errorFactory));
|
|
5794
|
-
const $
|
|
5907
|
+
const $ao50 = (input, _path, _exceptionable = true) => (undefined === input.url || "string" === typeof input.url || $guard(_exceptionable, {
|
|
5795
5908
|
path: _path + ".url",
|
|
5796
5909
|
expected: "(string | undefined)",
|
|
5797
5910
|
value: input.url
|
|
@@ -5807,8 +5920,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5807
5920
|
path: _path + ".args",
|
|
5808
5921
|
expected: "(Array<string> | undefined)",
|
|
5809
5922
|
value: input.args
|
|
5810
|
-
}, errorFactory)) && input.args.every((elem,
|
|
5811
|
-
path: _path + ".args[" +
|
|
5923
|
+
}, errorFactory)) && input.args.every((elem, _index20) => "string" === typeof elem || $guard(_exceptionable, {
|
|
5924
|
+
path: _path + ".args[" + _index20 + "]",
|
|
5812
5925
|
expected: "string",
|
|
5813
5926
|
value: elem
|
|
5814
5927
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -5816,20 +5929,20 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5816
5929
|
expected: "(Array<string> | undefined)",
|
|
5817
5930
|
value: input.args
|
|
5818
5931
|
}, errorFactory));
|
|
5819
|
-
const $
|
|
5932
|
+
const $ao51 = (input, _path, _exceptionable = true) => ("none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
5820
5933
|
path: _path + ".thumbnailView",
|
|
5821
5934
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\")",
|
|
5822
5935
|
value: input.thumbnailView
|
|
5823
5936
|
}, errorFactory)) && (("object" === typeof input.voiceOver && null !== input.voiceOver || $guard(_exceptionable, {
|
|
5824
5937
|
path: _path + ".voiceOver",
|
|
5825
|
-
expected: "__type.
|
|
5938
|
+
expected: "__type.o46",
|
|
5826
5939
|
value: input.voiceOver
|
|
5827
|
-
}, errorFactory)) && $
|
|
5940
|
+
}, errorFactory)) && $ao52(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || $guard(_exceptionable, {
|
|
5828
5941
|
path: _path + ".voiceOver",
|
|
5829
|
-
expected: "__type.
|
|
5942
|
+
expected: "__type.o46",
|
|
5830
5943
|
value: input.voiceOver
|
|
5831
5944
|
}, errorFactory));
|
|
5832
|
-
const $
|
|
5945
|
+
const $ao52 = (input, _path, _exceptionable = true) => (undefined === input.inputDevice || "string" === typeof input.inputDevice || $guard(_exceptionable, {
|
|
5833
5946
|
path: _path + ".inputDevice",
|
|
5834
5947
|
expected: "(string | undefined)",
|
|
5835
5948
|
value: input.inputDevice
|
|
@@ -5850,7 +5963,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5850
5963
|
expected: "number",
|
|
5851
5964
|
value: input.preRollDuration
|
|
5852
5965
|
}, errorFactory));
|
|
5853
|
-
const $
|
|
5966
|
+
const $ao53 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
5854
5967
|
path: _path + ".title",
|
|
5855
5968
|
expected: "string",
|
|
5856
5969
|
value: input.title
|
|
@@ -5862,8 +5975,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5862
5975
|
path: _path + ".args",
|
|
5863
5976
|
expected: "(Array<string> | undefined)",
|
|
5864
5977
|
value: input.args
|
|
5865
|
-
}, errorFactory)) && input.args.every((elem,
|
|
5866
|
-
path: _path + ".args[" +
|
|
5978
|
+
}, errorFactory)) && input.args.every((elem, _index21) => "string" === typeof elem || $guard(_exceptionable, {
|
|
5979
|
+
path: _path + ".args[" + _index21 + "]",
|
|
5867
5980
|
expected: "string",
|
|
5868
5981
|
value: elem
|
|
5869
5982
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -5871,71 +5984,71 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5871
5984
|
expected: "(Array<string> | undefined)",
|
|
5872
5985
|
value: input.args
|
|
5873
5986
|
}, errorFactory));
|
|
5874
|
-
const $
|
|
5987
|
+
const $ao54 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
5875
5988
|
path: _path + ".folded",
|
|
5876
|
-
expected: "(__type.
|
|
5989
|
+
expected: "(__type.o49 | undefined)",
|
|
5877
5990
|
value: input.folded
|
|
5878
|
-
}, errorFactory)) && $
|
|
5991
|
+
}, errorFactory)) && $ao55(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
5879
5992
|
path: _path + ".folded",
|
|
5880
|
-
expected: "(__type.
|
|
5993
|
+
expected: "(__type.o49 | undefined)",
|
|
5881
5994
|
value: input.folded
|
|
5882
5995
|
}, errorFactory)) && (("object" === typeof input.assets && null !== input.assets || $guard(_exceptionable, {
|
|
5883
5996
|
path: _path + ".assets",
|
|
5884
|
-
expected: "__type.
|
|
5997
|
+
expected: "__type.o50",
|
|
5885
5998
|
value: input.assets
|
|
5886
|
-
}, errorFactory)) && $
|
|
5999
|
+
}, errorFactory)) && $ao56(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
5887
6000
|
path: _path + ".assets",
|
|
5888
|
-
expected: "__type.
|
|
6001
|
+
expected: "__type.o50",
|
|
5889
6002
|
value: input.assets
|
|
5890
6003
|
}, errorFactory)) && (("object" === typeof input.pipeline && null !== input.pipeline || $guard(_exceptionable, {
|
|
5891
6004
|
path: _path + ".pipeline",
|
|
5892
|
-
expected: "__type.
|
|
6005
|
+
expected: "__type.o54",
|
|
5893
6006
|
value: input.pipeline
|
|
5894
|
-
}, errorFactory)) && $
|
|
6007
|
+
}, errorFactory)) && $ao60(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
5895
6008
|
path: _path + ".pipeline",
|
|
5896
|
-
expected: "__type.
|
|
6009
|
+
expected: "__type.o54",
|
|
5897
6010
|
value: input.pipeline
|
|
5898
6011
|
}, errorFactory)) && (("object" === typeof input.item && null !== input.item || $guard(_exceptionable, {
|
|
5899
6012
|
path: _path + ".item",
|
|
5900
|
-
expected: "__type.
|
|
6013
|
+
expected: "__type.o56",
|
|
5901
6014
|
value: input.item
|
|
5902
|
-
}, errorFactory)) && $
|
|
6015
|
+
}, errorFactory)) && $ao62(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
5903
6016
|
path: _path + ".item",
|
|
5904
|
-
expected: "__type.
|
|
6017
|
+
expected: "__type.o56",
|
|
5905
6018
|
value: input.item
|
|
5906
6019
|
}, errorFactory));
|
|
5907
|
-
const $
|
|
6020
|
+
const $ao55 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
5908
6021
|
path: _path + ".auto",
|
|
5909
6022
|
expected: "(boolean | undefined)",
|
|
5910
6023
|
value: input.auto
|
|
5911
6024
|
}, errorFactory);
|
|
5912
|
-
const $
|
|
6025
|
+
const $ao56 = (input, _path, _exceptionable = true) => (("object" === typeof input.story && null !== input.story || $guard(_exceptionable, {
|
|
5913
6026
|
path: _path + ".story",
|
|
5914
|
-
expected: "__type.
|
|
6027
|
+
expected: "__type.o51",
|
|
5915
6028
|
value: input.story
|
|
5916
|
-
}, errorFactory)) && $
|
|
6029
|
+
}, errorFactory)) && $ao57(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
5917
6030
|
path: _path + ".story",
|
|
5918
|
-
expected: "__type.
|
|
6031
|
+
expected: "__type.o51",
|
|
5919
6032
|
value: input.story
|
|
5920
6033
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
5921
6034
|
path: _path + ".note",
|
|
5922
|
-
expected: "(__type.
|
|
6035
|
+
expected: "(__type.o53 | undefined)",
|
|
5923
6036
|
value: input.note
|
|
5924
|
-
}, errorFactory)) && $
|
|
6037
|
+
}, errorFactory)) && $ao59(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
5925
6038
|
path: _path + ".note",
|
|
5926
|
-
expected: "(__type.
|
|
6039
|
+
expected: "(__type.o53 | undefined)",
|
|
5927
6040
|
value: input.note
|
|
5928
6041
|
}, errorFactory));
|
|
5929
|
-
const $
|
|
6042
|
+
const $ao57 = (input, _path, _exceptionable = true) => ("object" === typeof input.excerpt && null !== input.excerpt || $guard(_exceptionable, {
|
|
5930
6043
|
path: _path + ".excerpt",
|
|
5931
|
-
expected: "__type.
|
|
6044
|
+
expected: "__type.o52",
|
|
5932
6045
|
value: input.excerpt
|
|
5933
|
-
}, errorFactory)) && $
|
|
6046
|
+
}, errorFactory)) && $ao58(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
5934
6047
|
path: _path + ".excerpt",
|
|
5935
|
-
expected: "__type.
|
|
6048
|
+
expected: "__type.o52",
|
|
5936
6049
|
value: input.excerpt
|
|
5937
6050
|
}, errorFactory);
|
|
5938
|
-
const $
|
|
6051
|
+
const $ao58 = (input, _path, _exceptionable = true) => ("number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
5939
6052
|
path: _path + ".maxLines",
|
|
5940
6053
|
expected: "number",
|
|
5941
6054
|
value: input.maxLines
|
|
@@ -5944,35 +6057,35 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5944
6057
|
expected: "string",
|
|
5945
6058
|
value: input.mode
|
|
5946
6059
|
}, errorFactory));
|
|
5947
|
-
const $
|
|
6060
|
+
const $ao59 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
5948
6061
|
path: _path + ".maxHeight",
|
|
5949
6062
|
expected: "(number | undefined)",
|
|
5950
6063
|
value: input.maxHeight
|
|
5951
6064
|
}, errorFactory);
|
|
5952
|
-
const $
|
|
6065
|
+
const $ao60 = (input, _path, _exceptionable = true) => (("object" === typeof input.search && null !== input.search || $guard(_exceptionable, {
|
|
5953
6066
|
path: _path + ".search",
|
|
5954
|
-
expected: "__type.
|
|
6067
|
+
expected: "__type.o55",
|
|
5955
6068
|
value: input.search
|
|
5956
|
-
}, errorFactory)) && $
|
|
6069
|
+
}, errorFactory)) && $ao61(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
5957
6070
|
path: _path + ".search",
|
|
5958
|
-
expected: "__type.
|
|
6071
|
+
expected: "__type.o55",
|
|
5959
6072
|
value: input.search
|
|
5960
|
-
}, errorFactory)) && (true === $
|
|
6073
|
+
}, errorFactory)) && (true === $av22.has(input.sortMode) || $guard(_exceptionable, {
|
|
5961
6074
|
path: _path + ".sortMode",
|
|
5962
6075
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\")",
|
|
5963
6076
|
value: input.sortMode
|
|
5964
6077
|
}, errorFactory));
|
|
5965
|
-
const $
|
|
6078
|
+
const $ao61 = (input, _path, _exceptionable = true) => "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
5966
6079
|
path: _path + ".maxItemsDisplayed",
|
|
5967
6080
|
expected: "number",
|
|
5968
6081
|
value: input.maxItemsDisplayed
|
|
5969
6082
|
}, errorFactory);
|
|
5970
|
-
const $
|
|
6083
|
+
const $ao62 = (input, _path, _exceptionable = true) => "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
5971
6084
|
path: _path + ".maxHeight",
|
|
5972
6085
|
expected: "number",
|
|
5973
6086
|
value: input.maxHeight
|
|
5974
6087
|
}, errorFactory);
|
|
5975
|
-
const $
|
|
6088
|
+
const $ao63 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
5976
6089
|
path: _path + ".id",
|
|
5977
6090
|
expected: "string",
|
|
5978
6091
|
value: input.id
|
|
@@ -5981,34 +6094,34 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
5981
6094
|
expected: "boolean",
|
|
5982
6095
|
value: input.folded
|
|
5983
6096
|
}, errorFactory));
|
|
5984
|
-
const $
|
|
6097
|
+
const $ao64 = (input, _path, _exceptionable = true) => (("object" === typeof input.adobe && null !== input.adobe || $guard(_exceptionable, {
|
|
5985
6098
|
path: _path + ".adobe",
|
|
5986
|
-
expected: "__type.
|
|
6099
|
+
expected: "__type.o59",
|
|
5987
6100
|
value: input.adobe
|
|
5988
|
-
}, errorFactory)) && $
|
|
6101
|
+
}, errorFactory)) && $ao65(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
5989
6102
|
path: _path + ".adobe",
|
|
5990
|
-
expected: "__type.
|
|
6103
|
+
expected: "__type.o59",
|
|
5991
6104
|
value: input.adobe
|
|
5992
6105
|
}, errorFactory)) && (undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || $guard(_exceptionable, {
|
|
5993
6106
|
path: _path + ".rive",
|
|
5994
|
-
expected: "(__type.
|
|
6107
|
+
expected: "(__type.o60 | undefined)",
|
|
5995
6108
|
value: input.rive
|
|
5996
|
-
}, errorFactory)) && $
|
|
6109
|
+
}, errorFactory)) && $ao66(input.rive, _path + ".rive", true && _exceptionable) || $guard(_exceptionable, {
|
|
5997
6110
|
path: _path + ".rive",
|
|
5998
|
-
expected: "(__type.
|
|
6111
|
+
expected: "(__type.o60 | undefined)",
|
|
5999
6112
|
value: input.rive
|
|
6000
6113
|
}, errorFactory));
|
|
6001
|
-
const $
|
|
6114
|
+
const $ao65 = (input, _path, _exceptionable = true) => "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
6002
6115
|
path: _path + ".useProxies",
|
|
6003
6116
|
expected: "boolean",
|
|
6004
6117
|
value: input.useProxies
|
|
6005
6118
|
}, errorFactory);
|
|
6006
|
-
const $
|
|
6119
|
+
const $ao66 = (input, _path, _exceptionable = true) => undefined === input.template || "string" === typeof input.template || $guard(_exceptionable, {
|
|
6007
6120
|
path: _path + ".template",
|
|
6008
6121
|
expected: "(string | undefined)",
|
|
6009
6122
|
value: input.template
|
|
6010
6123
|
}, errorFactory);
|
|
6011
|
-
const $
|
|
6124
|
+
const $ao67 = (input, _path, _exceptionable = true) => (undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
6012
6125
|
path: _path + ".collections",
|
|
6013
6126
|
expected: "(boolean | undefined)",
|
|
6014
6127
|
value: input.collections
|
|
@@ -6021,7 +6134,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6021
6134
|
expected: "(boolean | undefined)",
|
|
6022
6135
|
value: input.ameRemoteRendering
|
|
6023
6136
|
}, errorFactory));
|
|
6024
|
-
const $
|
|
6137
|
+
const $ao68 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
6025
6138
|
path: _path + ".utils",
|
|
6026
6139
|
expected: "boolean",
|
|
6027
6140
|
value: input.utils
|
|
@@ -6082,21 +6195,21 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6082
6195
|
expected: "(boolean | undefined)",
|
|
6083
6196
|
value: input.devWarnings
|
|
6084
6197
|
}, errorFactory));
|
|
6085
|
-
const $
|
|
6198
|
+
const $ao69 = (input, _path, _exceptionable = true) => ("object" === typeof input.events && null !== input.events || $guard(_exceptionable, {
|
|
6086
6199
|
path: _path + ".events",
|
|
6087
|
-
expected: "__type.
|
|
6200
|
+
expected: "__type.o64",
|
|
6088
6201
|
value: input.events
|
|
6089
|
-
}, errorFactory)) && $
|
|
6202
|
+
}, errorFactory)) && $ao70(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
6090
6203
|
path: _path + ".events",
|
|
6091
|
-
expected: "__type.
|
|
6204
|
+
expected: "__type.o64",
|
|
6092
6205
|
value: input.events
|
|
6093
6206
|
}, errorFactory);
|
|
6094
|
-
const $
|
|
6207
|
+
const $ao70 = (input, _path, _exceptionable = true) => ((Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
6095
6208
|
path: _path + ".comment",
|
|
6096
6209
|
expected: "Array<NotificationReason>",
|
|
6097
6210
|
value: input.comment
|
|
6098
|
-
}, errorFactory)) && input.comment.every((elem,
|
|
6099
|
-
path: _path + ".comment[" +
|
|
6211
|
+
}, errorFactory)) && input.comment.every((elem, _index23) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
6212
|
+
path: _path + ".comment[" + _index23 + "]",
|
|
6100
6213
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
6101
6214
|
value: elem
|
|
6102
6215
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -6107,8 +6220,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6107
6220
|
path: _path + ".assigned",
|
|
6108
6221
|
expected: "Array<NotificationReason>",
|
|
6109
6222
|
value: input.assigned
|
|
6110
|
-
}, errorFactory)) && input.assigned.every((elem,
|
|
6111
|
-
path: _path + ".assigned[" +
|
|
6223
|
+
}, errorFactory)) && input.assigned.every((elem, _index24) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
6224
|
+
path: _path + ".assigned[" + _index24 + "]",
|
|
6112
6225
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
6113
6226
|
value: elem
|
|
6114
6227
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -6119,8 +6232,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6119
6232
|
path: _path + ".unassigned",
|
|
6120
6233
|
expected: "Array<NotificationReason>",
|
|
6121
6234
|
value: input.unassigned
|
|
6122
|
-
}, errorFactory)) && input.unassigned.every((elem,
|
|
6123
|
-
path: _path + ".unassigned[" +
|
|
6235
|
+
}, errorFactory)) && input.unassigned.every((elem, _index25) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
6236
|
+
path: _path + ".unassigned[" + _index25 + "]",
|
|
6124
6237
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
6125
6238
|
value: elem
|
|
6126
6239
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -6129,14 +6242,14 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6129
6242
|
value: input.unassigned
|
|
6130
6243
|
}, errorFactory)) && (("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
6131
6244
|
path: _path + ".publishSucceeded",
|
|
6132
|
-
expected: "__type.
|
|
6245
|
+
expected: "__type.o65",
|
|
6133
6246
|
value: input.publishSucceeded
|
|
6134
|
-
}, errorFactory)) && $
|
|
6247
|
+
}, errorFactory)) && $ao71(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
6135
6248
|
path: _path + ".publishSucceeded",
|
|
6136
|
-
expected: "__type.
|
|
6249
|
+
expected: "__type.o65",
|
|
6137
6250
|
value: input.publishSucceeded
|
|
6138
6251
|
}, errorFactory));
|
|
6139
|
-
const $
|
|
6252
|
+
const $ao71 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
6140
6253
|
const value = input[key];
|
|
6141
6254
|
if (undefined === value)
|
|
6142
6255
|
return true;
|
|
@@ -6144,8 +6257,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6144
6257
|
path: _path + $join(key),
|
|
6145
6258
|
expected: "Array<NotificationReason>",
|
|
6146
6259
|
value: value
|
|
6147
|
-
}, errorFactory)) && value.every((elem,
|
|
6148
|
-
path: _path + $join(key) + "[" +
|
|
6260
|
+
}, errorFactory)) && value.every((elem, _index26) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
6261
|
+
path: _path + $join(key) + "[" + _index26 + "]",
|
|
6149
6262
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
6150
6263
|
value: elem
|
|
6151
6264
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -6265,39 +6378,40 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6265
6378
|
return true;
|
|
6266
6379
|
return "object" === typeof value && null !== value && $io27(value);
|
|
6267
6380
|
});
|
|
6268
|
-
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $
|
|
6381
|
+
const $io38 = input => "number" === typeof input.defaultFrameRate && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io39(input.guide)) && "number" === typeof input.stepManyFrames && "number" === typeof input.liveZoomDuration && "string" === typeof input.importTitleTemplate && ("object" === typeof input.tile && null !== input.tile && $io40(input.tile)) && "string" === typeof input.timecodeReference && "number" === typeof input.maxSubclipDuration && "number" === typeof input.rewindStep && "number" === typeof input.forwardStep && "string" === typeof input.interlacedPlayback && (Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && ("object" === typeof input.subtitles && null !== input.subtitles && $io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && "string" === typeof input.initialVolume && (Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io44(elem))) && "boolean" === typeof input.download && ("object" === typeof input.editMode && null !== input.editMode && $io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io50(input.openCommand)));
|
|
6269
6382
|
const $io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
6270
6383
|
const $io40 = input => ("play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && "boolean" === typeof input.showRenderProgress;
|
|
6271
|
-
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.
|
|
6272
|
-
const $io42 = input => (undefined === input.
|
|
6273
|
-
const $io43 = input => "string" === typeof input.label && "string" === typeof input.
|
|
6274
|
-
const $io44 = input => "
|
|
6275
|
-
const $io45 = input =>
|
|
6276
|
-
const $io46 = input =>
|
|
6277
|
-
const $io47 = input => (undefined === input.
|
|
6278
|
-
const $io48 = input => "
|
|
6279
|
-
const $io49 = input =>
|
|
6280
|
-
const $io50 = input => (
|
|
6281
|
-
const $io51 = input => (
|
|
6282
|
-
const $io52 = input => "string" === typeof input.
|
|
6283
|
-
const $io53 = input =>
|
|
6284
|
-
const $io54 = input => undefined === input.
|
|
6285
|
-
const $io55 = input =>
|
|
6286
|
-
const $io56 = input => "object" === typeof input.
|
|
6287
|
-
const $io57 = input => "
|
|
6288
|
-
const $io58 = input =>
|
|
6289
|
-
const $io59 = input =>
|
|
6290
|
-
const $io60 = input => "
|
|
6291
|
-
const $io61 = input => "number" === typeof input.
|
|
6292
|
-
const $io62 = input => "
|
|
6293
|
-
const $io63 = input => "
|
|
6294
|
-
const $io64 = input => "
|
|
6295
|
-
const $io65 = input =>
|
|
6296
|
-
const $io66 = input =>
|
|
6297
|
-
const $io67 = input =>
|
|
6298
|
-
const $io68 = input => "
|
|
6299
|
-
const $io69 = input =>
|
|
6300
|
-
const $io70 = input =>
|
|
6384
|
+
const $io41 = input => "number" === typeof input.spacing && "number" === typeof input.maxCharactersPerLine && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io43(elem)));
|
|
6385
|
+
const $io42 = input => (undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (undefined === input.ifLang || "string" === typeof input.ifLang) && (undefined === input.thenStyle || "string" === typeof input.thenStyle) && (undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine);
|
|
6386
|
+
const $io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color);
|
|
6387
|
+
const $io44 = input => "string" === typeof input.label && "string" === typeof input.aspectRatio;
|
|
6388
|
+
const $io45 = input => "boolean" === typeof input.enabled && ("edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && ("none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption);
|
|
6389
|
+
const $io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && $io47(input.subtitleDisclaimer);
|
|
6390
|
+
const $io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io48(input.defaultValue));
|
|
6391
|
+
const $io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
6392
|
+
const $io49 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
6393
|
+
const $io50 = 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));
|
|
6394
|
+
const $io51 = input => ("none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && ("object" === typeof input.voiceOver && null !== input.voiceOver && $io52(input.voiceOver));
|
|
6395
|
+
const $io52 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && "number" === typeof input.inputGainDb && "number" === typeof input.backgroundReductionDb && ("instant" === input.recordMode || "punchAndRoll" === input.recordMode) && "number" === typeof input.preRollDuration;
|
|
6396
|
+
const $io53 = 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));
|
|
6397
|
+
const $io54 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io55(input.folded)) && ("object" === typeof input.assets && null !== input.assets && $io56(input.assets)) && ("object" === typeof input.pipeline && null !== input.pipeline && $io60(input.pipeline)) && ("object" === typeof input.item && null !== input.item && $io62(input.item));
|
|
6398
|
+
const $io55 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
6399
|
+
const $io56 = input => "object" === typeof input.story && null !== input.story && $io57(input.story) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io59(input.note));
|
|
6400
|
+
const $io57 = input => "object" === typeof input.excerpt && null !== input.excerpt && $io58(input.excerpt);
|
|
6401
|
+
const $io58 = input => "number" === typeof input.maxLines && "string" === typeof input.mode;
|
|
6402
|
+
const $io59 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
6403
|
+
const $io60 = input => "object" === typeof input.search && null !== input.search && $io61(input.search) && true === $iv47.has(input.sortMode);
|
|
6404
|
+
const $io61 = input => "number" === typeof input.maxItemsDisplayed;
|
|
6405
|
+
const $io62 = input => "number" === typeof input.maxHeight;
|
|
6406
|
+
const $io63 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
6407
|
+
const $io64 = input => "object" === typeof input.adobe && null !== input.adobe && $io65(input.adobe) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && $io66(input.rive));
|
|
6408
|
+
const $io65 = input => "boolean" === typeof input.useProxies;
|
|
6409
|
+
const $io66 = input => undefined === input.template || "string" === typeof input.template;
|
|
6410
|
+
const $io67 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering);
|
|
6411
|
+
const $io68 = input => "boolean" === typeof input.utils && "boolean" === typeof input.history && "boolean" === typeof input.refs && "boolean" === typeof input.access && "boolean" === typeof input.files && "boolean" === typeof input["export"] && "boolean" === typeof input.json && "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);
|
|
6412
|
+
const $io69 = input => "object" === typeof input.events && null !== input.events && $io70(input.events);
|
|
6413
|
+
const $io70 = input => Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem) && (Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io71(input.publishSucceeded));
|
|
6414
|
+
const $io71 = input => Object.keys(input).every(key => {
|
|
6301
6415
|
const value = input[key];
|
|
6302
6416
|
if (undefined === value)
|
|
6303
6417
|
return true;
|
|
@@ -6306,8 +6420,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6306
6420
|
const $string = __typia.json.createAssertStringify.string;
|
|
6307
6421
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
6308
6422
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
6309
|
-
const $
|
|
6310
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? `{"overrideUserContact":${input.permission.overrideUserContact},"overrideUserLogin":${input.permission.overrideUserLogin}}` : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? $so6(input.upload) : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? $so7(input.download) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so8(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so12(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so13(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so14(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? $so15(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so16(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so17(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? `{"maxMru":${input.dashboard.maxMru},"maxTabs":${input.dashboard.maxTabs}}` : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so19(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so22(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? `{"eventThumbnails":${input.rundown.eventThumbnails}}` : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? `{"dimOnBlur":${input.gallery.dimOnBlur}}` : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? $so25(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so38(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $
|
|
6423
|
+
const $iv47 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]);
|
|
6424
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? `{"overrideUserContact":${input.permission.overrideUserContact},"overrideUserLogin":${input.permission.overrideUserLogin}}` : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? $so6(input.upload) : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? $so7(input.download) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so8(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so12(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so13(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so14(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? $so15(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so16(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so17(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? `{"maxMru":${input.dashboard.maxMru},"maxTabs":${input.dashboard.maxTabs}}` : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so19(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so22(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? `{"eventThumbnails":${input.rundown.eventThumbnails}}` : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? `{"dimOnBlur":${input.gallery.dimOnBlur}}` : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? $so25(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so38(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so51(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so53(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 ? $so54(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 ? $so64(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 ? $so67(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so68(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so69(input.notifications) : undefined},`}${undefined === input.suppressDeleteAlert ? "" : `"suppressDeleteAlert":${undefined !== input.suppressDeleteAlert ? input.suppressDeleteAlert : undefined}`}`)}}`;
|
|
6311
6425
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
6312
6426
|
const $so3 = input => `{${$tail(`"settingsPanelStore":${`{"activeSectionIndex":${input.settingsPanelStore.activeSectionIndex},"activeTab":${$string(input.settingsPanelStore.activeTab)}}`},${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
6313
6427
|
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
@@ -6377,16 +6491,16 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6377
6491
|
return ""; return `${JSON.stringify(key)}:${$so27(value)}`; }).filter(str => "" !== str).join(",")}}`;
|
|
6378
6492
|
const $so37 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
6379
6493
|
return ""; return `${JSON.stringify(key)}:${$so27(value)}`; }).filter(str => "" !== str).join(",")}}`;
|
|
6380
|
-
const $so38 = input => `{${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so39(input.guide) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $
|
|
6494
|
+
const $so38 = input => `{${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so39(input.guide) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so46(input.transcribe) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? (() => {
|
|
6381
6495
|
if ("string" === typeof input.openCommand)
|
|
6382
6496
|
return $string(input.openCommand);
|
|
6383
6497
|
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|
|
6384
|
-
return $
|
|
6498
|
+
return $so50(input.openCommand);
|
|
6385
6499
|
$throws({
|
|
6386
|
-
expected: "(__type.
|
|
6500
|
+
expected: "(__type.o44 | string | undefined)",
|
|
6387
6501
|
value: input.openCommand
|
|
6388
6502
|
});
|
|
6389
|
-
})() : undefined},`}"defaultFrameRate":${input.defaultFrameRate},"stepManyFrames":${input.stepManyFrames},"liveZoomDuration":${input.liveZoomDuration},"importTitleTemplate":${$string(input.importTitleTemplate)},"tile":${$so40(input.tile)},"timecodeReference":${$string(input.timecodeReference)},"maxSubclipDuration":${input.maxSubclipDuration},"rewindStep":${input.rewindStep},"forwardStep":${input.forwardStep},"interlacedPlayback":${$string(input.interlacedPlayback)},"playbackRates":${`[${input.playbackRates.map(elem => elem).join(",")}]`},"subtitles":${$so41(input.subtitles)},"initialVolume":${$string(input.initialVolume)},"guides":${`[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]`},"download":${input.download},"editMode":${$
|
|
6503
|
+
})() : undefined},`}"defaultFrameRate":${input.defaultFrameRate},"stepManyFrames":${input.stepManyFrames},"liveZoomDuration":${input.liveZoomDuration},"importTitleTemplate":${$string(input.importTitleTemplate)},"tile":${$so40(input.tile)},"timecodeReference":${$string(input.timecodeReference)},"maxSubclipDuration":${input.maxSubclipDuration},"rewindStep":${input.rewindStep},"forwardStep":${input.forwardStep},"interlacedPlayback":${$string(input.interlacedPlayback)},"playbackRates":${`[${input.playbackRates.map(elem => elem).join(",")}]`},"subtitles":${$so41(input.subtitles)},"initialVolume":${$string(input.initialVolume)},"guides":${`[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]`},"download":${input.download},"editMode":${$so45(input.editMode)}}`;
|
|
6390
6504
|
const $so39 = 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}`}`)}}`;
|
|
6391
6505
|
const $so40 = input => `{"preview":${(() => {
|
|
6392
6506
|
if ("string" === typeof input.preview)
|
|
@@ -6400,9 +6514,10 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6400
6514
|
value: input.preview
|
|
6401
6515
|
});
|
|
6402
6516
|
})()},"showRenderProgress":${input.showRenderProgress}}`;
|
|
6403
|
-
const $so41 = input => `{${undefined === input.
|
|
6404
|
-
const $so42 = input => `{${$tail(`${undefined === input.
|
|
6405
|
-
const $
|
|
6517
|
+
const $so41 = input => `{${undefined === input.suggestions ? "" : `"suggestions":${undefined !== input.suggestions ? `[${input.suggestions.map(elem => $so42(elem)).join(",")}]` : undefined},`}${undefined === input.colors ? "" : `"colors":${undefined !== input.colors ? `[${input.colors.map(elem => $so43(elem)).join(",")}]` : undefined},`}"spacing":${input.spacing},"maxCharactersPerLine":${input.maxCharactersPerLine}}`;
|
|
6518
|
+
const $so42 = input => `{${$tail(`${undefined === input.ifAspectRatio ? "" : `"ifAspectRatio":${undefined !== input.ifAspectRatio ? $string(input.ifAspectRatio) : undefined},`}${undefined === input.ifLang ? "" : `"ifLang":${undefined !== input.ifLang ? $string(input.ifLang) : undefined},`}${undefined === input.thenStyle ? "" : `"thenStyle":${undefined !== input.thenStyle ? $string(input.thenStyle) : undefined},`}${undefined === input.thenMaxCharactersPerLine ? "" : `"thenMaxCharactersPerLine":${undefined !== input.thenMaxCharactersPerLine ? input.thenMaxCharactersPerLine : undefined}`}`)}}`;
|
|
6519
|
+
const $so43 = input => `{${$tail(`${undefined === input.label ? "" : `"label":${undefined !== input.label ? null !== input.label ? $string(input.label) : "null" : undefined},`}${undefined === input.color ? "" : `"color":${undefined !== input.color ? null !== input.color ? $string(input.color) : "null" : undefined}`}`)}}`;
|
|
6520
|
+
const $so45 = input => `{"enabled":${input.enabled},"defaultEnterOption":${(() => {
|
|
6406
6521
|
if ("string" === typeof input.defaultEnterOption)
|
|
6407
6522
|
return $string(input.defaultEnterOption);
|
|
6408
6523
|
if ("string" === typeof input.defaultEnterOption)
|
|
@@ -6421,11 +6536,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6421
6536
|
value: input.defaultExitOption
|
|
6422
6537
|
});
|
|
6423
6538
|
})()}}`;
|
|
6424
|
-
const $
|
|
6425
|
-
const $
|
|
6426
|
-
const $
|
|
6427
|
-
const $
|
|
6428
|
-
const $
|
|
6539
|
+
const $so46 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so47(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
6540
|
+
const $so47 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so48(input.defaultValue) : undefined}`}`)}}`;
|
|
6541
|
+
const $so48 = 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}`}`)}}`;
|
|
6542
|
+
const $so50 = 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}`}`)}}`;
|
|
6543
|
+
const $so51 = input => `{"thumbnailView":${(() => {
|
|
6429
6544
|
if ("string" === typeof input.thumbnailView)
|
|
6430
6545
|
return $string(input.thumbnailView);
|
|
6431
6546
|
if ("string" === typeof input.thumbnailView)
|
|
@@ -6434,8 +6549,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6434
6549
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\")",
|
|
6435
6550
|
value: input.thumbnailView
|
|
6436
6551
|
});
|
|
6437
|
-
})()},"voiceOver":${$
|
|
6438
|
-
const $
|
|
6552
|
+
})()},"voiceOver":${$so52(input.voiceOver)}}`;
|
|
6553
|
+
const $so52 = input => `{${undefined === input.inputDevice ? "" : `"inputDevice":${undefined !== input.inputDevice ? $string(input.inputDevice) : undefined},`}"inputGainDb":${input.inputGainDb},"backgroundReductionDb":${input.backgroundReductionDb},"recordMode":${(() => {
|
|
6439
6554
|
if ("string" === typeof input.recordMode)
|
|
6440
6555
|
return $string(input.recordMode);
|
|
6441
6556
|
if ("string" === typeof input.recordMode)
|
|
@@ -6445,13 +6560,13 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6445
6560
|
value: input.recordMode
|
|
6446
6561
|
});
|
|
6447
6562
|
})()},"preRollDuration":${input.preRollDuration}}`;
|
|
6448
|
-
const $
|
|
6449
|
-
const $
|
|
6450
|
-
const $
|
|
6451
|
-
const $
|
|
6452
|
-
const $
|
|
6453
|
-
const $
|
|
6454
|
-
const $
|
|
6563
|
+
const $so53 = 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)}}`;
|
|
6564
|
+
const $so54 = input => `{${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so55(input.folded) : undefined},`}"assets":${$so56(input.assets)},"pipeline":${$so60(input.pipeline)},"item":${`{"maxHeight":${input.item.maxHeight}}`}}`;
|
|
6565
|
+
const $so55 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
6566
|
+
const $so56 = input => `{${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so59(input.note) : undefined},`}"story":${$so57(input.story)}}`;
|
|
6567
|
+
const $so57 = input => `{"excerpt":${`{"maxLines":${input.excerpt.maxLines},"mode":${$string(input.excerpt.mode)}}`}}`;
|
|
6568
|
+
const $so59 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
6569
|
+
const $so60 = input => `{"search":${`{"maxItemsDisplayed":${input.search.maxItemsDisplayed}}`},"sortMode":${(() => {
|
|
6455
6570
|
if ("string" === typeof input.sortMode)
|
|
6456
6571
|
return $string(input.sortMode);
|
|
6457
6572
|
if ("string" === typeof input.sortMode)
|
|
@@ -6461,12 +6576,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6461
6576
|
value: input.sortMode
|
|
6462
6577
|
});
|
|
6463
6578
|
})()}}`;
|
|
6464
|
-
const $
|
|
6465
|
-
const $
|
|
6466
|
-
const $
|
|
6467
|
-
const $
|
|
6468
|
-
const $
|
|
6469
|
-
const $
|
|
6579
|
+
const $so64 = input => `{${undefined === input.rive ? "" : `"rive":${undefined !== input.rive ? $so66(input.rive) : undefined},`}"adobe":${`{"useProxies":${input.adobe.useProxies}}`}}`;
|
|
6580
|
+
const $so66 = input => `{${$tail(`${undefined === input.template ? "" : `"template":${undefined !== input.template ? $string(input.template) : undefined}`}`)}}`;
|
|
6581
|
+
const $so67 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined},`}${undefined === input.semanticSearch ? "" : `"semanticSearch":${undefined !== input.semanticSearch ? input.semanticSearch : undefined},`}${undefined === input.ameRemoteRendering ? "" : `"ameRemoteRendering":${undefined !== input.ameRemoteRendering ? input.ameRemoteRendering : undefined}`}`)}}`;
|
|
6582
|
+
const $so68 = input => `{${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},`}"utils":${input.utils},"history":${input.history},"refs":${input.refs},"access":${input.access},"files":${input.files},"export":${input["export"]},"json":${input.json},"hlsjs":${input.hlsjs}}`;
|
|
6583
|
+
const $so69 = input => `{"events":${$so70(input.events)}}`;
|
|
6584
|
+
const $so70 = input => `{"comment":${`[${input.comment.map(elem => (() => {
|
|
6470
6585
|
if ("string" === typeof elem)
|
|
6471
6586
|
return $string(elem);
|
|
6472
6587
|
if ("string" === typeof elem)
|
|
@@ -6493,8 +6608,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
6493
6608
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
6494
6609
|
value: elem
|
|
6495
6610
|
});
|
|
6496
|
-
})()).join(",")}]`},"publishSucceeded":${$
|
|
6497
|
-
const $
|
|
6611
|
+
})()).join(",")}]`},"publishSucceeded":${$so71(input.publishSucceeded)}}`;
|
|
6612
|
+
const $so71 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
6498
6613
|
return ""; return `${JSON.stringify(key)}:${`[${value.map(elem => (() => {
|
|
6499
6614
|
if ("string" === typeof elem)
|
|
6500
6615
|
return $string(elem);
|