@nxtedition/types 23.0.13 → 23.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/settings.d.ts +7 -4
- package/dist/common/settings.js +468 -393
- package/dist/domains/comment.d.ts +1 -1
- package/dist/domains/comment.js +16 -15
- package/dist/domains/settings.js +466 -389
- package/dist/schema.json +18 -0
- 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.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 && $io32(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io33(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io42(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io43(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io45(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io46(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io47(input.notifications));
|
|
4
4
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
5
5
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
6
6
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -38,24 +38,25 @@ 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 =>
|
|
42
|
-
const $io32 = input =>
|
|
43
|
-
const $io33 = input => undefined === input.
|
|
44
|
-
const $io34 = input =>
|
|
45
|
-
const $io35 = input => undefined === input.
|
|
46
|
-
const $io36 = input =>
|
|
47
|
-
const $io37 = input => undefined === input.
|
|
48
|
-
const $io38 = input =>
|
|
49
|
-
const $io39 = input => undefined === input.
|
|
50
|
-
const $io40 = input => undefined === input.
|
|
51
|
-
const $io41 = input =>
|
|
52
|
-
const $io42 = input =>
|
|
53
|
-
const $io43 = input => undefined === input.
|
|
54
|
-
const $io44 = input => undefined === input.
|
|
55
|
-
const $io45 = input =>
|
|
56
|
-
const $io46 = input => undefined === input.
|
|
57
|
-
const $io47 = input =>
|
|
58
|
-
const $io48 = input =>
|
|
41
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
42
|
+
const $io32 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
43
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
44
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
45
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
46
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
47
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
48
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
49
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
50
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
51
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
52
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
53
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
54
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
55
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
56
|
+
const $io46 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
57
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
58
|
+
const $io48 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io49(input.publishSucceeded));
|
|
59
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
59
60
|
const value = input[key];
|
|
60
61
|
if (undefined === value)
|
|
61
62
|
return true;
|
|
@@ -65,7 +66,7 @@ export const isSettingsRecord = input => {
|
|
|
65
66
|
};
|
|
66
67
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
67
68
|
const __is = input => {
|
|
68
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $
|
|
69
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io32(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io33(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io42(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io43(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io45(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io46(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io47(input.notifications));
|
|
69
70
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
70
71
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
71
72
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -103,24 +104,25 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
103
104
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
104
105
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
105
106
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
106
|
-
const $io31 = input =>
|
|
107
|
-
const $io32 = input =>
|
|
108
|
-
const $io33 = input => undefined === input.
|
|
109
|
-
const $io34 = input =>
|
|
110
|
-
const $io35 = input => undefined === input.
|
|
111
|
-
const $io36 = input =>
|
|
112
|
-
const $io37 = input => undefined === input.
|
|
113
|
-
const $io38 = input =>
|
|
114
|
-
const $io39 = input => undefined === input.
|
|
115
|
-
const $io40 = input => undefined === input.
|
|
116
|
-
const $io41 = input =>
|
|
117
|
-
const $io42 = input =>
|
|
118
|
-
const $io43 = input => undefined === input.
|
|
119
|
-
const $io44 = input => undefined === input.
|
|
120
|
-
const $io45 = input =>
|
|
121
|
-
const $io46 = input => undefined === input.
|
|
122
|
-
const $io47 = input =>
|
|
123
|
-
const $io48 = input =>
|
|
107
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
108
|
+
const $io32 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
109
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
110
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
111
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
112
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
113
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
114
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
115
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
116
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
117
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
118
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
119
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
120
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
121
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
122
|
+
const $io46 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
123
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
124
|
+
const $io48 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io49(input.publishSucceeded));
|
|
125
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
124
126
|
const value = input[key];
|
|
125
127
|
if (undefined === value)
|
|
126
128
|
return true;
|
|
@@ -252,6 +254,14 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
252
254
|
path: _path + ".media",
|
|
253
255
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
254
256
|
value: input.media
|
|
257
|
+
}, errorFactory)) && (undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || $guard(_exceptionable, {
|
|
258
|
+
path: _path + ".edit",
|
|
259
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
260
|
+
value: input.edit
|
|
261
|
+
}, errorFactory)) && $ao31(input.edit, _path + ".edit", true && _exceptionable) || $guard(_exceptionable, {
|
|
262
|
+
path: _path + ".edit",
|
|
263
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
264
|
+
value: input.edit
|
|
255
265
|
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
256
266
|
path: _path + ".commands",
|
|
257
267
|
expected: "(Array<__type>.o2 | undefined)",
|
|
@@ -260,7 +270,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
260
270
|
path: _path + ".commands[" + _index1 + "]",
|
|
261
271
|
expected: "__type.o2",
|
|
262
272
|
value: elem
|
|
263
|
-
}, errorFactory)) && $
|
|
273
|
+
}, errorFactory)) && $ao32(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
264
274
|
path: _path + ".commands[" + _index1 + "]",
|
|
265
275
|
expected: "__type.o2",
|
|
266
276
|
value: elem
|
|
@@ -282,11 +292,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
282
292
|
value: input.predefinedTags
|
|
283
293
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
284
294
|
path: _path + ".storyboard",
|
|
285
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
295
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
286
296
|
value: input.storyboard
|
|
287
|
-
}, errorFactory)) && $
|
|
297
|
+
}, errorFactory)) && $ao33(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
288
298
|
path: _path + ".storyboard",
|
|
289
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
299
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
290
300
|
value: input.storyboard
|
|
291
301
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
292
302
|
path: _path + ".hiddenPreviews",
|
|
@@ -296,7 +306,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
296
306
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
297
307
|
expected: "__type.o3",
|
|
298
308
|
value: elem
|
|
299
|
-
}, errorFactory)) && $
|
|
309
|
+
}, errorFactory)) && $ao42(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
300
310
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
301
311
|
expected: "__type.o3",
|
|
302
312
|
value: elem
|
|
@@ -306,11 +316,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
306
316
|
value: input.hiddenPreviews
|
|
307
317
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
308
318
|
path: _path + ".plugins",
|
|
309
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
319
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
310
320
|
value: input.plugins
|
|
311
|
-
}, errorFactory)) && $
|
|
321
|
+
}, errorFactory)) && $ao43(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
312
322
|
path: _path + ".plugins",
|
|
313
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
323
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
314
324
|
value: input.plugins
|
|
315
325
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
316
326
|
path: _path + ".crashScreen",
|
|
@@ -322,27 +332,27 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
322
332
|
value: input.debug
|
|
323
333
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
324
334
|
path: _path + ".featurePreview",
|
|
325
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
335
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
326
336
|
value: input.featurePreview
|
|
327
|
-
}, errorFactory)) && $
|
|
337
|
+
}, errorFactory)) && $ao45(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
328
338
|
path: _path + ".featurePreview",
|
|
329
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
339
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
330
340
|
value: input.featurePreview
|
|
331
341
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
332
342
|
path: _path + ".flags",
|
|
333
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
343
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
334
344
|
value: input.flags
|
|
335
|
-
}, errorFactory)) && $
|
|
345
|
+
}, errorFactory)) && $ao46(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
336
346
|
path: _path + ".flags",
|
|
337
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
347
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
338
348
|
value: input.flags
|
|
339
349
|
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
340
350
|
path: _path + ".notifications",
|
|
341
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
351
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
342
352
|
value: input.notifications
|
|
343
|
-
}, errorFactory)) && $
|
|
353
|
+
}, errorFactory)) && $ao47(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
344
354
|
path: _path + ".notifications",
|
|
345
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
355
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
346
356
|
value: input.notifications
|
|
347
357
|
}, errorFactory));
|
|
348
358
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -862,7 +872,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
862
872
|
expected: "(Array<string> | undefined)",
|
|
863
873
|
value: input.args
|
|
864
874
|
}, errorFactory));
|
|
865
|
-
const $ao31 = (input, _path, _exceptionable = true) =>
|
|
875
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
876
|
+
path: _path + ".thumbnailView",
|
|
877
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
878
|
+
value: input.thumbnailView
|
|
879
|
+
}, errorFactory);
|
|
880
|
+
const $ao32 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
866
881
|
path: _path + ".title",
|
|
867
882
|
expected: "string",
|
|
868
883
|
value: input.title
|
|
@@ -883,71 +898,71 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
883
898
|
expected: "(Array<string> | undefined)",
|
|
884
899
|
value: input.args
|
|
885
900
|
}, errorFactory));
|
|
886
|
-
const $
|
|
901
|
+
const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
887
902
|
path: _path + ".folded",
|
|
888
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
903
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
889
904
|
value: input.folded
|
|
890
|
-
}, errorFactory)) && $
|
|
905
|
+
}, errorFactory)) && $ao34(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
891
906
|
path: _path + ".folded",
|
|
892
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
907
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
893
908
|
value: input.folded
|
|
894
909
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
895
910
|
path: _path + ".assets",
|
|
896
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
911
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
897
912
|
value: input.assets
|
|
898
|
-
}, errorFactory)) && $
|
|
913
|
+
}, errorFactory)) && $ao35(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
899
914
|
path: _path + ".assets",
|
|
900
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
915
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
901
916
|
value: input.assets
|
|
902
917
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
903
918
|
path: _path + ".pipeline",
|
|
904
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
919
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
905
920
|
value: input.pipeline
|
|
906
|
-
}, errorFactory)) && $
|
|
921
|
+
}, errorFactory)) && $ao39(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
907
922
|
path: _path + ".pipeline",
|
|
908
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
923
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
909
924
|
value: input.pipeline
|
|
910
925
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
911
926
|
path: _path + ".item",
|
|
912
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
927
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
913
928
|
value: input.item
|
|
914
|
-
}, errorFactory)) && $
|
|
929
|
+
}, errorFactory)) && $ao41(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
915
930
|
path: _path + ".item",
|
|
916
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
931
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
917
932
|
value: input.item
|
|
918
933
|
}, errorFactory));
|
|
919
|
-
const $
|
|
934
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
920
935
|
path: _path + ".auto",
|
|
921
936
|
expected: "(boolean | undefined)",
|
|
922
937
|
value: input.auto
|
|
923
938
|
}, errorFactory);
|
|
924
|
-
const $
|
|
939
|
+
const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
925
940
|
path: _path + ".story",
|
|
926
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
941
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
927
942
|
value: input.story
|
|
928
|
-
}, errorFactory)) && $
|
|
943
|
+
}, errorFactory)) && $ao36(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
929
944
|
path: _path + ".story",
|
|
930
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
945
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
931
946
|
value: input.story
|
|
932
947
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
933
948
|
path: _path + ".note",
|
|
934
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
949
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
935
950
|
value: input.note
|
|
936
|
-
}, errorFactory)) && $
|
|
951
|
+
}, errorFactory)) && $ao38(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
937
952
|
path: _path + ".note",
|
|
938
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
953
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
939
954
|
value: input.note
|
|
940
955
|
}, errorFactory));
|
|
941
|
-
const $
|
|
956
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
942
957
|
path: _path + ".excerpt",
|
|
943
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
958
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
944
959
|
value: input.excerpt
|
|
945
|
-
}, errorFactory)) && $
|
|
960
|
+
}, errorFactory)) && $ao37(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
946
961
|
path: _path + ".excerpt",
|
|
947
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
962
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
948
963
|
value: input.excerpt
|
|
949
964
|
}, errorFactory);
|
|
950
|
-
const $
|
|
965
|
+
const $ao37 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
951
966
|
path: _path + ".maxLines",
|
|
952
967
|
expected: "(number | undefined)",
|
|
953
968
|
value: input.maxLines
|
|
@@ -956,35 +971,35 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
956
971
|
expected: "(string | undefined)",
|
|
957
972
|
value: input.mode
|
|
958
973
|
}, errorFactory));
|
|
959
|
-
const $
|
|
974
|
+
const $ao38 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
960
975
|
path: _path + ".maxHeight",
|
|
961
976
|
expected: "(number | undefined)",
|
|
962
977
|
value: input.maxHeight
|
|
963
978
|
}, errorFactory);
|
|
964
|
-
const $
|
|
979
|
+
const $ao39 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
965
980
|
path: _path + ".search",
|
|
966
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
981
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
967
982
|
value: input.search
|
|
968
|
-
}, errorFactory)) && $
|
|
983
|
+
}, errorFactory)) && $ao40(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
969
984
|
path: _path + ".search",
|
|
970
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
985
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
971
986
|
value: input.search
|
|
972
987
|
}, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
|
|
973
988
|
path: _path + ".sortMode",
|
|
974
989
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
975
990
|
value: input.sortMode
|
|
976
991
|
}, errorFactory));
|
|
977
|
-
const $
|
|
992
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
978
993
|
path: _path + ".maxItemsDisplayed",
|
|
979
994
|
expected: "(number | undefined)",
|
|
980
995
|
value: input.maxItemsDisplayed
|
|
981
996
|
}, errorFactory);
|
|
982
|
-
const $
|
|
997
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
983
998
|
path: _path + ".maxHeight",
|
|
984
999
|
expected: "(number | undefined)",
|
|
985
1000
|
value: input.maxHeight
|
|
986
1001
|
}, errorFactory);
|
|
987
|
-
const $
|
|
1002
|
+
const $ao42 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
988
1003
|
path: _path + ".id",
|
|
989
1004
|
expected: "string",
|
|
990
1005
|
value: input.id
|
|
@@ -993,26 +1008,26 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
993
1008
|
expected: "boolean",
|
|
994
1009
|
value: input.folded
|
|
995
1010
|
}, errorFactory));
|
|
996
|
-
const $
|
|
1011
|
+
const $ao43 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
997
1012
|
path: _path + ".adobe",
|
|
998
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1013
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
999
1014
|
value: input.adobe
|
|
1000
|
-
}, errorFactory)) && $
|
|
1015
|
+
}, errorFactory)) && $ao44(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
1001
1016
|
path: _path + ".adobe",
|
|
1002
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1017
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
1003
1018
|
value: input.adobe
|
|
1004
1019
|
}, errorFactory);
|
|
1005
|
-
const $
|
|
1020
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
1006
1021
|
path: _path + ".useProxies",
|
|
1007
1022
|
expected: "(boolean | undefined)",
|
|
1008
1023
|
value: input.useProxies
|
|
1009
1024
|
}, errorFactory);
|
|
1010
|
-
const $
|
|
1025
|
+
const $ao45 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
1011
1026
|
path: _path + ".collections",
|
|
1012
1027
|
expected: "(boolean | undefined)",
|
|
1013
1028
|
value: input.collections
|
|
1014
1029
|
}, errorFactory);
|
|
1015
|
-
const $
|
|
1030
|
+
const $ao46 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
1016
1031
|
path: _path + ".utils",
|
|
1017
1032
|
expected: "(boolean | undefined)",
|
|
1018
1033
|
value: input.utils
|
|
@@ -1073,16 +1088,16 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1073
1088
|
expected: "(boolean | undefined)",
|
|
1074
1089
|
value: input.devWarnings
|
|
1075
1090
|
}, errorFactory));
|
|
1076
|
-
const $
|
|
1091
|
+
const $ao47 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
1077
1092
|
path: _path + ".events",
|
|
1078
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1093
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
1079
1094
|
value: input.events
|
|
1080
|
-
}, errorFactory)) && $
|
|
1095
|
+
}, errorFactory)) && $ao48(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
1081
1096
|
path: _path + ".events",
|
|
1082
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1097
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
1083
1098
|
value: input.events
|
|
1084
1099
|
}, errorFactory);
|
|
1085
|
-
const $
|
|
1100
|
+
const $ao48 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
1086
1101
|
path: _path + ".comment",
|
|
1087
1102
|
expected: "(Array<NotificationReason> | undefined)",
|
|
1088
1103
|
value: input.comment
|
|
@@ -1120,14 +1135,14 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1120
1135
|
value: input.unassigned
|
|
1121
1136
|
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
1122
1137
|
path: _path + ".publishSucceeded",
|
|
1123
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1138
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
1124
1139
|
value: input.publishSucceeded
|
|
1125
|
-
}, errorFactory)) && $
|
|
1140
|
+
}, errorFactory)) && $ao49(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
1126
1141
|
path: _path + ".publishSucceeded",
|
|
1127
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
1142
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
1128
1143
|
value: input.publishSucceeded
|
|
1129
1144
|
}, errorFactory));
|
|
1130
|
-
const $
|
|
1145
|
+
const $ao49 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1131
1146
|
const value = input[key];
|
|
1132
1147
|
if (undefined === value)
|
|
1133
1148
|
return true;
|
|
@@ -1229,9 +1244,13 @@ export const randomSettingsRecord = generator => {
|
|
|
1229
1244
|
() => undefined,
|
|
1230
1245
|
() => $ro20(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1231
1246
|
])(),
|
|
1247
|
+
edit: $pick([
|
|
1248
|
+
() => undefined,
|
|
1249
|
+
() => $ro31(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1250
|
+
])(),
|
|
1232
1251
|
commands: $pick([
|
|
1233
1252
|
() => undefined,
|
|
1234
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1253
|
+
() => (generator?.array ?? $generator.array)(() => $ro32(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1235
1254
|
])(),
|
|
1236
1255
|
predefinedTags: $pick([
|
|
1237
1256
|
() => undefined,
|
|
@@ -1239,15 +1258,15 @@ export const randomSettingsRecord = generator => {
|
|
|
1239
1258
|
])(),
|
|
1240
1259
|
storyboard: $pick([
|
|
1241
1260
|
() => undefined,
|
|
1242
|
-
() => $
|
|
1261
|
+
() => $ro33(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1243
1262
|
])(),
|
|
1244
1263
|
hiddenPreviews: $pick([
|
|
1245
1264
|
() => undefined,
|
|
1246
|
-
() => (generator?.array ?? $generator.array)(() => $
|
|
1265
|
+
() => (generator?.array ?? $generator.array)(() => $ro42(_recursive, _recursive ? 1 + _depth : _depth))
|
|
1247
1266
|
])(),
|
|
1248
1267
|
plugins: $pick([
|
|
1249
1268
|
() => undefined,
|
|
1250
|
-
() => $
|
|
1269
|
+
() => $ro43(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1251
1270
|
])(),
|
|
1252
1271
|
crashScreen: $pick([
|
|
1253
1272
|
() => undefined,
|
|
@@ -1259,15 +1278,15 @@ export const randomSettingsRecord = generator => {
|
|
|
1259
1278
|
])(),
|
|
1260
1279
|
featurePreview: $pick([
|
|
1261
1280
|
() => undefined,
|
|
1262
|
-
() => $
|
|
1281
|
+
() => $ro45(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1263
1282
|
])(),
|
|
1264
1283
|
flags: $pick([
|
|
1265
1284
|
() => undefined,
|
|
1266
|
-
() => $
|
|
1285
|
+
() => $ro46(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1267
1286
|
])(),
|
|
1268
1287
|
notifications: $pick([
|
|
1269
1288
|
() => undefined,
|
|
1270
|
-
() => $
|
|
1289
|
+
() => $ro47(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1271
1290
|
])()
|
|
1272
1291
|
});
|
|
1273
1292
|
const $ro1 = (_recursive = false, _depth = 0) => ({
|
|
@@ -1655,6 +1674,14 @@ export const randomSettingsRecord = generator => {
|
|
|
1655
1674
|
])()
|
|
1656
1675
|
});
|
|
1657
1676
|
const $ro31 = (_recursive = false, _depth = 0) => ({
|
|
1677
|
+
thumbnailView: $pick([
|
|
1678
|
+
() => undefined,
|
|
1679
|
+
() => "none",
|
|
1680
|
+
() => "filmStrip",
|
|
1681
|
+
() => "thumbnail"
|
|
1682
|
+
])()
|
|
1683
|
+
});
|
|
1684
|
+
const $ro32 = (_recursive = false, _depth = 0) => ({
|
|
1658
1685
|
title: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1659
1686
|
command: $pick([
|
|
1660
1687
|
() => undefined,
|
|
@@ -1665,47 +1692,47 @@ export const randomSettingsRecord = generator => {
|
|
|
1665
1692
|
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1666
1693
|
])()
|
|
1667
1694
|
});
|
|
1668
|
-
const $
|
|
1695
|
+
const $ro33 = (_recursive = false, _depth = 0) => ({
|
|
1669
1696
|
folded: $pick([
|
|
1670
1697
|
() => undefined,
|
|
1671
|
-
() => $
|
|
1698
|
+
() => $ro34(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1672
1699
|
])(),
|
|
1673
1700
|
assets: $pick([
|
|
1674
1701
|
() => undefined,
|
|
1675
|
-
() => $
|
|
1702
|
+
() => $ro35(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1676
1703
|
])(),
|
|
1677
1704
|
pipeline: $pick([
|
|
1678
1705
|
() => undefined,
|
|
1679
|
-
() => $
|
|
1706
|
+
() => $ro39(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1680
1707
|
])(),
|
|
1681
1708
|
item: $pick([
|
|
1682
1709
|
() => undefined,
|
|
1683
|
-
() => $
|
|
1710
|
+
() => $ro41(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1684
1711
|
])()
|
|
1685
1712
|
});
|
|
1686
|
-
const $
|
|
1713
|
+
const $ro34 = (_recursive = false, _depth = 0) => ({
|
|
1687
1714
|
auto: $pick([
|
|
1688
1715
|
() => undefined,
|
|
1689
1716
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1690
1717
|
])()
|
|
1691
1718
|
});
|
|
1692
|
-
const $
|
|
1719
|
+
const $ro35 = (_recursive = false, _depth = 0) => ({
|
|
1693
1720
|
story: $pick([
|
|
1694
1721
|
() => undefined,
|
|
1695
|
-
() => $
|
|
1722
|
+
() => $ro36(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1696
1723
|
])(),
|
|
1697
1724
|
note: $pick([
|
|
1698
1725
|
() => undefined,
|
|
1699
|
-
() => $
|
|
1726
|
+
() => $ro38(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1700
1727
|
])()
|
|
1701
1728
|
});
|
|
1702
|
-
const $
|
|
1729
|
+
const $ro36 = (_recursive = false, _depth = 0) => ({
|
|
1703
1730
|
excerpt: $pick([
|
|
1704
1731
|
() => undefined,
|
|
1705
|
-
() => $
|
|
1732
|
+
() => $ro37(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1706
1733
|
])()
|
|
1707
1734
|
});
|
|
1708
|
-
const $
|
|
1735
|
+
const $ro37 = (_recursive = false, _depth = 0) => ({
|
|
1709
1736
|
maxLines: $pick([
|
|
1710
1737
|
() => undefined,
|
|
1711
1738
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
@@ -1715,16 +1742,16 @@ export const randomSettingsRecord = generator => {
|
|
|
1715
1742
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
1716
1743
|
])()
|
|
1717
1744
|
});
|
|
1718
|
-
const $
|
|
1745
|
+
const $ro38 = (_recursive = false, _depth = 0) => ({
|
|
1719
1746
|
maxHeight: $pick([
|
|
1720
1747
|
() => undefined,
|
|
1721
1748
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1722
1749
|
])()
|
|
1723
1750
|
});
|
|
1724
|
-
const $
|
|
1751
|
+
const $ro39 = (_recursive = false, _depth = 0) => ({
|
|
1725
1752
|
search: $pick([
|
|
1726
1753
|
() => undefined,
|
|
1727
|
-
() => $
|
|
1754
|
+
() => $ro40(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1728
1755
|
])(),
|
|
1729
1756
|
sortMode: $pick([
|
|
1730
1757
|
() => undefined,
|
|
@@ -1738,41 +1765,41 @@ export const randomSettingsRecord = generator => {
|
|
|
1738
1765
|
() => "leastrecent"
|
|
1739
1766
|
])()
|
|
1740
1767
|
});
|
|
1741
|
-
const $
|
|
1768
|
+
const $ro40 = (_recursive = false, _depth = 0) => ({
|
|
1742
1769
|
maxItemsDisplayed: $pick([
|
|
1743
1770
|
() => undefined,
|
|
1744
1771
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1745
1772
|
])()
|
|
1746
1773
|
});
|
|
1747
|
-
const $
|
|
1774
|
+
const $ro41 = (_recursive = false, _depth = 0) => ({
|
|
1748
1775
|
maxHeight: $pick([
|
|
1749
1776
|
() => undefined,
|
|
1750
1777
|
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1751
1778
|
])()
|
|
1752
1779
|
});
|
|
1753
|
-
const $
|
|
1780
|
+
const $ro42 = (_recursive = false, _depth = 0) => ({
|
|
1754
1781
|
id: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
|
|
1755
1782
|
folded: (generator?.boolean ?? $generator.boolean)()
|
|
1756
1783
|
});
|
|
1757
|
-
const $
|
|
1784
|
+
const $ro43 = (_recursive = false, _depth = 0) => ({
|
|
1758
1785
|
adobe: $pick([
|
|
1759
1786
|
() => undefined,
|
|
1760
|
-
() => $
|
|
1787
|
+
() => $ro44(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1761
1788
|
])()
|
|
1762
1789
|
});
|
|
1763
|
-
const $
|
|
1790
|
+
const $ro44 = (_recursive = false, _depth = 0) => ({
|
|
1764
1791
|
useProxies: $pick([
|
|
1765
1792
|
() => undefined,
|
|
1766
1793
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1767
1794
|
])()
|
|
1768
1795
|
});
|
|
1769
|
-
const $
|
|
1796
|
+
const $ro45 = (_recursive = false, _depth = 0) => ({
|
|
1770
1797
|
collections: $pick([
|
|
1771
1798
|
() => undefined,
|
|
1772
1799
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1773
1800
|
])()
|
|
1774
1801
|
});
|
|
1775
|
-
const $
|
|
1802
|
+
const $ro46 = (_recursive = false, _depth = 0) => ({
|
|
1776
1803
|
utils: $pick([
|
|
1777
1804
|
() => undefined,
|
|
1778
1805
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
@@ -1834,13 +1861,13 @@ export const randomSettingsRecord = generator => {
|
|
|
1834
1861
|
() => (generator?.boolean ?? $generator.boolean)()
|
|
1835
1862
|
])()
|
|
1836
1863
|
});
|
|
1837
|
-
const $
|
|
1864
|
+
const $ro47 = (_recursive = false, _depth = 0) => ({
|
|
1838
1865
|
events: $pick([
|
|
1839
1866
|
() => undefined,
|
|
1840
|
-
() => $
|
|
1867
|
+
() => $ro48(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1841
1868
|
])()
|
|
1842
1869
|
});
|
|
1843
|
-
const $
|
|
1870
|
+
const $ro48 = (_recursive = false, _depth = 0) => ({
|
|
1844
1871
|
comment: $pick([
|
|
1845
1872
|
() => undefined,
|
|
1846
1873
|
() => (generator?.array ?? $generator.array)(() => $pick([
|
|
@@ -1873,10 +1900,10 @@ export const randomSettingsRecord = generator => {
|
|
|
1873
1900
|
])(),
|
|
1874
1901
|
publishSucceeded: $pick([
|
|
1875
1902
|
() => undefined,
|
|
1876
|
-
() => $
|
|
1903
|
+
() => $ro49(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1877
1904
|
])()
|
|
1878
1905
|
});
|
|
1879
|
-
const $
|
|
1906
|
+
const $ro49 = (_recursive = false, _depth = 0) => {
|
|
1880
1907
|
const output = {};
|
|
1881
1908
|
(generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $pick([
|
|
1882
1909
|
() => undefined,
|
|
@@ -1894,7 +1921,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1894
1921
|
};
|
|
1895
1922
|
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
1896
1923
|
const __is = input => {
|
|
1897
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $
|
|
1924
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io32(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io33(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io42(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io43(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io45(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io46(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io47(input.notifications));
|
|
1898
1925
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
1899
1926
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
1900
1927
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -1932,24 +1959,25 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
1932
1959
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
1933
1960
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
1934
1961
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
1935
|
-
const $io31 = input =>
|
|
1936
|
-
const $io32 = input =>
|
|
1937
|
-
const $io33 = input => undefined === input.
|
|
1938
|
-
const $io34 = input =>
|
|
1939
|
-
const $io35 = input => undefined === input.
|
|
1940
|
-
const $io36 = input =>
|
|
1941
|
-
const $io37 = input => undefined === input.
|
|
1942
|
-
const $io38 = input =>
|
|
1943
|
-
const $io39 = input => undefined === input.
|
|
1944
|
-
const $io40 = input => undefined === input.
|
|
1945
|
-
const $io41 = input =>
|
|
1946
|
-
const $io42 = input =>
|
|
1947
|
-
const $io43 = input => undefined === input.
|
|
1948
|
-
const $io44 = input => undefined === input.
|
|
1949
|
-
const $io45 = input =>
|
|
1950
|
-
const $io46 = input => undefined === input.
|
|
1951
|
-
const $io47 = input =>
|
|
1952
|
-
const $io48 = input =>
|
|
1962
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
1963
|
+
const $io32 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
1964
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
1965
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
1966
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
1967
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
1968
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
1969
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1970
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
1971
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
1972
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
1973
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
1974
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
1975
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
1976
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
1977
|
+
const $io46 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
1978
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
1979
|
+
const $io48 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io49(input.publishSucceeded));
|
|
1980
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
1953
1981
|
const value = input[key];
|
|
1954
1982
|
if (undefined === value)
|
|
1955
1983
|
return true;
|
|
@@ -2081,6 +2109,14 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2081
2109
|
path: _path + ".media",
|
|
2082
2110
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
2083
2111
|
value: input.media
|
|
2112
|
+
}, errorFactory)) && (undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || $guard(_exceptionable, {
|
|
2113
|
+
path: _path + ".edit",
|
|
2114
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2115
|
+
value: input.edit
|
|
2116
|
+
}, errorFactory)) && $ao31(input.edit, _path + ".edit", true && _exceptionable) || $guard(_exceptionable, {
|
|
2117
|
+
path: _path + ".edit",
|
|
2118
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
2119
|
+
value: input.edit
|
|
2084
2120
|
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
2085
2121
|
path: _path + ".commands",
|
|
2086
2122
|
expected: "(Array<__type>.o2 | undefined)",
|
|
@@ -2089,7 +2125,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2089
2125
|
path: _path + ".commands[" + _index1 + "]",
|
|
2090
2126
|
expected: "__type.o2",
|
|
2091
2127
|
value: elem
|
|
2092
|
-
}, errorFactory)) && $
|
|
2128
|
+
}, errorFactory)) && $ao32(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2093
2129
|
path: _path + ".commands[" + _index1 + "]",
|
|
2094
2130
|
expected: "__type.o2",
|
|
2095
2131
|
value: elem
|
|
@@ -2111,11 +2147,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2111
2147
|
value: input.predefinedTags
|
|
2112
2148
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
2113
2149
|
path: _path + ".storyboard",
|
|
2114
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2150
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2115
2151
|
value: input.storyboard
|
|
2116
|
-
}, errorFactory)) && $
|
|
2152
|
+
}, errorFactory)) && $ao33(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
2117
2153
|
path: _path + ".storyboard",
|
|
2118
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2154
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
2119
2155
|
value: input.storyboard
|
|
2120
2156
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
2121
2157
|
path: _path + ".hiddenPreviews",
|
|
@@ -2125,7 +2161,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2125
2161
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
2126
2162
|
expected: "__type.o3",
|
|
2127
2163
|
value: elem
|
|
2128
|
-
}, errorFactory)) && $
|
|
2164
|
+
}, errorFactory)) && $ao42(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2129
2165
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
2130
2166
|
expected: "__type.o3",
|
|
2131
2167
|
value: elem
|
|
@@ -2135,11 +2171,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2135
2171
|
value: input.hiddenPreviews
|
|
2136
2172
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
2137
2173
|
path: _path + ".plugins",
|
|
2138
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2174
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2139
2175
|
value: input.plugins
|
|
2140
|
-
}, errorFactory)) && $
|
|
2176
|
+
}, errorFactory)) && $ao43(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
2141
2177
|
path: _path + ".plugins",
|
|
2142
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2178
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
2143
2179
|
value: input.plugins
|
|
2144
2180
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
2145
2181
|
path: _path + ".crashScreen",
|
|
@@ -2151,27 +2187,27 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2151
2187
|
value: input.debug
|
|
2152
2188
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
2153
2189
|
path: _path + ".featurePreview",
|
|
2154
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2190
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
2155
2191
|
value: input.featurePreview
|
|
2156
|
-
}, errorFactory)) && $
|
|
2192
|
+
}, errorFactory)) && $ao45(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
2157
2193
|
path: _path + ".featurePreview",
|
|
2158
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2194
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
2159
2195
|
value: input.featurePreview
|
|
2160
2196
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
2161
2197
|
path: _path + ".flags",
|
|
2162
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2198
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
2163
2199
|
value: input.flags
|
|
2164
|
-
}, errorFactory)) && $
|
|
2200
|
+
}, errorFactory)) && $ao46(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
2165
2201
|
path: _path + ".flags",
|
|
2166
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2202
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
2167
2203
|
value: input.flags
|
|
2168
2204
|
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
2169
2205
|
path: _path + ".notifications",
|
|
2170
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2206
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
2171
2207
|
value: input.notifications
|
|
2172
|
-
}, errorFactory)) && $
|
|
2208
|
+
}, errorFactory)) && $ao47(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
2173
2209
|
path: _path + ".notifications",
|
|
2174
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2210
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
2175
2211
|
value: input.notifications
|
|
2176
2212
|
}, errorFactory));
|
|
2177
2213
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -2691,7 +2727,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2691
2727
|
expected: "(Array<string> | undefined)",
|
|
2692
2728
|
value: input.args
|
|
2693
2729
|
}, errorFactory));
|
|
2694
|
-
const $ao31 = (input, _path, _exceptionable = true) =>
|
|
2730
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
2731
|
+
path: _path + ".thumbnailView",
|
|
2732
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
2733
|
+
value: input.thumbnailView
|
|
2734
|
+
}, errorFactory);
|
|
2735
|
+
const $ao32 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
2695
2736
|
path: _path + ".title",
|
|
2696
2737
|
expected: "string",
|
|
2697
2738
|
value: input.title
|
|
@@ -2712,71 +2753,71 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2712
2753
|
expected: "(Array<string> | undefined)",
|
|
2713
2754
|
value: input.args
|
|
2714
2755
|
}, errorFactory));
|
|
2715
|
-
const $
|
|
2756
|
+
const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
2716
2757
|
path: _path + ".folded",
|
|
2717
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2758
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2718
2759
|
value: input.folded
|
|
2719
|
-
}, errorFactory)) && $
|
|
2760
|
+
}, errorFactory)) && $ao34(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
2720
2761
|
path: _path + ".folded",
|
|
2721
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2762
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
2722
2763
|
value: input.folded
|
|
2723
2764
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
2724
2765
|
path: _path + ".assets",
|
|
2725
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2766
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2726
2767
|
value: input.assets
|
|
2727
|
-
}, errorFactory)) && $
|
|
2768
|
+
}, errorFactory)) && $ao35(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
2728
2769
|
path: _path + ".assets",
|
|
2729
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2770
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
2730
2771
|
value: input.assets
|
|
2731
2772
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
2732
2773
|
path: _path + ".pipeline",
|
|
2733
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2774
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2734
2775
|
value: input.pipeline
|
|
2735
|
-
}, errorFactory)) && $
|
|
2776
|
+
}, errorFactory)) && $ao39(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
2736
2777
|
path: _path + ".pipeline",
|
|
2737
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2778
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
2738
2779
|
value: input.pipeline
|
|
2739
2780
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
2740
2781
|
path: _path + ".item",
|
|
2741
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2782
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2742
2783
|
value: input.item
|
|
2743
|
-
}, errorFactory)) && $
|
|
2784
|
+
}, errorFactory)) && $ao41(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
2744
2785
|
path: _path + ".item",
|
|
2745
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2786
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
2746
2787
|
value: input.item
|
|
2747
2788
|
}, errorFactory));
|
|
2748
|
-
const $
|
|
2789
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
2749
2790
|
path: _path + ".auto",
|
|
2750
2791
|
expected: "(boolean | undefined)",
|
|
2751
2792
|
value: input.auto
|
|
2752
2793
|
}, errorFactory);
|
|
2753
|
-
const $
|
|
2794
|
+
const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
2754
2795
|
path: _path + ".story",
|
|
2755
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2796
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2756
2797
|
value: input.story
|
|
2757
|
-
}, errorFactory)) && $
|
|
2798
|
+
}, errorFactory)) && $ao36(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
2758
2799
|
path: _path + ".story",
|
|
2759
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2800
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
2760
2801
|
value: input.story
|
|
2761
2802
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
2762
2803
|
path: _path + ".note",
|
|
2763
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2804
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2764
2805
|
value: input.note
|
|
2765
|
-
}, errorFactory)) && $
|
|
2806
|
+
}, errorFactory)) && $ao38(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
2766
2807
|
path: _path + ".note",
|
|
2767
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2808
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
2768
2809
|
value: input.note
|
|
2769
2810
|
}, errorFactory));
|
|
2770
|
-
const $
|
|
2811
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
2771
2812
|
path: _path + ".excerpt",
|
|
2772
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2813
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2773
2814
|
value: input.excerpt
|
|
2774
|
-
}, errorFactory)) && $
|
|
2815
|
+
}, errorFactory)) && $ao37(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
2775
2816
|
path: _path + ".excerpt",
|
|
2776
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2817
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
2777
2818
|
value: input.excerpt
|
|
2778
2819
|
}, errorFactory);
|
|
2779
|
-
const $
|
|
2820
|
+
const $ao37 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines || $guard(_exceptionable, {
|
|
2780
2821
|
path: _path + ".maxLines",
|
|
2781
2822
|
expected: "(number | undefined)",
|
|
2782
2823
|
value: input.maxLines
|
|
@@ -2785,35 +2826,35 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2785
2826
|
expected: "(string | undefined)",
|
|
2786
2827
|
value: input.mode
|
|
2787
2828
|
}, errorFactory));
|
|
2788
|
-
const $
|
|
2829
|
+
const $ao38 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2789
2830
|
path: _path + ".maxHeight",
|
|
2790
2831
|
expected: "(number | undefined)",
|
|
2791
2832
|
value: input.maxHeight
|
|
2792
2833
|
}, errorFactory);
|
|
2793
|
-
const $
|
|
2834
|
+
const $ao39 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
2794
2835
|
path: _path + ".search",
|
|
2795
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2836
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2796
2837
|
value: input.search
|
|
2797
|
-
}, errorFactory)) && $
|
|
2838
|
+
}, errorFactory)) && $ao40(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
2798
2839
|
path: _path + ".search",
|
|
2799
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2840
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
2800
2841
|
value: input.search
|
|
2801
2842
|
}, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
|
|
2802
2843
|
path: _path + ".sortMode",
|
|
2803
2844
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
2804
2845
|
value: input.sortMode
|
|
2805
2846
|
}, errorFactory));
|
|
2806
|
-
const $
|
|
2847
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || $guard(_exceptionable, {
|
|
2807
2848
|
path: _path + ".maxItemsDisplayed",
|
|
2808
2849
|
expected: "(number | undefined)",
|
|
2809
2850
|
value: input.maxItemsDisplayed
|
|
2810
2851
|
}, errorFactory);
|
|
2811
|
-
const $
|
|
2852
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || $guard(_exceptionable, {
|
|
2812
2853
|
path: _path + ".maxHeight",
|
|
2813
2854
|
expected: "(number | undefined)",
|
|
2814
2855
|
value: input.maxHeight
|
|
2815
2856
|
}, errorFactory);
|
|
2816
|
-
const $
|
|
2857
|
+
const $ao42 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
2817
2858
|
path: _path + ".id",
|
|
2818
2859
|
expected: "string",
|
|
2819
2860
|
value: input.id
|
|
@@ -2822,26 +2863,26 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2822
2863
|
expected: "boolean",
|
|
2823
2864
|
value: input.folded
|
|
2824
2865
|
}, errorFactory));
|
|
2825
|
-
const $
|
|
2866
|
+
const $ao43 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
2826
2867
|
path: _path + ".adobe",
|
|
2827
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2868
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
2828
2869
|
value: input.adobe
|
|
2829
|
-
}, errorFactory)) && $
|
|
2870
|
+
}, errorFactory)) && $ao44(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
2830
2871
|
path: _path + ".adobe",
|
|
2831
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2872
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
2832
2873
|
value: input.adobe
|
|
2833
2874
|
}, errorFactory);
|
|
2834
|
-
const $
|
|
2875
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
2835
2876
|
path: _path + ".useProxies",
|
|
2836
2877
|
expected: "(boolean | undefined)",
|
|
2837
2878
|
value: input.useProxies
|
|
2838
2879
|
}, errorFactory);
|
|
2839
|
-
const $
|
|
2880
|
+
const $ao45 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
2840
2881
|
path: _path + ".collections",
|
|
2841
2882
|
expected: "(boolean | undefined)",
|
|
2842
2883
|
value: input.collections
|
|
2843
2884
|
}, errorFactory);
|
|
2844
|
-
const $
|
|
2885
|
+
const $ao46 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
2845
2886
|
path: _path + ".utils",
|
|
2846
2887
|
expected: "(boolean | undefined)",
|
|
2847
2888
|
value: input.utils
|
|
@@ -2902,16 +2943,16 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2902
2943
|
expected: "(boolean | undefined)",
|
|
2903
2944
|
value: input.devWarnings
|
|
2904
2945
|
}, errorFactory));
|
|
2905
|
-
const $
|
|
2946
|
+
const $ao47 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
2906
2947
|
path: _path + ".events",
|
|
2907
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2948
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
2908
2949
|
value: input.events
|
|
2909
|
-
}, errorFactory)) && $
|
|
2950
|
+
}, errorFactory)) && $ao48(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
2910
2951
|
path: _path + ".events",
|
|
2911
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2952
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
2912
2953
|
value: input.events
|
|
2913
2954
|
}, errorFactory);
|
|
2914
|
-
const $
|
|
2955
|
+
const $ao48 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
2915
2956
|
path: _path + ".comment",
|
|
2916
2957
|
expected: "(Array<NotificationReason> | undefined)",
|
|
2917
2958
|
value: input.comment
|
|
@@ -2949,14 +2990,14 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2949
2990
|
value: input.unassigned
|
|
2950
2991
|
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
2951
2992
|
path: _path + ".publishSucceeded",
|
|
2952
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2993
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
2953
2994
|
value: input.publishSucceeded
|
|
2954
|
-
}, errorFactory)) && $
|
|
2995
|
+
}, errorFactory)) && $ao49(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
2955
2996
|
path: _path + ".publishSucceeded",
|
|
2956
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
2997
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
2957
2998
|
value: input.publishSucceeded
|
|
2958
2999
|
}, errorFactory));
|
|
2959
|
-
const $
|
|
3000
|
+
const $ao49 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
2960
3001
|
const value = input[key];
|
|
2961
3002
|
if (undefined === value)
|
|
2962
3003
|
return true;
|
|
@@ -3023,24 +3064,25 @@ export const stringifySettingsRecord = input => {
|
|
|
3023
3064
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
3024
3065
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3025
3066
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3026
|
-
const $io31 = input =>
|
|
3027
|
-
const $io32 = input =>
|
|
3028
|
-
const $io33 = input => undefined === input.
|
|
3029
|
-
const $io34 = input =>
|
|
3030
|
-
const $io35 = input => undefined === input.
|
|
3031
|
-
const $io36 = input =>
|
|
3032
|
-
const $io37 = input => undefined === input.
|
|
3033
|
-
const $io38 = input =>
|
|
3034
|
-
const $io39 = input => undefined === input.
|
|
3035
|
-
const $io40 = input => undefined === input.
|
|
3036
|
-
const $io41 = input =>
|
|
3037
|
-
const $io42 = input =>
|
|
3038
|
-
const $io43 = input => undefined === input.
|
|
3039
|
-
const $io44 = input => undefined === input.
|
|
3040
|
-
const $io45 = input =>
|
|
3041
|
-
const $io46 = input => undefined === input.
|
|
3042
|
-
const $io47 = input =>
|
|
3043
|
-
const $io48 = input =>
|
|
3067
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
3068
|
+
const $io32 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3069
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
3070
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
3071
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
3072
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
3073
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3074
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3075
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
3076
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
3077
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
3078
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
3079
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
3080
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3081
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
3082
|
+
const $io46 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
3083
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
3084
|
+
const $io48 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io49(input.publishSucceeded));
|
|
3085
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
3044
3086
|
const value = input[key];
|
|
3045
3087
|
if (undefined === value)
|
|
3046
3088
|
return true;
|
|
@@ -3049,7 +3091,7 @@ export const stringifySettingsRecord = input => {
|
|
|
3049
3091
|
const $string = __typia.json.createStringify.string;
|
|
3050
3092
|
const $tail = __typia.json.createStringify.tail;
|
|
3051
3093
|
const $throws = __typia.json.createStringify.throws;
|
|
3052
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $
|
|
3094
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so32(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so33(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so43(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so45(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so46(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so47(input.notifications) : undefined}`}`)}}`;
|
|
3053
3095
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
3054
3096
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
3055
3097
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -3118,14 +3160,24 @@ export const stringifySettingsRecord = input => {
|
|
|
3118
3160
|
const $so27 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so28(input.defaultValue) : undefined}`}`)}}`;
|
|
3119
3161
|
const $so28 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => `{"language":${$string(elem.language)},"value":${$string(elem.value)}}`).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`;
|
|
3120
3162
|
const $so30 = input => `{${$tail(`${undefined === input.url ? "" : `"url":${undefined !== input.url ? $string(input.url) : undefined},`}${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.app ? "" : `"app":${undefined !== input.app ? $string(input.app) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
3121
|
-
const $so31 = input => `{${
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3163
|
+
const $so31 = input => `{${$tail(`${undefined === input.thumbnailView ? "" : `"thumbnailView":${undefined !== input.thumbnailView ? (() => {
|
|
3164
|
+
if ("string" === typeof input.thumbnailView)
|
|
3165
|
+
return $string(input.thumbnailView);
|
|
3166
|
+
if ("string" === typeof input.thumbnailView)
|
|
3167
|
+
return "\"" + input.thumbnailView + "\"";
|
|
3168
|
+
$throws({
|
|
3169
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
3170
|
+
value: input.thumbnailView
|
|
3171
|
+
});
|
|
3172
|
+
})() : undefined}`}`)}}`;
|
|
3173
|
+
const $so32 = input => `{${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined},`}"title":${$string(input.title)}}`;
|
|
3174
|
+
const $so33 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so34(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so35(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so39(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so41(input.item) : undefined}`}`)}}`;
|
|
3175
|
+
const $so34 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
3176
|
+
const $so35 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so36(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so38(input.note) : undefined}`}`)}}`;
|
|
3177
|
+
const $so36 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so37(input.excerpt) : undefined}`}`)}}`;
|
|
3178
|
+
const $so37 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
3179
|
+
const $so38 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3180
|
+
const $so39 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so40(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
3129
3181
|
if ("string" === typeof input.sortMode)
|
|
3130
3182
|
return $string(input.sortMode);
|
|
3131
3183
|
if ("string" === typeof input.sortMode)
|
|
@@ -3135,14 +3187,14 @@ export const stringifySettingsRecord = input => {
|
|
|
3135
3187
|
value: input.sortMode
|
|
3136
3188
|
});
|
|
3137
3189
|
})() : undefined}`}`)}}`;
|
|
3138
|
-
const $
|
|
3139
|
-
const $
|
|
3140
|
-
const $
|
|
3141
|
-
const $
|
|
3142
|
-
const $
|
|
3143
|
-
const $
|
|
3144
|
-
const $
|
|
3145
|
-
const $
|
|
3190
|
+
const $so40 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
3191
|
+
const $so41 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
3192
|
+
const $so43 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so44(input.adobe) : undefined}`}`)}}`;
|
|
3193
|
+
const $so44 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
3194
|
+
const $so45 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
3195
|
+
const $so46 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined},`}${undefined === input.devWarnings ? "" : `"devWarnings":${undefined !== input.devWarnings ? input.devWarnings : undefined}`}`)}}`;
|
|
3196
|
+
const $so47 = input => `{${$tail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so48(input.events) : undefined}`}`)}}`;
|
|
3197
|
+
const $so48 = input => `{${$tail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => (() => {
|
|
3146
3198
|
if ("string" === typeof elem)
|
|
3147
3199
|
return $string(elem);
|
|
3148
3200
|
if ("string" === typeof elem)
|
|
@@ -3169,8 +3221,8 @@ export const stringifySettingsRecord = input => {
|
|
|
3169
3221
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3170
3222
|
value: elem
|
|
3171
3223
|
});
|
|
3172
|
-
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $
|
|
3173
|
-
const $
|
|
3224
|
+
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $so49(input.publishSucceeded) : undefined}`}`)}}`;
|
|
3225
|
+
const $so49 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3174
3226
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? `[${value.map(elem => (() => {
|
|
3175
3227
|
if ("string" === typeof elem)
|
|
3176
3228
|
return $string(elem);
|
|
@@ -3185,7 +3237,7 @@ export const stringifySettingsRecord = input => {
|
|
|
3185
3237
|
};
|
|
3186
3238
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
3187
3239
|
const __is = input => {
|
|
3188
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $
|
|
3240
|
+
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io32(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io33(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io42(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io43(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io45(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io46(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io47(input.notifications));
|
|
3189
3241
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
3190
3242
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
3191
3243
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -3223,24 +3275,25 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3223
3275
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset && !Number.isNaN(input.offset)) && (undefined === input.duration || "number" === typeof input.duration && !Number.isNaN(input.duration));
|
|
3224
3276
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
3225
3277
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3226
|
-
const $io31 = input =>
|
|
3227
|
-
const $io32 = input =>
|
|
3228
|
-
const $io33 = input => undefined === input.
|
|
3229
|
-
const $io34 = input =>
|
|
3230
|
-
const $io35 = input => undefined === input.
|
|
3231
|
-
const $io36 = input =>
|
|
3232
|
-
const $io37 = input => undefined === input.
|
|
3233
|
-
const $io38 = input =>
|
|
3234
|
-
const $io39 = input => undefined === input.
|
|
3235
|
-
const $io40 = input => undefined === input.
|
|
3236
|
-
const $io41 = input =>
|
|
3237
|
-
const $io42 = input =>
|
|
3238
|
-
const $io43 = input => undefined === input.
|
|
3239
|
-
const $io44 = input => undefined === input.
|
|
3240
|
-
const $io45 = input =>
|
|
3241
|
-
const $io46 = input => undefined === input.
|
|
3242
|
-
const $io47 = input =>
|
|
3243
|
-
const $io48 = input =>
|
|
3278
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
3279
|
+
const $io32 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
3280
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
3281
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
3282
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
3283
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
3284
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines)) && (undefined === input.mode || "string" === typeof input.mode);
|
|
3285
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
3286
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
3287
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed);
|
|
3288
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight);
|
|
3289
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
3290
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
3291
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
3292
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
3293
|
+
const $io46 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
3294
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
3295
|
+
const $io48 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io49(input.publishSucceeded));
|
|
3296
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
3244
3297
|
const value = input[key];
|
|
3245
3298
|
if (undefined === value)
|
|
3246
3299
|
return true;
|
|
@@ -3372,6 +3425,14 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3372
3425
|
path: _path + ".media",
|
|
3373
3426
|
expected: "(PartialObjectDeep<__type, __type>.o15 | undefined)",
|
|
3374
3427
|
value: input.media
|
|
3428
|
+
}, errorFactory)) && (undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || $guard(_exceptionable, {
|
|
3429
|
+
path: _path + ".edit",
|
|
3430
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
3431
|
+
value: input.edit
|
|
3432
|
+
}, errorFactory)) && $ao31(input.edit, _path + ".edit", true && _exceptionable) || $guard(_exceptionable, {
|
|
3433
|
+
path: _path + ".edit",
|
|
3434
|
+
expected: "(PartialObjectDeep<__type, __type>.o24 | undefined)",
|
|
3435
|
+
value: input.edit
|
|
3375
3436
|
}, errorFactory)) && (undefined === input.commands || (Array.isArray(input.commands) || $guard(_exceptionable, {
|
|
3376
3437
|
path: _path + ".commands",
|
|
3377
3438
|
expected: "(Array<__type>.o2 | undefined)",
|
|
@@ -3380,7 +3441,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3380
3441
|
path: _path + ".commands[" + _index1 + "]",
|
|
3381
3442
|
expected: "__type.o2",
|
|
3382
3443
|
value: elem
|
|
3383
|
-
}, errorFactory)) && $
|
|
3444
|
+
}, errorFactory)) && $ao32(elem, _path + ".commands[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3384
3445
|
path: _path + ".commands[" + _index1 + "]",
|
|
3385
3446
|
expected: "__type.o2",
|
|
3386
3447
|
value: elem
|
|
@@ -3402,11 +3463,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3402
3463
|
value: input.predefinedTags
|
|
3403
3464
|
}, errorFactory)) && (undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || $guard(_exceptionable, {
|
|
3404
3465
|
path: _path + ".storyboard",
|
|
3405
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3466
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
3406
3467
|
value: input.storyboard
|
|
3407
|
-
}, errorFactory)) && $
|
|
3468
|
+
}, errorFactory)) && $ao33(input.storyboard, _path + ".storyboard", true && _exceptionable) || $guard(_exceptionable, {
|
|
3408
3469
|
path: _path + ".storyboard",
|
|
3409
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3470
|
+
expected: "(PartialObjectDeep<__type, __type>.o25 | undefined)",
|
|
3410
3471
|
value: input.storyboard
|
|
3411
3472
|
}, errorFactory)) && (undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || $guard(_exceptionable, {
|
|
3412
3473
|
path: _path + ".hiddenPreviews",
|
|
@@ -3416,7 +3477,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3416
3477
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
3417
3478
|
expected: "__type.o3",
|
|
3418
3479
|
value: elem
|
|
3419
|
-
}, errorFactory)) && $
|
|
3480
|
+
}, errorFactory)) && $ao42(elem, _path + ".hiddenPreviews[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3420
3481
|
path: _path + ".hiddenPreviews[" + _index3 + "]",
|
|
3421
3482
|
expected: "__type.o3",
|
|
3422
3483
|
value: elem
|
|
@@ -3426,11 +3487,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3426
3487
|
value: input.hiddenPreviews
|
|
3427
3488
|
}, errorFactory)) && (undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || $guard(_exceptionable, {
|
|
3428
3489
|
path: _path + ".plugins",
|
|
3429
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3490
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
3430
3491
|
value: input.plugins
|
|
3431
|
-
}, errorFactory)) && $
|
|
3492
|
+
}, errorFactory)) && $ao43(input.plugins, _path + ".plugins", true && _exceptionable) || $guard(_exceptionable, {
|
|
3432
3493
|
path: _path + ".plugins",
|
|
3433
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3494
|
+
expected: "(PartialObjectDeep<__type, __type>.o34 | undefined)",
|
|
3434
3495
|
value: input.plugins
|
|
3435
3496
|
}, errorFactory)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen || $guard(_exceptionable, {
|
|
3436
3497
|
path: _path + ".crashScreen",
|
|
@@ -3442,27 +3503,27 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3442
3503
|
value: input.debug
|
|
3443
3504
|
}, errorFactory)) && (undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || $guard(_exceptionable, {
|
|
3444
3505
|
path: _path + ".featurePreview",
|
|
3445
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3506
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
3446
3507
|
value: input.featurePreview
|
|
3447
|
-
}, errorFactory)) && $
|
|
3508
|
+
}, errorFactory)) && $ao45(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || $guard(_exceptionable, {
|
|
3448
3509
|
path: _path + ".featurePreview",
|
|
3449
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3510
|
+
expected: "(PartialObjectDeep<__type, __type>.o36 | undefined)",
|
|
3450
3511
|
value: input.featurePreview
|
|
3451
3512
|
}, errorFactory)) && (undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || $guard(_exceptionable, {
|
|
3452
3513
|
path: _path + ".flags",
|
|
3453
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3514
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
3454
3515
|
value: input.flags
|
|
3455
|
-
}, errorFactory)) && $
|
|
3516
|
+
}, errorFactory)) && $ao46(input.flags, _path + ".flags", true && _exceptionable) || $guard(_exceptionable, {
|
|
3456
3517
|
path: _path + ".flags",
|
|
3457
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3518
|
+
expected: "(PartialObjectDeep<__type, __type>.o37 | undefined)",
|
|
3458
3519
|
value: input.flags
|
|
3459
3520
|
}, errorFactory)) && (undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || $guard(_exceptionable, {
|
|
3460
3521
|
path: _path + ".notifications",
|
|
3461
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3522
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
3462
3523
|
value: input.notifications
|
|
3463
|
-
}, errorFactory)) && $
|
|
3524
|
+
}, errorFactory)) && $ao47(input.notifications, _path + ".notifications", true && _exceptionable) || $guard(_exceptionable, {
|
|
3464
3525
|
path: _path + ".notifications",
|
|
3465
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
3526
|
+
expected: "(PartialObjectDeep<__type, __type>.o38 | undefined)",
|
|
3466
3527
|
value: input.notifications
|
|
3467
3528
|
}, errorFactory));
|
|
3468
3529
|
const $ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || $guard(_exceptionable, {
|
|
@@ -3982,7 +4043,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3982
4043
|
expected: "(Array<string> | undefined)",
|
|
3983
4044
|
value: input.args
|
|
3984
4045
|
}, errorFactory));
|
|
3985
|
-
const $ao31 = (input, _path, _exceptionable = true) =>
|
|
4046
|
+
const $ao31 = (input, _path, _exceptionable = true) => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || $guard(_exceptionable, {
|
|
4047
|
+
path: _path + ".thumbnailView",
|
|
4048
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
4049
|
+
value: input.thumbnailView
|
|
4050
|
+
}, errorFactory);
|
|
4051
|
+
const $ao32 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
|
|
3986
4052
|
path: _path + ".title",
|
|
3987
4053
|
expected: "string",
|
|
3988
4054
|
value: input.title
|
|
@@ -4003,71 +4069,71 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4003
4069
|
expected: "(Array<string> | undefined)",
|
|
4004
4070
|
value: input.args
|
|
4005
4071
|
}, errorFactory));
|
|
4006
|
-
const $
|
|
4072
|
+
const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || $guard(_exceptionable, {
|
|
4007
4073
|
path: _path + ".folded",
|
|
4008
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4074
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
4009
4075
|
value: input.folded
|
|
4010
|
-
}, errorFactory)) && $
|
|
4076
|
+
}, errorFactory)) && $ao34(input.folded, _path + ".folded", true && _exceptionable) || $guard(_exceptionable, {
|
|
4011
4077
|
path: _path + ".folded",
|
|
4012
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4078
|
+
expected: "(PartialObjectDeep<__type, __type>.o26 | undefined)",
|
|
4013
4079
|
value: input.folded
|
|
4014
4080
|
}, errorFactory)) && (undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || $guard(_exceptionable, {
|
|
4015
4081
|
path: _path + ".assets",
|
|
4016
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4082
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
4017
4083
|
value: input.assets
|
|
4018
|
-
}, errorFactory)) && $
|
|
4084
|
+
}, errorFactory)) && $ao35(input.assets, _path + ".assets", true && _exceptionable) || $guard(_exceptionable, {
|
|
4019
4085
|
path: _path + ".assets",
|
|
4020
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4086
|
+
expected: "(PartialObjectDeep<__type, __type>.o27 | undefined)",
|
|
4021
4087
|
value: input.assets
|
|
4022
4088
|
}, errorFactory)) && (undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || $guard(_exceptionable, {
|
|
4023
4089
|
path: _path + ".pipeline",
|
|
4024
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4090
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
4025
4091
|
value: input.pipeline
|
|
4026
|
-
}, errorFactory)) && $
|
|
4092
|
+
}, errorFactory)) && $ao39(input.pipeline, _path + ".pipeline", true && _exceptionable) || $guard(_exceptionable, {
|
|
4027
4093
|
path: _path + ".pipeline",
|
|
4028
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4094
|
+
expected: "(PartialObjectDeep<__type, __type>.o31 | undefined)",
|
|
4029
4095
|
value: input.pipeline
|
|
4030
4096
|
}, errorFactory)) && (undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || $guard(_exceptionable, {
|
|
4031
4097
|
path: _path + ".item",
|
|
4032
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4098
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
4033
4099
|
value: input.item
|
|
4034
|
-
}, errorFactory)) && $
|
|
4100
|
+
}, errorFactory)) && $ao41(input.item, _path + ".item", true && _exceptionable) || $guard(_exceptionable, {
|
|
4035
4101
|
path: _path + ".item",
|
|
4036
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4102
|
+
expected: "(PartialObjectDeep<__type, __type>.o33 | undefined)",
|
|
4037
4103
|
value: input.item
|
|
4038
4104
|
}, errorFactory));
|
|
4039
|
-
const $
|
|
4105
|
+
const $ao34 = (input, _path, _exceptionable = true) => undefined === input.auto || "boolean" === typeof input.auto || $guard(_exceptionable, {
|
|
4040
4106
|
path: _path + ".auto",
|
|
4041
4107
|
expected: "(boolean | undefined)",
|
|
4042
4108
|
value: input.auto
|
|
4043
4109
|
}, errorFactory);
|
|
4044
|
-
const $
|
|
4110
|
+
const $ao35 = (input, _path, _exceptionable = true) => (undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || $guard(_exceptionable, {
|
|
4045
4111
|
path: _path + ".story",
|
|
4046
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4112
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
4047
4113
|
value: input.story
|
|
4048
|
-
}, errorFactory)) && $
|
|
4114
|
+
}, errorFactory)) && $ao36(input.story, _path + ".story", true && _exceptionable) || $guard(_exceptionable, {
|
|
4049
4115
|
path: _path + ".story",
|
|
4050
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4116
|
+
expected: "(PartialObjectDeep<__type, __type>.o28 | undefined)",
|
|
4051
4117
|
value: input.story
|
|
4052
4118
|
}, errorFactory)) && (undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || $guard(_exceptionable, {
|
|
4053
4119
|
path: _path + ".note",
|
|
4054
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4120
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
4055
4121
|
value: input.note
|
|
4056
|
-
}, errorFactory)) && $
|
|
4122
|
+
}, errorFactory)) && $ao38(input.note, _path + ".note", true && _exceptionable) || $guard(_exceptionable, {
|
|
4057
4123
|
path: _path + ".note",
|
|
4058
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4124
|
+
expected: "(PartialObjectDeep<__type, __type>.o30 | undefined)",
|
|
4059
4125
|
value: input.note
|
|
4060
4126
|
}, errorFactory));
|
|
4061
|
-
const $
|
|
4127
|
+
const $ao36 = (input, _path, _exceptionable = true) => undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || $guard(_exceptionable, {
|
|
4062
4128
|
path: _path + ".excerpt",
|
|
4063
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4129
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
4064
4130
|
value: input.excerpt
|
|
4065
|
-
}, errorFactory)) && $
|
|
4131
|
+
}, errorFactory)) && $ao37(input.excerpt, _path + ".excerpt", true && _exceptionable) || $guard(_exceptionable, {
|
|
4066
4132
|
path: _path + ".excerpt",
|
|
4067
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4133
|
+
expected: "(PartialObjectDeep<__type, __type>.o29 | undefined)",
|
|
4068
4134
|
value: input.excerpt
|
|
4069
4135
|
}, errorFactory);
|
|
4070
|
-
const $
|
|
4136
|
+
const $ao37 = (input, _path, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines && !Number.isNaN(input.maxLines) || $guard(_exceptionable, {
|
|
4071
4137
|
path: _path + ".maxLines",
|
|
4072
4138
|
expected: "(number | undefined)",
|
|
4073
4139
|
value: input.maxLines
|
|
@@ -4076,35 +4142,35 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4076
4142
|
expected: "(string | undefined)",
|
|
4077
4143
|
value: input.mode
|
|
4078
4144
|
}, errorFactory));
|
|
4079
|
-
const $
|
|
4145
|
+
const $ao38 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
4080
4146
|
path: _path + ".maxHeight",
|
|
4081
4147
|
expected: "(number | undefined)",
|
|
4082
4148
|
value: input.maxHeight
|
|
4083
4149
|
}, errorFactory);
|
|
4084
|
-
const $
|
|
4150
|
+
const $ao39 = (input, _path, _exceptionable = true) => (undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || $guard(_exceptionable, {
|
|
4085
4151
|
path: _path + ".search",
|
|
4086
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4152
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
4087
4153
|
value: input.search
|
|
4088
|
-
}, errorFactory)) && $
|
|
4154
|
+
}, errorFactory)) && $ao40(input.search, _path + ".search", true && _exceptionable) || $guard(_exceptionable, {
|
|
4089
4155
|
path: _path + ".search",
|
|
4090
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4156
|
+
expected: "(PartialObjectDeep<__type, __type>.o32 | undefined)",
|
|
4091
4157
|
value: input.search
|
|
4092
4158
|
}, errorFactory)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode || $guard(_exceptionable, {
|
|
4093
4159
|
path: _path + ".sortMode",
|
|
4094
4160
|
expected: "(\"az\" | \"default\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
4095
4161
|
value: input.sortMode
|
|
4096
4162
|
}, errorFactory));
|
|
4097
|
-
const $
|
|
4163
|
+
const $ao40 = (input, _path, _exceptionable = true) => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed && !Number.isNaN(input.maxItemsDisplayed) || $guard(_exceptionable, {
|
|
4098
4164
|
path: _path + ".maxItemsDisplayed",
|
|
4099
4165
|
expected: "(number | undefined)",
|
|
4100
4166
|
value: input.maxItemsDisplayed
|
|
4101
4167
|
}, errorFactory);
|
|
4102
|
-
const $
|
|
4168
|
+
const $ao41 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight && !Number.isNaN(input.maxHeight) || $guard(_exceptionable, {
|
|
4103
4169
|
path: _path + ".maxHeight",
|
|
4104
4170
|
expected: "(number | undefined)",
|
|
4105
4171
|
value: input.maxHeight
|
|
4106
4172
|
}, errorFactory);
|
|
4107
|
-
const $
|
|
4173
|
+
const $ao42 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || $guard(_exceptionable, {
|
|
4108
4174
|
path: _path + ".id",
|
|
4109
4175
|
expected: "string",
|
|
4110
4176
|
value: input.id
|
|
@@ -4113,26 +4179,26 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4113
4179
|
expected: "boolean",
|
|
4114
4180
|
value: input.folded
|
|
4115
4181
|
}, errorFactory));
|
|
4116
|
-
const $
|
|
4182
|
+
const $ao43 = (input, _path, _exceptionable = true) => undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || $guard(_exceptionable, {
|
|
4117
4183
|
path: _path + ".adobe",
|
|
4118
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4184
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
4119
4185
|
value: input.adobe
|
|
4120
|
-
}, errorFactory)) && $
|
|
4186
|
+
}, errorFactory)) && $ao44(input.adobe, _path + ".adobe", true && _exceptionable) || $guard(_exceptionable, {
|
|
4121
4187
|
path: _path + ".adobe",
|
|
4122
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4188
|
+
expected: "(PartialObjectDeep<__type, __type>.o35 | undefined)",
|
|
4123
4189
|
value: input.adobe
|
|
4124
4190
|
}, errorFactory);
|
|
4125
|
-
const $
|
|
4191
|
+
const $ao44 = (input, _path, _exceptionable = true) => undefined === input.useProxies || "boolean" === typeof input.useProxies || $guard(_exceptionable, {
|
|
4126
4192
|
path: _path + ".useProxies",
|
|
4127
4193
|
expected: "(boolean | undefined)",
|
|
4128
4194
|
value: input.useProxies
|
|
4129
4195
|
}, errorFactory);
|
|
4130
|
-
const $
|
|
4196
|
+
const $ao45 = (input, _path, _exceptionable = true) => undefined === input.collections || "boolean" === typeof input.collections || $guard(_exceptionable, {
|
|
4131
4197
|
path: _path + ".collections",
|
|
4132
4198
|
expected: "(boolean | undefined)",
|
|
4133
4199
|
value: input.collections
|
|
4134
4200
|
}, errorFactory);
|
|
4135
|
-
const $
|
|
4201
|
+
const $ao46 = (input, _path, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils || $guard(_exceptionable, {
|
|
4136
4202
|
path: _path + ".utils",
|
|
4137
4203
|
expected: "(boolean | undefined)",
|
|
4138
4204
|
value: input.utils
|
|
@@ -4193,16 +4259,16 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4193
4259
|
expected: "(boolean | undefined)",
|
|
4194
4260
|
value: input.devWarnings
|
|
4195
4261
|
}, errorFactory));
|
|
4196
|
-
const $
|
|
4262
|
+
const $ao47 = (input, _path, _exceptionable = true) => undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || $guard(_exceptionable, {
|
|
4197
4263
|
path: _path + ".events",
|
|
4198
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4264
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
4199
4265
|
value: input.events
|
|
4200
|
-
}, errorFactory)) && $
|
|
4266
|
+
}, errorFactory)) && $ao48(input.events, _path + ".events", true && _exceptionable) || $guard(_exceptionable, {
|
|
4201
4267
|
path: _path + ".events",
|
|
4202
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4268
|
+
expected: "(PartialObjectDeep<__type, __type>.o39 | undefined)",
|
|
4203
4269
|
value: input.events
|
|
4204
4270
|
}, errorFactory);
|
|
4205
|
-
const $
|
|
4271
|
+
const $ao48 = (input, _path, _exceptionable = true) => (undefined === input.comment || (Array.isArray(input.comment) || $guard(_exceptionable, {
|
|
4206
4272
|
path: _path + ".comment",
|
|
4207
4273
|
expected: "(Array<NotificationReason> | undefined)",
|
|
4208
4274
|
value: input.comment
|
|
@@ -4240,14 +4306,14 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4240
4306
|
value: input.unassigned
|
|
4241
4307
|
}, errorFactory)) && (undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || $guard(_exceptionable, {
|
|
4242
4308
|
path: _path + ".publishSucceeded",
|
|
4243
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4309
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
4244
4310
|
value: input.publishSucceeded
|
|
4245
|
-
}, errorFactory)) && $
|
|
4311
|
+
}, errorFactory)) && $ao49(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || $guard(_exceptionable, {
|
|
4246
4312
|
path: _path + ".publishSucceeded",
|
|
4247
|
-
expected: "(PartialObjectDeep<__type, __type>.
|
|
4313
|
+
expected: "(PartialObjectDeep<__type, __type>.o40 | undefined)",
|
|
4248
4314
|
value: input.publishSucceeded
|
|
4249
4315
|
}, errorFactory));
|
|
4250
|
-
const $
|
|
4316
|
+
const $ao49 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
4251
4317
|
const value = input[key];
|
|
4252
4318
|
if (undefined === value)
|
|
4253
4319
|
return true;
|
|
@@ -4314,24 +4380,25 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4314
4380
|
const $io28 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io29(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration);
|
|
4315
4381
|
const $io29 = input => "string" === typeof input.language && "string" === typeof input.value;
|
|
4316
4382
|
const $io30 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
4317
|
-
const $io31 = input =>
|
|
4318
|
-
const $io32 = input =>
|
|
4319
|
-
const $io33 = input => undefined === input.
|
|
4320
|
-
const $io34 = input =>
|
|
4321
|
-
const $io35 = input => undefined === input.
|
|
4322
|
-
const $io36 = input =>
|
|
4323
|
-
const $io37 = input => undefined === input.
|
|
4324
|
-
const $io38 = input =>
|
|
4325
|
-
const $io39 = input => undefined === input.
|
|
4326
|
-
const $io40 = input => undefined === input.
|
|
4327
|
-
const $io41 = input =>
|
|
4328
|
-
const $io42 = input =>
|
|
4329
|
-
const $io43 = input => undefined === input.
|
|
4330
|
-
const $io44 = input => undefined === input.
|
|
4331
|
-
const $io45 = input =>
|
|
4332
|
-
const $io46 = input => undefined === input.
|
|
4333
|
-
const $io47 = input =>
|
|
4334
|
-
const $io48 = input =>
|
|
4383
|
+
const $io31 = input => undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView;
|
|
4384
|
+
const $io32 = input => "string" === typeof input.title && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
|
|
4385
|
+
const $io33 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && $io34(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && $io35(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && $io39(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && $io41(input.item));
|
|
4386
|
+
const $io34 = input => undefined === input.auto || "boolean" === typeof input.auto;
|
|
4387
|
+
const $io35 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && $io36(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && $io38(input.note));
|
|
4388
|
+
const $io36 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && $io37(input.excerpt);
|
|
4389
|
+
const $io37 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode);
|
|
4390
|
+
const $io38 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
4391
|
+
const $io39 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && $io40(input.search)) && (undefined === input.sortMode || "default" === input.sortMode || "manual" === input.sortMode || "az" === input.sortMode || "za" === input.sortMode || "newest" === input.sortMode || "oldest" === input.sortMode || "mostrecent" === input.sortMode || "leastrecent" === input.sortMode);
|
|
4392
|
+
const $io40 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed;
|
|
4393
|
+
const $io41 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight;
|
|
4394
|
+
const $io42 = input => "string" === typeof input.id && "boolean" === typeof input.folded;
|
|
4395
|
+
const $io43 = input => undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && $io44(input.adobe);
|
|
4396
|
+
const $io44 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies;
|
|
4397
|
+
const $io45 = input => undefined === input.collections || "boolean" === typeof input.collections;
|
|
4398
|
+
const $io46 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings);
|
|
4399
|
+
const $io47 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io48(input.events);
|
|
4400
|
+
const $io48 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && $io49(input.publishSucceeded));
|
|
4401
|
+
const $io49 = input => Object.keys(input).every(key => {
|
|
4335
4402
|
const value = input[key];
|
|
4336
4403
|
if (undefined === value)
|
|
4337
4404
|
return true;
|
|
@@ -4340,7 +4407,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4340
4407
|
const $string = __typia.json.createAssertStringify.string;
|
|
4341
4408
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
4342
4409
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
4343
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $
|
|
4410
|
+
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so32(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so33(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so43(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so45(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so46(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so47(input.notifications) : undefined}`}`)}}`;
|
|
4344
4411
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
4345
4412
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
4346
4413
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -4409,14 +4476,24 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4409
4476
|
const $so27 = input => `{${$tail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? $so28(input.defaultValue) : undefined}`}`)}}`;
|
|
4410
4477
|
const $so28 = input => `{${$tail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => `{"language":${$string(elem.language)},"value":${$string(elem.value)}}`).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`;
|
|
4411
4478
|
const $so30 = input => `{${$tail(`${undefined === input.url ? "" : `"url":${undefined !== input.url ? $string(input.url) : undefined},`}${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.app ? "" : `"app":${undefined !== input.app ? $string(input.app) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
4412
|
-
const $so31 = input => `{${
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4479
|
+
const $so31 = input => `{${$tail(`${undefined === input.thumbnailView ? "" : `"thumbnailView":${undefined !== input.thumbnailView ? (() => {
|
|
4480
|
+
if ("string" === typeof input.thumbnailView)
|
|
4481
|
+
return $string(input.thumbnailView);
|
|
4482
|
+
if ("string" === typeof input.thumbnailView)
|
|
4483
|
+
return "\"" + input.thumbnailView + "\"";
|
|
4484
|
+
$throws({
|
|
4485
|
+
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
4486
|
+
value: input.thumbnailView
|
|
4487
|
+
});
|
|
4488
|
+
})() : undefined}`}`)}}`;
|
|
4489
|
+
const $so32 = input => `{${undefined === input.command ? "" : `"command":${undefined !== input.command ? $string(input.command) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => $string(elem)).join(",")}]` : undefined},`}"title":${$string(input.title)}}`;
|
|
4490
|
+
const $so33 = input => `{${$tail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? $so34(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? $so35(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? $so39(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? $so41(input.item) : undefined}`}`)}}`;
|
|
4491
|
+
const $so34 = input => `{${$tail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`;
|
|
4492
|
+
const $so35 = input => `{${$tail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? $so36(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? $so38(input.note) : undefined}`}`)}}`;
|
|
4493
|
+
const $so36 = input => `{${$tail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? $so37(input.excerpt) : undefined}`}`)}}`;
|
|
4494
|
+
const $so37 = input => `{${$tail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? $string(input.mode) : undefined}`}`)}}`;
|
|
4495
|
+
const $so38 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
4496
|
+
const $so39 = input => `{${$tail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? $so40(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? (() => {
|
|
4420
4497
|
if ("string" === typeof input.sortMode)
|
|
4421
4498
|
return $string(input.sortMode);
|
|
4422
4499
|
if ("string" === typeof input.sortMode)
|
|
@@ -4426,14 +4503,14 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4426
4503
|
value: input.sortMode
|
|
4427
4504
|
});
|
|
4428
4505
|
})() : undefined}`}`)}}`;
|
|
4429
|
-
const $
|
|
4430
|
-
const $
|
|
4431
|
-
const $
|
|
4432
|
-
const $
|
|
4433
|
-
const $
|
|
4434
|
-
const $
|
|
4435
|
-
const $
|
|
4436
|
-
const $
|
|
4506
|
+
const $so40 = input => `{${$tail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`;
|
|
4507
|
+
const $so41 = input => `{${$tail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`;
|
|
4508
|
+
const $so43 = input => `{${$tail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? $so44(input.adobe) : undefined}`}`)}}`;
|
|
4509
|
+
const $so44 = input => `{${$tail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`;
|
|
4510
|
+
const $so45 = input => `{${$tail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined}`}`)}}`;
|
|
4511
|
+
const $so46 = input => `{${$tail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined},`}${undefined === input.devWarnings ? "" : `"devWarnings":${undefined !== input.devWarnings ? input.devWarnings : undefined}`}`)}}`;
|
|
4512
|
+
const $so47 = input => `{${$tail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so48(input.events) : undefined}`}`)}}`;
|
|
4513
|
+
const $so48 = input => `{${$tail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => (() => {
|
|
4437
4514
|
if ("string" === typeof elem)
|
|
4438
4515
|
return $string(elem);
|
|
4439
4516
|
if ("string" === typeof elem)
|
|
@@ -4460,8 +4537,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4460
4537
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4461
4538
|
value: elem
|
|
4462
4539
|
});
|
|
4463
|
-
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $
|
|
4464
|
-
const $
|
|
4540
|
+
})()).join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? $so49(input.publishSucceeded) : undefined}`}`)}}`;
|
|
4541
|
+
const $so49 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
4465
4542
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? `[${value.map(elem => (() => {
|
|
4466
4543
|
if ("string" === typeof elem)
|
|
4467
4544
|
return $string(elem);
|