@nxtedition/types 23.0.17 → 23.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/settings.d.ts +11 -4
- package/dist/common/settings.js +541 -408
- package/dist/domains/comment.d.ts +2 -2
- package/dist/domains/comment.js +299 -123
- package/dist/domains/settings.js +543 -403
- package/dist/domains/subtitle-style.d.ts +2 -0
- package/dist/domains/subtitle-style.js +38 -6
- package/dist/schema.json +45 -2
- 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.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $
|
|
3
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(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) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
4
4
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
5
5
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
6
6
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -38,25 +38,26 @@ export const isSettingsRecord = input => {
|
|
|
38
38
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
39
39
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
40
40
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
41
|
-
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
42
|
-
const $io32 = input => "string" === typeof input.
|
|
43
|
-
const $io33 = input =>
|
|
44
|
-
const $io34 = input => undefined === input.
|
|
45
|
-
const $io35 = input =>
|
|
46
|
-
const $io36 = input => undefined === input.
|
|
47
|
-
const $io37 = input =>
|
|
48
|
-
const $io38 = input => undefined === input.
|
|
49
|
-
const $io39 = input =>
|
|
50
|
-
const $io40 = input => undefined === input.
|
|
51
|
-
const $io41 = input => undefined === input.
|
|
52
|
-
const $io42 = input =>
|
|
53
|
-
const $io43 = input =>
|
|
54
|
-
const $io44 = input => undefined === input.
|
|
55
|
-
const $io45 = input => undefined === input.
|
|
56
|
-
const $io46 = input =>
|
|
57
|
-
const $io47 = input => undefined === input.
|
|
58
|
-
const $io48 = input =>
|
|
59
|
-
const $io49 = input =>
|
|
41
|
+
const $io31 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && $io32(input.voiceOver));
|
|
42
|
+
const $io32 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration);
|
|
43
|
+
const $io33 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
44
|
+
const $io34 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io35(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io36(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io40(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io42(input.item));
|
|
45
|
+
const $io35 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
46
|
+
const $io36 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io37(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io39(input.note));
|
|
47
|
+
const $io37 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io38(input.excerpt);
|
|
48
|
+
const $io38 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
49
|
+
const $io39 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
50
|
+
const $io40 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io41(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);
|
|
51
|
+
const $io41 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
52
|
+
const $io42 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
53
|
+
const $io43 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
54
|
+
const $io44 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io45(input.adobe);
|
|
55
|
+
const $io45 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
56
|
+
const $io46 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
57
|
+
const $io47 = 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);
|
|
58
|
+
const $io48 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io49(input.events);
|
|
59
|
+
const $io49 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io50(input.publishSucceeded));
|
|
60
|
+
const $io50 = input => Object.keys(input).every(key => {
|
|
60
61
|
const value = input[key];
|
|
61
62
|
if (undefined === value)
|
|
62
63
|
return true;
|
|
@@ -66,7 +67,7 @@ export const isSettingsRecord = input => {
|
|
|
66
67
|
};
|
|
67
68
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
68
69
|
const __is = input => {
|
|
69
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $
|
|
70
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(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) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
70
71
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
71
72
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
72
73
|
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 => {
|
|
@@ -104,25 +105,26 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
104
105
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
105
106
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
106
107
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
107
|
-
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
108
|
-
const $io32 = input => "string" === typeof input.
|
|
109
|
-
const $io33 = input =>
|
|
110
|
-
const $io34 = input => undefined === input.
|
|
111
|
-
const $io35 = input =>
|
|
112
|
-
const $io36 = input => undefined === input.
|
|
113
|
-
const $io37 = input =>
|
|
114
|
-
const $io38 = input => undefined === input.
|
|
115
|
-
const $io39 = input =>
|
|
116
|
-
const $io40 = input => undefined === input.
|
|
117
|
-
const $io41 = input => undefined === input.
|
|
118
|
-
const $io42 = input =>
|
|
119
|
-
const $io43 = input =>
|
|
120
|
-
const $io44 = input => undefined === input.
|
|
121
|
-
const $io45 = input => undefined === input.
|
|
122
|
-
const $io46 = input =>
|
|
123
|
-
const $io47 = input => undefined === input.
|
|
124
|
-
const $io48 = input =>
|
|
125
|
-
const $io49 = input =>
|
|
108
|
+
const $io31 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && $io32(input.voiceOver));
|
|
109
|
+
const $io32 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration);
|
|
110
|
+
const $io33 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
111
|
+
const $io34 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io35(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io36(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io40(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io42(input.item));
|
|
112
|
+
const $io35 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
113
|
+
const $io36 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io37(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io39(input.note));
|
|
114
|
+
const $io37 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io38(input.excerpt);
|
|
115
|
+
const $io38 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
116
|
+
const $io39 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
117
|
+
const $io40 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io41(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);
|
|
118
|
+
const $io41 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
119
|
+
const $io42 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
120
|
+
const $io43 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
121
|
+
const $io44 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io45(input.adobe);
|
|
122
|
+
const $io45 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
123
|
+
const $io46 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
124
|
+
const $io47 = 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);
|
|
125
|
+
const $io48 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io49(input.events);
|
|
126
|
+
const $io49 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io50(input.publishSucceeded));
|
|
127
|
+
const $io50 = input => Object.keys(input).every(key => {
|
|
126
128
|
const value = input[key];
|
|
127
129
|
if (undefined === value)
|
|
128
130
|
return true;
|
|
@@ -270,7 +272,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
270
272
|
path: _path + ".commands[" + _index1 + "]",
|
|
271
273
|
expected: "__type.o2",
|
|
272
274
|
value: elem
|
|
273
|
-
}, errorFactory)) && $
|
|
275
|
+
}, errorFactory)) && $ao33(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
274
276
|
path: _path + ".commands[" + _index1 + "]",
|
|
275
277
|
expected: "__type.o2",
|
|
276
278
|
value: elem
|
|
@@ -292,11 +294,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
292
294
|
value: input.predefinedTags
|
|
293
295
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
294
296
|
path: _path + ".storyboard",
|
|
295
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
297
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
296
298
|
value: input.storyboard
|
|
297
|
-
}, errorFactory)) && $
|
|
299
|
+
}, errorFactory)) && $ao34(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
298
300
|
path: _path + ".storyboard",
|
|
299
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
301
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
300
302
|
value: input.storyboard
|
|
301
303
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
302
304
|
path: _path + ".hiddenPreviews",
|
|
@@ -306,7 +308,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
306
308
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
307
309
|
expected: "__type.o3",
|
|
308
310
|
value: elem
|
|
309
|
-
}, errorFactory)) && $
|
|
311
|
+
}, errorFactory)) && $ao43(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
310
312
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
311
313
|
expected: "__type.o3",
|
|
312
314
|
value: elem
|
|
@@ -316,11 +318,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
316
318
|
value: input.hiddenPreviews
|
|
317
319
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
318
320
|
path: _path + ".plugins",
|
|
319
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
321
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
320
322
|
value: input.plugins
|
|
321
|
-
}, errorFactory)) && $
|
|
323
|
+
}, errorFactory)) && $ao44(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
322
324
|
path: _path + ".plugins",
|
|
323
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
325
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
324
326
|
value: input.plugins
|
|
325
327
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
326
328
|
path: _path + ".crashScreen",
|
|
@@ -332,27 +334,27 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
332
334
|
value: input.debug
|
|
333
335
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
334
336
|
path: _path + ".featurePreview",
|
|
335
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
337
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
336
338
|
value: input.featurePreview
|
|
337
|
-
}, errorFactory)) && $
|
|
339
|
+
}, errorFactory)) && $ao46(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
338
340
|
path: _path + ".featurePreview",
|
|
339
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
341
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
340
342
|
value: input.featurePreview
|
|
341
343
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
342
344
|
path: _path + ".flags",
|
|
343
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
345
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
344
346
|
value: input.flags
|
|
345
|
-
}, errorFactory)) && $
|
|
347
|
+
}, errorFactory)) && $ao47(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
346
348
|
path: _path + ".flags",
|
|
347
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
349
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
348
350
|
value: input.flags
|
|
349
351
|
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
350
352
|
path: _path + ".notifications",
|
|
351
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
353
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
352
354
|
value: input.notifications
|
|
353
|
-
}, errorFactory)) && $
|
|
355
|
+
}, errorFactory)) && $ao48(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
354
356
|
path: _path + ".notifications",
|
|
355
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
357
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
356
358
|
value: input.notifications
|
|
357
359
|
}, errorFactory));
|
|
358
360
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -872,12 +874,41 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
872
874
|
expected: "(Array<string> | undefined)",
|
|
873
875
|
value: input.args
|
|
874
876
|
}, errorFactory));
|
|
875
|
-
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
877
|
+
const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
876
878
|
path: _path + ".thumbnailView",
|
|
877
879
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
878
880
|
value: input.thumbnailView
|
|
879
|
-
}, errorFactory)
|
|
880
|
-
|
|
881
|
+
}, errorFactory)) && (undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || $guard(_exceptionable, {
|
|
882
|
+
path: _path + ".voiceOver",
|
|
883
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
884
|
+
value: input.voiceOver
|
|
885
|
+
}, errorFactory)) && $ao32(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || $guard(_exceptionable, {
|
|
886
|
+
path: _path + ".voiceOver",
|
|
887
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
888
|
+
value: input.voiceOver
|
|
889
|
+
}, errorFactory));
|
|
890
|
+
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.inputDevice || "string" === typeof input.inputDevice || $guard(_exceptionable, {
|
|
891
|
+
path: _path + ".inputDevice",
|
|
892
|
+
expected: "(string | undefined)",
|
|
893
|
+
value: input.inputDevice
|
|
894
|
+
}, errorFactory)) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb || $guard(_exceptionable, {
|
|
895
|
+
path: _path + ".inputGainDb",
|
|
896
|
+
expected: "(number | undefined)",
|
|
897
|
+
value: input.inputGainDb
|
|
898
|
+
}, errorFactory)) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb || $guard(_exceptionable, {
|
|
899
|
+
path: _path + ".backgroundReductionDb",
|
|
900
|
+
expected: "(number | undefined)",
|
|
901
|
+
value: input.backgroundReductionDb
|
|
902
|
+
}, errorFactory)) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode || $guard(_exceptionable, {
|
|
903
|
+
path: _path + ".recordMode",
|
|
904
|
+
expected: "(\"instant\" | \"punchAndRoll\" | undefined)",
|
|
905
|
+
value: input.recordMode
|
|
906
|
+
}, errorFactory)) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration || $guard(_exceptionable, {
|
|
907
|
+
path: _path + ".preRollDuration",
|
|
908
|
+
expected: "(number | undefined)",
|
|
909
|
+
value: input.preRollDuration
|
|
910
|
+
}, errorFactory));
|
|
911
|
+
const $ao33 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
881
912
|
path: _path + ".title",
|
|
882
913
|
expected: "string",
|
|
883
914
|
value: input.title
|
|
@@ -898,71 +929,71 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
898
929
|
expected: "(Array<string> | undefined)",
|
|
899
930
|
value: input.args
|
|
900
931
|
}, errorFactory));
|
|
901
|
-
const $
|
|
932
|
+
const $ao34 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
902
933
|
path: _path + ".folded",
|
|
903
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
934
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
904
935
|
value: input.folded
|
|
905
|
-
}, errorFactory)) && $
|
|
936
|
+
}, errorFactory)) && $ao35(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
906
937
|
path: _path + ".folded",
|
|
907
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
938
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
908
939
|
value: input.folded
|
|
909
940
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
910
941
|
path: _path + ".assets",
|
|
911
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
942
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
912
943
|
value: input.assets
|
|
913
|
-
}, errorFactory)) && $
|
|
944
|
+
}, errorFactory)) && $ao36(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
914
945
|
path: _path + ".assets",
|
|
915
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
946
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
916
947
|
value: input.assets
|
|
917
948
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
918
949
|
path: _path + ".pipeline",
|
|
919
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
950
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
920
951
|
value: input.pipeline
|
|
921
|
-
}, errorFactory)) && $
|
|
952
|
+
}, errorFactory)) && $ao40(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
922
953
|
path: _path + ".pipeline",
|
|
923
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
954
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
924
955
|
value: input.pipeline
|
|
925
956
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
926
957
|
path: _path + ".item",
|
|
927
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
958
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
928
959
|
value: input.item
|
|
929
|
-
}, errorFactory)) && $
|
|
960
|
+
}, errorFactory)) && $ao42(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
930
961
|
path: _path + ".item",
|
|
931
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
962
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
932
963
|
value: input.item
|
|
933
964
|
}, errorFactory));
|
|
934
|
-
const $
|
|
965
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
935
966
|
path: _path + ".auto",
|
|
936
967
|
expected: "(boolean | undefined)",
|
|
937
968
|
value: input.auto
|
|
938
969
|
}, errorFactory);
|
|
939
|
-
const $
|
|
970
|
+
const $ao36 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
940
971
|
path: _path + ".story",
|
|
941
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
972
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
942
973
|
value: input.story
|
|
943
|
-
}, errorFactory)) && $
|
|
974
|
+
}, errorFactory)) && $ao37(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
944
975
|
path: _path + ".story",
|
|
945
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
976
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
946
977
|
value: input.story
|
|
947
978
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
948
979
|
path: _path + ".note",
|
|
949
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
980
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
950
981
|
value: input.note
|
|
951
|
-
}, errorFactory)) && $
|
|
982
|
+
}, errorFactory)) && $ao39(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
952
983
|
path: _path + ".note",
|
|
953
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
984
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
954
985
|
value: input.note
|
|
955
986
|
}, errorFactory));
|
|
956
|
-
const $
|
|
987
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
957
988
|
path: _path + ".excerpt",
|
|
958
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
989
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
959
990
|
value: input.excerpt
|
|
960
|
-
}, errorFactory)) && $
|
|
991
|
+
}, errorFactory)) && $ao38(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
961
992
|
path: _path + ".excerpt",
|
|
962
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
993
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
963
994
|
value: input.excerpt
|
|
964
995
|
}, errorFactory);
|
|
965
|
-
const $
|
|
996
|
+
const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
966
997
|
path: _path + ".maxLines",
|
|
967
998
|
expected: "(number | undefined)",
|
|
968
999
|
value: input.maxLines
|
|
@@ -971,35 +1002,35 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
971
1002
|
expected: "(string | undefined)",
|
|
972
1003
|
value: input.mode
|
|
973
1004
|
}, errorFactory));
|
|
974
|
-
const $
|
|
1005
|
+
const $ao39 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
975
1006
|
path: _path + ".maxHeight",
|
|
976
1007
|
expected: "(number | undefined)",
|
|
977
1008
|
value: input.maxHeight
|
|
978
1009
|
}, errorFactory);
|
|
979
|
-
const $
|
|
1010
|
+
const $ao40 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
980
1011
|
path: _path + ".search",
|
|
981
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1012
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
982
1013
|
value: input.search
|
|
983
|
-
}, errorFactory)) && $
|
|
1014
|
+
}, errorFactory)) && $ao41(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
984
1015
|
path: _path + ".search",
|
|
985
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1016
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
986
1017
|
value: input.search
|
|
987
1018
|
}, 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, {
|
|
988
1019
|
path: _path + ".sortMode",
|
|
989
1020
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
990
1021
|
value: input.sortMode
|
|
991
1022
|
}, errorFactory));
|
|
992
|
-
const $
|
|
1023
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
993
1024
|
path: _path + ".maxItemsDisplayed",
|
|
994
1025
|
expected: "(number | undefined)",
|
|
995
1026
|
value: input.maxItemsDisplayed
|
|
996
1027
|
}, errorFactory);
|
|
997
|
-
const $
|
|
1028
|
+
const $ao42 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
998
1029
|
path: _path + ".maxHeight",
|
|
999
1030
|
expected: "(number | undefined)",
|
|
1000
1031
|
value: input.maxHeight
|
|
1001
1032
|
}, errorFactory);
|
|
1002
|
-
const $
|
|
1033
|
+
const $ao43 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
1003
1034
|
path: _path + ".id",
|
|
1004
1035
|
expected: "string",
|
|
1005
1036
|
value: input.id
|
|
@@ -1008,26 +1039,26 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1008
1039
|
expected: "boolean",
|
|
1009
1040
|
value: input.folded
|
|
1010
1041
|
}, errorFactory));
|
|
1011
|
-
const $
|
|
1042
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
1012
1043
|
path: _path + ".adobe",
|
|
1013
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1044
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
1014
1045
|
value: input.adobe
|
|
1015
|
-
}, errorFactory)) && $
|
|
1046
|
+
}, errorFactory)) && $ao45(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1016
1047
|
path: _path + ".adobe",
|
|
1017
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1048
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
1018
1049
|
value: input.adobe
|
|
1019
1050
|
}, errorFactory);
|
|
1020
|
-
const $
|
|
1051
|
+
const $ao45 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
1021
1052
|
path: _path + ".useProxies",
|
|
1022
1053
|
expected: "(boolean | undefined)",
|
|
1023
1054
|
value: input.useProxies
|
|
1024
1055
|
}, errorFactory);
|
|
1025
|
-
const $
|
|
1056
|
+
const $ao46 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
1026
1057
|
path: _path + ".collections",
|
|
1027
1058
|
expected: "(boolean | undefined)",
|
|
1028
1059
|
value: input.collections
|
|
1029
1060
|
}, errorFactory);
|
|
1030
|
-
const $
|
|
1061
|
+
const $ao47 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
1031
1062
|
path: _path + ".utils",
|
|
1032
1063
|
expected: "(boolean | undefined)",
|
|
1033
1064
|
value: input.utils
|
|
@@ -1088,16 +1119,16 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1088
1119
|
expected: "(boolean | undefined)",
|
|
1089
1120
|
value: input.devWarnings
|
|
1090
1121
|
}, errorFactory));
|
|
1091
|
-
const $
|
|
1122
|
+
const $ao48 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
1092
1123
|
path: _path + ".events",
|
|
1093
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1124
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
1094
1125
|
value: input.events
|
|
1095
|
-
}, errorFactory)) && $
|
|
1126
|
+
}, errorFactory)) && $ao49(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
1096
1127
|
path: _path + ".events",
|
|
1097
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1128
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
1098
1129
|
value: input.events
|
|
1099
1130
|
}, errorFactory);
|
|
1100
|
-
const $
|
|
1131
|
+
const $ao49 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
1101
1132
|
path: _path + ".comment",
|
|
1102
1133
|
expected: "(Array<NotificationReason> | undefined)",
|
|
1103
1134
|
value: input.comment
|
|
@@ -1135,14 +1166,14 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1135
1166
|
value: input.unassigned
|
|
1136
1167
|
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
1137
1168
|
path: _path + ".publishSucceeded",
|
|
1138
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1169
|
+
expected: "(PartialObjectDeep<__type, __type>.o41 | undefined)",
|
|
1139
1170
|
value: input.publishSucceeded
|
|
1140
|
-
}, errorFactory)) && $
|
|
1171
|
+
}, errorFactory)) && $ao50(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
1141
1172
|
path: _path + ".publishSucceeded",
|
|
1142
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1173
|
+
expected: "(PartialObjectDeep<__type, __type>.o41 | undefined)",
|
|
1143
1174
|
value: input.publishSucceeded
|
|
1144
1175
|
}, errorFactory));
|
|
1145
|
-
const $
|
|
1176
|
+
const $ao50 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1146
1177
|
const value = input[key];
|
|
1147
1178
|
if (undefined === value)
|
|
1148
1179
|
return true;
|
|
@@ -1250,7 +1281,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1250
1281
|
])(),
|
|
1251
1282
|
commands: $pick([
|
|
1252
1283
|
() => undefined,
|
|
1253
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1284
|
+
() => (generator?.array ?? $generator.array)(() => $ro33(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1254
1285
|
])(),
|
|
1255
1286
|
predefinedTags: $pick([
|
|
1256
1287
|
() => undefined,
|
|
@@ -1258,15 +1289,15 @@ export const randomSettingsRecord = generator => {
|
|
|
1258
1289
|
])(),
|
|
1259
1290
|
storyboard: $pick([
|
|
1260
1291
|
() => undefined,
|
|
1261
|
-
() => $
|
|
1292
|
+
() => $ro34(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1262
1293
|
])(),
|
|
1263
1294
|
hiddenPreviews: $pick([
|
|
1264
1295
|
() => undefined,
|
|
1265
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1296
|
+
() => (generator?.array ?? $generator.array)(() => $ro43(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1266
1297
|
])(),
|
|
1267
1298
|
plugins: $pick([
|
|
1268
1299
|
() => undefined,
|
|
1269
|
-
() => $
|
|
1300
|
+
() => $ro44(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1270
1301
|
])(),
|
|
1271
1302
|
crashScreen: $pick([
|
|
1272
1303
|
() => undefined,
|
|
@@ -1278,15 +1309,15 @@ export const randomSettingsRecord = generator => {
|
|
|
1278
1309
|
])(),
|
|
1279
1310
|
featurePreview: $pick([
|
|
1280
1311
|
() => undefined,
|
|
1281
|
-
() => $
|
|
1312
|
+
() => $ro46(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1282
1313
|
])(),
|
|
1283
1314
|
flags: $pick([
|
|
1284
1315
|
() => undefined,
|
|
1285
|
-
() => $
|
|
1316
|
+
() => $ro47(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1286
1317
|
])(),
|
|
1287
1318
|
notifications: $pick([
|
|
1288
1319
|
() => undefined,
|
|
1289
|
-
() => $
|
|
1320
|
+
() => $ro48(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1290
1321
|
])()
|
|
1291
1322
|
});
|
|
1292
1323
|
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1679,9 +1710,36 @@ export const randomSettingsRecord = generator => {
|
|
|
1679
1710
|
() => "none",
|
|
1680
1711
|
() => "filmStrip",
|
|
1681
1712
|
() => "thumbnail"
|
|
1713
|
+
])(),
|
|
1714
|
+
voiceOver: $pick([
|
|
1715
|
+
() => undefined,
|
|
1716
|
+
() => $ro32(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1682
1717
|
])()
|
|
1683
1718
|
});
|
|
1684
1719
|
const $ro32 = (_recursive = false, _depth = 0) => ({
|
|
1720
|
+
inputDevice: $pick([
|
|
1721
|
+
() => undefined,
|
|
1722
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1723
|
+
])(),
|
|
1724
|
+
inputGainDb: $pick([
|
|
1725
|
+
() => undefined,
|
|
1726
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1727
|
+
])(),
|
|
1728
|
+
backgroundReductionDb: $pick([
|
|
1729
|
+
() => undefined,
|
|
1730
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1731
|
+
])(),
|
|
1732
|
+
recordMode: $pick([
|
|
1733
|
+
() => undefined,
|
|
1734
|
+
() => "instant",
|
|
1735
|
+
() => "punchAndRoll"
|
|
1736
|
+
])(),
|
|
1737
|
+
preRollDuration: $pick([
|
|
1738
|
+
() => undefined,
|
|
1739
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1740
|
+
])()
|
|
1741
|
+
});
|
|
1742
|
+
const $ro33 = (_recursive = false, _depth = 0) => ({
|
|
1685
1743
|
title: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1686
1744
|
command: $pick([
|
|
1687
1745
|
() => undefined,
|
|
@@ -1692,47 +1750,47 @@ export const randomSettingsRecord = generator => {
|
|
|
1692
1750
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1693
1751
|
])()
|
|
1694
1752
|
});
|
|
1695
|
-
const $
|
|
1753
|
+
const $ro34 = (_recursive = false, _depth = 0) => ({
|
|
1696
1754
|
folded: $pick([
|
|
1697
1755
|
() => undefined,
|
|
1698
|
-
() => $
|
|
1756
|
+
() => $ro35(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1699
1757
|
])(),
|
|
1700
1758
|
assets: $pick([
|
|
1701
1759
|
() => undefined,
|
|
1702
|
-
() => $
|
|
1760
|
+
() => $ro36(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1703
1761
|
])(),
|
|
1704
1762
|
pipeline: $pick([
|
|
1705
1763
|
() => undefined,
|
|
1706
|
-
() => $
|
|
1764
|
+
() => $ro40(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1707
1765
|
])(),
|
|
1708
1766
|
item: $pick([
|
|
1709
1767
|
() => undefined,
|
|
1710
|
-
() => $
|
|
1768
|
+
() => $ro42(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1711
1769
|
])()
|
|
1712
1770
|
});
|
|
1713
|
-
const $
|
|
1771
|
+
const $ro35 = (_recursive = false, _depth = 0) => ({
|
|
1714
1772
|
auto: $pick([
|
|
1715
1773
|
() => undefined,
|
|
1716
1774
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1717
1775
|
])()
|
|
1718
1776
|
});
|
|
1719
|
-
const $
|
|
1777
|
+
const $ro36 = (_recursive = false, _depth = 0) => ({
|
|
1720
1778
|
story: $pick([
|
|
1721
1779
|
() => undefined,
|
|
1722
|
-
() => $
|
|
1780
|
+
() => $ro37(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1723
1781
|
])(),
|
|
1724
1782
|
note: $pick([
|
|
1725
1783
|
() => undefined,
|
|
1726
|
-
() => $
|
|
1784
|
+
() => $ro39(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1727
1785
|
])()
|
|
1728
1786
|
});
|
|
1729
|
-
const $
|
|
1787
|
+
const $ro37 = (_recursive = false, _depth = 0) => ({
|
|
1730
1788
|
excerpt: $pick([
|
|
1731
1789
|
() => undefined,
|
|
1732
|
-
() => $
|
|
1790
|
+
() => $ro38(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1733
1791
|
])()
|
|
1734
1792
|
});
|
|
1735
|
-
const $
|
|
1793
|
+
const $ro38 = (_recursive = false, _depth = 0) => ({
|
|
1736
1794
|
maxLines: $pick([
|
|
1737
1795
|
() => undefined,
|
|
1738
1796
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1742,16 +1800,16 @@ export const randomSettingsRecord = generator => {
|
|
|
1742
1800
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1743
1801
|
])()
|
|
1744
1802
|
});
|
|
1745
|
-
const $
|
|
1803
|
+
const $ro39 = (_recursive = false, _depth = 0) => ({
|
|
1746
1804
|
maxHeight: $pick([
|
|
1747
1805
|
() => undefined,
|
|
1748
1806
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1749
1807
|
])()
|
|
1750
1808
|
});
|
|
1751
|
-
const $
|
|
1809
|
+
const $ro40 = (_recursive = false, _depth = 0) => ({
|
|
1752
1810
|
search: $pick([
|
|
1753
1811
|
() => undefined,
|
|
1754
|
-
() => $
|
|
1812
|
+
() => $ro41(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1755
1813
|
])(),
|
|
1756
1814
|
sortMode: $pick([
|
|
1757
1815
|
() => undefined,
|
|
@@ -1765,41 +1823,41 @@ export const randomSettingsRecord = generator => {
|
|
|
1765
1823
|
() => "leastrecent"
|
|
1766
1824
|
])()
|
|
1767
1825
|
});
|
|
1768
|
-
const $
|
|
1826
|
+
const $ro41 = (_recursive = false, _depth = 0) => ({
|
|
1769
1827
|
maxItemsDisplayed: $pick([
|
|
1770
1828
|
() => undefined,
|
|
1771
1829
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1772
1830
|
])()
|
|
1773
1831
|
});
|
|
1774
|
-
const $
|
|
1832
|
+
const $ro42 = (_recursive = false, _depth = 0) => ({
|
|
1775
1833
|
maxHeight: $pick([
|
|
1776
1834
|
() => undefined,
|
|
1777
1835
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1778
1836
|
])()
|
|
1779
1837
|
});
|
|
1780
|
-
const $
|
|
1838
|
+
const $ro43 = (_recursive = false, _depth = 0) => ({
|
|
1781
1839
|
id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1782
1840
|
folded: (generator?.boolean ?? $generator.boolean)()
|
|
1783
1841
|
});
|
|
1784
|
-
const $
|
|
1842
|
+
const $ro44 = (_recursive = false, _depth = 0) => ({
|
|
1785
1843
|
adobe: $pick([
|
|
1786
1844
|
() => undefined,
|
|
1787
|
-
() => $
|
|
1845
|
+
() => $ro45(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1788
1846
|
])()
|
|
1789
1847
|
});
|
|
1790
|
-
const $
|
|
1848
|
+
const $ro45 = (_recursive = false, _depth = 0) => ({
|
|
1791
1849
|
useProxies: $pick([
|
|
1792
1850
|
() => undefined,
|
|
1793
1851
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1794
1852
|
])()
|
|
1795
1853
|
});
|
|
1796
|
-
const $
|
|
1854
|
+
const $ro46 = (_recursive = false, _depth = 0) => ({
|
|
1797
1855
|
collections: $pick([
|
|
1798
1856
|
() => undefined,
|
|
1799
1857
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1800
1858
|
])()
|
|
1801
1859
|
});
|
|
1802
|
-
const $
|
|
1860
|
+
const $ro47 = (_recursive = false, _depth = 0) => ({
|
|
1803
1861
|
utils: $pick([
|
|
1804
1862
|
() => undefined,
|
|
1805
1863
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -1861,13 +1919,13 @@ export const randomSettingsRecord = generator => {
|
|
|
1861
1919
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1862
1920
|
])()
|
|
1863
1921
|
});
|
|
1864
|
-
const $
|
|
1922
|
+
const $ro48 = (_recursive = false, _depth = 0) => ({
|
|
1865
1923
|
events: $pick([
|
|
1866
1924
|
() => undefined,
|
|
1867
|
-
() => $
|
|
1925
|
+
() => $ro49(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1868
1926
|
])()
|
|
1869
1927
|
});
|
|
1870
|
-
const $
|
|
1928
|
+
const $ro49 = (_recursive = false, _depth = 0) => ({
|
|
1871
1929
|
comment: $pick([
|
|
1872
1930
|
() => undefined,
|
|
1873
1931
|
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
@@ -1900,10 +1958,10 @@ export const randomSettingsRecord = generator => {
|
|
|
1900
1958
|
])(),
|
|
1901
1959
|
publishSucceeded: $pick([
|
|
1902
1960
|
() => undefined,
|
|
1903
|
-
() => $
|
|
1961
|
+
() => $ro50(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1904
1962
|
])()
|
|
1905
1963
|
});
|
|
1906
|
-
const $
|
|
1964
|
+
const $ro50 = (_recursive = false, _depth = 0) => {
|
|
1907
1965
|
const output = {};
|
|
1908
1966
|
(generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $pick([
|
|
1909
1967
|
() => undefined,
|
|
@@ -1921,7 +1979,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1921
1979
|
};
|
|
1922
1980
|
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
1923
1981
|
const __is = input => {
|
|
1924
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $
|
|
1982
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(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) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
1925
1983
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
1926
1984
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
1927
1985
|
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 => {
|
|
@@ -1959,25 +2017,26 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1959
2017
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
1960
2018
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1961
2019
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
1962
|
-
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
1963
|
-
const $io32 = input => "string" === typeof input.
|
|
1964
|
-
const $io33 = input =>
|
|
1965
|
-
const $io34 = input => undefined === input.
|
|
1966
|
-
const $io35 = input =>
|
|
1967
|
-
const $io36 = input => undefined === input.
|
|
1968
|
-
const $io37 = input =>
|
|
1969
|
-
const $io38 = input => undefined === input.
|
|
1970
|
-
const $io39 = input =>
|
|
1971
|
-
const $io40 = input => undefined === input.
|
|
1972
|
-
const $io41 = input => undefined === input.
|
|
1973
|
-
const $io42 = input =>
|
|
1974
|
-
const $io43 = input =>
|
|
1975
|
-
const $io44 = input => undefined === input.
|
|
1976
|
-
const $io45 = input => undefined === input.
|
|
1977
|
-
const $io46 = input =>
|
|
1978
|
-
const $io47 = input => undefined === input.
|
|
1979
|
-
const $io48 = input =>
|
|
1980
|
-
const $io49 = input =>
|
|
2020
|
+
const $io31 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && $io32(input.voiceOver));
|
|
2021
|
+
const $io32 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration);
|
|
2022
|
+
const $io33 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
2023
|
+
const $io34 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io35(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io36(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io40(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io42(input.item));
|
|
2024
|
+
const $io35 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
2025
|
+
const $io36 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io37(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io39(input.note));
|
|
2026
|
+
const $io37 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io38(input.excerpt);
|
|
2027
|
+
const $io38 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
2028
|
+
const $io39 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2029
|
+
const $io40 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io41(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);
|
|
2030
|
+
const $io41 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
2031
|
+
const $io42 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
2032
|
+
const $io43 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
2033
|
+
const $io44 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io45(input.adobe);
|
|
2034
|
+
const $io45 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
2035
|
+
const $io46 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
2036
|
+
const $io47 = 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);
|
|
2037
|
+
const $io48 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io49(input.events);
|
|
2038
|
+
const $io49 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io50(input.publishSucceeded));
|
|
2039
|
+
const $io50 = input => Object.keys(input).every(key => {
|
|
1981
2040
|
const value = input[key];
|
|
1982
2041
|
if (undefined === value)
|
|
1983
2042
|
return true;
|
|
@@ -2125,7 +2184,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2125
2184
|
path: _path + ".commands[" + _index1 + "]",
|
|
2126
2185
|
expected: "__type.o2",
|
|
2127
2186
|
value: elem
|
|
2128
|
-
}, errorFactory)) && $
|
|
2187
|
+
}, errorFactory)) && $ao33(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2129
2188
|
path: _path + ".commands[" + _index1 + "]",
|
|
2130
2189
|
expected: "__type.o2",
|
|
2131
2190
|
value: elem
|
|
@@ -2147,11 +2206,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2147
2206
|
value: input.predefinedTags
|
|
2148
2207
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
2149
2208
|
path: _path + ".storyboard",
|
|
2150
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2209
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2151
2210
|
value: input.storyboard
|
|
2152
|
-
}, errorFactory)) && $
|
|
2211
|
+
}, errorFactory)) && $ao34(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
2153
2212
|
path: _path + ".storyboard",
|
|
2154
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2213
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2155
2214
|
value: input.storyboard
|
|
2156
2215
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
2157
2216
|
path: _path + ".hiddenPreviews",
|
|
@@ -2161,7 +2220,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2161
2220
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
2162
2221
|
expected: "__type.o3",
|
|
2163
2222
|
value: elem
|
|
2164
|
-
}, errorFactory)) && $
|
|
2223
|
+
}, errorFactory)) && $ao43(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2165
2224
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
2166
2225
|
expected: "__type.o3",
|
|
2167
2226
|
value: elem
|
|
@@ -2171,11 +2230,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2171
2230
|
value: input.hiddenPreviews
|
|
2172
2231
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
2173
2232
|
path: _path + ".plugins",
|
|
2174
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2233
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
2175
2234
|
value: input.plugins
|
|
2176
|
-
}, errorFactory)) && $
|
|
2235
|
+
}, errorFactory)) && $ao44(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
2177
2236
|
path: _path + ".plugins",
|
|
2178
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2237
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
2179
2238
|
value: input.plugins
|
|
2180
2239
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
2181
2240
|
path: _path + ".crashScreen",
|
|
@@ -2187,27 +2246,27 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2187
2246
|
value: input.debug
|
|
2188
2247
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
2189
2248
|
path: _path + ".featurePreview",
|
|
2190
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2249
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
2191
2250
|
value: input.featurePreview
|
|
2192
|
-
}, errorFactory)) && $
|
|
2251
|
+
}, errorFactory)) && $ao46(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
2193
2252
|
path: _path + ".featurePreview",
|
|
2194
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2253
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
2195
2254
|
value: input.featurePreview
|
|
2196
2255
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
2197
2256
|
path: _path + ".flags",
|
|
2198
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2257
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
2199
2258
|
value: input.flags
|
|
2200
|
-
}, errorFactory)) && $
|
|
2259
|
+
}, errorFactory)) && $ao47(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2201
2260
|
path: _path + ".flags",
|
|
2202
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2261
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
2203
2262
|
value: input.flags
|
|
2204
2263
|
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
2205
2264
|
path: _path + ".notifications",
|
|
2206
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2265
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
2207
2266
|
value: input.notifications
|
|
2208
|
-
}, errorFactory)) && $
|
|
2267
|
+
}, errorFactory)) && $ao48(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
2209
2268
|
path: _path + ".notifications",
|
|
2210
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2269
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
2211
2270
|
value: input.notifications
|
|
2212
2271
|
}, errorFactory));
|
|
2213
2272
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -2727,12 +2786,41 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2727
2786
|
expected: "(Array<string> | undefined)",
|
|
2728
2787
|
value: input.args
|
|
2729
2788
|
}, errorFactory));
|
|
2730
|
-
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
2789
|
+
const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
2731
2790
|
path: _path + ".thumbnailView",
|
|
2732
2791
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
2733
2792
|
value: input.thumbnailView
|
|
2734
|
-
}, errorFactory)
|
|
2735
|
-
|
|
2793
|
+
}, errorFactory)) && (undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || $guard(_exceptionable, {
|
|
2794
|
+
path: _path + ".voiceOver",
|
|
2795
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2796
|
+
value: input.voiceOver
|
|
2797
|
+
}, errorFactory)) && $ao32(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || $guard(_exceptionable, {
|
|
2798
|
+
path: _path + ".voiceOver",
|
|
2799
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2800
|
+
value: input.voiceOver
|
|
2801
|
+
}, errorFactory));
|
|
2802
|
+
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.inputDevice || "string" === typeof input.inputDevice || $guard(_exceptionable, {
|
|
2803
|
+
path: _path + ".inputDevice",
|
|
2804
|
+
expected: "(string | undefined)",
|
|
2805
|
+
value: input.inputDevice
|
|
2806
|
+
}, errorFactory)) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb || $guard(_exceptionable, {
|
|
2807
|
+
path: _path + ".inputGainDb",
|
|
2808
|
+
expected: "(number | undefined)",
|
|
2809
|
+
value: input.inputGainDb
|
|
2810
|
+
}, errorFactory)) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb || $guard(_exceptionable, {
|
|
2811
|
+
path: _path + ".backgroundReductionDb",
|
|
2812
|
+
expected: "(number | undefined)",
|
|
2813
|
+
value: input.backgroundReductionDb
|
|
2814
|
+
}, errorFactory)) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode || $guard(_exceptionable, {
|
|
2815
|
+
path: _path + ".recordMode",
|
|
2816
|
+
expected: "(\"instant\" | \"punchAndRoll\" | undefined)",
|
|
2817
|
+
value: input.recordMode
|
|
2818
|
+
}, errorFactory)) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration || $guard(_exceptionable, {
|
|
2819
|
+
path: _path + ".preRollDuration",
|
|
2820
|
+
expected: "(number | undefined)",
|
|
2821
|
+
value: input.preRollDuration
|
|
2822
|
+
}, errorFactory));
|
|
2823
|
+
const $ao33 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
2736
2824
|
path: _path + ".title",
|
|
2737
2825
|
expected: "string",
|
|
2738
2826
|
value: input.title
|
|
@@ -2753,71 +2841,71 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2753
2841
|
expected: "(Array<string> | undefined)",
|
|
2754
2842
|
value: input.args
|
|
2755
2843
|
}, errorFactory));
|
|
2756
|
-
const $
|
|
2844
|
+
const $ao34 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
2757
2845
|
path: _path + ".folded",
|
|
2758
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2846
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2759
2847
|
value: input.folded
|
|
2760
|
-
}, errorFactory)) && $
|
|
2848
|
+
}, errorFactory)) && $ao35(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
2761
2849
|
path: _path + ".folded",
|
|
2762
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2850
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2763
2851
|
value: input.folded
|
|
2764
2852
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
2765
2853
|
path: _path + ".assets",
|
|
2766
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2854
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2767
2855
|
value: input.assets
|
|
2768
|
-
}, errorFactory)) && $
|
|
2856
|
+
}, errorFactory)) && $ao36(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2769
2857
|
path: _path + ".assets",
|
|
2770
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2858
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2771
2859
|
value: input.assets
|
|
2772
2860
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
2773
2861
|
path: _path + ".pipeline",
|
|
2774
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2862
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2775
2863
|
value: input.pipeline
|
|
2776
|
-
}, errorFactory)) && $
|
|
2864
|
+
}, errorFactory)) && $ao40(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2777
2865
|
path: _path + ".pipeline",
|
|
2778
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2866
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2779
2867
|
value: input.pipeline
|
|
2780
2868
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
2781
2869
|
path: _path + ".item",
|
|
2782
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2870
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2783
2871
|
value: input.item
|
|
2784
|
-
}, errorFactory)) && $
|
|
2872
|
+
}, errorFactory)) && $ao42(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2785
2873
|
path: _path + ".item",
|
|
2786
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2874
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2787
2875
|
value: input.item
|
|
2788
2876
|
}, errorFactory));
|
|
2789
|
-
const $
|
|
2877
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
2790
2878
|
path: _path + ".auto",
|
|
2791
2879
|
expected: "(boolean | undefined)",
|
|
2792
2880
|
value: input.auto
|
|
2793
2881
|
}, errorFactory);
|
|
2794
|
-
const $
|
|
2882
|
+
const $ao36 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
2795
2883
|
path: _path + ".story",
|
|
2796
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2884
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2797
2885
|
value: input.story
|
|
2798
|
-
}, errorFactory)) && $
|
|
2886
|
+
}, errorFactory)) && $ao37(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2799
2887
|
path: _path + ".story",
|
|
2800
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2888
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2801
2889
|
value: input.story
|
|
2802
2890
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
2803
2891
|
path: _path + ".note",
|
|
2804
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2892
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2805
2893
|
value: input.note
|
|
2806
|
-
}, errorFactory)) && $
|
|
2894
|
+
}, errorFactory)) && $ao39(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
2807
2895
|
path: _path + ".note",
|
|
2808
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2896
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2809
2897
|
value: input.note
|
|
2810
2898
|
}, errorFactory));
|
|
2811
|
-
const $
|
|
2899
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
2812
2900
|
path: _path + ".excerpt",
|
|
2813
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2901
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2814
2902
|
value: input.excerpt
|
|
2815
|
-
}, errorFactory)) && $
|
|
2903
|
+
}, errorFactory)) && $ao38(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2816
2904
|
path: _path + ".excerpt",
|
|
2817
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2905
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2818
2906
|
value: input.excerpt
|
|
2819
2907
|
}, errorFactory);
|
|
2820
|
-
const $
|
|
2908
|
+
const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
2821
2909
|
path: _path + ".maxLines",
|
|
2822
2910
|
expected: "(number | undefined)",
|
|
2823
2911
|
value: input.maxLines
|
|
@@ -2826,35 +2914,35 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2826
2914
|
expected: "(string | undefined)",
|
|
2827
2915
|
value: input.mode
|
|
2828
2916
|
}, errorFactory));
|
|
2829
|
-
const $
|
|
2917
|
+
const $ao39 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2830
2918
|
path: _path + ".maxHeight",
|
|
2831
2919
|
expected: "(number | undefined)",
|
|
2832
2920
|
value: input.maxHeight
|
|
2833
2921
|
}, errorFactory);
|
|
2834
|
-
const $
|
|
2922
|
+
const $ao40 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2835
2923
|
path: _path + ".search",
|
|
2836
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2924
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2837
2925
|
value: input.search
|
|
2838
|
-
}, errorFactory)) && $
|
|
2926
|
+
}, errorFactory)) && $ao41(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2839
2927
|
path: _path + ".search",
|
|
2840
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2928
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2841
2929
|
value: input.search
|
|
2842
2930
|
}, 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, {
|
|
2843
2931
|
path: _path + ".sortMode",
|
|
2844
2932
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
2845
2933
|
value: input.sortMode
|
|
2846
2934
|
}, errorFactory));
|
|
2847
|
-
const $
|
|
2935
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
2848
2936
|
path: _path + ".maxItemsDisplayed",
|
|
2849
2937
|
expected: "(number | undefined)",
|
|
2850
2938
|
value: input.maxItemsDisplayed
|
|
2851
2939
|
}, errorFactory);
|
|
2852
|
-
const $
|
|
2940
|
+
const $ao42 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2853
2941
|
path: _path + ".maxHeight",
|
|
2854
2942
|
expected: "(number | undefined)",
|
|
2855
2943
|
value: input.maxHeight
|
|
2856
2944
|
}, errorFactory);
|
|
2857
|
-
const $
|
|
2945
|
+
const $ao43 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
2858
2946
|
path: _path + ".id",
|
|
2859
2947
|
expected: "string",
|
|
2860
2948
|
value: input.id
|
|
@@ -2863,26 +2951,26 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2863
2951
|
expected: "boolean",
|
|
2864
2952
|
value: input.folded
|
|
2865
2953
|
}, errorFactory));
|
|
2866
|
-
const $
|
|
2954
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
2867
2955
|
path: _path + ".adobe",
|
|
2868
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2956
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
2869
2957
|
value: input.adobe
|
|
2870
|
-
}, errorFactory)) && $
|
|
2958
|
+
}, errorFactory)) && $ao45(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2871
2959
|
path: _path + ".adobe",
|
|
2872
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2960
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
2873
2961
|
value: input.adobe
|
|
2874
2962
|
}, errorFactory);
|
|
2875
|
-
const $
|
|
2963
|
+
const $ao45 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2876
2964
|
path: _path + ".useProxies",
|
|
2877
2965
|
expected: "(boolean | undefined)",
|
|
2878
2966
|
value: input.useProxies
|
|
2879
2967
|
}, errorFactory);
|
|
2880
|
-
const $
|
|
2968
|
+
const $ao46 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
2881
2969
|
path: _path + ".collections",
|
|
2882
2970
|
expected: "(boolean | undefined)",
|
|
2883
2971
|
value: input.collections
|
|
2884
2972
|
}, errorFactory);
|
|
2885
|
-
const $
|
|
2973
|
+
const $ao47 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2886
2974
|
path: _path + ".utils",
|
|
2887
2975
|
expected: "(boolean | undefined)",
|
|
2888
2976
|
value: input.utils
|
|
@@ -2943,16 +3031,16 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2943
3031
|
expected: "(boolean | undefined)",
|
|
2944
3032
|
value: input.devWarnings
|
|
2945
3033
|
}, errorFactory));
|
|
2946
|
-
const $
|
|
3034
|
+
const $ao48 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
2947
3035
|
path: _path + ".events",
|
|
2948
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3036
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
2949
3037
|
value: input.events
|
|
2950
|
-
}, errorFactory)) && $
|
|
3038
|
+
}, errorFactory)) && $ao49(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
2951
3039
|
path: _path + ".events",
|
|
2952
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3040
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
2953
3041
|
value: input.events
|
|
2954
3042
|
}, errorFactory);
|
|
2955
|
-
const $
|
|
3043
|
+
const $ao49 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
2956
3044
|
path: _path + ".comment",
|
|
2957
3045
|
expected: "(Array<NotificationReason> | undefined)",
|
|
2958
3046
|
value: input.comment
|
|
@@ -2990,14 +3078,14 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2990
3078
|
value: input.unassigned
|
|
2991
3079
|
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
2992
3080
|
path: _path + ".publishSucceeded",
|
|
2993
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3081
|
+
expected: "(PartialObjectDeep<__type, __type>.o41 | undefined)",
|
|
2994
3082
|
value: input.publishSucceeded
|
|
2995
|
-
}, errorFactory)) && $
|
|
3083
|
+
}, errorFactory)) && $ao50(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
2996
3084
|
path: _path + ".publishSucceeded",
|
|
2997
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3085
|
+
expected: "(PartialObjectDeep<__type, __type>.o41 | undefined)",
|
|
2998
3086
|
value: input.publishSucceeded
|
|
2999
3087
|
}, errorFactory));
|
|
3000
|
-
const $
|
|
3088
|
+
const $ao50 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
3001
3089
|
const value = input[key];
|
|
3002
3090
|
if (undefined === value)
|
|
3003
3091
|
return true;
|
|
@@ -3064,25 +3152,26 @@ export const stringifySettingsRecord = input => {
|
|
|
3064
3152
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
3065
3153
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3066
3154
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3067
|
-
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
3068
|
-
const $io32 = input => "string" === typeof input.
|
|
3069
|
-
const $io33 = input =>
|
|
3070
|
-
const $io34 = input => undefined === input.
|
|
3071
|
-
const $io35 = input =>
|
|
3072
|
-
const $io36 = input => undefined === input.
|
|
3073
|
-
const $io37 = input =>
|
|
3074
|
-
const $io38 = input => undefined === input.
|
|
3075
|
-
const $io39 = input =>
|
|
3076
|
-
const $io40 = input => undefined === input.
|
|
3077
|
-
const $io41 = input => undefined === input.
|
|
3078
|
-
const $io42 = input =>
|
|
3079
|
-
const $io43 = input =>
|
|
3080
|
-
const $io44 = input => undefined === input.
|
|
3081
|
-
const $io45 = input => undefined === input.
|
|
3082
|
-
const $io46 = input =>
|
|
3083
|
-
const $io47 = input => undefined === input.
|
|
3084
|
-
const $io48 = input =>
|
|
3085
|
-
const $io49 = input =>
|
|
3155
|
+
const $io31 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && $io32(input.voiceOver));
|
|
3156
|
+
const $io32 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration);
|
|
3157
|
+
const $io33 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3158
|
+
const $io34 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io35(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io36(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io40(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io42(input.item));
|
|
3159
|
+
const $io35 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
3160
|
+
const $io36 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io37(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io39(input.note));
|
|
3161
|
+
const $io37 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io38(input.excerpt);
|
|
3162
|
+
const $io38 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3163
|
+
const $io39 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3164
|
+
const $io40 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io41(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);
|
|
3165
|
+
const $io41 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
3166
|
+
const $io42 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3167
|
+
const $io43 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
3168
|
+
const $io44 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io45(input.adobe);
|
|
3169
|
+
const $io45 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3170
|
+
const $io46 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
3171
|
+
const $io47 = 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);
|
|
3172
|
+
const $io48 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io49(input.events);
|
|
3173
|
+
const $io49 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io50(input.publishSucceeded));
|
|
3174
|
+
const $io50 = input => Object.keys(input).every(key => {
|
|
3086
3175
|
const value = input[key];
|
|
3087
3176
|
if (undefined === value)
|
|
3088
3177
|
return true;
|
|
@@ -3091,7 +3180,7 @@ export const stringifySettingsRecord = input => {
|
|
|
3091
3180
|
const $string = __typia.json.createStringify.string;
|
|
3092
3181
|
const $tail = __typia.json.createStringify.tail;
|
|
3093
3182
|
const $throws = __typia.json.createStringify.throws;
|
|
3094
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $
|
|
3183
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so33(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so34(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 ? $so44(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 ? $so46(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so47(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so48(input.notifications) : undefined}`}`)}}`;
|
|
3095
3184
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
3096
3185
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
3097
3186
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -3169,15 +3258,25 @@ export const stringifySettingsRecord = input => {
|
|
|
3169
3258
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
3170
3259
|
value: input.thumbnailView
|
|
3171
3260
|
});
|
|
3172
|
-
})() : undefined}`}`)}}`;
|
|
3173
|
-
const $so32 = input => `{${undefined === input.
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3261
|
+
})() : undefined},`}${undefined === input.voiceOver ? "" : `"voiceOver":${undefined !== input.voiceOver ? $so32(input.voiceOver) : undefined}`}`)}}`;
|
|
3262
|
+
const $so32 = input => `{${$tail(`${undefined === input.inputDevice ? "" : `"inputDevice":${undefined !== input.inputDevice ? $string(input.inputDevice) : undefined},`}${undefined === input.inputGainDb ? "" : `"inputGainDb":${undefined !== input.inputGainDb ? input.inputGainDb : undefined},`}${undefined === input.backgroundReductionDb ? "" : `"backgroundReductionDb":${undefined !== input.backgroundReductionDb ? input.backgroundReductionDb : undefined},`}${undefined === input.recordMode ? "" : `"recordMode":${undefined !== input.recordMode ? (() => {
|
|
3263
|
+
if ("string" === typeof input.recordMode)
|
|
3264
|
+
return $string(input.recordMode);
|
|
3265
|
+
if ("string" === typeof input.recordMode)
|
|
3266
|
+
return "\"" + input.recordMode + "\"";
|
|
3267
|
+
$throws({
|
|
3268
|
+
expected: "(\"instant\" | \"punchAndRoll\" | undefined)",
|
|
3269
|
+
value: input.recordMode
|
|
3270
|
+
});
|
|
3271
|
+
})() : undefined},`}${undefined === input.preRollDuration ? "" : `"preRollDuration":${undefined !== input.preRollDuration ? input.preRollDuration : undefined}`}`)}}`;
|
|
3272
|
+
const $so33 = input => `{${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined},`}"title":${$string(input.title)}}`;
|
|
3273
|
+
const $so34 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so35(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so36(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so40(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so42(input.item) : undefined}`}`)}}`;
|
|
3274
|
+
const $so35 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
3275
|
+
const $so36 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so37(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so39(input.note) : undefined}`}`)}}`;
|
|
3276
|
+
const $so37 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so38(input.excerpt) : undefined}`}`)}}`;
|
|
3277
|
+
const $so38 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
3278
|
+
const $so39 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3279
|
+
const $so40 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so41(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
3181
3280
|
if ("string" === typeof input.sortMode)
|
|
3182
3281
|
return $string(input.sortMode);
|
|
3183
3282
|
if ("string" === typeof input.sortMode)
|
|
@@ -3187,14 +3286,14 @@ export const stringifySettingsRecord = input => {
|
|
|
3187
3286
|
value: input.sortMode
|
|
3188
3287
|
});
|
|
3189
3288
|
})() : undefined}`}`)}}`;
|
|
3190
|
-
const $
|
|
3191
|
-
const $
|
|
3192
|
-
const $
|
|
3193
|
-
const $
|
|
3194
|
-
const $
|
|
3195
|
-
const $
|
|
3196
|
-
const $
|
|
3197
|
-
const $
|
|
3289
|
+
const $so41 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
3290
|
+
const $so42 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3291
|
+
const $so44 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so45(input.adobe) : undefined}`}`)}}`;
|
|
3292
|
+
const $so45 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
3293
|
+
const $so46 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
3294
|
+
const $so47 = 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}`}`)}}`;
|
|
3295
|
+
const $so48 = input => `{${$tail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so49(input.events) : undefined}`}`)}}`;
|
|
3296
|
+
const $so49 = input => `{${$tail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => (() => {
|
|
3198
3297
|
if ("string" === typeof elem)
|
|
3199
3298
|
return $string(elem);
|
|
3200
3299
|
if ("string" === typeof elem)
|
|
@@ -3221,8 +3320,8 @@ export const stringifySettingsRecord = input => {
|
|
|
3221
3320
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3222
3321
|
value: elem
|
|
3223
3322
|
});
|
|
3224
|
-
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $
|
|
3225
|
-
const $
|
|
3323
|
+
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $so50(input.publishSucceeded) : undefined}`}`)}}`;
|
|
3324
|
+
const $so50 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3226
3325
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? `[${value.map(elem => (() => {
|
|
3227
3326
|
if ("string" === typeof elem)
|
|
3228
3327
|
return $string(elem);
|
|
@@ -3237,7 +3336,7 @@ export const stringifySettingsRecord = input => {
|
|
|
3237
3336
|
};
|
|
3238
3337
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
3239
3338
|
const __is = input => {
|
|
3240
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $
|
|
3339
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(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) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
3241
3340
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
3242
3341
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
3243
3342
|
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 => {
|
|
@@ -3275,25 +3374,26 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3275
3374
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
|
|
3276
3375
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3277
3376
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3278
|
-
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
3279
|
-
const $io32 = input => "string" === typeof input.
|
|
3280
|
-
const $io33 = input =>
|
|
3281
|
-
const $io34 = input => undefined === input.
|
|
3282
|
-
const $io35 = input =>
|
|
3283
|
-
const $io36 = input => undefined === input.
|
|
3284
|
-
const $io37 = input =>
|
|
3285
|
-
const $io38 = input => undefined === input.
|
|
3286
|
-
const $io39 = input =>
|
|
3287
|
-
const $io40 = input => undefined === input.
|
|
3288
|
-
const $io41 = input => undefined === input.
|
|
3289
|
-
const $io42 = input =>
|
|
3290
|
-
const $io43 = input =>
|
|
3291
|
-
const $io44 = input => undefined === input.
|
|
3292
|
-
const $io45 = input => undefined === input.
|
|
3293
|
-
const $io46 = input =>
|
|
3294
|
-
const $io47 = input => undefined === input.
|
|
3295
|
-
const $io48 = input =>
|
|
3296
|
-
const $io49 = input =>
|
|
3377
|
+
const $io31 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && $io32(input.voiceOver));
|
|
3378
|
+
const $io32 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb && !Number.isNaN(input.inputGainDb)) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb && !Number.isNaN(input.backgroundReductionDb)) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration && !Number.isNaN(input.preRollDuration));
|
|
3379
|
+
const $io33 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3380
|
+
const $io34 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io35(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io36(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io40(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io42(input.item));
|
|
3381
|
+
const $io35 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
3382
|
+
const $io36 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io37(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io39(input.note));
|
|
3383
|
+
const $io37 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io38(input.excerpt);
|
|
3384
|
+
const $io38 = input => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines)) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3385
|
+
const $io39 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
3386
|
+
const $io40 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io41(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);
|
|
3387
|
+
const $io41 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed);
|
|
3388
|
+
const $io42 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
3389
|
+
const $io43 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
3390
|
+
const $io44 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io45(input.adobe);
|
|
3391
|
+
const $io45 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3392
|
+
const $io46 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
3393
|
+
const $io47 = 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);
|
|
3394
|
+
const $io48 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io49(input.events);
|
|
3395
|
+
const $io49 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io50(input.publishSucceeded));
|
|
3396
|
+
const $io50 = input => Object.keys(input).every(key => {
|
|
3297
3397
|
const value = input[key];
|
|
3298
3398
|
if (undefined === value)
|
|
3299
3399
|
return true;
|
|
@@ -3441,7 +3541,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3441
3541
|
path: _path + ".commands[" + _index1 + "]",
|
|
3442
3542
|
expected: "__type.o2",
|
|
3443
3543
|
value: elem
|
|
3444
|
-
}, errorFactory)) && $
|
|
3544
|
+
}, errorFactory)) && $ao33(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3445
3545
|
path: _path + ".commands[" + _index1 + "]",
|
|
3446
3546
|
expected: "__type.o2",
|
|
3447
3547
|
value: elem
|
|
@@ -3463,11 +3563,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3463
3563
|
value: input.predefinedTags
|
|
3464
3564
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
3465
3565
|
path: _path + ".storyboard",
|
|
3466
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3566
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
3467
3567
|
value: input.storyboard
|
|
3468
|
-
}, errorFactory)) && $
|
|
3568
|
+
}, errorFactory)) && $ao34(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
3469
3569
|
path: _path + ".storyboard",
|
|
3470
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3570
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
3471
3571
|
value: input.storyboard
|
|
3472
3572
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
3473
3573
|
path: _path + ".hiddenPreviews",
|
|
@@ -3477,7 +3577,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3477
3577
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
3478
3578
|
expected: "__type.o3",
|
|
3479
3579
|
value: elem
|
|
3480
|
-
}, errorFactory)) && $
|
|
3580
|
+
}, errorFactory)) && $ao43(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3481
3581
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
3482
3582
|
expected: "__type.o3",
|
|
3483
3583
|
value: elem
|
|
@@ -3487,11 +3587,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3487
3587
|
value: input.hiddenPreviews
|
|
3488
3588
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
3489
3589
|
path: _path + ".plugins",
|
|
3490
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3590
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
3491
3591
|
value: input.plugins
|
|
3492
|
-
}, errorFactory)) && $
|
|
3592
|
+
}, errorFactory)) && $ao44(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
3493
3593
|
path: _path + ".plugins",
|
|
3494
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3594
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
3495
3595
|
value: input.plugins
|
|
3496
3596
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
3497
3597
|
path: _path + ".crashScreen",
|
|
@@ -3503,27 +3603,27 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3503
3603
|
value: input.debug
|
|
3504
3604
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
3505
3605
|
path: _path + ".featurePreview",
|
|
3506
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3606
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
3507
3607
|
value: input.featurePreview
|
|
3508
|
-
}, errorFactory)) && $
|
|
3608
|
+
}, errorFactory)) && $ao46(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
3509
3609
|
path: _path + ".featurePreview",
|
|
3510
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3610
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
3511
3611
|
value: input.featurePreview
|
|
3512
3612
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
3513
3613
|
path: _path + ".flags",
|
|
3514
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3614
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
3515
3615
|
value: input.flags
|
|
3516
|
-
}, errorFactory)) && $
|
|
3616
|
+
}, errorFactory)) && $ao47(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
3517
3617
|
path: _path + ".flags",
|
|
3518
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3618
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
3519
3619
|
value: input.flags
|
|
3520
3620
|
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
3521
3621
|
path: _path + ".notifications",
|
|
3522
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3622
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
3523
3623
|
value: input.notifications
|
|
3524
|
-
}, errorFactory)) && $
|
|
3624
|
+
}, errorFactory)) && $ao48(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
3525
3625
|
path: _path + ".notifications",
|
|
3526
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3626
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
3527
3627
|
value: input.notifications
|
|
3528
3628
|
}, errorFactory));
|
|
3529
3629
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -4043,12 +4143,41 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4043
4143
|
expected: "(Array<string> | undefined)",
|
|
4044
4144
|
value: input.args
|
|
4045
4145
|
}, errorFactory));
|
|
4046
|
-
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
4146
|
+
const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
4047
4147
|
path: _path + ".thumbnailView",
|
|
4048
4148
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
4049
4149
|
value: input.thumbnailView
|
|
4050
|
-
}, errorFactory)
|
|
4051
|
-
|
|
4150
|
+
}, errorFactory)) && (undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || $guard(_exceptionable, {
|
|
4151
|
+
path: _path + ".voiceOver",
|
|
4152
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
4153
|
+
value: input.voiceOver
|
|
4154
|
+
}, errorFactory)) && $ao32(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || $guard(_exceptionable, {
|
|
4155
|
+
path: _path + ".voiceOver",
|
|
4156
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
4157
|
+
value: input.voiceOver
|
|
4158
|
+
}, errorFactory));
|
|
4159
|
+
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.inputDevice || "string" === typeof input.inputDevice || $guard(_exceptionable, {
|
|
4160
|
+
path: _path + ".inputDevice",
|
|
4161
|
+
expected: "(string | undefined)",
|
|
4162
|
+
value: input.inputDevice
|
|
4163
|
+
}, errorFactory)) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb && !Number.isNaN(input.inputGainDb) || $guard(_exceptionable, {
|
|
4164
|
+
path: _path + ".inputGainDb",
|
|
4165
|
+
expected: "(number | undefined)",
|
|
4166
|
+
value: input.inputGainDb
|
|
4167
|
+
}, errorFactory)) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb && !Number.isNaN(input.backgroundReductionDb) || $guard(_exceptionable, {
|
|
4168
|
+
path: _path + ".backgroundReductionDb",
|
|
4169
|
+
expected: "(number | undefined)",
|
|
4170
|
+
value: input.backgroundReductionDb
|
|
4171
|
+
}, errorFactory)) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode || $guard(_exceptionable, {
|
|
4172
|
+
path: _path + ".recordMode",
|
|
4173
|
+
expected: "(\"instant\" | \"punchAndRoll\" | undefined)",
|
|
4174
|
+
value: input.recordMode
|
|
4175
|
+
}, errorFactory)) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration && !Number.isNaN(input.preRollDuration) || $guard(_exceptionable, {
|
|
4176
|
+
path: _path + ".preRollDuration",
|
|
4177
|
+
expected: "(number | undefined)",
|
|
4178
|
+
value: input.preRollDuration
|
|
4179
|
+
}, errorFactory));
|
|
4180
|
+
const $ao33 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
4052
4181
|
path: _path + ".title",
|
|
4053
4182
|
expected: "string",
|
|
4054
4183
|
value: input.title
|
|
@@ -4069,71 +4198,71 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4069
4198
|
expected: "(Array<string> | undefined)",
|
|
4070
4199
|
value: input.args
|
|
4071
4200
|
}, errorFactory));
|
|
4072
|
-
const $
|
|
4201
|
+
const $ao34 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
4073
4202
|
path: _path + ".folded",
|
|
4074
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4203
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
4075
4204
|
value: input.folded
|
|
4076
|
-
}, errorFactory)) && $
|
|
4205
|
+
}, errorFactory)) && $ao35(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
4077
4206
|
path: _path + ".folded",
|
|
4078
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4207
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
4079
4208
|
value: input.folded
|
|
4080
4209
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
4081
4210
|
path: _path + ".assets",
|
|
4082
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4211
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
4083
4212
|
value: input.assets
|
|
4084
|
-
}, errorFactory)) && $
|
|
4213
|
+
}, errorFactory)) && $ao36(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
4085
4214
|
path: _path + ".assets",
|
|
4086
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4215
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
4087
4216
|
value: input.assets
|
|
4088
4217
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
4089
4218
|
path: _path + ".pipeline",
|
|
4090
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4219
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
4091
4220
|
value: input.pipeline
|
|
4092
|
-
}, errorFactory)) && $
|
|
4221
|
+
}, errorFactory)) && $ao40(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
4093
4222
|
path: _path + ".pipeline",
|
|
4094
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4223
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
4095
4224
|
value: input.pipeline
|
|
4096
4225
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
4097
4226
|
path: _path + ".item",
|
|
4098
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4227
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
4099
4228
|
value: input.item
|
|
4100
|
-
}, errorFactory)) && $
|
|
4229
|
+
}, errorFactory)) && $ao42(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
4101
4230
|
path: _path + ".item",
|
|
4102
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4231
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
4103
4232
|
value: input.item
|
|
4104
4233
|
}, errorFactory));
|
|
4105
|
-
const $
|
|
4234
|
+
const $ao35 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
4106
4235
|
path: _path + ".auto",
|
|
4107
4236
|
expected: "(boolean | undefined)",
|
|
4108
4237
|
value: input.auto
|
|
4109
4238
|
}, errorFactory);
|
|
4110
|
-
const $
|
|
4239
|
+
const $ao36 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
4111
4240
|
path: _path + ".story",
|
|
4112
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4241
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
4113
4242
|
value: input.story
|
|
4114
|
-
}, errorFactory)) && $
|
|
4243
|
+
}, errorFactory)) && $ao37(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
4115
4244
|
path: _path + ".story",
|
|
4116
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4245
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
4117
4246
|
value: input.story
|
|
4118
4247
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
4119
4248
|
path: _path + ".note",
|
|
4120
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4249
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
4121
4250
|
value: input.note
|
|
4122
|
-
}, errorFactory)) && $
|
|
4251
|
+
}, errorFactory)) && $ao39(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
4123
4252
|
path: _path + ".note",
|
|
4124
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4253
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
4125
4254
|
value: input.note
|
|
4126
4255
|
}, errorFactory));
|
|
4127
|
-
const $
|
|
4256
|
+
const $ao37 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
4128
4257
|
path: _path + ".excerpt",
|
|
4129
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4258
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
4130
4259
|
value: input.excerpt
|
|
4131
|
-
}, errorFactory)) && $
|
|
4260
|
+
}, errorFactory)) && $ao38(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
4132
4261
|
path: _path + ".excerpt",
|
|
4133
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4262
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
4134
4263
|
value: input.excerpt
|
|
4135
4264
|
}, errorFactory);
|
|
4136
|
-
const $
|
|
4265
|
+
const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
4137
4266
|
path: _path + ".maxLines",
|
|
4138
4267
|
expected: "(number | undefined)",
|
|
4139
4268
|
value: input.maxLines
|
|
@@ -4142,35 +4271,35 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4142
4271
|
expected: "(string | undefined)",
|
|
4143
4272
|
value: input.mode
|
|
4144
4273
|
}, errorFactory));
|
|
4145
|
-
const $
|
|
4274
|
+
const $ao39 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
4146
4275
|
path: _path + ".maxHeight",
|
|
4147
4276
|
expected: "(number | undefined)",
|
|
4148
4277
|
value: input.maxHeight
|
|
4149
4278
|
}, errorFactory);
|
|
4150
|
-
const $
|
|
4279
|
+
const $ao40 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
4151
4280
|
path: _path + ".search",
|
|
4152
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4281
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
4153
4282
|
value: input.search
|
|
4154
|
-
}, errorFactory)) && $
|
|
4283
|
+
}, errorFactory)) && $ao41(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
4155
4284
|
path: _path + ".search",
|
|
4156
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4285
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
4157
4286
|
value: input.search
|
|
4158
4287
|
}, 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, {
|
|
4159
4288
|
path: _path + ".sortMode",
|
|
4160
4289
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
4161
4290
|
value: input.sortMode
|
|
4162
4291
|
}, errorFactory));
|
|
4163
|
-
const $
|
|
4292
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
4164
4293
|
path: _path + ".maxItemsDisplayed",
|
|
4165
4294
|
expected: "(number | undefined)",
|
|
4166
4295
|
value: input.maxItemsDisplayed
|
|
4167
4296
|
}, errorFactory);
|
|
4168
|
-
const $
|
|
4297
|
+
const $ao42 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
4169
4298
|
path: _path + ".maxHeight",
|
|
4170
4299
|
expected: "(number | undefined)",
|
|
4171
4300
|
value: input.maxHeight
|
|
4172
4301
|
}, errorFactory);
|
|
4173
|
-
const $
|
|
4302
|
+
const $ao43 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
4174
4303
|
path: _path + ".id",
|
|
4175
4304
|
expected: "string",
|
|
4176
4305
|
value: input.id
|
|
@@ -4179,26 +4308,26 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4179
4308
|
expected: "boolean",
|
|
4180
4309
|
value: input.folded
|
|
4181
4310
|
}, errorFactory));
|
|
4182
|
-
const $
|
|
4311
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
4183
4312
|
path: _path + ".adobe",
|
|
4184
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4313
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
4185
4314
|
value: input.adobe
|
|
4186
|
-
}, errorFactory)) && $
|
|
4315
|
+
}, errorFactory)) && $ao45(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
4187
4316
|
path: _path + ".adobe",
|
|
4188
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4317
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
4189
4318
|
value: input.adobe
|
|
4190
4319
|
}, errorFactory);
|
|
4191
|
-
const $
|
|
4320
|
+
const $ao45 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
4192
4321
|
path: _path + ".useProxies",
|
|
4193
4322
|
expected: "(boolean | undefined)",
|
|
4194
4323
|
value: input.useProxies
|
|
4195
4324
|
}, errorFactory);
|
|
4196
|
-
const $
|
|
4325
|
+
const $ao46 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
4197
4326
|
path: _path + ".collections",
|
|
4198
4327
|
expected: "(boolean | undefined)",
|
|
4199
4328
|
value: input.collections
|
|
4200
4329
|
}, errorFactory);
|
|
4201
|
-
const $
|
|
4330
|
+
const $ao47 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
4202
4331
|
path: _path + ".utils",
|
|
4203
4332
|
expected: "(boolean | undefined)",
|
|
4204
4333
|
value: input.utils
|
|
@@ -4259,16 +4388,16 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4259
4388
|
expected: "(boolean | undefined)",
|
|
4260
4389
|
value: input.devWarnings
|
|
4261
4390
|
}, errorFactory));
|
|
4262
|
-
const $
|
|
4391
|
+
const $ao48 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
4263
4392
|
path: _path + ".events",
|
|
4264
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4393
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
4265
4394
|
value: input.events
|
|
4266
|
-
}, errorFactory)) && $
|
|
4395
|
+
}, errorFactory)) && $ao49(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
4267
4396
|
path: _path + ".events",
|
|
4268
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4397
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
4269
4398
|
value: input.events
|
|
4270
4399
|
}, errorFactory);
|
|
4271
|
-
const $
|
|
4400
|
+
const $ao49 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
4272
4401
|
path: _path + ".comment",
|
|
4273
4402
|
expected: "(Array<NotificationReason> | undefined)",
|
|
4274
4403
|
value: input.comment
|
|
@@ -4306,14 +4435,14 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4306
4435
|
value: input.unassigned
|
|
4307
4436
|
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
4308
4437
|
path: _path + ".publishSucceeded",
|
|
4309
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4438
|
+
expected: "(PartialObjectDeep<__type, __type>.o41 | undefined)",
|
|
4310
4439
|
value: input.publishSucceeded
|
|
4311
|
-
}, errorFactory)) && $
|
|
4440
|
+
}, errorFactory)) && $ao50(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
4312
4441
|
path: _path + ".publishSucceeded",
|
|
4313
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4442
|
+
expected: "(PartialObjectDeep<__type, __type>.o41 | undefined)",
|
|
4314
4443
|
value: input.publishSucceeded
|
|
4315
4444
|
}, errorFactory));
|
|
4316
|
-
const $
|
|
4445
|
+
const $ao50 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
4317
4446
|
const value = input[key];
|
|
4318
4447
|
if (undefined === value)
|
|
4319
4448
|
return true;
|
|
@@ -4380,25 +4509,26 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4380
4509
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
4381
4510
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
4382
4511
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
4383
|
-
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
4384
|
-
const $io32 = input => "string" === typeof input.
|
|
4385
|
-
const $io33 = input =>
|
|
4386
|
-
const $io34 = input => undefined === input.
|
|
4387
|
-
const $io35 = input =>
|
|
4388
|
-
const $io36 = input => undefined === input.
|
|
4389
|
-
const $io37 = input =>
|
|
4390
|
-
const $io38 = input => undefined === input.
|
|
4391
|
-
const $io39 = input =>
|
|
4392
|
-
const $io40 = input => undefined === input.
|
|
4393
|
-
const $io41 = input => undefined === input.
|
|
4394
|
-
const $io42 = input =>
|
|
4395
|
-
const $io43 = input =>
|
|
4396
|
-
const $io44 = input => undefined === input.
|
|
4397
|
-
const $io45 = input => undefined === input.
|
|
4398
|
-
const $io46 = input =>
|
|
4399
|
-
const $io47 = input => undefined === input.
|
|
4400
|
-
const $io48 = input =>
|
|
4401
|
-
const $io49 = input =>
|
|
4512
|
+
const $io31 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && $io32(input.voiceOver));
|
|
4513
|
+
const $io32 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration);
|
|
4514
|
+
const $io33 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
4515
|
+
const $io34 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io35(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io36(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io40(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io42(input.item));
|
|
4516
|
+
const $io35 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
4517
|
+
const $io36 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io37(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io39(input.note));
|
|
4518
|
+
const $io37 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io38(input.excerpt);
|
|
4519
|
+
const $io38 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
4520
|
+
const $io39 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
4521
|
+
const $io40 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io41(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);
|
|
4522
|
+
const $io41 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
4523
|
+
const $io42 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
4524
|
+
const $io43 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
4525
|
+
const $io44 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io45(input.adobe);
|
|
4526
|
+
const $io45 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
4527
|
+
const $io46 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
4528
|
+
const $io47 = 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);
|
|
4529
|
+
const $io48 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io49(input.events);
|
|
4530
|
+
const $io49 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io50(input.publishSucceeded));
|
|
4531
|
+
const $io50 = input => Object.keys(input).every(key => {
|
|
4402
4532
|
const value = input[key];
|
|
4403
4533
|
if (undefined === value)
|
|
4404
4534
|
return true;
|
|
@@ -4407,7 +4537,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4407
4537
|
const $string = __typia.json.createAssertStringify.string;
|
|
4408
4538
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
4409
4539
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
4410
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $
|
|
4540
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so33(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so34(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 ? $so44(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 ? $so46(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so47(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so48(input.notifications) : undefined}`}`)}}`;
|
|
4411
4541
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
4412
4542
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
4413
4543
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -4485,15 +4615,25 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4485
4615
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
4486
4616
|
value: input.thumbnailView
|
|
4487
4617
|
});
|
|
4488
|
-
})() : undefined}`}`)}}`;
|
|
4489
|
-
const $so32 = input => `{${undefined === input.
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4618
|
+
})() : undefined},`}${undefined === input.voiceOver ? "" : `"voiceOver":${undefined !== input.voiceOver ? $so32(input.voiceOver) : undefined}`}`)}}`;
|
|
4619
|
+
const $so32 = input => `{${$tail(`${undefined === input.inputDevice ? "" : `"inputDevice":${undefined !== input.inputDevice ? $string(input.inputDevice) : undefined},`}${undefined === input.inputGainDb ? "" : `"inputGainDb":${undefined !== input.inputGainDb ? input.inputGainDb : undefined},`}${undefined === input.backgroundReductionDb ? "" : `"backgroundReductionDb":${undefined !== input.backgroundReductionDb ? input.backgroundReductionDb : undefined},`}${undefined === input.recordMode ? "" : `"recordMode":${undefined !== input.recordMode ? (() => {
|
|
4620
|
+
if ("string" === typeof input.recordMode)
|
|
4621
|
+
return $string(input.recordMode);
|
|
4622
|
+
if ("string" === typeof input.recordMode)
|
|
4623
|
+
return "\"" + input.recordMode + "\"";
|
|
4624
|
+
$throws({
|
|
4625
|
+
expected: "(\"instant\" | \"punchAndRoll\" | undefined)",
|
|
4626
|
+
value: input.recordMode
|
|
4627
|
+
});
|
|
4628
|
+
})() : undefined},`}${undefined === input.preRollDuration ? "" : `"preRollDuration":${undefined !== input.preRollDuration ? input.preRollDuration : undefined}`}`)}}`;
|
|
4629
|
+
const $so33 = input => `{${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined},`}"title":${$string(input.title)}}`;
|
|
4630
|
+
const $so34 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so35(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so36(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so40(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so42(input.item) : undefined}`}`)}}`;
|
|
4631
|
+
const $so35 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
4632
|
+
const $so36 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so37(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so39(input.note) : undefined}`}`)}}`;
|
|
4633
|
+
const $so37 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so38(input.excerpt) : undefined}`}`)}}`;
|
|
4634
|
+
const $so38 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
4635
|
+
const $so39 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
4636
|
+
const $so40 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so41(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
4497
4637
|
if ("string" === typeof input.sortMode)
|
|
4498
4638
|
return $string(input.sortMode);
|
|
4499
4639
|
if ("string" === typeof input.sortMode)
|
|
@@ -4503,14 +4643,14 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4503
4643
|
value: input.sortMode
|
|
4504
4644
|
});
|
|
4505
4645
|
})() : undefined}`}`)}}`;
|
|
4506
|
-
const $
|
|
4507
|
-
const $
|
|
4508
|
-
const $
|
|
4509
|
-
const $
|
|
4510
|
-
const $
|
|
4511
|
-
const $
|
|
4512
|
-
const $
|
|
4513
|
-
const $
|
|
4646
|
+
const $so41 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
4647
|
+
const $so42 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
4648
|
+
const $so44 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so45(input.adobe) : undefined}`}`)}}`;
|
|
4649
|
+
const $so45 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
4650
|
+
const $so46 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
4651
|
+
const $so47 = 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}`}`)}}`;
|
|
4652
|
+
const $so48 = input => `{${$tail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so49(input.events) : undefined}`}`)}}`;
|
|
4653
|
+
const $so49 = input => `{${$tail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => (() => {
|
|
4514
4654
|
if ("string" === typeof elem)
|
|
4515
4655
|
return $string(elem);
|
|
4516
4656
|
if ("string" === typeof elem)
|
|
@@ -4537,8 +4677,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4537
4677
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4538
4678
|
value: elem
|
|
4539
4679
|
});
|
|
4540
|
-
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $
|
|
4541
|
-
const $
|
|
4680
|
+
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $so50(input.publishSucceeded) : undefined}`}`)}}`;
|
|
4681
|
+
const $so50 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
4542
4682
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? `[${value.map(elem => (() => {
|
|
4543
4683
|
if ("string" === typeof elem)
|
|
4544
4684
|
return $string(elem);
|