@nxtedition/types 23.0.20 → 23.0.21
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 +10 -4
- package/dist/common/settings.js +262 -184
- package/dist/domains/settings.js +241 -161
- package/dist/index.d.ts +0 -2
- package/dist/schema.json +108 -103
- package/package.json +1 -1
package/dist/domains/settings.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import __typia from "typia";
|
|
2
2
|
export const isSettingsRecord = input => {
|
|
3
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
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.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
4
4
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
5
5
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
6
6
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -27,7 +27,7 @@ export const isSettingsRecord = input => {
|
|
|
27
27
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
28
28
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
29
29
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
30
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
30
|
+
const $io20 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
31
31
|
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
32
32
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
33
33
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -67,7 +67,7 @@ export const isSettingsRecord = input => {
|
|
|
67
67
|
};
|
|
68
68
|
export const assertSettingsRecord = (input, errorFactory) => {
|
|
69
69
|
const __is = input => {
|
|
70
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
70
|
+
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.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
71
71
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
72
72
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
73
73
|
const $io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && $io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
@@ -94,7 +94,7 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
94
94
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
95
95
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
96
96
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
97
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
97
|
+
const $io20 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
98
98
|
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
99
99
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
100
100
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -172,6 +172,26 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
172
172
|
path: _path + ".toolbarTags",
|
|
173
173
|
expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
|
|
174
174
|
value: input.toolbarTags
|
|
175
|
+
}, errorFactory)) && (undefined === input.exclusiveTagGroups || (Array.isArray(input.exclusiveTagGroups) || $guard(_exceptionable, {
|
|
176
|
+
path: _path + ".exclusiveTagGroups",
|
|
177
|
+
expected: "(Array<Array<string>> | undefined)",
|
|
178
|
+
value: input.exclusiveTagGroups
|
|
179
|
+
}, errorFactory)) && input.exclusiveTagGroups.every((elem, _index1) => (Array.isArray(elem) || $guard(_exceptionable, {
|
|
180
|
+
path: _path + ".exclusiveTagGroups[" + _index1 + "]",
|
|
181
|
+
expected: "Array<string>",
|
|
182
|
+
value: elem
|
|
183
|
+
}, errorFactory)) && elem.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
184
|
+
path: _path + ".exclusiveTagGroups[" + _index1 + "][" + _index2 + "]",
|
|
185
|
+
expected: "string",
|
|
186
|
+
value: elem
|
|
187
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
188
|
+
path: _path + ".exclusiveTagGroups[" + _index1 + "]",
|
|
189
|
+
expected: "Array<string>",
|
|
190
|
+
value: elem
|
|
191
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
192
|
+
path: _path + ".exclusiveTagGroups",
|
|
193
|
+
expected: "(Array<Array<string>> | undefined)",
|
|
194
|
+
value: input.exclusiveTagGroups
|
|
175
195
|
}, errorFactory)) && (undefined === input.deadlines || ("object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) || $guard(_exceptionable, {
|
|
176
196
|
path: _path + ".deadlines",
|
|
177
197
|
expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
|
|
@@ -268,12 +288,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
268
288
|
path: _path + ".commands",
|
|
269
289
|
expected: "(Array<__type>.o2 | undefined)",
|
|
270
290
|
value: input.commands
|
|
271
|
-
}, errorFactory)) && input.commands.every((elem,
|
|
272
|
-
path: _path + ".commands[" +
|
|
291
|
+
}, errorFactory)) && input.commands.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
292
|
+
path: _path + ".commands[" + _index3 + "]",
|
|
273
293
|
expected: "__type.o2",
|
|
274
294
|
value: elem
|
|
275
|
-
}, errorFactory)) && $ao33(elem, _path + ".commands[" +
|
|
276
|
-
path: _path + ".commands[" +
|
|
295
|
+
}, errorFactory)) && $ao33(elem, _path + ".commands[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
296
|
+
path: _path + ".commands[" + _index3 + "]",
|
|
277
297
|
expected: "__type.o2",
|
|
278
298
|
value: elem
|
|
279
299
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -284,8 +304,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
284
304
|
path: _path + ".predefinedTags",
|
|
285
305
|
expected: "(Array<string> | undefined)",
|
|
286
306
|
value: input.predefinedTags
|
|
287
|
-
}, errorFactory)) && input.predefinedTags.every((elem,
|
|
288
|
-
path: _path + ".predefinedTags[" +
|
|
307
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
308
|
+
path: _path + ".predefinedTags[" + _index4 + "]",
|
|
289
309
|
expected: "string",
|
|
290
310
|
value: elem
|
|
291
311
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -304,12 +324,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
304
324
|
path: _path + ".hiddenPreviews",
|
|
305
325
|
expected: "(Array<__type>.o3 | undefined)",
|
|
306
326
|
value: input.hiddenPreviews
|
|
307
|
-
}, errorFactory)) && input.hiddenPreviews.every((elem,
|
|
308
|
-
path: _path + ".hiddenPreviews[" +
|
|
327
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
328
|
+
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
309
329
|
expected: "__type.o3",
|
|
310
330
|
value: elem
|
|
311
|
-
}, errorFactory)) && $ao43(elem, _path + ".hiddenPreviews[" +
|
|
312
|
-
path: _path + ".hiddenPreviews[" +
|
|
331
|
+
}, errorFactory)) && $ao43(elem, _path + ".hiddenPreviews[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
332
|
+
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
313
333
|
expected: "__type.o3",
|
|
314
334
|
value: elem
|
|
315
335
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -426,8 +446,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
426
446
|
path: _path + ".sortOrder",
|
|
427
447
|
expected: "(Array<string> | undefined)",
|
|
428
448
|
value: input.sortOrder
|
|
429
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
430
|
-
path: _path + ".sortOrder[" +
|
|
449
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
450
|
+
path: _path + ".sortOrder[" + _index6 + "]",
|
|
431
451
|
expected: "string",
|
|
432
452
|
value: elem
|
|
433
453
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -439,8 +459,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
439
459
|
path: _path + ".exclude",
|
|
440
460
|
expected: "(Array<string> | undefined)",
|
|
441
461
|
value: input.exclude
|
|
442
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
443
|
-
path: _path + ".exclude[" +
|
|
462
|
+
}, errorFactory)) && input.exclude.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
463
|
+
path: _path + ".exclude[" + _index7 + "]",
|
|
444
464
|
expected: "string",
|
|
445
465
|
value: elem
|
|
446
466
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -452,8 +472,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
452
472
|
path: _path + ".include",
|
|
453
473
|
expected: "(Array<string> | undefined)",
|
|
454
474
|
value: input.include
|
|
455
|
-
}, errorFactory)) && input.include.every((elem,
|
|
456
|
-
path: _path + ".include[" +
|
|
475
|
+
}, errorFactory)) && input.include.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
476
|
+
path: _path + ".include[" + _index8 + "]",
|
|
457
477
|
expected: "string",
|
|
458
478
|
value: elem
|
|
459
479
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -464,8 +484,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
464
484
|
path: _path + ".exclude",
|
|
465
485
|
expected: "(Array<string> | undefined)",
|
|
466
486
|
value: input.exclude
|
|
467
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
468
|
-
path: _path + ".exclude[" +
|
|
487
|
+
}, errorFactory)) && input.exclude.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
|
|
488
|
+
path: _path + ".exclude[" + _index9 + "]",
|
|
469
489
|
expected: "string",
|
|
470
490
|
value: elem
|
|
471
491
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -477,8 +497,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
477
497
|
path: _path + ".include",
|
|
478
498
|
expected: "(Array<string> | undefined)",
|
|
479
499
|
value: input.include
|
|
480
|
-
}, errorFactory)) && input.include.every((elem,
|
|
481
|
-
path: _path + ".include[" +
|
|
500
|
+
}, errorFactory)) && input.include.every((elem, _index10) => "string" === typeof elem || $guard(_exceptionable, {
|
|
501
|
+
path: _path + ".include[" + _index10 + "]",
|
|
482
502
|
expected: "string",
|
|
483
503
|
value: elem
|
|
484
504
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -489,8 +509,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
489
509
|
path: _path + ".exclude",
|
|
490
510
|
expected: "(Array<string> | undefined)",
|
|
491
511
|
value: input.exclude
|
|
492
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
493
|
-
path: _path + ".exclude[" +
|
|
512
|
+
}, errorFactory)) && input.exclude.every((elem, _index11) => "string" === typeof elem || $guard(_exceptionable, {
|
|
513
|
+
path: _path + ".exclude[" + _index11 + "]",
|
|
494
514
|
expected: "string",
|
|
495
515
|
value: elem
|
|
496
516
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -557,12 +577,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
557
577
|
path: _path + ".colorTags",
|
|
558
578
|
expected: "(Array<PromotedTag> | undefined)",
|
|
559
579
|
value: input.colorTags
|
|
560
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
561
|
-
path: _path + ".colorTags[" +
|
|
580
|
+
}, errorFactory)) && input.colorTags.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
581
|
+
path: _path + ".colorTags[" + _index12 + "]",
|
|
562
582
|
expected: "PromotedTag",
|
|
563
583
|
value: elem
|
|
564
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
565
|
-
path: _path + ".colorTags[" +
|
|
584
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
585
|
+
path: _path + ".colorTags[" + _index12 + "]",
|
|
566
586
|
expected: "PromotedTag",
|
|
567
587
|
value: elem
|
|
568
588
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -607,7 +627,11 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
607
627
|
expected: "(boolean | undefined)",
|
|
608
628
|
value: input.dimOnBlur
|
|
609
629
|
}, errorFactory);
|
|
610
|
-
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
630
|
+
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate || $guard(_exceptionable, {
|
|
631
|
+
path: _path + ".defaultFrameRate",
|
|
632
|
+
expected: "(number | undefined)",
|
|
633
|
+
value: input.defaultFrameRate
|
|
634
|
+
}, errorFactory)) && (undefined === input.placeholder || "string" === typeof input.placeholder || $guard(_exceptionable, {
|
|
611
635
|
path: _path + ".placeholder",
|
|
612
636
|
expected: "(string | undefined)",
|
|
613
637
|
value: input.placeholder
|
|
@@ -663,8 +687,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
663
687
|
path: _path + ".playbackRates",
|
|
664
688
|
expected: "(Array<number> | undefined)",
|
|
665
689
|
value: input.playbackRates
|
|
666
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
667
|
-
path: _path + ".playbackRates[" +
|
|
690
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index13) => "number" === typeof elem || $guard(_exceptionable, {
|
|
691
|
+
path: _path + ".playbackRates[" + _index13 + "]",
|
|
668
692
|
expected: "number",
|
|
669
693
|
value: elem
|
|
670
694
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -691,12 +715,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
691
715
|
path: _path + ".guides",
|
|
692
716
|
expected: "(Array<__type> | undefined)",
|
|
693
717
|
value: input.guides
|
|
694
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
695
|
-
path: _path + ".guides[" +
|
|
718
|
+
}, errorFactory)) && input.guides.every((elem, _index14) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
719
|
+
path: _path + ".guides[" + _index14 + "]",
|
|
696
720
|
expected: "__type",
|
|
697
721
|
value: elem
|
|
698
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
699
|
-
path: _path + ".guides[" +
|
|
722
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index14 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
723
|
+
path: _path + ".guides[" + _index14 + "]",
|
|
700
724
|
expected: "__type",
|
|
701
725
|
value: elem
|
|
702
726
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -819,12 +843,12 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
819
843
|
path: _path + ".text",
|
|
820
844
|
expected: "(Array<__type>.o1 | undefined)",
|
|
821
845
|
value: input.text
|
|
822
|
-
}, errorFactory)) && input.text.every((elem,
|
|
823
|
-
path: _path + ".text[" +
|
|
846
|
+
}, errorFactory)) && input.text.every((elem, _index15) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
847
|
+
path: _path + ".text[" + _index15 + "]",
|
|
824
848
|
expected: "__type.o1",
|
|
825
849
|
value: elem
|
|
826
|
-
}, errorFactory)) && $ao29(elem, _path + ".text[" +
|
|
827
|
-
path: _path + ".text[" +
|
|
850
|
+
}, errorFactory)) && $ao29(elem, _path + ".text[" + _index15 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
851
|
+
path: _path + ".text[" + _index15 + "]",
|
|
828
852
|
expected: "__type.o1",
|
|
829
853
|
value: elem
|
|
830
854
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -865,8 +889,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
865
889
|
path: _path + ".args",
|
|
866
890
|
expected: "(Array<string> | undefined)",
|
|
867
891
|
value: input.args
|
|
868
|
-
}, errorFactory)) && input.args.every((elem,
|
|
869
|
-
path: _path + ".args[" +
|
|
892
|
+
}, errorFactory)) && input.args.every((elem, _index16) => "string" === typeof elem || $guard(_exceptionable, {
|
|
893
|
+
path: _path + ".args[" + _index16 + "]",
|
|
870
894
|
expected: "string",
|
|
871
895
|
value: elem
|
|
872
896
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -920,8 +944,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
920
944
|
path: _path + ".args",
|
|
921
945
|
expected: "(Array<string> | undefined)",
|
|
922
946
|
value: input.args
|
|
923
|
-
}, errorFactory)) && input.args.every((elem,
|
|
924
|
-
path: _path + ".args[" +
|
|
947
|
+
}, errorFactory)) && input.args.every((elem, _index17) => "string" === typeof elem || $guard(_exceptionable, {
|
|
948
|
+
path: _path + ".args[" + _index17 + "]",
|
|
925
949
|
expected: "string",
|
|
926
950
|
value: elem
|
|
927
951
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1132,8 +1156,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1132
1156
|
path: _path + ".comment",
|
|
1133
1157
|
expected: "(Array<NotificationReason> | undefined)",
|
|
1134
1158
|
value: input.comment
|
|
1135
|
-
}, errorFactory)) && input.comment.every((elem,
|
|
1136
|
-
path: _path + ".comment[" +
|
|
1159
|
+
}, errorFactory)) && input.comment.every((elem, _index18) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1160
|
+
path: _path + ".comment[" + _index18 + "]",
|
|
1137
1161
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1138
1162
|
value: elem
|
|
1139
1163
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1144,8 +1168,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1144
1168
|
path: _path + ".assigned",
|
|
1145
1169
|
expected: "(Array<NotificationReason> | undefined)",
|
|
1146
1170
|
value: input.assigned
|
|
1147
|
-
}, errorFactory)) && input.assigned.every((elem,
|
|
1148
|
-
path: _path + ".assigned[" +
|
|
1171
|
+
}, errorFactory)) && input.assigned.every((elem, _index19) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1172
|
+
path: _path + ".assigned[" + _index19 + "]",
|
|
1149
1173
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1150
1174
|
value: elem
|
|
1151
1175
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1156,8 +1180,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1156
1180
|
path: _path + ".unassigned",
|
|
1157
1181
|
expected: "(Array<NotificationReason> | undefined)",
|
|
1158
1182
|
value: input.unassigned
|
|
1159
|
-
}, errorFactory)) && input.unassigned.every((elem,
|
|
1160
|
-
path: _path + ".unassigned[" +
|
|
1183
|
+
}, errorFactory)) && input.unassigned.every((elem, _index20) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1184
|
+
path: _path + ".unassigned[" + _index20 + "]",
|
|
1161
1185
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1162
1186
|
value: elem
|
|
1163
1187
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1181,8 +1205,8 @@ export const assertSettingsRecord = (input, errorFactory) => {
|
|
|
1181
1205
|
path: _path + $join(key),
|
|
1182
1206
|
expected: "(Array<NotificationReason> | undefined)",
|
|
1183
1207
|
value: value
|
|
1184
|
-
}, errorFactory)) && value.every((elem,
|
|
1185
|
-
path: _path + $join(key) + "[" +
|
|
1208
|
+
}, errorFactory)) && value.every((elem, _index21) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
1209
|
+
path: _path + $join(key) + "[" + _index21 + "]",
|
|
1186
1210
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
1187
1211
|
value: elem
|
|
1188
1212
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -1227,6 +1251,10 @@ export const randomSettingsRecord = generator => {
|
|
|
1227
1251
|
() => undefined,
|
|
1228
1252
|
() => $ro8(_recursive, _recursive ? 1 + _depth : _depth)
|
|
1229
1253
|
])(),
|
|
1254
|
+
exclusiveTagGroups: $pick([
|
|
1255
|
+
() => undefined,
|
|
1256
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()))
|
|
1257
|
+
])(),
|
|
1230
1258
|
deadlines: $pick([
|
|
1231
1259
|
() => undefined,
|
|
1232
1260
|
() => $ro9(_recursive, _recursive ? 1 + _depth : _depth)
|
|
@@ -1506,6 +1534,10 @@ export const randomSettingsRecord = generator => {
|
|
|
1506
1534
|
])()
|
|
1507
1535
|
});
|
|
1508
1536
|
const $ro20 = (_recursive = false, _depth = 0) => ({
|
|
1537
|
+
defaultFrameRate: $pick([
|
|
1538
|
+
() => undefined,
|
|
1539
|
+
() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
|
|
1540
|
+
])(),
|
|
1509
1541
|
placeholder: $pick([
|
|
1510
1542
|
() => undefined,
|
|
1511
1543
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
@@ -1979,7 +2011,7 @@ export const randomSettingsRecord = generator => {
|
|
|
1979
2011
|
};
|
|
1980
2012
|
export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
1981
2013
|
const __is = input => {
|
|
1982
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
2014
|
+
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.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
1983
2015
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
1984
2016
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
1985
2017
|
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 => {
|
|
@@ -2006,7 +2038,7 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2006
2038
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
2007
2039
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
2008
2040
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
2009
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
2041
|
+
const $io20 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
2010
2042
|
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
2011
2043
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
2012
2044
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -2084,6 +2116,26 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2084
2116
|
path: _path + ".toolbarTags",
|
|
2085
2117
|
expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
|
|
2086
2118
|
value: input.toolbarTags
|
|
2119
|
+
}, errorFactory)) && (undefined === input.exclusiveTagGroups || (Array.isArray(input.exclusiveTagGroups) || $guard(_exceptionable, {
|
|
2120
|
+
path: _path + ".exclusiveTagGroups",
|
|
2121
|
+
expected: "(Array<Array<string>> | undefined)",
|
|
2122
|
+
value: input.exclusiveTagGroups
|
|
2123
|
+
}, errorFactory)) && input.exclusiveTagGroups.every((elem, _index1) => (Array.isArray(elem) || $guard(_exceptionable, {
|
|
2124
|
+
path: _path + ".exclusiveTagGroups[" + _index1 + "]",
|
|
2125
|
+
expected: "Array<string>",
|
|
2126
|
+
value: elem
|
|
2127
|
+
}, errorFactory)) && elem.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2128
|
+
path: _path + ".exclusiveTagGroups[" + _index1 + "][" + _index2 + "]",
|
|
2129
|
+
expected: "string",
|
|
2130
|
+
value: elem
|
|
2131
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2132
|
+
path: _path + ".exclusiveTagGroups[" + _index1 + "]",
|
|
2133
|
+
expected: "Array<string>",
|
|
2134
|
+
value: elem
|
|
2135
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
2136
|
+
path: _path + ".exclusiveTagGroups",
|
|
2137
|
+
expected: "(Array<Array<string>> | undefined)",
|
|
2138
|
+
value: input.exclusiveTagGroups
|
|
2087
2139
|
}, errorFactory)) && (undefined === input.deadlines || ("object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) || $guard(_exceptionable, {
|
|
2088
2140
|
path: _path + ".deadlines",
|
|
2089
2141
|
expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
|
|
@@ -2180,12 +2232,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2180
2232
|
path: _path + ".commands",
|
|
2181
2233
|
expected: "(Array<__type>.o2 | undefined)",
|
|
2182
2234
|
value: input.commands
|
|
2183
|
-
}, errorFactory)) && input.commands.every((elem,
|
|
2184
|
-
path: _path + ".commands[" +
|
|
2235
|
+
}, errorFactory)) && input.commands.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2236
|
+
path: _path + ".commands[" + _index3 + "]",
|
|
2185
2237
|
expected: "__type.o2",
|
|
2186
2238
|
value: elem
|
|
2187
|
-
}, errorFactory)) && $ao33(elem, _path + ".commands[" +
|
|
2188
|
-
path: _path + ".commands[" +
|
|
2239
|
+
}, errorFactory)) && $ao33(elem, _path + ".commands[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2240
|
+
path: _path + ".commands[" + _index3 + "]",
|
|
2189
2241
|
expected: "__type.o2",
|
|
2190
2242
|
value: elem
|
|
2191
2243
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2196,8 +2248,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2196
2248
|
path: _path + ".predefinedTags",
|
|
2197
2249
|
expected: "(Array<string> | undefined)",
|
|
2198
2250
|
value: input.predefinedTags
|
|
2199
|
-
}, errorFactory)) && input.predefinedTags.every((elem,
|
|
2200
|
-
path: _path + ".predefinedTags[" +
|
|
2251
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2252
|
+
path: _path + ".predefinedTags[" + _index4 + "]",
|
|
2201
2253
|
expected: "string",
|
|
2202
2254
|
value: elem
|
|
2203
2255
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2216,12 +2268,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2216
2268
|
path: _path + ".hiddenPreviews",
|
|
2217
2269
|
expected: "(Array<__type>.o3 | undefined)",
|
|
2218
2270
|
value: input.hiddenPreviews
|
|
2219
|
-
}, errorFactory)) && input.hiddenPreviews.every((elem,
|
|
2220
|
-
path: _path + ".hiddenPreviews[" +
|
|
2271
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2272
|
+
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
2221
2273
|
expected: "__type.o3",
|
|
2222
2274
|
value: elem
|
|
2223
|
-
}, errorFactory)) && $ao43(elem, _path + ".hiddenPreviews[" +
|
|
2224
|
-
path: _path + ".hiddenPreviews[" +
|
|
2275
|
+
}, errorFactory)) && $ao43(elem, _path + ".hiddenPreviews[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2276
|
+
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
2225
2277
|
expected: "__type.o3",
|
|
2226
2278
|
value: elem
|
|
2227
2279
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2338,8 +2390,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2338
2390
|
path: _path + ".sortOrder",
|
|
2339
2391
|
expected: "(Array<string> | undefined)",
|
|
2340
2392
|
value: input.sortOrder
|
|
2341
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
2342
|
-
path: _path + ".sortOrder[" +
|
|
2393
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2394
|
+
path: _path + ".sortOrder[" + _index6 + "]",
|
|
2343
2395
|
expected: "string",
|
|
2344
2396
|
value: elem
|
|
2345
2397
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2351,8 +2403,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2351
2403
|
path: _path + ".exclude",
|
|
2352
2404
|
expected: "(Array<string> | undefined)",
|
|
2353
2405
|
value: input.exclude
|
|
2354
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2355
|
-
path: _path + ".exclude[" +
|
|
2406
|
+
}, errorFactory)) && input.exclude.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2407
|
+
path: _path + ".exclude[" + _index7 + "]",
|
|
2356
2408
|
expected: "string",
|
|
2357
2409
|
value: elem
|
|
2358
2410
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2364,8 +2416,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2364
2416
|
path: _path + ".include",
|
|
2365
2417
|
expected: "(Array<string> | undefined)",
|
|
2366
2418
|
value: input.include
|
|
2367
|
-
}, errorFactory)) && input.include.every((elem,
|
|
2368
|
-
path: _path + ".include[" +
|
|
2419
|
+
}, errorFactory)) && input.include.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2420
|
+
path: _path + ".include[" + _index8 + "]",
|
|
2369
2421
|
expected: "string",
|
|
2370
2422
|
value: elem
|
|
2371
2423
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2376,8 +2428,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2376
2428
|
path: _path + ".exclude",
|
|
2377
2429
|
expected: "(Array<string> | undefined)",
|
|
2378
2430
|
value: input.exclude
|
|
2379
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2380
|
-
path: _path + ".exclude[" +
|
|
2431
|
+
}, errorFactory)) && input.exclude.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2432
|
+
path: _path + ".exclude[" + _index9 + "]",
|
|
2381
2433
|
expected: "string",
|
|
2382
2434
|
value: elem
|
|
2383
2435
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2389,8 +2441,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2389
2441
|
path: _path + ".include",
|
|
2390
2442
|
expected: "(Array<string> | undefined)",
|
|
2391
2443
|
value: input.include
|
|
2392
|
-
}, errorFactory)) && input.include.every((elem,
|
|
2393
|
-
path: _path + ".include[" +
|
|
2444
|
+
}, errorFactory)) && input.include.every((elem, _index10) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2445
|
+
path: _path + ".include[" + _index10 + "]",
|
|
2394
2446
|
expected: "string",
|
|
2395
2447
|
value: elem
|
|
2396
2448
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2401,8 +2453,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2401
2453
|
path: _path + ".exclude",
|
|
2402
2454
|
expected: "(Array<string> | undefined)",
|
|
2403
2455
|
value: input.exclude
|
|
2404
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
2405
|
-
path: _path + ".exclude[" +
|
|
2456
|
+
}, errorFactory)) && input.exclude.every((elem, _index11) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2457
|
+
path: _path + ".exclude[" + _index11 + "]",
|
|
2406
2458
|
expected: "string",
|
|
2407
2459
|
value: elem
|
|
2408
2460
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2469,12 +2521,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2469
2521
|
path: _path + ".colorTags",
|
|
2470
2522
|
expected: "(Array<PromotedTag> | undefined)",
|
|
2471
2523
|
value: input.colorTags
|
|
2472
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
2473
|
-
path: _path + ".colorTags[" +
|
|
2524
|
+
}, errorFactory)) && input.colorTags.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2525
|
+
path: _path + ".colorTags[" + _index12 + "]",
|
|
2474
2526
|
expected: "PromotedTag",
|
|
2475
2527
|
value: elem
|
|
2476
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
2477
|
-
path: _path + ".colorTags[" +
|
|
2528
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2529
|
+
path: _path + ".colorTags[" + _index12 + "]",
|
|
2478
2530
|
expected: "PromotedTag",
|
|
2479
2531
|
value: elem
|
|
2480
2532
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2519,7 +2571,11 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2519
2571
|
expected: "(boolean | undefined)",
|
|
2520
2572
|
value: input.dimOnBlur
|
|
2521
2573
|
}, errorFactory);
|
|
2522
|
-
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
2574
|
+
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate || $guard(_exceptionable, {
|
|
2575
|
+
path: _path + ".defaultFrameRate",
|
|
2576
|
+
expected: "(number | undefined)",
|
|
2577
|
+
value: input.defaultFrameRate
|
|
2578
|
+
}, errorFactory)) && (undefined === input.placeholder || "string" === typeof input.placeholder || $guard(_exceptionable, {
|
|
2523
2579
|
path: _path + ".placeholder",
|
|
2524
2580
|
expected: "(string | undefined)",
|
|
2525
2581
|
value: input.placeholder
|
|
@@ -2575,8 +2631,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2575
2631
|
path: _path + ".playbackRates",
|
|
2576
2632
|
expected: "(Array<number> | undefined)",
|
|
2577
2633
|
value: input.playbackRates
|
|
2578
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
2579
|
-
path: _path + ".playbackRates[" +
|
|
2634
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index13) => "number" === typeof elem || $guard(_exceptionable, {
|
|
2635
|
+
path: _path + ".playbackRates[" + _index13 + "]",
|
|
2580
2636
|
expected: "number",
|
|
2581
2637
|
value: elem
|
|
2582
2638
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2603,12 +2659,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2603
2659
|
path: _path + ".guides",
|
|
2604
2660
|
expected: "(Array<__type> | undefined)",
|
|
2605
2661
|
value: input.guides
|
|
2606
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
2607
|
-
path: _path + ".guides[" +
|
|
2662
|
+
}, errorFactory)) && input.guides.every((elem, _index14) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2663
|
+
path: _path + ".guides[" + _index14 + "]",
|
|
2608
2664
|
expected: "__type",
|
|
2609
2665
|
value: elem
|
|
2610
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
2611
|
-
path: _path + ".guides[" +
|
|
2666
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index14 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2667
|
+
path: _path + ".guides[" + _index14 + "]",
|
|
2612
2668
|
expected: "__type",
|
|
2613
2669
|
value: elem
|
|
2614
2670
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2731,12 +2787,12 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2731
2787
|
path: _path + ".text",
|
|
2732
2788
|
expected: "(Array<__type>.o1 | undefined)",
|
|
2733
2789
|
value: input.text
|
|
2734
|
-
}, errorFactory)) && input.text.every((elem,
|
|
2735
|
-
path: _path + ".text[" +
|
|
2790
|
+
}, errorFactory)) && input.text.every((elem, _index15) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
2791
|
+
path: _path + ".text[" + _index15 + "]",
|
|
2736
2792
|
expected: "__type.o1",
|
|
2737
2793
|
value: elem
|
|
2738
|
-
}, errorFactory)) && $ao29(elem, _path + ".text[" +
|
|
2739
|
-
path: _path + ".text[" +
|
|
2794
|
+
}, errorFactory)) && $ao29(elem, _path + ".text[" + _index15 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
2795
|
+
path: _path + ".text[" + _index15 + "]",
|
|
2740
2796
|
expected: "__type.o1",
|
|
2741
2797
|
value: elem
|
|
2742
2798
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2777,8 +2833,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2777
2833
|
path: _path + ".args",
|
|
2778
2834
|
expected: "(Array<string> | undefined)",
|
|
2779
2835
|
value: input.args
|
|
2780
|
-
}, errorFactory)) && input.args.every((elem,
|
|
2781
|
-
path: _path + ".args[" +
|
|
2836
|
+
}, errorFactory)) && input.args.every((elem, _index16) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2837
|
+
path: _path + ".args[" + _index16 + "]",
|
|
2782
2838
|
expected: "string",
|
|
2783
2839
|
value: elem
|
|
2784
2840
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -2832,8 +2888,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
2832
2888
|
path: _path + ".args",
|
|
2833
2889
|
expected: "(Array<string> | undefined)",
|
|
2834
2890
|
value: input.args
|
|
2835
|
-
}, errorFactory)) && input.args.every((elem,
|
|
2836
|
-
path: _path + ".args[" +
|
|
2891
|
+
}, errorFactory)) && input.args.every((elem, _index17) => "string" === typeof elem || $guard(_exceptionable, {
|
|
2892
|
+
path: _path + ".args[" + _index17 + "]",
|
|
2837
2893
|
expected: "string",
|
|
2838
2894
|
value: elem
|
|
2839
2895
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3044,8 +3100,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3044
3100
|
path: _path + ".comment",
|
|
3045
3101
|
expected: "(Array<NotificationReason> | undefined)",
|
|
3046
3102
|
value: input.comment
|
|
3047
|
-
}, errorFactory)) && input.comment.every((elem,
|
|
3048
|
-
path: _path + ".comment[" +
|
|
3103
|
+
}, errorFactory)) && input.comment.every((elem, _index18) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
3104
|
+
path: _path + ".comment[" + _index18 + "]",
|
|
3049
3105
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3050
3106
|
value: elem
|
|
3051
3107
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3056,8 +3112,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3056
3112
|
path: _path + ".assigned",
|
|
3057
3113
|
expected: "(Array<NotificationReason> | undefined)",
|
|
3058
3114
|
value: input.assigned
|
|
3059
|
-
}, errorFactory)) && input.assigned.every((elem,
|
|
3060
|
-
path: _path + ".assigned[" +
|
|
3115
|
+
}, errorFactory)) && input.assigned.every((elem, _index19) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
3116
|
+
path: _path + ".assigned[" + _index19 + "]",
|
|
3061
3117
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3062
3118
|
value: elem
|
|
3063
3119
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3068,8 +3124,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3068
3124
|
path: _path + ".unassigned",
|
|
3069
3125
|
expected: "(Array<NotificationReason> | undefined)",
|
|
3070
3126
|
value: input.unassigned
|
|
3071
|
-
}, errorFactory)) && input.unassigned.every((elem,
|
|
3072
|
-
path: _path + ".unassigned[" +
|
|
3127
|
+
}, errorFactory)) && input.unassigned.every((elem, _index20) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
3128
|
+
path: _path + ".unassigned[" + _index20 + "]",
|
|
3073
3129
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3074
3130
|
value: elem
|
|
3075
3131
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3093,8 +3149,8 @@ export const assertGuardSettingsRecord = (input, errorFactory) => {
|
|
|
3093
3149
|
path: _path + $join(key),
|
|
3094
3150
|
expected: "(Array<NotificationReason> | undefined)",
|
|
3095
3151
|
value: value
|
|
3096
|
-
}, errorFactory)) && value.every((elem,
|
|
3097
|
-
path: _path + $join(key) + "[" +
|
|
3152
|
+
}, errorFactory)) && value.every((elem, _index21) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
3153
|
+
path: _path + $join(key) + "[" + _index21 + "]",
|
|
3098
3154
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
3099
3155
|
value: elem
|
|
3100
3156
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3141,7 +3197,7 @@ export const stringifySettingsRecord = input => {
|
|
|
3141
3197
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
3142
3198
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
3143
3199
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
3144
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
3200
|
+
const $io20 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
3145
3201
|
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
3146
3202
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
3147
3203
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -3180,7 +3236,7 @@ export const stringifySettingsRecord = input => {
|
|
|
3180
3236
|
const $string = __typia.json.createStringify.string;
|
|
3181
3237
|
const $tail = __typia.json.createStringify.tail;
|
|
3182
3238
|
const $throws = __typia.json.createStringify.throws;
|
|
3183
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so33(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so34(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so44(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so46(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so47(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so48(input.notifications) : undefined}`}`)}}`;
|
|
3239
|
+
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.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so33(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so34(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so44(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so46(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so47(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so48(input.notifications) : undefined}`}`)}}`;
|
|
3184
3240
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
3185
3241
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
3186
3242
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -3202,7 +3258,7 @@ export const stringifySettingsRecord = input => {
|
|
|
3202
3258
|
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
3203
3259
|
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
3204
3260
|
const $so19 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
3205
|
-
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.editMode ? "" : `"editMode":${undefined !== input.editMode ? $so25(input.editMode) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so26(input.transcribe) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? (() => {
|
|
3261
|
+
const $so20 = input => `{${$tail(`${undefined === input.defaultFrameRate ? "" : `"defaultFrameRate":${undefined !== input.defaultFrameRate ? input.defaultFrameRate : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.editMode ? "" : `"editMode":${undefined !== input.editMode ? $so25(input.editMode) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so26(input.transcribe) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? (() => {
|
|
3206
3262
|
if ("string" === typeof input.openCommand)
|
|
3207
3263
|
return $string(input.openCommand);
|
|
3208
3264
|
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|
|
@@ -3336,7 +3392,7 @@ export const stringifySettingsRecord = input => {
|
|
|
3336
3392
|
};
|
|
3337
3393
|
export const assertStringifySettingsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
3338
3394
|
const __is = input => {
|
|
3339
|
-
const $io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime && !Number.isNaN(input.autoLogoutTime)) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && $io1(input.permission)) && (undefined === input.module || "object" === typeof input.module && null !== input.module && false === Array.isArray(input.module) && $io2(input.module)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && $io6(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && $io8(input.toolbarTags)) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
3395
|
+
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.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && $io9(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && $io10(input.assignees)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && $io11(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && $io12(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && $io13(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && $io14(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && $io17(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && $io18(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && $io19(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && true && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && $io20(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && $io31(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && $io33(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && $io34(input.storyboard)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && $io43(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && $io44(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && $io46(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && $io47(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && $io48(input.notifications));
|
|
3340
3396
|
const $io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin);
|
|
3341
3397
|
const $io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && $io3(input.tabs);
|
|
3342
3398
|
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 => {
|
|
@@ -3363,7 +3419,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3363
3419
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
3364
3420
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
3365
3421
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
3366
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
3422
|
+
const $io20 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate && !Number.isNaN(input.defaultFrameRate)) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames && !Number.isNaN(input.stepManyFrames)) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration && !Number.isNaN(input.liveZoomDuration)) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration && !Number.isNaN(input.maxSubclipDuration)) && (undefined === input.rewindStep || "number" === typeof input.rewindStep && !Number.isNaN(input.rewindStep)) && (undefined === input.forwardStep || "number" === typeof input.forwardStep && !Number.isNaN(input.forwardStep)) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem && !Number.isNaN(elem))) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
3367
3423
|
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
3368
3424
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
3369
3425
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing && !Number.isNaN(input.spacing)) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine && !Number.isNaN(input.maxCharactersPerLine));
|
|
@@ -3441,6 +3497,26 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3441
3497
|
path: _path + ".toolbarTags",
|
|
3442
3498
|
expected: "(PartialObjectDeep<__type, __type>.o4 | undefined)",
|
|
3443
3499
|
value: input.toolbarTags
|
|
3500
|
+
}, errorFactory)) && (undefined === input.exclusiveTagGroups || (Array.isArray(input.exclusiveTagGroups) || $guard(_exceptionable, {
|
|
3501
|
+
path: _path + ".exclusiveTagGroups",
|
|
3502
|
+
expected: "(Array<Array<string>> | undefined)",
|
|
3503
|
+
value: input.exclusiveTagGroups
|
|
3504
|
+
}, errorFactory)) && input.exclusiveTagGroups.every((elem, _index1) => (Array.isArray(elem) || $guard(_exceptionable, {
|
|
3505
|
+
path: _path + ".exclusiveTagGroups[" + _index1 + "]",
|
|
3506
|
+
expected: "Array<string>",
|
|
3507
|
+
value: elem
|
|
3508
|
+
}, errorFactory)) && elem.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3509
|
+
path: _path + ".exclusiveTagGroups[" + _index1 + "][" + _index2 + "]",
|
|
3510
|
+
expected: "string",
|
|
3511
|
+
value: elem
|
|
3512
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
3513
|
+
path: _path + ".exclusiveTagGroups[" + _index1 + "]",
|
|
3514
|
+
expected: "Array<string>",
|
|
3515
|
+
value: elem
|
|
3516
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
3517
|
+
path: _path + ".exclusiveTagGroups",
|
|
3518
|
+
expected: "(Array<Array<string>> | undefined)",
|
|
3519
|
+
value: input.exclusiveTagGroups
|
|
3444
3520
|
}, errorFactory)) && (undefined === input.deadlines || ("object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) || $guard(_exceptionable, {
|
|
3445
3521
|
path: _path + ".deadlines",
|
|
3446
3522
|
expected: "(PartialObjectDeep<__type, __type>.o5 | undefined)",
|
|
@@ -3537,12 +3613,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3537
3613
|
path: _path + ".commands",
|
|
3538
3614
|
expected: "(Array<__type>.o2 | undefined)",
|
|
3539
3615
|
value: input.commands
|
|
3540
|
-
}, errorFactory)) && input.commands.every((elem,
|
|
3541
|
-
path: _path + ".commands[" +
|
|
3616
|
+
}, errorFactory)) && input.commands.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3617
|
+
path: _path + ".commands[" + _index3 + "]",
|
|
3542
3618
|
expected: "__type.o2",
|
|
3543
3619
|
value: elem
|
|
3544
|
-
}, errorFactory)) && $ao33(elem, _path + ".commands[" +
|
|
3545
|
-
path: _path + ".commands[" +
|
|
3620
|
+
}, errorFactory)) && $ao33(elem, _path + ".commands[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3621
|
+
path: _path + ".commands[" + _index3 + "]",
|
|
3546
3622
|
expected: "__type.o2",
|
|
3547
3623
|
value: elem
|
|
3548
3624
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3553,8 +3629,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3553
3629
|
path: _path + ".predefinedTags",
|
|
3554
3630
|
expected: "(Array<string> | undefined)",
|
|
3555
3631
|
value: input.predefinedTags
|
|
3556
|
-
}, errorFactory)) && input.predefinedTags.every((elem,
|
|
3557
|
-
path: _path + ".predefinedTags[" +
|
|
3632
|
+
}, errorFactory)) && input.predefinedTags.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3633
|
+
path: _path + ".predefinedTags[" + _index4 + "]",
|
|
3558
3634
|
expected: "string",
|
|
3559
3635
|
value: elem
|
|
3560
3636
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3573,12 +3649,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3573
3649
|
path: _path + ".hiddenPreviews",
|
|
3574
3650
|
expected: "(Array<__type>.o3 | undefined)",
|
|
3575
3651
|
value: input.hiddenPreviews
|
|
3576
|
-
}, errorFactory)) && input.hiddenPreviews.every((elem,
|
|
3577
|
-
path: _path + ".hiddenPreviews[" +
|
|
3652
|
+
}, errorFactory)) && input.hiddenPreviews.every((elem, _index5) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3653
|
+
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
3578
3654
|
expected: "__type.o3",
|
|
3579
3655
|
value: elem
|
|
3580
|
-
}, errorFactory)) && $ao43(elem, _path + ".hiddenPreviews[" +
|
|
3581
|
-
path: _path + ".hiddenPreviews[" +
|
|
3656
|
+
}, errorFactory)) && $ao43(elem, _path + ".hiddenPreviews[" + _index5 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3657
|
+
path: _path + ".hiddenPreviews[" + _index5 + "]",
|
|
3582
3658
|
expected: "__type.o3",
|
|
3583
3659
|
value: elem
|
|
3584
3660
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3695,8 +3771,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3695
3771
|
path: _path + ".sortOrder",
|
|
3696
3772
|
expected: "(Array<string> | undefined)",
|
|
3697
3773
|
value: input.sortOrder
|
|
3698
|
-
}, errorFactory)) && input.sortOrder.every((elem,
|
|
3699
|
-
path: _path + ".sortOrder[" +
|
|
3774
|
+
}, errorFactory)) && input.sortOrder.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3775
|
+
path: _path + ".sortOrder[" + _index6 + "]",
|
|
3700
3776
|
expected: "string",
|
|
3701
3777
|
value: elem
|
|
3702
3778
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3708,8 +3784,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3708
3784
|
path: _path + ".exclude",
|
|
3709
3785
|
expected: "(Array<string> | undefined)",
|
|
3710
3786
|
value: input.exclude
|
|
3711
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
3712
|
-
path: _path + ".exclude[" +
|
|
3787
|
+
}, errorFactory)) && input.exclude.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3788
|
+
path: _path + ".exclude[" + _index7 + "]",
|
|
3713
3789
|
expected: "string",
|
|
3714
3790
|
value: elem
|
|
3715
3791
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3721,8 +3797,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3721
3797
|
path: _path + ".include",
|
|
3722
3798
|
expected: "(Array<string> | undefined)",
|
|
3723
3799
|
value: input.include
|
|
3724
|
-
}, errorFactory)) && input.include.every((elem,
|
|
3725
|
-
path: _path + ".include[" +
|
|
3800
|
+
}, errorFactory)) && input.include.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3801
|
+
path: _path + ".include[" + _index8 + "]",
|
|
3726
3802
|
expected: "string",
|
|
3727
3803
|
value: elem
|
|
3728
3804
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3733,8 +3809,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3733
3809
|
path: _path + ".exclude",
|
|
3734
3810
|
expected: "(Array<string> | undefined)",
|
|
3735
3811
|
value: input.exclude
|
|
3736
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
3737
|
-
path: _path + ".exclude[" +
|
|
3812
|
+
}, errorFactory)) && input.exclude.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3813
|
+
path: _path + ".exclude[" + _index9 + "]",
|
|
3738
3814
|
expected: "string",
|
|
3739
3815
|
value: elem
|
|
3740
3816
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3746,8 +3822,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3746
3822
|
path: _path + ".include",
|
|
3747
3823
|
expected: "(Array<string> | undefined)",
|
|
3748
3824
|
value: input.include
|
|
3749
|
-
}, errorFactory)) && input.include.every((elem,
|
|
3750
|
-
path: _path + ".include[" +
|
|
3825
|
+
}, errorFactory)) && input.include.every((elem, _index10) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3826
|
+
path: _path + ".include[" + _index10 + "]",
|
|
3751
3827
|
expected: "string",
|
|
3752
3828
|
value: elem
|
|
3753
3829
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3758,8 +3834,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3758
3834
|
path: _path + ".exclude",
|
|
3759
3835
|
expected: "(Array<string> | undefined)",
|
|
3760
3836
|
value: input.exclude
|
|
3761
|
-
}, errorFactory)) && input.exclude.every((elem,
|
|
3762
|
-
path: _path + ".exclude[" +
|
|
3837
|
+
}, errorFactory)) && input.exclude.every((elem, _index11) => "string" === typeof elem || $guard(_exceptionable, {
|
|
3838
|
+
path: _path + ".exclude[" + _index11 + "]",
|
|
3763
3839
|
expected: "string",
|
|
3764
3840
|
value: elem
|
|
3765
3841
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3826,12 +3902,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3826
3902
|
path: _path + ".colorTags",
|
|
3827
3903
|
expected: "(Array<PromotedTag> | undefined)",
|
|
3828
3904
|
value: input.colorTags
|
|
3829
|
-
}, errorFactory)) && input.colorTags.every((elem,
|
|
3830
|
-
path: _path + ".colorTags[" +
|
|
3905
|
+
}, errorFactory)) && input.colorTags.every((elem, _index12) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
3906
|
+
path: _path + ".colorTags[" + _index12 + "]",
|
|
3831
3907
|
expected: "PromotedTag",
|
|
3832
3908
|
value: elem
|
|
3833
|
-
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" +
|
|
3834
|
-
path: _path + ".colorTags[" +
|
|
3909
|
+
}, errorFactory)) && $ao16(elem, _path + ".colorTags[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
3910
|
+
path: _path + ".colorTags[" + _index12 + "]",
|
|
3835
3911
|
expected: "PromotedTag",
|
|
3836
3912
|
value: elem
|
|
3837
3913
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3876,7 +3952,11 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3876
3952
|
expected: "(boolean | undefined)",
|
|
3877
3953
|
value: input.dimOnBlur
|
|
3878
3954
|
}, errorFactory);
|
|
3879
|
-
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
3955
|
+
const $ao20 = (input, _path, _exceptionable = true) => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate && !Number.isNaN(input.defaultFrameRate) || $guard(_exceptionable, {
|
|
3956
|
+
path: _path + ".defaultFrameRate",
|
|
3957
|
+
expected: "(number | undefined)",
|
|
3958
|
+
value: input.defaultFrameRate
|
|
3959
|
+
}, errorFactory)) && (undefined === input.placeholder || "string" === typeof input.placeholder || $guard(_exceptionable, {
|
|
3880
3960
|
path: _path + ".placeholder",
|
|
3881
3961
|
expected: "(string | undefined)",
|
|
3882
3962
|
value: input.placeholder
|
|
@@ -3932,8 +4012,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3932
4012
|
path: _path + ".playbackRates",
|
|
3933
4013
|
expected: "(Array<number> | undefined)",
|
|
3934
4014
|
value: input.playbackRates
|
|
3935
|
-
}, errorFactory)) && input.playbackRates.every((elem,
|
|
3936
|
-
path: _path + ".playbackRates[" +
|
|
4015
|
+
}, errorFactory)) && input.playbackRates.every((elem, _index13) => "number" === typeof elem && !Number.isNaN(elem) || $guard(_exceptionable, {
|
|
4016
|
+
path: _path + ".playbackRates[" + _index13 + "]",
|
|
3937
4017
|
expected: "number",
|
|
3938
4018
|
value: elem
|
|
3939
4019
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -3960,12 +4040,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
3960
4040
|
path: _path + ".guides",
|
|
3961
4041
|
expected: "(Array<__type> | undefined)",
|
|
3962
4042
|
value: input.guides
|
|
3963
|
-
}, errorFactory)) && input.guides.every((elem,
|
|
3964
|
-
path: _path + ".guides[" +
|
|
4043
|
+
}, errorFactory)) && input.guides.every((elem, _index14) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
4044
|
+
path: _path + ".guides[" + _index14 + "]",
|
|
3965
4045
|
expected: "__type",
|
|
3966
4046
|
value: elem
|
|
3967
|
-
}, errorFactory)) && $ao24(elem, _path + ".guides[" +
|
|
3968
|
-
path: _path + ".guides[" +
|
|
4047
|
+
}, errorFactory)) && $ao24(elem, _path + ".guides[" + _index14 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
4048
|
+
path: _path + ".guides[" + _index14 + "]",
|
|
3969
4049
|
expected: "__type",
|
|
3970
4050
|
value: elem
|
|
3971
4051
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4088,12 +4168,12 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4088
4168
|
path: _path + ".text",
|
|
4089
4169
|
expected: "(Array<__type>.o1 | undefined)",
|
|
4090
4170
|
value: input.text
|
|
4091
|
-
}, errorFactory)) && input.text.every((elem,
|
|
4092
|
-
path: _path + ".text[" +
|
|
4171
|
+
}, errorFactory)) && input.text.every((elem, _index15) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
|
4172
|
+
path: _path + ".text[" + _index15 + "]",
|
|
4093
4173
|
expected: "__type.o1",
|
|
4094
4174
|
value: elem
|
|
4095
|
-
}, errorFactory)) && $ao29(elem, _path + ".text[" +
|
|
4096
|
-
path: _path + ".text[" +
|
|
4175
|
+
}, errorFactory)) && $ao29(elem, _path + ".text[" + _index15 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
|
4176
|
+
path: _path + ".text[" + _index15 + "]",
|
|
4097
4177
|
expected: "__type.o1",
|
|
4098
4178
|
value: elem
|
|
4099
4179
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4134,8 +4214,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4134
4214
|
path: _path + ".args",
|
|
4135
4215
|
expected: "(Array<string> | undefined)",
|
|
4136
4216
|
value: input.args
|
|
4137
|
-
}, errorFactory)) && input.args.every((elem,
|
|
4138
|
-
path: _path + ".args[" +
|
|
4217
|
+
}, errorFactory)) && input.args.every((elem, _index16) => "string" === typeof elem || $guard(_exceptionable, {
|
|
4218
|
+
path: _path + ".args[" + _index16 + "]",
|
|
4139
4219
|
expected: "string",
|
|
4140
4220
|
value: elem
|
|
4141
4221
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4189,8 +4269,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4189
4269
|
path: _path + ".args",
|
|
4190
4270
|
expected: "(Array<string> | undefined)",
|
|
4191
4271
|
value: input.args
|
|
4192
|
-
}, errorFactory)) && input.args.every((elem,
|
|
4193
|
-
path: _path + ".args[" +
|
|
4272
|
+
}, errorFactory)) && input.args.every((elem, _index17) => "string" === typeof elem || $guard(_exceptionable, {
|
|
4273
|
+
path: _path + ".args[" + _index17 + "]",
|
|
4194
4274
|
expected: "string",
|
|
4195
4275
|
value: elem
|
|
4196
4276
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4401,8 +4481,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4401
4481
|
path: _path + ".comment",
|
|
4402
4482
|
expected: "(Array<NotificationReason> | undefined)",
|
|
4403
4483
|
value: input.comment
|
|
4404
|
-
}, errorFactory)) && input.comment.every((elem,
|
|
4405
|
-
path: _path + ".comment[" +
|
|
4484
|
+
}, errorFactory)) && input.comment.every((elem, _index18) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4485
|
+
path: _path + ".comment[" + _index18 + "]",
|
|
4406
4486
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4407
4487
|
value: elem
|
|
4408
4488
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4413,8 +4493,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4413
4493
|
path: _path + ".assigned",
|
|
4414
4494
|
expected: "(Array<NotificationReason> | undefined)",
|
|
4415
4495
|
value: input.assigned
|
|
4416
|
-
}, errorFactory)) && input.assigned.every((elem,
|
|
4417
|
-
path: _path + ".assigned[" +
|
|
4496
|
+
}, errorFactory)) && input.assigned.every((elem, _index19) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4497
|
+
path: _path + ".assigned[" + _index19 + "]",
|
|
4418
4498
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4419
4499
|
value: elem
|
|
4420
4500
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4425,8 +4505,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4425
4505
|
path: _path + ".unassigned",
|
|
4426
4506
|
expected: "(Array<NotificationReason> | undefined)",
|
|
4427
4507
|
value: input.unassigned
|
|
4428
|
-
}, errorFactory)) && input.unassigned.every((elem,
|
|
4429
|
-
path: _path + ".unassigned[" +
|
|
4508
|
+
}, errorFactory)) && input.unassigned.every((elem, _index20) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4509
|
+
path: _path + ".unassigned[" + _index20 + "]",
|
|
4430
4510
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4431
4511
|
value: elem
|
|
4432
4512
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4450,8 +4530,8 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4450
4530
|
path: _path + $join(key),
|
|
4451
4531
|
expected: "(Array<NotificationReason> | undefined)",
|
|
4452
4532
|
value: value
|
|
4453
|
-
}, errorFactory)) && value.every((elem,
|
|
4454
|
-
path: _path + $join(key) + "[" +
|
|
4533
|
+
}, errorFactory)) && value.every((elem, _index21) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || $guard(_exceptionable, {
|
|
4534
|
+
path: _path + $join(key) + "[" + _index21 + "]",
|
|
4455
4535
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
4456
4536
|
value: elem
|
|
4457
4537
|
}, errorFactory)) || $guard(_exceptionable, {
|
|
@@ -4498,7 +4578,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4498
4578
|
const $io17 = input => undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate;
|
|
4499
4579
|
const $io18 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails;
|
|
4500
4580
|
const $io19 = input => undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur;
|
|
4501
|
-
const $io20 = input => (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
4581
|
+
const $io20 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && $io21(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && $io22(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && $io23(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && $io24(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && $io25(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && $io26(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && $io30(input.openCommand)));
|
|
4502
4582
|
const $io21 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe);
|
|
4503
4583
|
const $io22 = input => (undefined === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "disabled" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress);
|
|
4504
4584
|
const $io23 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine);
|
|
@@ -4537,7 +4617,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4537
4617
|
const $string = __typia.json.createAssertStringify.string;
|
|
4538
4618
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
4539
4619
|
const $throws = __typia.json.createAssertStringify.throws;
|
|
4540
|
-
const $so0 = input => `{${$tail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? $so1(input.permission) : undefined},`}${undefined === input.module ? "" : `"module":${undefined !== input.module ? $so2(input.module) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? $so6(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? $so8(input.toolbarTags) : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so33(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so34(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so44(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so46(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so47(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so48(input.notifications) : undefined}`}`)}}`;
|
|
4620
|
+
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.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => $string(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? $so9(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? $so10(input.assignees) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? $so11(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? $so12(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? $so13(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? $so14(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? $so17(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? $so18(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? $so19(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap || "function" === typeof input.keymap ? "" : `"keymap":${undefined !== input.keymap ? JSON.stringify(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? $so20(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? $so31(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => $so33(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => $string(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? $so34(input.storyboard) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => `{"id":${$string(elem.id)},"folded":${elem.folded}}`).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? $so44(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? $so46(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? $so47(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? $so48(input.notifications) : undefined}`}`)}}`;
|
|
4541
4621
|
const $so1 = input => `{${$tail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`;
|
|
4542
4622
|
const $so2 = input => `{${$tail(`${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? $so3(input.tabs) : undefined}`}`)}}`;
|
|
4543
4623
|
const $so3 = input => `{${$tail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? $so4(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -4559,7 +4639,7 @@ export const assertStringifySettingsRecord = (input, errorFactory) => { const as
|
|
|
4559
4639
|
const $so17 = input => `{${$tail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? $string(input.graphicBaseTemplate) : undefined}`}`)}}`;
|
|
4560
4640
|
const $so18 = input => `{${$tail(`${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined}`}`)}}`;
|
|
4561
4641
|
const $so19 = input => `{${$tail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined}`}`)}}`;
|
|
4562
|
-
const $so20 = input => `{${$tail(`${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.editMode ? "" : `"editMode":${undefined !== input.editMode ? $so25(input.editMode) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so26(input.transcribe) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? (() => {
|
|
4642
|
+
const $so20 = input => `{${$tail(`${undefined === input.defaultFrameRate ? "" : `"defaultFrameRate":${undefined !== input.defaultFrameRate ? input.defaultFrameRate : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? $string(input.placeholder) : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? $so21(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? $string(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? $so22(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? $string(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? $string(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? $so23(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? $string(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? $string(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => `{"label":${$string(elem.label)},"aspectRatio":${$string(elem.aspectRatio)}}`).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.editMode ? "" : `"editMode":${undefined !== input.editMode ? $so25(input.editMode) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? $so26(input.transcribe) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? (() => {
|
|
4563
4643
|
if ("string" === typeof input.openCommand)
|
|
4564
4644
|
return $string(input.openCommand);
|
|
4565
4645
|
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|