@nxtedition/types 23.0.3 → 23.0.5
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/date.d.ts +8 -0
- package/dist/common/date.js +59 -0
- package/dist/common/index.d.ts +5 -0
- package/dist/common/index.js +5 -0
- package/dist/common/media.d.ts +8 -0
- package/dist/common/media.js +83 -0
- package/dist/common/pipeline.d.ts +8 -0
- package/dist/common/pipeline.js +88 -0
- package/dist/common/promoted-tag.d.ts +13 -0
- package/dist/common/promoted-tag.js +147 -0
- package/dist/common/render-preset.d.ts +32 -0
- package/dist/common/render-preset.js +516 -0
- package/dist/common/settings.d.ts +24 -10
- package/dist/common/settings.js +747 -321
- package/dist/domains/asset.d.ts +166 -65
- package/dist/domains/asset.js +1325 -96
- package/dist/domains/index.d.ts +9 -1
- package/dist/domains/index.js +4 -0
- package/dist/domains/media.d.ts +14 -2
- package/dist/domains/media.js +724 -24
- package/dist/domains/pipeline-preset.d.ts +17 -0
- package/dist/domains/pipeline-preset.js +225 -0
- package/dist/domains/pipeline.d.ts +29 -0
- package/dist/domains/pipeline.js +423 -0
- package/dist/domains/render-preset.d.ts +4 -0
- package/dist/domains/render-preset.js +1 -0
- package/dist/domains/settings.js +734 -321
- package/dist/domains/storyboard.d.ts +14 -0
- package/dist/domains/storyboard.js +125 -0
- package/dist/index.d.ts +70 -0
- package/dist/index.js +28 -12
- package/dist/schema.json +1035 -74
- package/package.json +1 -1
package/dist/domains/settings.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
2
|
export const isSettingsRecord = input => {
|
|
3
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $
|
|
3
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io38(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io39(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) && $io41(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io42(input.flags));
|
|
4
4
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
5
5
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
6
6
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -16,8 +16,8 @@ export const isSettingsRecord = input => {
|
|
|
16
16
|
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
17
17
|
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
18
18
|
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
19
|
-
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
20
|
-
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
19
|
+
const $io9 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
20
|
+
const $io10 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
21
21
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
22
22
|
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
23
23
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
@@ -27,7 +27,7 @@ export const isSettingsRecord = input => {
|
|
|
27
27
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
28
28
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
29
29
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
30
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
30
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.openCommand || "string" === typeof input.openCommand) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
31
31
|
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
32
32
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
33
33
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -36,21 +36,25 @@ export const isSettingsRecord = input => {
|
|
|
36
36
|
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
37
37
|
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
38
38
|
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
39
|
-
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $
|
|
40
|
-
const $io30 = input => undefined === input.
|
|
41
|
-
const $io31 = input => undefined === input.
|
|
42
|
-
const $io32 = input =>
|
|
43
|
-
const $io33 = input => undefined === input.
|
|
44
|
-
const $io34 = input => undefined === input.
|
|
45
|
-
const $io35 = input => undefined === input.
|
|
46
|
-
const $io36 = input => undefined === input.
|
|
47
|
-
const $io37 = input => undefined === input.
|
|
48
|
-
const $io38 = input =>
|
|
39
|
+
const $io29 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io30(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io31(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io35(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io37(input.item));
|
|
40
|
+
const $io30 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
41
|
+
const $io31 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io32(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io34(input.note));
|
|
42
|
+
const $io32 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io33(input.excerpt);
|
|
43
|
+
const $io33 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
44
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
45
|
+
const $io35 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io36(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
46
|
+
const $io36 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
47
|
+
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
48
|
+
const $io38 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
49
|
+
const $io39 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io40(input.adobe);
|
|
50
|
+
const $io40 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
51
|
+
const $io41 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
52
|
+
const $io42 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
49
53
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
50
54
|
};
|
|
51
55
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
52
56
|
const __is = input => {
|
|
53
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $
|
|
57
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io38(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io39(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) && $io41(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io42(input.flags));
|
|
54
58
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
55
59
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
56
60
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -66,8 +70,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
66
70
|
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
67
71
|
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
68
72
|
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
69
|
-
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
70
|
-
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
73
|
+
const $io9 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
74
|
+
const $io10 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
71
75
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
72
76
|
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
73
77
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
@@ -77,7 +81,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
77
81
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
78
82
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
79
83
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
80
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
84
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.openCommand || "string" === typeof input.openCommand) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
81
85
|
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
82
86
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
83
87
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -86,16 +90,20 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
86
90
|
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
87
91
|
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
88
92
|
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
89
|
-
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $
|
|
90
|
-
const $io30 = input => undefined === input.
|
|
91
|
-
const $io31 = input => undefined === input.
|
|
92
|
-
const $io32 = input =>
|
|
93
|
-
const $io33 = input => undefined === input.
|
|
94
|
-
const $io34 = input => undefined === input.
|
|
95
|
-
const $io35 = input => undefined === input.
|
|
96
|
-
const $io36 = input => undefined === input.
|
|
97
|
-
const $io37 = input => undefined === input.
|
|
98
|
-
const $io38 = input =>
|
|
93
|
+
const $io29 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io30(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io31(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io35(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io37(input.item));
|
|
94
|
+
const $io30 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
95
|
+
const $io31 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io32(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io34(input.note));
|
|
96
|
+
const $io32 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io33(input.excerpt);
|
|
97
|
+
const $io33 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
98
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
99
|
+
const $io35 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io36(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
100
|
+
const $io36 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
101
|
+
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
102
|
+
const $io38 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
103
|
+
const $io39 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io40(input.adobe);
|
|
104
|
+
const $io40 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
105
|
+
const $io41 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
106
|
+
const $io42 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
99
107
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
100
108
|
};
|
|
101
109
|
if (false === __is(input))
|
|
@@ -242,13 +250,29 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
242
250
|
path: _path + ".storyboard",
|
|
243
251
|
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
244
252
|
value: input.storyboard
|
|
253
|
+
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
254
|
+
path: _path + ".hiddenPreviews",
|
|
255
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
256
|
+
value: input.hiddenPreviews
|
|
257
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index2) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
258
|
+
path: _path + ".hiddenPreviews[" + _index2 + "]",
|
|
259
|
+
expected: "__type.o2",
|
|
260
|
+
value: elem
|
|
261
|
+
}, errorFactory)) && $ao38(elem, _path + ".hiddenPreviews[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
262
|
+
path: _path + ".hiddenPreviews[" + _index2 + "]",
|
|
263
|
+
expected: "__type.o2",
|
|
264
|
+
value: elem
|
|
265
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
266
|
+
path: _path + ".hiddenPreviews",
|
|
267
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
268
|
+
value: input.hiddenPreviews
|
|
245
269
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
246
270
|
path: _path + ".plugins",
|
|
247
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
271
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
248
272
|
value: input.plugins
|
|
249
|
-
}, errorFactory)) && $
|
|
273
|
+
}, errorFactory)) && $ao39(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
250
274
|
path: _path + ".plugins",
|
|
251
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
275
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
252
276
|
value: input.plugins
|
|
253
277
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
254
278
|
path: _path + ".crashScreen",
|
|
@@ -258,13 +282,21 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
258
282
|
path: _path + ".debug",
|
|
259
283
|
expected: "(boolean | undefined)",
|
|
260
284
|
value: input.debug
|
|
285
|
+
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
286
|
+
path: _path + ".featurePreview",
|
|
287
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
288
|
+
value: input.featurePreview
|
|
289
|
+
}, errorFactory)) && $ao41(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
290
|
+
path: _path + ".featurePreview",
|
|
291
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
292
|
+
value: input.featurePreview
|
|
261
293
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
262
294
|
path: _path + ".flags",
|
|
263
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
295
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
264
296
|
value: input.flags
|
|
265
|
-
}, errorFactory)) && $
|
|
297
|
+
}, errorFactory)) && $ao42(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
266
298
|
path: _path + ".flags",
|
|
267
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
299
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
268
300
|
value: input.flags
|
|
269
301
|
}, errorFactory));
|
|
270
302
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -336,8 +368,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
336
368
|
path: _path + ".sortOrder",
|
|
337
369
|
expected: "(Array<string> | undefined)",
|
|
338
370
|
value: input.sortOrder
|
|
339
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
340
|
-
path: _path + ".sortOrder[" +
|
|
371
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
|
|
372
|
+
path: _path + ".sortOrder[" + _index3 + "]",
|
|
341
373
|
expected: "string",
|
|
342
374
|
value: elem
|
|
343
375
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -349,8 +381,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
349
381
|
path: _path + ".exclude",
|
|
350
382
|
expected: "(Array<string> | undefined)",
|
|
351
383
|
value: input.exclude
|
|
352
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
353
|
-
path: _path + ".exclude[" +
|
|
384
|
+
}, errorFactory)) && input.exclude.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
385
|
+
path: _path + ".exclude[" + _index4 + "]",
|
|
354
386
|
expected: "string",
|
|
355
387
|
value: elem
|
|
356
388
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -358,32 +390,56 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
358
390
|
expected: "(Array<string> | undefined)",
|
|
359
391
|
value: input.exclude
|
|
360
392
|
}, errorFactory);
|
|
361
|
-
const $ao9 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
393
|
+
const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
362
394
|
path: _path + ".include",
|
|
363
395
|
expected: "(Array<string> | undefined)",
|
|
364
396
|
value: input.include
|
|
365
|
-
}, errorFactory)) && input.include.every((elem,
|
|
366
|
-
path: _path + ".include[" +
|
|
397
|
+
}, errorFactory)) && input.include.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
398
|
+
path: _path + ".include[" + _index5 + "]",
|
|
367
399
|
expected: "string",
|
|
368
400
|
value: elem
|
|
369
401
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
370
402
|
path: _path + ".include",
|
|
371
403
|
expected: "(Array<string> | undefined)",
|
|
372
404
|
value: input.include
|
|
373
|
-
}, errorFactory)
|
|
374
|
-
|
|
405
|
+
}, errorFactory)) && (undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
406
|
+
path: _path + ".exclude",
|
|
407
|
+
expected: "(Array<string> | undefined)",
|
|
408
|
+
value: input.exclude
|
|
409
|
+
}, errorFactory)) && input.exclude.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
410
|
+
path: _path + ".exclude[" + _index6 + "]",
|
|
411
|
+
expected: "string",
|
|
412
|
+
value: elem
|
|
413
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
414
|
+
path: _path + ".exclude",
|
|
415
|
+
expected: "(Array<string> | undefined)",
|
|
416
|
+
value: input.exclude
|
|
417
|
+
}, errorFactory));
|
|
418
|
+
const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
375
419
|
path: _path + ".include",
|
|
376
420
|
expected: "(Array<string> | undefined)",
|
|
377
421
|
value: input.include
|
|
378
|
-
}, errorFactory)) && input.include.every((elem,
|
|
379
|
-
path: _path + ".include[" +
|
|
422
|
+
}, errorFactory)) && input.include.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
423
|
+
path: _path + ".include[" + _index7 + "]",
|
|
380
424
|
expected: "string",
|
|
381
425
|
value: elem
|
|
382
426
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
383
427
|
path: _path + ".include",
|
|
384
428
|
expected: "(Array<string> | undefined)",
|
|
385
429
|
value: input.include
|
|
386
|
-
}, errorFactory)
|
|
430
|
+
}, errorFactory)) && (undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
431
|
+
path: _path + ".exclude",
|
|
432
|
+
expected: "(Array<string> | undefined)",
|
|
433
|
+
value: input.exclude
|
|
434
|
+
}, errorFactory)) && input.exclude.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
435
|
+
path: _path + ".exclude[" + _index8 + "]",
|
|
436
|
+
expected: "string",
|
|
437
|
+
value: elem
|
|
438
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
439
|
+
path: _path + ".exclude",
|
|
440
|
+
expected: "(Array<string> | undefined)",
|
|
441
|
+
value: input.exclude
|
|
442
|
+
}, errorFactory));
|
|
387
443
|
const $ao11 = (input, _path, _exceptionable = true) => (undefined === input.enable || "boolean" === typeof input.enable || $guard(_exceptionable, {
|
|
388
444
|
path: _path + ".enable",
|
|
389
445
|
expected: "(boolean | undefined)",
|
|
@@ -443,12 +499,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
443
499
|
path: _path + ".colorTags",
|
|
444
500
|
expected: "(Array<PromotedTag> | undefined)",
|
|
445
501
|
value: input.colorTags
|
|
446
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
447
|
-
path: _path + ".colorTags[" +
|
|
502
|
+
}, errorFactory)) && input.colorTags.every((elem, _index9) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
503
|
+
path: _path + ".colorTags[" + _index9 + "]",
|
|
448
504
|
expected: "PromotedTag",
|
|
449
505
|
value: elem
|
|
450
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
451
|
-
path: _path + ".colorTags[" +
|
|
506
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
507
|
+
path: _path + ".colorTags[" + _index9 + "]",
|
|
452
508
|
expected: "PromotedTag",
|
|
453
509
|
value: elem
|
|
454
510
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -497,6 +553,10 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
497
553
|
path: _path + ".placeholder",
|
|
498
554
|
expected: "(string | undefined)",
|
|
499
555
|
value: input.placeholder
|
|
556
|
+
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || $guard(_exceptionable, {
|
|
557
|
+
path: _path + ".openCommand",
|
|
558
|
+
expected: "(string | undefined)",
|
|
559
|
+
value: input.openCommand
|
|
500
560
|
}, errorFactory)) && (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
501
561
|
path: _path + ".guide",
|
|
502
562
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
@@ -549,8 +609,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
549
609
|
path: _path + ".playbackRates",
|
|
550
610
|
expected: "(Array<number> | undefined)",
|
|
551
611
|
value: input.playbackRates
|
|
552
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
553
|
-
path: _path + ".playbackRates[" +
|
|
612
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index10) => "number" === typeof elem || $guard(_exceptionable, {
|
|
613
|
+
path: _path + ".playbackRates[" + _index10 + "]",
|
|
554
614
|
expected: "number",
|
|
555
615
|
value: elem
|
|
556
616
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -577,12 +637,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
577
637
|
path: _path + ".guides",
|
|
578
638
|
expected: "(Array<__type> | undefined)",
|
|
579
639
|
value: input.guides
|
|
580
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
581
|
-
path: _path + ".guides[" +
|
|
640
|
+
}, errorFactory)) && input.guides.every((elem, _index11) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
641
|
+
path: _path + ".guides[" + _index11 + "]",
|
|
582
642
|
expected: "__type",
|
|
583
643
|
value: elem
|
|
584
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
585
|
-
path: _path + ".guides[" +
|
|
644
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index11 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
645
|
+
path: _path + ".guides[" + _index11 + "]",
|
|
586
646
|
expected: "__type",
|
|
587
647
|
value: elem
|
|
588
648
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -664,12 +724,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
664
724
|
path: _path + ".text",
|
|
665
725
|
expected: "(Array<__type>.o1 | undefined)",
|
|
666
726
|
value: input.text
|
|
667
|
-
}, errorFactory)) && input.text.every((elem,
|
|
668
|
-
path: _path + ".text[" +
|
|
727
|
+
}, errorFactory)) && input.text.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
728
|
+
path: _path + ".text[" + _index12 + "]",
|
|
669
729
|
expected: "__type.o1",
|
|
670
730
|
value: elem
|
|
671
|
-
}, errorFactory)) && $ao28(elem, _path + ".text[" +
|
|
672
|
-
path: _path + ".text[" +
|
|
731
|
+
}, errorFactory)) && $ao28(elem, _path + ".text[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
732
|
+
path: _path + ".text[" + _index12 + "]",
|
|
673
733
|
expected: "__type.o1",
|
|
674
734
|
value: elem
|
|
675
735
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -694,50 +754,71 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
694
754
|
expected: "string",
|
|
695
755
|
value: input.value
|
|
696
756
|
}, errorFactory));
|
|
697
|
-
const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
698
|
-
path: _path + ".
|
|
757
|
+
const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
758
|
+
path: _path + ".folded",
|
|
759
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
760
|
+
value: input.folded
|
|
761
|
+
}, errorFactory)) && $ao30(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
762
|
+
path: _path + ".folded",
|
|
699
763
|
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
764
|
+
value: input.folded
|
|
765
|
+
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
766
|
+
path: _path + ".assets",
|
|
767
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
700
768
|
value: input.assets
|
|
701
|
-
}, errorFactory)) && $
|
|
769
|
+
}, errorFactory)) && $ao31(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
702
770
|
path: _path + ".assets",
|
|
703
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
771
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
704
772
|
value: input.assets
|
|
705
773
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
706
774
|
path: _path + ".pipeline",
|
|
707
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
775
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
708
776
|
value: input.pipeline
|
|
709
|
-
}, errorFactory)) && $
|
|
777
|
+
}, errorFactory)) && $ao35(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
710
778
|
path: _path + ".pipeline",
|
|
711
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
779
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
712
780
|
value: input.pipeline
|
|
713
781
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
714
782
|
path: _path + ".item",
|
|
715
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
783
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
716
784
|
value: input.item
|
|
717
|
-
}, errorFactory)) && $
|
|
785
|
+
}, errorFactory)) && $ao37(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
718
786
|
path: _path + ".item",
|
|
719
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
787
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
720
788
|
value: input.item
|
|
721
789
|
}, errorFactory));
|
|
722
|
-
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.
|
|
790
|
+
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
791
|
+
path: _path + ".auto",
|
|
792
|
+
expected: "(boolean | undefined)",
|
|
793
|
+
value: input.auto
|
|
794
|
+
}, errorFactory);
|
|
795
|
+
const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
723
796
|
path: _path + ".story",
|
|
724
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
797
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
725
798
|
value: input.story
|
|
726
|
-
}, errorFactory)) && $
|
|
799
|
+
}, errorFactory)) && $ao32(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
727
800
|
path: _path + ".story",
|
|
728
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
801
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
729
802
|
value: input.story
|
|
730
|
-
}, errorFactory)
|
|
731
|
-
|
|
803
|
+
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
804
|
+
path: _path + ".note",
|
|
805
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
806
|
+
value: input.note
|
|
807
|
+
}, errorFactory)) && $ao34(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
808
|
+
path: _path + ".note",
|
|
809
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
810
|
+
value: input.note
|
|
811
|
+
}, errorFactory));
|
|
812
|
+
const $ao32 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
732
813
|
path: _path + ".excerpt",
|
|
733
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
814
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
734
815
|
value: input.excerpt
|
|
735
|
-
}, errorFactory)) && $
|
|
816
|
+
}, errorFactory)) && $ao33(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
736
817
|
path: _path + ".excerpt",
|
|
737
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
818
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
738
819
|
value: input.excerpt
|
|
739
820
|
}, errorFactory);
|
|
740
|
-
const $
|
|
821
|
+
const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
741
822
|
path: _path + ".maxLines",
|
|
742
823
|
expected: "(number | undefined)",
|
|
743
824
|
value: input.maxLines
|
|
@@ -746,40 +827,63 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
746
827
|
expected: "(string | undefined)",
|
|
747
828
|
value: input.mode
|
|
748
829
|
}, errorFactory));
|
|
749
|
-
const $
|
|
830
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
831
|
+
path: _path + ".maxHeight",
|
|
832
|
+
expected: "(number | undefined)",
|
|
833
|
+
value: input.maxHeight
|
|
834
|
+
}, errorFactory);
|
|
835
|
+
const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
750
836
|
path: _path + ".search",
|
|
751
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
837
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
752
838
|
value: input.search
|
|
753
|
-
}, errorFactory)) && $
|
|
839
|
+
}, errorFactory)) && $ao36(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
754
840
|
path: _path + ".search",
|
|
755
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
841
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
756
842
|
value: input.search
|
|
757
|
-
}, errorFactory)
|
|
758
|
-
|
|
843
|
+
}, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
|
|
844
|
+
path: _path + ".sortMode",
|
|
845
|
+
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
846
|
+
value: input.sortMode
|
|
847
|
+
}, errorFactory));
|
|
848
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
759
849
|
path: _path + ".maxItemsDisplayed",
|
|
760
850
|
expected: "(number | undefined)",
|
|
761
851
|
value: input.maxItemsDisplayed
|
|
762
852
|
}, errorFactory);
|
|
763
|
-
const $
|
|
853
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
764
854
|
path: _path + ".maxHeight",
|
|
765
855
|
expected: "(number | undefined)",
|
|
766
856
|
value: input.maxHeight
|
|
767
857
|
}, errorFactory);
|
|
768
|
-
const $
|
|
858
|
+
const $ao38 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
859
|
+
path: _path + ".id",
|
|
860
|
+
expected: "string",
|
|
861
|
+
value: input.id
|
|
862
|
+
}, errorFactory)) && ("boolean" === typeof input.folded || $guard(_exceptionable, {
|
|
863
|
+
path: _path + ".folded",
|
|
864
|
+
expected: "boolean",
|
|
865
|
+
value: input.folded
|
|
866
|
+
}, errorFactory));
|
|
867
|
+
const $ao39 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
769
868
|
path: _path + ".adobe",
|
|
770
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
869
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
771
870
|
value: input.adobe
|
|
772
|
-
}, errorFactory)) && $
|
|
871
|
+
}, errorFactory)) && $ao40(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
773
872
|
path: _path + ".adobe",
|
|
774
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
873
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
775
874
|
value: input.adobe
|
|
776
875
|
}, errorFactory);
|
|
777
|
-
const $
|
|
876
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
778
877
|
path: _path + ".useProxies",
|
|
779
878
|
expected: "(boolean | undefined)",
|
|
780
879
|
value: input.useProxies
|
|
781
880
|
}, errorFactory);
|
|
782
|
-
const $
|
|
881
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
882
|
+
path: _path + ".collections",
|
|
883
|
+
expected: "(boolean | undefined)",
|
|
884
|
+
value: input.collections
|
|
885
|
+
}, errorFactory);
|
|
886
|
+
const $ao42 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
783
887
|
path: _path + ".utils",
|
|
784
888
|
expected: "(boolean | undefined)",
|
|
785
889
|
value: input.utils
|
|
@@ -835,6 +939,10 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
835
939
|
path: _path + ".assetRoute",
|
|
836
940
|
expected: "(boolean | undefined)",
|
|
837
941
|
value: input.assetRoute
|
|
942
|
+
}, errorFactory)) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings || $guard(_exceptionable, {
|
|
943
|
+
path: _path + ".devWarnings",
|
|
944
|
+
expected: "(boolean | undefined)",
|
|
945
|
+
value: input.devWarnings
|
|
838
946
|
}, errorFactory));
|
|
839
947
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
840
948
|
path: _path + "",
|
|
@@ -928,9 +1036,13 @@ export const randomSettingsRecord = generator => {
|
|
|
928
1036
|
() => undefined,
|
|
929
1037
|
() => $ro29(_recursive, _recursive ? 1 + _depth : _depth)
|
|
930
1038
|
])(),
|
|
1039
|
+
hiddenPreviews: $pick([
|
|
1040
|
+
() => undefined,
|
|
1041
|
+
() => (generator?.array ?? $generator.array)(() => $ro38(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1042
|
+
])(),
|
|
931
1043
|
plugins: $pick([
|
|
932
1044
|
() => undefined,
|
|
933
|
-
() => $
|
|
1045
|
+
() => $ro39(_recursive, _recursive ? 1 + _depth : _depth)
|
|
934
1046
|
])(),
|
|
935
1047
|
crashScreen: $pick([
|
|
936
1048
|
() => undefined,
|
|
@@ -940,9 +1052,13 @@ export const randomSettingsRecord = generator => {
|
|
|
940
1052
|
() => undefined,
|
|
941
1053
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
942
1054
|
])(),
|
|
1055
|
+
featurePreview: $pick([
|
|
1056
|
+
() => undefined,
|
|
1057
|
+
() => $ro41(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1058
|
+
])(),
|
|
943
1059
|
flags: $pick([
|
|
944
1060
|
() => undefined,
|
|
945
|
-
() => $
|
|
1061
|
+
() => $ro42(_recursive, _recursive ? 1 + _depth : _depth)
|
|
946
1062
|
])()
|
|
947
1063
|
});
|
|
948
1064
|
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1012,12 +1128,20 @@ export const randomSettingsRecord = generator => {
|
|
|
1012
1128
|
include: $pick([
|
|
1013
1129
|
() => undefined,
|
|
1014
1130
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1131
|
+
])(),
|
|
1132
|
+
exclude: $pick([
|
|
1133
|
+
() => undefined,
|
|
1134
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1015
1135
|
])()
|
|
1016
1136
|
});
|
|
1017
1137
|
const $ro10 = (_recursive = false, _depth = 0) => ({
|
|
1018
1138
|
include: $pick([
|
|
1019
1139
|
() => undefined,
|
|
1020
1140
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1141
|
+
])(),
|
|
1142
|
+
exclude: $pick([
|
|
1143
|
+
() => undefined,
|
|
1144
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1021
1145
|
])()
|
|
1022
1146
|
});
|
|
1023
1147
|
const $ro11 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1127,6 +1251,10 @@ export const randomSettingsRecord = generator => {
|
|
|
1127
1251
|
() => undefined,
|
|
1128
1252
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1129
1253
|
])(),
|
|
1254
|
+
openCommand: $pick([
|
|
1255
|
+
() => undefined,
|
|
1256
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1257
|
+
])(),
|
|
1130
1258
|
guide: $pick([
|
|
1131
1259
|
() => undefined,
|
|
1132
1260
|
() => $ro21(_recursive, _recursive ? 1 + _depth : _depth)
|
|
@@ -1269,32 +1397,46 @@ export const randomSettingsRecord = generator => {
|
|
|
1269
1397
|
value: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1270
1398
|
});
|
|
1271
1399
|
const $ro29 = (_recursive = false, _depth = 0) => ({
|
|
1272
|
-
|
|
1400
|
+
folded: $pick([
|
|
1273
1401
|
() => undefined,
|
|
1274
1402
|
() => $ro30(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1275
1403
|
])(),
|
|
1404
|
+
assets: $pick([
|
|
1405
|
+
() => undefined,
|
|
1406
|
+
() => $ro31(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1407
|
+
])(),
|
|
1276
1408
|
pipeline: $pick([
|
|
1277
1409
|
() => undefined,
|
|
1278
|
-
() => $
|
|
1410
|
+
() => $ro35(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1279
1411
|
])(),
|
|
1280
1412
|
item: $pick([
|
|
1281
1413
|
() => undefined,
|
|
1282
|
-
() => $
|
|
1414
|
+
() => $ro37(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1283
1415
|
])()
|
|
1284
1416
|
});
|
|
1285
1417
|
const $ro30 = (_recursive = false, _depth = 0) => ({
|
|
1286
|
-
|
|
1418
|
+
auto: $pick([
|
|
1287
1419
|
() => undefined,
|
|
1288
|
-
() =>
|
|
1420
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1289
1421
|
])()
|
|
1290
1422
|
});
|
|
1291
1423
|
const $ro31 = (_recursive = false, _depth = 0) => ({
|
|
1292
|
-
|
|
1424
|
+
story: $pick([
|
|
1293
1425
|
() => undefined,
|
|
1294
1426
|
() => $ro32(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1427
|
+
])(),
|
|
1428
|
+
note: $pick([
|
|
1429
|
+
() => undefined,
|
|
1430
|
+
() => $ro34(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1295
1431
|
])()
|
|
1296
1432
|
});
|
|
1297
1433
|
const $ro32 = (_recursive = false, _depth = 0) => ({
|
|
1434
|
+
excerpt: $pick([
|
|
1435
|
+
() => undefined,
|
|
1436
|
+
() => $ro33(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1437
|
+
])()
|
|
1438
|
+
});
|
|
1439
|
+
const $ro33 = (_recursive = false, _depth = 0) => ({
|
|
1298
1440
|
maxLines: $pick([
|
|
1299
1441
|
() => undefined,
|
|
1300
1442
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1304,37 +1446,64 @@ export const randomSettingsRecord = generator => {
|
|
|
1304
1446
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1305
1447
|
])()
|
|
1306
1448
|
});
|
|
1307
|
-
const $
|
|
1449
|
+
const $ro34 = (_recursive = false, _depth = 0) => ({
|
|
1450
|
+
maxHeight: $pick([
|
|
1451
|
+
() => undefined,
|
|
1452
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1453
|
+
])()
|
|
1454
|
+
});
|
|
1455
|
+
const $ro35 = (_recursive = false, _depth = 0) => ({
|
|
1308
1456
|
search: $pick([
|
|
1309
1457
|
() => undefined,
|
|
1310
|
-
() => $
|
|
1458
|
+
() => $ro36(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1459
|
+
])(),
|
|
1460
|
+
sortMode: $pick([
|
|
1461
|
+
() => undefined,
|
|
1462
|
+
() => "default",
|
|
1463
|
+
() => "manual",
|
|
1464
|
+
() => "az",
|
|
1465
|
+
() => "za",
|
|
1466
|
+
() => "newest",
|
|
1467
|
+
() => "oldest",
|
|
1468
|
+
() => "mostrecent",
|
|
1469
|
+
() => "leastrecent"
|
|
1311
1470
|
])()
|
|
1312
1471
|
});
|
|
1313
|
-
const $
|
|
1472
|
+
const $ro36 = (_recursive = false, _depth = 0) => ({
|
|
1314
1473
|
maxItemsDisplayed: $pick([
|
|
1315
1474
|
() => undefined,
|
|
1316
1475
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1317
1476
|
])()
|
|
1318
1477
|
});
|
|
1319
|
-
const $
|
|
1478
|
+
const $ro37 = (_recursive = false, _depth = 0) => ({
|
|
1320
1479
|
maxHeight: $pick([
|
|
1321
1480
|
() => undefined,
|
|
1322
1481
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1323
1482
|
])()
|
|
1324
1483
|
});
|
|
1325
|
-
const $
|
|
1484
|
+
const $ro38 = (_recursive = false, _depth = 0) => ({
|
|
1485
|
+
id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1486
|
+
folded: (generator?.boolean ?? $generator.boolean)()
|
|
1487
|
+
});
|
|
1488
|
+
const $ro39 = (_recursive = false, _depth = 0) => ({
|
|
1326
1489
|
adobe: $pick([
|
|
1327
1490
|
() => undefined,
|
|
1328
|
-
() => $
|
|
1491
|
+
() => $ro40(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1329
1492
|
])()
|
|
1330
1493
|
});
|
|
1331
|
-
const $
|
|
1494
|
+
const $ro40 = (_recursive = false, _depth = 0) => ({
|
|
1332
1495
|
useProxies: $pick([
|
|
1333
1496
|
() => undefined,
|
|
1334
1497
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1335
1498
|
])()
|
|
1336
1499
|
});
|
|
1337
|
-
const $
|
|
1500
|
+
const $ro41 = (_recursive = false, _depth = 0) => ({
|
|
1501
|
+
collections: $pick([
|
|
1502
|
+
() => undefined,
|
|
1503
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1504
|
+
])()
|
|
1505
|
+
});
|
|
1506
|
+
const $ro42 = (_recursive = false, _depth = 0) => ({
|
|
1338
1507
|
utils: $pick([
|
|
1339
1508
|
() => undefined,
|
|
1340
1509
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -1390,13 +1559,17 @@ export const randomSettingsRecord = generator => {
|
|
|
1390
1559
|
assetRoute: $pick([
|
|
1391
1560
|
() => undefined,
|
|
1392
1561
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1562
|
+
])(),
|
|
1563
|
+
devWarnings: $pick([
|
|
1564
|
+
() => undefined,
|
|
1565
|
+
() => (generator?.boolean ?? $generator.boolean)()
|
|
1393
1566
|
])()
|
|
1394
1567
|
});
|
|
1395
1568
|
return $ro0();
|
|
1396
1569
|
};
|
|
1397
1570
|
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
1398
1571
|
const __is = input => {
|
|
1399
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $
|
|
1572
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io38(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io39(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) && $io41(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io42(input.flags));
|
|
1400
1573
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
1401
1574
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
1402
1575
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -1412,8 +1585,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1412
1585
|
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
1413
1586
|
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
1414
1587
|
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
1415
|
-
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1416
|
-
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
1588
|
+
const $io9 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
1589
|
+
const $io10 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
1417
1590
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
1418
1591
|
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
1419
1592
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
@@ -1423,7 +1596,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1423
1596
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
1424
1597
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
1425
1598
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
1426
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
1599
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.openCommand || "string" === typeof input.openCommand) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
1427
1600
|
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
1428
1601
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
1429
1602
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -1432,16 +1605,20 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1432
1605
|
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
1433
1606
|
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
1434
1607
|
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1435
|
-
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $
|
|
1436
|
-
const $io30 = input => undefined === input.
|
|
1437
|
-
const $io31 = input => undefined === input.
|
|
1438
|
-
const $io32 = input =>
|
|
1439
|
-
const $io33 = input => undefined === input.
|
|
1440
|
-
const $io34 = input => undefined === input.
|
|
1441
|
-
const $io35 = input => undefined === input.
|
|
1442
|
-
const $io36 = input => undefined === input.
|
|
1443
|
-
const $io37 = input => undefined === input.
|
|
1444
|
-
const $io38 = input =>
|
|
1608
|
+
const $io29 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io30(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io31(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io35(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io37(input.item));
|
|
1609
|
+
const $io30 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
1610
|
+
const $io31 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io32(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io34(input.note));
|
|
1611
|
+
const $io32 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io33(input.excerpt);
|
|
1612
|
+
const $io33 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
1613
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1614
|
+
const $io35 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io36(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
1615
|
+
const $io36 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
1616
|
+
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1617
|
+
const $io38 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
1618
|
+
const $io39 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io40(input.adobe);
|
|
1619
|
+
const $io40 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
1620
|
+
const $io41 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
1621
|
+
const $io42 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
1445
1622
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1446
1623
|
};
|
|
1447
1624
|
if (false === __is(input))
|
|
@@ -1588,13 +1765,29 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1588
1765
|
path: _path + ".storyboard",
|
|
1589
1766
|
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
1590
1767
|
value: input.storyboard
|
|
1768
|
+
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
1769
|
+
path: _path + ".hiddenPreviews",
|
|
1770
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
1771
|
+
value: input.hiddenPreviews
|
|
1772
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index2) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
1773
|
+
path: _path + ".hiddenPreviews[" + _index2 + "]",
|
|
1774
|
+
expected: "__type.o2",
|
|
1775
|
+
value: elem
|
|
1776
|
+
}, errorFactory)) && $ao38(elem, _path + ".hiddenPreviews[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
1777
|
+
path: _path + ".hiddenPreviews[" + _index2 + "]",
|
|
1778
|
+
expected: "__type.o2",
|
|
1779
|
+
value: elem
|
|
1780
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1781
|
+
path: _path + ".hiddenPreviews",
|
|
1782
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
1783
|
+
value: input.hiddenPreviews
|
|
1591
1784
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
1592
1785
|
path: _path + ".plugins",
|
|
1593
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1786
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
1594
1787
|
value: input.plugins
|
|
1595
|
-
}, errorFactory)) && $
|
|
1788
|
+
}, errorFactory)) && $ao39(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
1596
1789
|
path: _path + ".plugins",
|
|
1597
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1790
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
1598
1791
|
value: input.plugins
|
|
1599
1792
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
1600
1793
|
path: _path + ".crashScreen",
|
|
@@ -1604,13 +1797,21 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1604
1797
|
path: _path + ".debug",
|
|
1605
1798
|
expected: "(boolean | undefined)",
|
|
1606
1799
|
value: input.debug
|
|
1800
|
+
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
1801
|
+
path: _path + ".featurePreview",
|
|
1802
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
1803
|
+
value: input.featurePreview
|
|
1804
|
+
}, errorFactory)) && $ao41(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
1805
|
+
path: _path + ".featurePreview",
|
|
1806
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
1807
|
+
value: input.featurePreview
|
|
1607
1808
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
1608
1809
|
path: _path + ".flags",
|
|
1609
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1810
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
1610
1811
|
value: input.flags
|
|
1611
|
-
}, errorFactory)) && $
|
|
1812
|
+
}, errorFactory)) && $ao42(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
1612
1813
|
path: _path + ".flags",
|
|
1613
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1814
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
1614
1815
|
value: input.flags
|
|
1615
1816
|
}, errorFactory));
|
|
1616
1817
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -1682,8 +1883,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1682
1883
|
path: _path + ".sortOrder",
|
|
1683
1884
|
expected: "(Array<string> | undefined)",
|
|
1684
1885
|
value: input.sortOrder
|
|
1685
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
1686
|
-
path: _path + ".sortOrder[" +
|
|
1886
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1887
|
+
path: _path + ".sortOrder[" + _index3 + "]",
|
|
1687
1888
|
expected: "string",
|
|
1688
1889
|
value: elem
|
|
1689
1890
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1695,8 +1896,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1695
1896
|
path: _path + ".exclude",
|
|
1696
1897
|
expected: "(Array<string> | undefined)",
|
|
1697
1898
|
value: input.exclude
|
|
1698
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
1699
|
-
path: _path + ".exclude[" +
|
|
1899
|
+
}, errorFactory)) && input.exclude.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1900
|
+
path: _path + ".exclude[" + _index4 + "]",
|
|
1700
1901
|
expected: "string",
|
|
1701
1902
|
value: elem
|
|
1702
1903
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1704,32 +1905,56 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1704
1905
|
expected: "(Array<string> | undefined)",
|
|
1705
1906
|
value: input.exclude
|
|
1706
1907
|
}, errorFactory);
|
|
1707
|
-
const $ao9 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
1908
|
+
const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
1708
1909
|
path: _path + ".include",
|
|
1709
1910
|
expected: "(Array<string> | undefined)",
|
|
1710
1911
|
value: input.include
|
|
1711
|
-
}, errorFactory)) && input.include.every((elem,
|
|
1712
|
-
path: _path + ".include[" +
|
|
1912
|
+
}, errorFactory)) && input.include.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1913
|
+
path: _path + ".include[" + _index5 + "]",
|
|
1713
1914
|
expected: "string",
|
|
1714
1915
|
value: elem
|
|
1715
1916
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
1716
1917
|
path: _path + ".include",
|
|
1717
1918
|
expected: "(Array<string> | undefined)",
|
|
1718
1919
|
value: input.include
|
|
1719
|
-
}, errorFactory)
|
|
1720
|
-
|
|
1920
|
+
}, errorFactory)) && (undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
1921
|
+
path: _path + ".exclude",
|
|
1922
|
+
expected: "(Array<string> | undefined)",
|
|
1923
|
+
value: input.exclude
|
|
1924
|
+
}, errorFactory)) && input.exclude.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1925
|
+
path: _path + ".exclude[" + _index6 + "]",
|
|
1926
|
+
expected: "string",
|
|
1927
|
+
value: elem
|
|
1928
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1929
|
+
path: _path + ".exclude",
|
|
1930
|
+
expected: "(Array<string> | undefined)",
|
|
1931
|
+
value: input.exclude
|
|
1932
|
+
}, errorFactory));
|
|
1933
|
+
const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
1721
1934
|
path: _path + ".include",
|
|
1722
1935
|
expected: "(Array<string> | undefined)",
|
|
1723
1936
|
value: input.include
|
|
1724
|
-
}, errorFactory)) && input.include.every((elem,
|
|
1725
|
-
path: _path + ".include[" +
|
|
1937
|
+
}, errorFactory)) && input.include.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1938
|
+
path: _path + ".include[" + _index7 + "]",
|
|
1726
1939
|
expected: "string",
|
|
1727
1940
|
value: elem
|
|
1728
1941
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
1729
1942
|
path: _path + ".include",
|
|
1730
1943
|
expected: "(Array<string> | undefined)",
|
|
1731
1944
|
value: input.include
|
|
1732
|
-
}, errorFactory)
|
|
1945
|
+
}, errorFactory)) && (undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
1946
|
+
path: _path + ".exclude",
|
|
1947
|
+
expected: "(Array<string> | undefined)",
|
|
1948
|
+
value: input.exclude
|
|
1949
|
+
}, errorFactory)) && input.exclude.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1950
|
+
path: _path + ".exclude[" + _index8 + "]",
|
|
1951
|
+
expected: "string",
|
|
1952
|
+
value: elem
|
|
1953
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1954
|
+
path: _path + ".exclude",
|
|
1955
|
+
expected: "(Array<string> | undefined)",
|
|
1956
|
+
value: input.exclude
|
|
1957
|
+
}, errorFactory));
|
|
1733
1958
|
const $ao11 = (input, _path, _exceptionable = true) => (undefined === input.enable || "boolean" === typeof input.enable || $guard(_exceptionable, {
|
|
1734
1959
|
path: _path + ".enable",
|
|
1735
1960
|
expected: "(boolean | undefined)",
|
|
@@ -1789,12 +2014,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1789
2014
|
path: _path + ".colorTags",
|
|
1790
2015
|
expected: "(Array<PromotedTag> | undefined)",
|
|
1791
2016
|
value: input.colorTags
|
|
1792
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
1793
|
-
path: _path + ".colorTags[" +
|
|
2017
|
+
}, errorFactory)) && input.colorTags.every((elem, _index9) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2018
|
+
path: _path + ".colorTags[" + _index9 + "]",
|
|
1794
2019
|
expected: "PromotedTag",
|
|
1795
2020
|
value: elem
|
|
1796
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
1797
|
-
path: _path + ".colorTags[" +
|
|
2021
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2022
|
+
path: _path + ".colorTags[" + _index9 + "]",
|
|
1798
2023
|
expected: "PromotedTag",
|
|
1799
2024
|
value: elem
|
|
1800
2025
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1843,6 +2068,10 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1843
2068
|
path: _path + ".placeholder",
|
|
1844
2069
|
expected: "(string | undefined)",
|
|
1845
2070
|
value: input.placeholder
|
|
2071
|
+
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || $guard(_exceptionable, {
|
|
2072
|
+
path: _path + ".openCommand",
|
|
2073
|
+
expected: "(string | undefined)",
|
|
2074
|
+
value: input.openCommand
|
|
1846
2075
|
}, errorFactory)) && (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
1847
2076
|
path: _path + ".guide",
|
|
1848
2077
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
@@ -1895,8 +2124,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1895
2124
|
path: _path + ".playbackRates",
|
|
1896
2125
|
expected: "(Array<number> | undefined)",
|
|
1897
2126
|
value: input.playbackRates
|
|
1898
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
1899
|
-
path: _path + ".playbackRates[" +
|
|
2127
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index10) => "number" === typeof elem || $guard(_exceptionable, {
|
|
2128
|
+
path: _path + ".playbackRates[" + _index10 + "]",
|
|
1900
2129
|
expected: "number",
|
|
1901
2130
|
value: elem
|
|
1902
2131
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1923,12 +2152,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1923
2152
|
path: _path + ".guides",
|
|
1924
2153
|
expected: "(Array<__type> | undefined)",
|
|
1925
2154
|
value: input.guides
|
|
1926
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
1927
|
-
path: _path + ".guides[" +
|
|
2155
|
+
}, errorFactory)) && input.guides.every((elem, _index11) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2156
|
+
path: _path + ".guides[" + _index11 + "]",
|
|
1928
2157
|
expected: "__type",
|
|
1929
2158
|
value: elem
|
|
1930
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
1931
|
-
path: _path + ".guides[" +
|
|
2159
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index11 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2160
|
+
path: _path + ".guides[" + _index11 + "]",
|
|
1932
2161
|
expected: "__type",
|
|
1933
2162
|
value: elem
|
|
1934
2163
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2010,12 +2239,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2010
2239
|
path: _path + ".text",
|
|
2011
2240
|
expected: "(Array<__type>.o1 | undefined)",
|
|
2012
2241
|
value: input.text
|
|
2013
|
-
}, errorFactory)) && input.text.every((elem,
|
|
2014
|
-
path: _path + ".text[" +
|
|
2242
|
+
}, errorFactory)) && input.text.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2243
|
+
path: _path + ".text[" + _index12 + "]",
|
|
2015
2244
|
expected: "__type.o1",
|
|
2016
2245
|
value: elem
|
|
2017
|
-
}, errorFactory)) && $ao28(elem, _path + ".text[" +
|
|
2018
|
-
path: _path + ".text[" +
|
|
2246
|
+
}, errorFactory)) && $ao28(elem, _path + ".text[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2247
|
+
path: _path + ".text[" + _index12 + "]",
|
|
2019
2248
|
expected: "__type.o1",
|
|
2020
2249
|
value: elem
|
|
2021
2250
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2040,50 +2269,71 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2040
2269
|
expected: "string",
|
|
2041
2270
|
value: input.value
|
|
2042
2271
|
}, errorFactory));
|
|
2043
|
-
const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
2044
|
-
path: _path + ".
|
|
2272
|
+
const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
2273
|
+
path: _path + ".folded",
|
|
2045
2274
|
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
2275
|
+
value: input.folded
|
|
2276
|
+
}, errorFactory)) && $ao30(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
2277
|
+
path: _path + ".folded",
|
|
2278
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
2279
|
+
value: input.folded
|
|
2280
|
+
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
2281
|
+
path: _path + ".assets",
|
|
2282
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2046
2283
|
value: input.assets
|
|
2047
|
-
}, errorFactory)) && $
|
|
2284
|
+
}, errorFactory)) && $ao31(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2048
2285
|
path: _path + ".assets",
|
|
2049
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2286
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2050
2287
|
value: input.assets
|
|
2051
2288
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
2052
2289
|
path: _path + ".pipeline",
|
|
2053
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2290
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2054
2291
|
value: input.pipeline
|
|
2055
|
-
}, errorFactory)) && $
|
|
2292
|
+
}, errorFactory)) && $ao35(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2056
2293
|
path: _path + ".pipeline",
|
|
2057
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2294
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2058
2295
|
value: input.pipeline
|
|
2059
2296
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
2060
2297
|
path: _path + ".item",
|
|
2061
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2298
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2062
2299
|
value: input.item
|
|
2063
|
-
}, errorFactory)) && $
|
|
2300
|
+
}, errorFactory)) && $ao37(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2064
2301
|
path: _path + ".item",
|
|
2065
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2302
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2066
2303
|
value: input.item
|
|
2067
2304
|
}, errorFactory));
|
|
2068
|
-
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.
|
|
2305
|
+
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
2306
|
+
path: _path + ".auto",
|
|
2307
|
+
expected: "(boolean | undefined)",
|
|
2308
|
+
value: input.auto
|
|
2309
|
+
}, errorFactory);
|
|
2310
|
+
const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
2069
2311
|
path: _path + ".story",
|
|
2070
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2312
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2071
2313
|
value: input.story
|
|
2072
|
-
}, errorFactory)) && $
|
|
2314
|
+
}, errorFactory)) && $ao32(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2073
2315
|
path: _path + ".story",
|
|
2074
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2316
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2075
2317
|
value: input.story
|
|
2076
|
-
}, errorFactory)
|
|
2077
|
-
|
|
2318
|
+
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
2319
|
+
path: _path + ".note",
|
|
2320
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2321
|
+
value: input.note
|
|
2322
|
+
}, errorFactory)) && $ao34(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
2323
|
+
path: _path + ".note",
|
|
2324
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2325
|
+
value: input.note
|
|
2326
|
+
}, errorFactory));
|
|
2327
|
+
const $ao32 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
2078
2328
|
path: _path + ".excerpt",
|
|
2079
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2329
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2080
2330
|
value: input.excerpt
|
|
2081
|
-
}, errorFactory)) && $
|
|
2331
|
+
}, errorFactory)) && $ao33(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2082
2332
|
path: _path + ".excerpt",
|
|
2083
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2333
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2084
2334
|
value: input.excerpt
|
|
2085
2335
|
}, errorFactory);
|
|
2086
|
-
const $
|
|
2336
|
+
const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
2087
2337
|
path: _path + ".maxLines",
|
|
2088
2338
|
expected: "(number | undefined)",
|
|
2089
2339
|
value: input.maxLines
|
|
@@ -2092,40 +2342,63 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2092
2342
|
expected: "(string | undefined)",
|
|
2093
2343
|
value: input.mode
|
|
2094
2344
|
}, errorFactory));
|
|
2095
|
-
const $
|
|
2345
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2346
|
+
path: _path + ".maxHeight",
|
|
2347
|
+
expected: "(number | undefined)",
|
|
2348
|
+
value: input.maxHeight
|
|
2349
|
+
}, errorFactory);
|
|
2350
|
+
const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2096
2351
|
path: _path + ".search",
|
|
2097
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2352
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2098
2353
|
value: input.search
|
|
2099
|
-
}, errorFactory)) && $
|
|
2354
|
+
}, errorFactory)) && $ao36(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2100
2355
|
path: _path + ".search",
|
|
2101
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2356
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2102
2357
|
value: input.search
|
|
2103
|
-
}, errorFactory)
|
|
2104
|
-
|
|
2358
|
+
}, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
|
|
2359
|
+
path: _path + ".sortMode",
|
|
2360
|
+
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
2361
|
+
value: input.sortMode
|
|
2362
|
+
}, errorFactory));
|
|
2363
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
2105
2364
|
path: _path + ".maxItemsDisplayed",
|
|
2106
2365
|
expected: "(number | undefined)",
|
|
2107
2366
|
value: input.maxItemsDisplayed
|
|
2108
2367
|
}, errorFactory);
|
|
2109
|
-
const $
|
|
2368
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2110
2369
|
path: _path + ".maxHeight",
|
|
2111
2370
|
expected: "(number | undefined)",
|
|
2112
2371
|
value: input.maxHeight
|
|
2113
2372
|
}, errorFactory);
|
|
2114
|
-
const $
|
|
2373
|
+
const $ao38 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
2374
|
+
path: _path + ".id",
|
|
2375
|
+
expected: "string",
|
|
2376
|
+
value: input.id
|
|
2377
|
+
}, errorFactory)) && ("boolean" === typeof input.folded || $guard(_exceptionable, {
|
|
2378
|
+
path: _path + ".folded",
|
|
2379
|
+
expected: "boolean",
|
|
2380
|
+
value: input.folded
|
|
2381
|
+
}, errorFactory));
|
|
2382
|
+
const $ao39 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
2115
2383
|
path: _path + ".adobe",
|
|
2116
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2384
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2117
2385
|
value: input.adobe
|
|
2118
|
-
}, errorFactory)) && $
|
|
2386
|
+
}, errorFactory)) && $ao40(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2119
2387
|
path: _path + ".adobe",
|
|
2120
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2388
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2121
2389
|
value: input.adobe
|
|
2122
2390
|
}, errorFactory);
|
|
2123
|
-
const $
|
|
2391
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2124
2392
|
path: _path + ".useProxies",
|
|
2125
2393
|
expected: "(boolean | undefined)",
|
|
2126
2394
|
value: input.useProxies
|
|
2127
2395
|
}, errorFactory);
|
|
2128
|
-
const $
|
|
2396
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
2397
|
+
path: _path + ".collections",
|
|
2398
|
+
expected: "(boolean | undefined)",
|
|
2399
|
+
value: input.collections
|
|
2400
|
+
}, errorFactory);
|
|
2401
|
+
const $ao42 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2129
2402
|
path: _path + ".utils",
|
|
2130
2403
|
expected: "(boolean | undefined)",
|
|
2131
2404
|
value: input.utils
|
|
@@ -2181,6 +2454,10 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2181
2454
|
path: _path + ".assetRoute",
|
|
2182
2455
|
expected: "(boolean | undefined)",
|
|
2183
2456
|
value: input.assetRoute
|
|
2457
|
+
}, errorFactory)) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings || $guard(_exceptionable, {
|
|
2458
|
+
path: _path + ".devWarnings",
|
|
2459
|
+
expected: "(boolean | undefined)",
|
|
2460
|
+
value: input.devWarnings
|
|
2184
2461
|
}, errorFactory));
|
|
2185
2462
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
2186
2463
|
path: _path + "",
|
|
@@ -2209,8 +2486,8 @@ export const stringifySettingsRecord = input => {
|
|
|
2209
2486
|
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
2210
2487
|
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
2211
2488
|
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
2212
|
-
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2213
|
-
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2489
|
+
const $io9 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
2490
|
+
const $io10 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
2214
2491
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
2215
2492
|
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
2216
2493
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
@@ -2220,7 +2497,7 @@ export const stringifySettingsRecord = input => {
|
|
|
2220
2497
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
2221
2498
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2222
2499
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2223
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
2500
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.openCommand || "string" === typeof input.openCommand) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
2224
2501
|
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2225
2502
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2226
2503
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -2229,20 +2506,24 @@ export const stringifySettingsRecord = input => {
|
|
|
2229
2506
|
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
2230
2507
|
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
2231
2508
|
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2232
|
-
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $
|
|
2233
|
-
const $io30 = input => undefined === input.
|
|
2234
|
-
const $io31 = input => undefined === input.
|
|
2235
|
-
const $io32 = input =>
|
|
2236
|
-
const $io33 = input => undefined === input.
|
|
2237
|
-
const $io34 = input => undefined === input.
|
|
2238
|
-
const $io35 = input => undefined === input.
|
|
2239
|
-
const $io36 = input => undefined === input.
|
|
2240
|
-
const $io37 = input => undefined === input.
|
|
2241
|
-
const $io38 = input =>
|
|
2509
|
+
const $io29 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io30(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io31(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io35(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io37(input.item));
|
|
2510
|
+
const $io30 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
2511
|
+
const $io31 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io32(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io34(input.note));
|
|
2512
|
+
const $io32 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io33(input.excerpt);
|
|
2513
|
+
const $io33 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2514
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2515
|
+
const $io35 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io36(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
2516
|
+
const $io36 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
2517
|
+
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2518
|
+
const $io38 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
2519
|
+
const $io39 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io40(input.adobe);
|
|
2520
|
+
const $io40 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2521
|
+
const $io41 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
2522
|
+
const $io42 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
2242
2523
|
const $string = __typia.json.createStringify.string;
|
|
2243
2524
|
const $tail = __typia.json.createStringify.tail;
|
|
2244
2525
|
const $throws = __typia.json.createStringify.throws;
|
|
2245
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so29(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $
|
|
2526
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so29(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 ? $so39(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 ? $so41(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so42(input.flags) : undefined}`}`)}}`;
|
|
2246
2527
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
2247
2528
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
2248
2529
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -2253,8 +2534,8 @@ export const stringifySettingsRecord = input => {
|
|
|
2253
2534
|
const $so6 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so7(input.createMenu) : undefined}`}`)}}`;
|
|
2254
2535
|
const $so7 = input => `{${$tail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2255
2536
|
const $so8 = input => `{${$tail(`${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2256
|
-
const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2257
|
-
const $so10 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2537
|
+
const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2538
|
+
const $so10 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
2258
2539
|
const $so11 = input => `{${$tail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined}`}`)}}`;
|
|
2259
2540
|
const $so12 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined},`}${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined}`}`)}}`;
|
|
2260
2541
|
const $so13 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
|
|
@@ -2264,7 +2545,7 @@ export const stringifySettingsRecord = input => {
|
|
|
2264
2545
|
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
2265
2546
|
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
2266
2547
|
const $so19 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
2267
|
-
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so25(input.transcribe) : undefined}`}`)}}`;
|
|
2548
|
+
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? $string(input.openCommand) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so25(input.transcribe) : undefined}`}`)}}`;
|
|
2268
2549
|
const $so21 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
2269
2550
|
const $so22 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? (() => {
|
|
2270
2551
|
if ("string" === typeof input.preview)
|
|
@@ -2282,21 +2563,33 @@ export const stringifySettingsRecord = input => {
|
|
|
2282
2563
|
const $so25 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so26(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
2283
2564
|
const $so26 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so27(input.defaultValue) : undefined}`}`)}}`;
|
|
2284
2565
|
const $so27 = 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}`}`)}}`;
|
|
2285
|
-
const $so29 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $
|
|
2286
|
-
const $so30 = input => `{${$tail(`${undefined === input.
|
|
2287
|
-
const $so31 = input => `{${$tail(`${undefined === input.
|
|
2288
|
-
const $so32 = input => `{${$tail(`${undefined === input.
|
|
2289
|
-
const $so33 = input => `{${$tail(`${undefined === input.
|
|
2290
|
-
const $so34 = input => `{${$tail(`${undefined === input.
|
|
2291
|
-
const $so35 = input => `{${$tail(`${undefined === input.
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2566
|
+
const $so29 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so30(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so31(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so35(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so37(input.item) : undefined}`}`)}}`;
|
|
2567
|
+
const $so30 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
2568
|
+
const $so31 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so32(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so34(input.note) : undefined}`}`)}}`;
|
|
2569
|
+
const $so32 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so33(input.excerpt) : undefined}`}`)}}`;
|
|
2570
|
+
const $so33 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
2571
|
+
const $so34 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
2572
|
+
const $so35 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so36(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
2573
|
+
if ("string" === typeof input.sortMode)
|
|
2574
|
+
return $string(input.sortMode);
|
|
2575
|
+
if ("string" === typeof input.sortMode)
|
|
2576
|
+
return "\"" + input.sortMode + "\"";
|
|
2577
|
+
$throws({
|
|
2578
|
+
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
2579
|
+
value: input.sortMode
|
|
2580
|
+
});
|
|
2581
|
+
})() : undefined}`}`)}}`;
|
|
2582
|
+
const $so36 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
2583
|
+
const $so37 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
2584
|
+
const $so39 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so40(input.adobe) : undefined}`}`)}}`;
|
|
2585
|
+
const $so40 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
2586
|
+
const $so41 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
2587
|
+
const $so42 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined},`}${undefined === input.devWarnings ? "" : `"devWarnings":${undefined !== input.devWarnings ? input.devWarnings : undefined}`}`)}}`;
|
|
2295
2588
|
return $so0(input);
|
|
2296
2589
|
};
|
|
2297
2590
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
2298
2591
|
const __is = input => {
|
|
2299
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $
|
|
2592
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io29(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io38(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io39(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) && $io41(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io42(input.flags));
|
|
2300
2593
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
2301
2594
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
2302
2595
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -2312,8 +2605,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2312
2605
|
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
2313
2606
|
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
2314
2607
|
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
2315
|
-
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2316
|
-
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
2608
|
+
const $io9 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
2609
|
+
const $io10 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
2317
2610
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
2318
2611
|
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
2319
2612
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru && !Number.isNaN(input.maxMru)) && (undefined === input.maxTabs || "number" === typeof input.maxTabs && !Number.isNaN(input.maxTabs));
|
|
@@ -2323,7 +2616,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2323
2616
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
2324
2617
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2325
2618
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2326
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
2619
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.openCommand || "string" === typeof input.openCommand) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
2327
2620
|
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
2328
2621
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2329
2622
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine));
|
|
@@ -2332,16 +2625,20 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2332
2625
|
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
2333
2626
|
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
|
|
2334
2627
|
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
2335
|
-
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $
|
|
2336
|
-
const $io30 = input => undefined === input.
|
|
2337
|
-
const $io31 = input => undefined === input.
|
|
2338
|
-
const $io32 = input =>
|
|
2339
|
-
const $io33 = input => undefined === input.
|
|
2340
|
-
const $io34 = input => undefined === input.
|
|
2341
|
-
const $io35 = input => undefined === input.
|
|
2342
|
-
const $io36 = input => undefined === input.
|
|
2343
|
-
const $io37 = input => undefined === input.
|
|
2344
|
-
const $io38 = input =>
|
|
2628
|
+
const $io29 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io30(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io31(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io35(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io37(input.item));
|
|
2629
|
+
const $io30 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
2630
|
+
const $io31 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io32(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io34(input.note));
|
|
2631
|
+
const $io32 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io33(input.excerpt);
|
|
2632
|
+
const $io33 = input => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines)) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2633
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
2634
|
+
const $io35 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io36(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
2635
|
+
const $io36 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed);
|
|
2636
|
+
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
2637
|
+
const $io38 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
2638
|
+
const $io39 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io40(input.adobe);
|
|
2639
|
+
const $io40 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2640
|
+
const $io41 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
2641
|
+
const $io42 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
2345
2642
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
2346
2643
|
};
|
|
2347
2644
|
if (false === __is(input))
|
|
@@ -2488,13 +2785,29 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2488
2785
|
path: _path + ".storyboard",
|
|
2489
2786
|
expected: "(PartialObjectDeep<__type, __type>.o22 | undefined)",
|
|
2490
2787
|
value: input.storyboard
|
|
2788
|
+
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
2789
|
+
path: _path + ".hiddenPreviews",
|
|
2790
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
2791
|
+
value: input.hiddenPreviews
|
|
2792
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index2) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2793
|
+
path: _path + ".hiddenPreviews[" + _index2 + "]",
|
|
2794
|
+
expected: "__type.o2",
|
|
2795
|
+
value: elem
|
|
2796
|
+
}, errorFactory)) && $ao38(elem, _path + ".hiddenPreviews[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2797
|
+
path: _path + ".hiddenPreviews[" + _index2 + "]",
|
|
2798
|
+
expected: "__type.o2",
|
|
2799
|
+
value: elem
|
|
2800
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2801
|
+
path: _path + ".hiddenPreviews",
|
|
2802
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
2803
|
+
value: input.hiddenPreviews
|
|
2491
2804
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
2492
2805
|
path: _path + ".plugins",
|
|
2493
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2806
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2494
2807
|
value: input.plugins
|
|
2495
|
-
}, errorFactory)) && $
|
|
2808
|
+
}, errorFactory)) && $ao39(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
2496
2809
|
path: _path + ".plugins",
|
|
2497
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2810
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2498
2811
|
value: input.plugins
|
|
2499
2812
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
2500
2813
|
path: _path + ".crashScreen",
|
|
@@ -2504,13 +2817,21 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2504
2817
|
path: _path + ".debug",
|
|
2505
2818
|
expected: "(boolean | undefined)",
|
|
2506
2819
|
value: input.debug
|
|
2820
|
+
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
2821
|
+
path: _path + ".featurePreview",
|
|
2822
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2823
|
+
value: input.featurePreview
|
|
2824
|
+
}, errorFactory)) && $ao41(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
2825
|
+
path: _path + ".featurePreview",
|
|
2826
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2827
|
+
value: input.featurePreview
|
|
2507
2828
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
2508
2829
|
path: _path + ".flags",
|
|
2509
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2830
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2510
2831
|
value: input.flags
|
|
2511
|
-
}, errorFactory)) && $
|
|
2832
|
+
}, errorFactory)) && $ao42(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2512
2833
|
path: _path + ".flags",
|
|
2513
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2834
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2514
2835
|
value: input.flags
|
|
2515
2836
|
}, errorFactory));
|
|
2516
2837
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -2582,8 +2903,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2582
2903
|
path: _path + ".sortOrder",
|
|
2583
2904
|
expected: "(Array<string> | undefined)",
|
|
2584
2905
|
value: input.sortOrder
|
|
2585
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
2586
|
-
path: _path + ".sortOrder[" +
|
|
2906
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2907
|
+
path: _path + ".sortOrder[" + _index3 + "]",
|
|
2587
2908
|
expected: "string",
|
|
2588
2909
|
value: elem
|
|
2589
2910
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2595,8 +2916,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2595
2916
|
path: _path + ".exclude",
|
|
2596
2917
|
expected: "(Array<string> | undefined)",
|
|
2597
2918
|
value: input.exclude
|
|
2598
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2599
|
-
path: _path + ".exclude[" +
|
|
2919
|
+
}, errorFactory)) && input.exclude.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2920
|
+
path: _path + ".exclude[" + _index4 + "]",
|
|
2600
2921
|
expected: "string",
|
|
2601
2922
|
value: elem
|
|
2602
2923
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2604,32 +2925,56 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2604
2925
|
expected: "(Array<string> | undefined)",
|
|
2605
2926
|
value: input.exclude
|
|
2606
2927
|
}, errorFactory);
|
|
2607
|
-
const $ao9 = (input, _path, _exceptionable = true) => undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
2928
|
+
const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
2608
2929
|
path: _path + ".include",
|
|
2609
2930
|
expected: "(Array<string> | undefined)",
|
|
2610
2931
|
value: input.include
|
|
2611
|
-
}, errorFactory)) && input.include.every((elem,
|
|
2612
|
-
path: _path + ".include[" +
|
|
2932
|
+
}, errorFactory)) && input.include.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2933
|
+
path: _path + ".include[" + _index5 + "]",
|
|
2613
2934
|
expected: "string",
|
|
2614
2935
|
value: elem
|
|
2615
2936
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
2616
2937
|
path: _path + ".include",
|
|
2617
2938
|
expected: "(Array<string> | undefined)",
|
|
2618
2939
|
value: input.include
|
|
2619
|
-
}, errorFactory)
|
|
2620
|
-
|
|
2940
|
+
}, errorFactory)) && (undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
2941
|
+
path: _path + ".exclude",
|
|
2942
|
+
expected: "(Array<string> | undefined)",
|
|
2943
|
+
value: input.exclude
|
|
2944
|
+
}, errorFactory)) && input.exclude.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2945
|
+
path: _path + ".exclude[" + _index6 + "]",
|
|
2946
|
+
expected: "string",
|
|
2947
|
+
value: elem
|
|
2948
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2949
|
+
path: _path + ".exclude",
|
|
2950
|
+
expected: "(Array<string> | undefined)",
|
|
2951
|
+
value: input.exclude
|
|
2952
|
+
}, errorFactory));
|
|
2953
|
+
const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.include || (Array.isArray(input.include) || $guard(_exceptionable, {
|
|
2621
2954
|
path: _path + ".include",
|
|
2622
2955
|
expected: "(Array<string> | undefined)",
|
|
2623
2956
|
value: input.include
|
|
2624
|
-
}, errorFactory)) && input.include.every((elem,
|
|
2625
|
-
path: _path + ".include[" +
|
|
2957
|
+
}, errorFactory)) && input.include.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2958
|
+
path: _path + ".include[" + _index7 + "]",
|
|
2626
2959
|
expected: "string",
|
|
2627
2960
|
value: elem
|
|
2628
2961
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
2629
2962
|
path: _path + ".include",
|
|
2630
2963
|
expected: "(Array<string> | undefined)",
|
|
2631
2964
|
value: input.include
|
|
2632
|
-
}, errorFactory)
|
|
2965
|
+
}, errorFactory)) && (undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
|
|
2966
|
+
path: _path + ".exclude",
|
|
2967
|
+
expected: "(Array<string> | undefined)",
|
|
2968
|
+
value: input.exclude
|
|
2969
|
+
}, errorFactory)) && input.exclude.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2970
|
+
path: _path + ".exclude[" + _index8 + "]",
|
|
2971
|
+
expected: "string",
|
|
2972
|
+
value: elem
|
|
2973
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2974
|
+
path: _path + ".exclude",
|
|
2975
|
+
expected: "(Array<string> | undefined)",
|
|
2976
|
+
value: input.exclude
|
|
2977
|
+
}, errorFactory));
|
|
2633
2978
|
const $ao11 = (input, _path, _exceptionable = true) => (undefined === input.enable || "boolean" === typeof input.enable || $guard(_exceptionable, {
|
|
2634
2979
|
path: _path + ".enable",
|
|
2635
2980
|
expected: "(boolean | undefined)",
|
|
@@ -2689,12 +3034,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2689
3034
|
path: _path + ".colorTags",
|
|
2690
3035
|
expected: "(Array<PromotedTag> | undefined)",
|
|
2691
3036
|
value: input.colorTags
|
|
2692
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
2693
|
-
path: _path + ".colorTags[" +
|
|
3037
|
+
}, errorFactory)) && input.colorTags.every((elem, _index9) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3038
|
+
path: _path + ".colorTags[" + _index9 + "]",
|
|
2694
3039
|
expected: "PromotedTag",
|
|
2695
3040
|
value: elem
|
|
2696
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
2697
|
-
path: _path + ".colorTags[" +
|
|
3041
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index9 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3042
|
+
path: _path + ".colorTags[" + _index9 + "]",
|
|
2698
3043
|
expected: "PromotedTag",
|
|
2699
3044
|
value: elem
|
|
2700
3045
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2743,6 +3088,10 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2743
3088
|
path: _path + ".placeholder",
|
|
2744
3089
|
expected: "(string | undefined)",
|
|
2745
3090
|
value: input.placeholder
|
|
3091
|
+
}, errorFactory)) && (undefined === input.openCommand || "string" === typeof input.openCommand || $guard(_exceptionable, {
|
|
3092
|
+
path: _path + ".openCommand",
|
|
3093
|
+
expected: "(string | undefined)",
|
|
3094
|
+
value: input.openCommand
|
|
2746
3095
|
}, errorFactory)) && (undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || $guard(_exceptionable, {
|
|
2747
3096
|
path: _path + ".guide",
|
|
2748
3097
|
expected: "(PartialObjectDeep<__type, __type>.o16 | undefined)",
|
|
@@ -2795,8 +3144,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2795
3144
|
path: _path + ".playbackRates",
|
|
2796
3145
|
expected: "(Array<number> | undefined)",
|
|
2797
3146
|
value: input.playbackRates
|
|
2798
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
2799
|
-
path: _path + ".playbackRates[" +
|
|
3147
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index10) => "number" === typeof elem && !Number.isNaN(elem) || $guard(_exceptionable, {
|
|
3148
|
+
path: _path + ".playbackRates[" + _index10 + "]",
|
|
2800
3149
|
expected: "number",
|
|
2801
3150
|
value: elem
|
|
2802
3151
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2823,12 +3172,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2823
3172
|
path: _path + ".guides",
|
|
2824
3173
|
expected: "(Array<__type> | undefined)",
|
|
2825
3174
|
value: input.guides
|
|
2826
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
2827
|
-
path: _path + ".guides[" +
|
|
3175
|
+
}, errorFactory)) && input.guides.every((elem, _index11) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3176
|
+
path: _path + ".guides[" + _index11 + "]",
|
|
2828
3177
|
expected: "__type",
|
|
2829
3178
|
value: elem
|
|
2830
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
2831
|
-
path: _path + ".guides[" +
|
|
3179
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index11 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3180
|
+
path: _path + ".guides[" + _index11 + "]",
|
|
2832
3181
|
expected: "__type",
|
|
2833
3182
|
value: elem
|
|
2834
3183
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2910,12 +3259,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2910
3259
|
path: _path + ".text",
|
|
2911
3260
|
expected: "(Array<__type>.o1 | undefined)",
|
|
2912
3261
|
value: input.text
|
|
2913
|
-
}, errorFactory)) && input.text.every((elem,
|
|
2914
|
-
path: _path + ".text[" +
|
|
3262
|
+
}, errorFactory)) && input.text.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3263
|
+
path: _path + ".text[" + _index12 + "]",
|
|
2915
3264
|
expected: "__type.o1",
|
|
2916
3265
|
value: elem
|
|
2917
|
-
}, errorFactory)) && $ao28(elem, _path + ".text[" +
|
|
2918
|
-
path: _path + ".text[" +
|
|
3266
|
+
}, errorFactory)) && $ao28(elem, _path + ".text[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3267
|
+
path: _path + ".text[" + _index12 + "]",
|
|
2919
3268
|
expected: "__type.o1",
|
|
2920
3269
|
value: elem
|
|
2921
3270
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2940,50 +3289,71 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2940
3289
|
expected: "string",
|
|
2941
3290
|
value: input.value
|
|
2942
3291
|
}, errorFactory));
|
|
2943
|
-
const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
2944
|
-
path: _path + ".
|
|
3292
|
+
const $ao29 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
3293
|
+
path: _path + ".folded",
|
|
3294
|
+
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
3295
|
+
value: input.folded
|
|
3296
|
+
}, errorFactory)) && $ao30(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
3297
|
+
path: _path + ".folded",
|
|
2945
3298
|
expected: "(PartialObjectDeep<__type, __type>.o23 | undefined)",
|
|
3299
|
+
value: input.folded
|
|
3300
|
+
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
3301
|
+
path: _path + ".assets",
|
|
3302
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2946
3303
|
value: input.assets
|
|
2947
|
-
}, errorFactory)) && $
|
|
3304
|
+
}, errorFactory)) && $ao31(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2948
3305
|
path: _path + ".assets",
|
|
2949
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3306
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2950
3307
|
value: input.assets
|
|
2951
3308
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
2952
3309
|
path: _path + ".pipeline",
|
|
2953
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3310
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2954
3311
|
value: input.pipeline
|
|
2955
|
-
}, errorFactory)) && $
|
|
3312
|
+
}, errorFactory)) && $ao35(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2956
3313
|
path: _path + ".pipeline",
|
|
2957
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3314
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2958
3315
|
value: input.pipeline
|
|
2959
3316
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
2960
3317
|
path: _path + ".item",
|
|
2961
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3318
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2962
3319
|
value: input.item
|
|
2963
|
-
}, errorFactory)) && $
|
|
3320
|
+
}, errorFactory)) && $ao37(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2964
3321
|
path: _path + ".item",
|
|
2965
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3322
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2966
3323
|
value: input.item
|
|
2967
3324
|
}, errorFactory));
|
|
2968
|
-
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.
|
|
3325
|
+
const $ao30 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
3326
|
+
path: _path + ".auto",
|
|
3327
|
+
expected: "(boolean | undefined)",
|
|
3328
|
+
value: input.auto
|
|
3329
|
+
}, errorFactory);
|
|
3330
|
+
const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
2969
3331
|
path: _path + ".story",
|
|
2970
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3332
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2971
3333
|
value: input.story
|
|
2972
|
-
}, errorFactory)) && $
|
|
3334
|
+
}, errorFactory)) && $ao32(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2973
3335
|
path: _path + ".story",
|
|
2974
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3336
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2975
3337
|
value: input.story
|
|
2976
|
-
}, errorFactory)
|
|
2977
|
-
|
|
3338
|
+
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
3339
|
+
path: _path + ".note",
|
|
3340
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
3341
|
+
value: input.note
|
|
3342
|
+
}, errorFactory)) && $ao34(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
3343
|
+
path: _path + ".note",
|
|
3344
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
3345
|
+
value: input.note
|
|
3346
|
+
}, errorFactory));
|
|
3347
|
+
const $ao32 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
2978
3348
|
path: _path + ".excerpt",
|
|
2979
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3349
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2980
3350
|
value: input.excerpt
|
|
2981
|
-
}, errorFactory)) && $
|
|
3351
|
+
}, errorFactory)) && $ao33(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2982
3352
|
path: _path + ".excerpt",
|
|
2983
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3353
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2984
3354
|
value: input.excerpt
|
|
2985
3355
|
}, errorFactory);
|
|
2986
|
-
const $
|
|
3356
|
+
const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
2987
3357
|
path: _path + ".maxLines",
|
|
2988
3358
|
expected: "(number | undefined)",
|
|
2989
3359
|
value: input.maxLines
|
|
@@ -2992,40 +3362,63 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
2992
3362
|
expected: "(string | undefined)",
|
|
2993
3363
|
value: input.mode
|
|
2994
3364
|
}, errorFactory));
|
|
2995
|
-
const $
|
|
3365
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
3366
|
+
path: _path + ".maxHeight",
|
|
3367
|
+
expected: "(number | undefined)",
|
|
3368
|
+
value: input.maxHeight
|
|
3369
|
+
}, errorFactory);
|
|
3370
|
+
const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2996
3371
|
path: _path + ".search",
|
|
2997
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3372
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2998
3373
|
value: input.search
|
|
2999
|
-
}, errorFactory)) && $
|
|
3374
|
+
}, errorFactory)) && $ao36(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
3000
3375
|
path: _path + ".search",
|
|
3001
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3376
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
3002
3377
|
value: input.search
|
|
3003
|
-
}, errorFactory)
|
|
3004
|
-
|
|
3378
|
+
}, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
|
|
3379
|
+
path: _path + ".sortMode",
|
|
3380
|
+
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
3381
|
+
value: input.sortMode
|
|
3382
|
+
}, errorFactory));
|
|
3383
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
3005
3384
|
path: _path + ".maxItemsDisplayed",
|
|
3006
3385
|
expected: "(number | undefined)",
|
|
3007
3386
|
value: input.maxItemsDisplayed
|
|
3008
3387
|
}, errorFactory);
|
|
3009
|
-
const $
|
|
3388
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
3010
3389
|
path: _path + ".maxHeight",
|
|
3011
3390
|
expected: "(number | undefined)",
|
|
3012
3391
|
value: input.maxHeight
|
|
3013
3392
|
}, errorFactory);
|
|
3014
|
-
const $
|
|
3393
|
+
const $ao38 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
3394
|
+
path: _path + ".id",
|
|
3395
|
+
expected: "string",
|
|
3396
|
+
value: input.id
|
|
3397
|
+
}, errorFactory)) && ("boolean" === typeof input.folded || $guard(_exceptionable, {
|
|
3398
|
+
path: _path + ".folded",
|
|
3399
|
+
expected: "boolean",
|
|
3400
|
+
value: input.folded
|
|
3401
|
+
}, errorFactory));
|
|
3402
|
+
const $ao39 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
3015
3403
|
path: _path + ".adobe",
|
|
3016
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3404
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
3017
3405
|
value: input.adobe
|
|
3018
|
-
}, errorFactory)) && $
|
|
3406
|
+
}, errorFactory)) && $ao40(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
3019
3407
|
path: _path + ".adobe",
|
|
3020
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3408
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
3021
3409
|
value: input.adobe
|
|
3022
3410
|
}, errorFactory);
|
|
3023
|
-
const $
|
|
3411
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
3024
3412
|
path: _path + ".useProxies",
|
|
3025
3413
|
expected: "(boolean | undefined)",
|
|
3026
3414
|
value: input.useProxies
|
|
3027
3415
|
}, errorFactory);
|
|
3028
|
-
const $
|
|
3416
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
3417
|
+
path: _path + ".collections",
|
|
3418
|
+
expected: "(boolean | undefined)",
|
|
3419
|
+
value: input.collections
|
|
3420
|
+
}, errorFactory);
|
|
3421
|
+
const $ao42 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
3029
3422
|
path: _path + ".utils",
|
|
3030
3423
|
expected: "(boolean | undefined)",
|
|
3031
3424
|
value: input.utils
|
|
@@ -3081,6 +3474,10 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3081
3474
|
path: _path + ".assetRoute",
|
|
3082
3475
|
expected: "(boolean | undefined)",
|
|
3083
3476
|
value: input.assetRoute
|
|
3477
|
+
}, errorFactory)) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings || $guard(_exceptionable, {
|
|
3478
|
+
path: _path + ".devWarnings",
|
|
3479
|
+
expected: "(boolean | undefined)",
|
|
3480
|
+
value: input.devWarnings
|
|
3084
3481
|
}, errorFactory));
|
|
3085
3482
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
3086
3483
|
path: _path + "",
|
|
@@ -3109,8 +3506,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3109
3506
|
const $io6 = input => undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && $io7(input.createMenu);
|
|
3110
3507
|
const $io7 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem);
|
|
3111
3508
|
const $io8 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem);
|
|
3112
|
-
const $io9 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
3113
|
-
const $io10 = input => undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem);
|
|
3509
|
+
const $io9 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
3510
|
+
const $io10 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem));
|
|
3114
3511
|
const $io11 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format);
|
|
3115
3512
|
const $io12 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name);
|
|
3116
3513
|
const $io13 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs);
|
|
@@ -3120,7 +3517,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3120
3517
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
3121
3518
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
3122
3519
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
3123
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
3520
|
+
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.openCommand || "string" === typeof input.openCommand) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io25(input.transcribe));
|
|
3124
3521
|
const $io21 = input => undefined === input.mask || "boolean" === typeof input.mask;
|
|
3125
3522
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
3126
3523
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -3129,20 +3526,24 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3129
3526
|
const $io26 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && $io27(input.defaultValue));
|
|
3130
3527
|
const $io27 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io28(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
3131
3528
|
const $io28 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3132
|
-
const $io29 = input => (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $
|
|
3133
|
-
const $io30 = input => undefined === input.
|
|
3134
|
-
const $io31 = input => undefined === input.
|
|
3135
|
-
const $io32 = input =>
|
|
3136
|
-
const $io33 = input => undefined === input.
|
|
3137
|
-
const $io34 = input => undefined === input.
|
|
3138
|
-
const $io35 = input => undefined === input.
|
|
3139
|
-
const $io36 = input => undefined === input.
|
|
3140
|
-
const $io37 = input => undefined === input.
|
|
3141
|
-
const $io38 = input =>
|
|
3529
|
+
const $io29 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io30(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io31(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io35(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io37(input.item));
|
|
3530
|
+
const $io30 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
3531
|
+
const $io31 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io32(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io34(input.note));
|
|
3532
|
+
const $io32 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io33(input.excerpt);
|
|
3533
|
+
const $io33 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3534
|
+
const $io34 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3535
|
+
const $io35 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io36(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
3536
|
+
const $io36 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
3537
|
+
const $io37 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3538
|
+
const $io38 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
3539
|
+
const $io39 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io40(input.adobe);
|
|
3540
|
+
const $io40 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3541
|
+
const $io41 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
3542
|
+
const $io42 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
3142
3543
|
const $string = __typia.json.createAssertStringify.string;
|
|
3143
3544
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
3144
3545
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
3145
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so29(input.storyboard) : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $
|
|
3546
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so29(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 ? $so39(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 ? $so41(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so42(input.flags) : undefined}`}`)}}`;
|
|
3146
3547
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
3147
3548
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
3148
3549
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -3153,8 +3554,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3153
3554
|
const $so6 = input => `{${$tail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? $so7(input.createMenu) : undefined}`}`)}}`;
|
|
3154
3555
|
const $so7 = input => `{${$tail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3155
3556
|
const $so8 = input => `{${$tail(`${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3156
|
-
const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3157
|
-
const $so10 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3557
|
+
const $so9 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3558
|
+
const $so10 = input => `{${$tail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3158
3559
|
const $so11 = input => `{${$tail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? $string(input.format) : undefined}`}`)}}`;
|
|
3159
3560
|
const $so12 = input => `{${$tail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? $string(input.color) : undefined},`}${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined}`}`)}}`;
|
|
3160
3561
|
const $so13 = input => `{${$tail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined}`}`)}}`;
|
|
@@ -3164,7 +3565,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3164
3565
|
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
3165
3566
|
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
3166
3567
|
const $so19 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
3167
|
-
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so25(input.transcribe) : undefined}`}`)}}`;
|
|
3568
|
+
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? $string(input.openCommand) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so25(input.transcribe) : undefined}`}`)}}`;
|
|
3168
3569
|
const $so21 = input => `{${$tail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined}`}`)}}`;
|
|
3169
3570
|
const $so22 = input => `{${$tail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? (() => {
|
|
3170
3571
|
if ("string" === typeof input.preview)
|
|
@@ -3182,15 +3583,27 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3182
3583
|
const $so25 = input => `{${$tail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? $so26(input.subtitleDisclaimer) : undefined}`}`)}}`;
|
|
3183
3584
|
const $so26 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so27(input.defaultValue) : undefined}`}`)}}`;
|
|
3184
3585
|
const $so27 = 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}`}`)}}`;
|
|
3185
|
-
const $so29 = input => `{${$tail(`${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $
|
|
3186
|
-
const $so30 = input => `{${$tail(`${undefined === input.
|
|
3187
|
-
const $so31 = input => `{${$tail(`${undefined === input.
|
|
3188
|
-
const $so32 = input => `{${$tail(`${undefined === input.
|
|
3189
|
-
const $so33 = input => `{${$tail(`${undefined === input.
|
|
3190
|
-
const $so34 = input => `{${$tail(`${undefined === input.
|
|
3191
|
-
const $so35 = input => `{${$tail(`${undefined === input.
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3586
|
+
const $so29 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so30(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so31(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so35(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so37(input.item) : undefined}`}`)}}`;
|
|
3587
|
+
const $so30 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
3588
|
+
const $so31 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so32(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so34(input.note) : undefined}`}`)}}`;
|
|
3589
|
+
const $so32 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so33(input.excerpt) : undefined}`}`)}}`;
|
|
3590
|
+
const $so33 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
3591
|
+
const $so34 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3592
|
+
const $so35 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so36(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
3593
|
+
if ("string" === typeof input.sortMode)
|
|
3594
|
+
return $string(input.sortMode);
|
|
3595
|
+
if ("string" === typeof input.sortMode)
|
|
3596
|
+
return "\"" + input.sortMode + "\"";
|
|
3597
|
+
$throws({
|
|
3598
|
+
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
3599
|
+
value: input.sortMode
|
|
3600
|
+
});
|
|
3601
|
+
})() : undefined}`}`)}}`;
|
|
3602
|
+
const $so36 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
3603
|
+
const $so37 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3604
|
+
const $so39 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so40(input.adobe) : undefined}`}`)}}`;
|
|
3605
|
+
const $so40 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
3606
|
+
const $so41 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
3607
|
+
const $so42 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined},`}${undefined === input.devWarnings ? "" : `"devWarnings":${undefined !== input.devWarnings ? input.devWarnings : undefined}`}`)}}`;
|
|
3195
3608
|
return $so0(input);
|
|
3196
3609
|
}; return stringify(assert(input, errorFactory)); };
|