@nxtedition/types 23.0.58 → 23.0.59
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 +15 -1
- package/dist/nxtpression.d.ts +20 -1
- package/dist/records/domains/script.d.ts +4 -0
- package/dist/records/domains/search.d.ts +1 -0
- package/dist/records/validate/assert-guard.js +464 -344
- package/dist/records/validate/assert.js +464 -344
- package/dist/records/validate/is.js +26 -26
- package/dist/records/validate/schemas.js +84 -2
- package/dist/records/validate/stringify.js +45 -45
- package/dist/records/validate/validate-equals.js +599 -411
- package/dist/records/validate/validate.js +436 -340
- package/package.json +1 -1
|
@@ -905,7 +905,7 @@ function _isDomainRecord(domain, input) {
|
|
|
905
905
|
return (() => { const _io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
906
906
|
}
|
|
907
907
|
case ":script": {
|
|
908
|
-
return (() => { const _io0 = input => "string" === typeof input.value; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
908
|
+
return (() => { const _io0 = input => "string" === typeof input.value && (undefined === input.refs || Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.mixin && (undefined === input.asset || "string" === typeof input.asset); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
909
909
|
}
|
|
910
910
|
case ":script?": {
|
|
911
911
|
return (() => { const _io0 = input => "object" === typeof input.value && null !== input.value && _io1(input.value); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "left" === input.format || "right" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
|
|
@@ -960,7 +960,7 @@ function _isDomainRecord(domain, input) {
|
|
|
960
960
|
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
961
961
|
}
|
|
962
962
|
case ":search": {
|
|
963
|
-
return (() => { const _io0 = input => (undefined === input.type || "conditions_and" === input.type || "conditions_or" === input.type) && (undefined === input.sort || Array.isArray(input.sort) && input.sort.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (undefined === input.showDefault || "boolean" === typeof input.showDefault) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted) && (undefined === input.showHidden || "boolean" === typeof input.showHidden) && (null === input.view || undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view) && (undefined === input.conditions || Array.isArray(input.conditions) && input.conditions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || Array.isArray(input.visibleColumnKeys) && input.visibleColumnKeys.every(elem => "string" === typeof elem)) && (null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId) && (undefined === input.calendar || "object" === typeof input.calendar && null !== input.calendar && false === Array.isArray(input.calendar) && _io3(input.calendar)) && (undefined === input.refreshInterval || "number" === typeof input.refreshInterval) && (undefined === input.color || "string" === typeof input.color); const _io1 = input => Object.keys(input).every(key => {
|
|
963
|
+
return (() => { const _io0 = input => (undefined === input.type || "conditions_and" === input.type || "conditions_or" === input.type) && (undefined === input.sort || Array.isArray(input.sort) && input.sort.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (undefined === input.showDefault || "boolean" === typeof input.showDefault) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted) && (undefined === input.showHidden || "boolean" === typeof input.showHidden) && (null === input.view || undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view) && (undefined === input.conditions || Array.isArray(input.conditions) && input.conditions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || Array.isArray(input.visibleColumnKeys) && input.visibleColumnKeys.every(elem => "string" === typeof elem)) && (null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId) && (undefined === input.calendar || "object" === typeof input.calendar && null !== input.calendar && false === Array.isArray(input.calendar) && _io3(input.calendar)) && (undefined === input.refreshInterval || "number" === typeof input.refreshInterval) && (undefined === input.color || "string" === typeof input.color) && (undefined === input.icon || "string" === typeof input.icon); const _io1 = input => Object.keys(input).every(key => {
|
|
964
964
|
const value = input[key];
|
|
965
965
|
if (undefined === value)
|
|
966
966
|
return true;
|
|
@@ -977,84 +977,84 @@ function _isDomainRecord(domain, input) {
|
|
|
977
977
|
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
978
978
|
}
|
|
979
979
|
case ":settings": {
|
|
980
|
-
return (() => { const
|
|
980
|
+
return (() => { const _iv22 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv26 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); 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.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io25(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io28(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io29(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io30(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io43(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io56(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io58(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) && _io59(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io68(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io69(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io70(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) && _io73(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io74(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io75(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io78(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io80(input.utilsAssetEditorPanel)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs)); 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 => {
|
|
981
981
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
982
982
|
return true;
|
|
983
983
|
const value = input[key];
|
|
984
984
|
if (undefined === value)
|
|
985
985
|
return true;
|
|
986
986
|
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
987
|
-
}); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (undefined === input.activeTab || "string" === typeof input.activeTab); const _io5 = input => undefined === input.activeTab || "string" === typeof input.activeTab; const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs); const _io19 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) &&
|
|
987
|
+
}); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority); const _io5 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority); const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io19(input.layout)); const _io19 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io20 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io22(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io23(input.collapsedNodes)); const _io21 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io22 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io23 = input => Object.keys(input).every(key => {
|
|
988
988
|
const value = input[key];
|
|
989
989
|
if (undefined === value)
|
|
990
990
|
return true;
|
|
991
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
992
|
-
}); const
|
|
991
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io24(value);
|
|
992
|
+
}); const _io24 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io25 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io26(input.defaults)); const _io26 = input => Object.keys(input).every(key => {
|
|
993
993
|
const value = input[key];
|
|
994
994
|
if (undefined === value)
|
|
995
995
|
return true;
|
|
996
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
997
|
-
}); const
|
|
998
|
-
const value = input[key];
|
|
999
|
-
if (undefined === value)
|
|
1000
|
-
return true;
|
|
1001
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
1002
|
-
}); const _io31 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.sequence || "string" === typeof input.sequence); const _io32 = input => Object.keys(input).every(key => {
|
|
996
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io27(value);
|
|
997
|
+
}); const _io27 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io28 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails; const _io29 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io30 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io31(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io33(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io34(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io35(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io36(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io37(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io38(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io39(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io40(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io41(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io42(input.segment)); const _io31 = input => Object.keys(input).every(key => {
|
|
1003
998
|
const value = input[key];
|
|
1004
999
|
if (undefined === value)
|
|
1005
1000
|
return true;
|
|
1006
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1007
|
-
}); const _io33 = input => Object.keys(input).every(key => {
|
|
1001
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1002
|
+
}); const _io32 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.sequence || "string" === typeof input.sequence); const _io33 = input => Object.keys(input).every(key => {
|
|
1008
1003
|
const value = input[key];
|
|
1009
1004
|
if (undefined === value)
|
|
1010
1005
|
return true;
|
|
1011
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1006
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1012
1007
|
}); const _io34 = input => Object.keys(input).every(key => {
|
|
1013
1008
|
const value = input[key];
|
|
1014
1009
|
if (undefined === value)
|
|
1015
1010
|
return true;
|
|
1016
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1011
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1017
1012
|
}); const _io35 = input => Object.keys(input).every(key => {
|
|
1018
1013
|
const value = input[key];
|
|
1019
1014
|
if (undefined === value)
|
|
1020
1015
|
return true;
|
|
1021
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1016
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1022
1017
|
}); const _io36 = input => Object.keys(input).every(key => {
|
|
1023
1018
|
const value = input[key];
|
|
1024
1019
|
if (undefined === value)
|
|
1025
1020
|
return true;
|
|
1026
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1021
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1027
1022
|
}); const _io37 = input => Object.keys(input).every(key => {
|
|
1028
1023
|
const value = input[key];
|
|
1029
1024
|
if (undefined === value)
|
|
1030
1025
|
return true;
|
|
1031
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1026
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1032
1027
|
}); const _io38 = input => Object.keys(input).every(key => {
|
|
1033
1028
|
const value = input[key];
|
|
1034
1029
|
if (undefined === value)
|
|
1035
1030
|
return true;
|
|
1036
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1031
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1037
1032
|
}); const _io39 = input => Object.keys(input).every(key => {
|
|
1038
1033
|
const value = input[key];
|
|
1039
1034
|
if (undefined === value)
|
|
1040
1035
|
return true;
|
|
1041
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1036
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1042
1037
|
}); const _io40 = input => Object.keys(input).every(key => {
|
|
1043
1038
|
const value = input[key];
|
|
1044
1039
|
if (undefined === value)
|
|
1045
1040
|
return true;
|
|
1046
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1041
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1047
1042
|
}); const _io41 = input => Object.keys(input).every(key => {
|
|
1048
1043
|
const value = input[key];
|
|
1049
1044
|
if (undefined === value)
|
|
1050
1045
|
return true;
|
|
1051
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1052
|
-
}); const _io42 = 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) && _io43(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) && _io44(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) && _io45(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 && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv21.has(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv25.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
|
|
1046
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1047
|
+
}); const _io42 = input => Object.keys(input).every(key => {
|
|
1048
|
+
const value = input[key];
|
|
1049
|
+
if (undefined === value)
|
|
1050
|
+
return true;
|
|
1051
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
1052
|
+
}); const _io43 = 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) && _io44(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) && _io45(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) && _io46(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 && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io50(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io51(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io55(input.openCommand))); const _io44 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io45 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io46 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv22.has(elem))); const _io47 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io48 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io49 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io50 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io51 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io52(input.subtitleDisclaimer); const _io52 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io53(input.defaultValue)); const _io53 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io54(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io54 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io55 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io56 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io57(input.voiceOver)); const _io57 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io58 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io59 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io60(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io61(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io65(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io67(input.item)); const _io60 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io61 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io62(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io64(input.note)); const _io62 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io63(input.excerpt); const _io63 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io64 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io65 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io66(input.search)) && (undefined === input.sortMode || true === _iv26.has(input.sortMode)); const _io66 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io67 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io68 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io69 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io70 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io71(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io72(input.rive)); const _io71 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io72 = input => undefined === input.template || "string" === typeof input.template; const _io73 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io74 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io75 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io76(input.events); const _io76 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io77(input.publishSucceeded)); const _io77 = input => Object.keys(input).every(key => {
|
|
1053
1053
|
const value = input[key];
|
|
1054
1054
|
if (undefined === value)
|
|
1055
1055
|
return true;
|
|
1056
1056
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
1057
|
-
}); const
|
|
1057
|
+
}); const _io78 = input => undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io79(input.duplicate); const _io79 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io80 = input => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every(elem => "number" === typeof elem)) && (undefined === input.textFilter || "string" === typeof input.textFilter) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1058
1058
|
}
|
|
1059
1059
|
case ":shotbox": {
|
|
1060
1060
|
return (() => { const _io0 = input => undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups) && (undefined === input.layout || Array.isArray(input.layout) && input.layout.every(elem => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.sticky || "boolean" === typeof input.sticky) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows); const _io3 = input => "boolean" === typeof input.completed; const _io4 = input => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source); const _iu0 = input => (() => {
|
|
@@ -12248,6 +12248,23 @@ function _schemasDomainRecord(domain) {
|
|
|
12248
12248
|
properties: {
|
|
12249
12249
|
value: {
|
|
12250
12250
|
type: "string"
|
|
12251
|
+
},
|
|
12252
|
+
refs: {
|
|
12253
|
+
type: "array",
|
|
12254
|
+
items: {
|
|
12255
|
+
type: "object",
|
|
12256
|
+
properties: {
|
|
12257
|
+
mixin: {
|
|
12258
|
+
type: "string"
|
|
12259
|
+
},
|
|
12260
|
+
asset: {
|
|
12261
|
+
type: "string"
|
|
12262
|
+
}
|
|
12263
|
+
},
|
|
12264
|
+
required: [
|
|
12265
|
+
"mixin"
|
|
12266
|
+
]
|
|
12267
|
+
}
|
|
12251
12268
|
}
|
|
12252
12269
|
},
|
|
12253
12270
|
required: [
|
|
@@ -13122,6 +13139,9 @@ function _schemasDomainRecord(domain) {
|
|
|
13122
13139
|
},
|
|
13123
13140
|
color: {
|
|
13124
13141
|
type: "string"
|
|
13142
|
+
},
|
|
13143
|
+
icon: {
|
|
13144
|
+
type: "string"
|
|
13125
13145
|
}
|
|
13126
13146
|
},
|
|
13127
13147
|
required: []
|
|
@@ -13266,6 +13286,9 @@ function _schemasDomainRecord(domain) {
|
|
|
13266
13286
|
"module": {
|
|
13267
13287
|
type: "object",
|
|
13268
13288
|
properties: {
|
|
13289
|
+
editor: {
|
|
13290
|
+
type: "string"
|
|
13291
|
+
},
|
|
13269
13292
|
tabs: {
|
|
13270
13293
|
$ref: "#/components/schemas/ModuleTabs"
|
|
13271
13294
|
}
|
|
@@ -13372,6 +13395,12 @@ function _schemasDomainRecord(domain) {
|
|
|
13372
13395
|
toolbarTags: {
|
|
13373
13396
|
type: "object",
|
|
13374
13397
|
properties: {
|
|
13398
|
+
include: {
|
|
13399
|
+
type: "array",
|
|
13400
|
+
items: {
|
|
13401
|
+
type: "string"
|
|
13402
|
+
}
|
|
13403
|
+
},
|
|
13375
13404
|
exclude: {
|
|
13376
13405
|
type: "array",
|
|
13377
13406
|
items: {
|
|
@@ -13492,6 +13521,18 @@ function _schemasDomainRecord(domain) {
|
|
|
13492
13521
|
},
|
|
13493
13522
|
maxTabs: {
|
|
13494
13523
|
type: "number"
|
|
13524
|
+
},
|
|
13525
|
+
layout: {
|
|
13526
|
+
type: "object",
|
|
13527
|
+
properties: {
|
|
13528
|
+
bookmarks: {
|
|
13529
|
+
type: "number"
|
|
13530
|
+
},
|
|
13531
|
+
browser: {
|
|
13532
|
+
type: "number"
|
|
13533
|
+
}
|
|
13534
|
+
},
|
|
13535
|
+
required: []
|
|
13495
13536
|
}
|
|
13496
13537
|
},
|
|
13497
13538
|
required: []
|
|
@@ -13605,6 +13646,9 @@ function _schemasDomainRecord(domain) {
|
|
|
13605
13646
|
"const": "disabled"
|
|
13606
13647
|
}
|
|
13607
13648
|
]
|
|
13649
|
+
},
|
|
13650
|
+
countFloatedDuration: {
|
|
13651
|
+
type: "boolean"
|
|
13608
13652
|
}
|
|
13609
13653
|
},
|
|
13610
13654
|
required: []
|
|
@@ -14458,6 +14502,24 @@ function _schemasDomainRecord(domain) {
|
|
|
14458
14502
|
suppressDeleteAlert: {
|
|
14459
14503
|
type: "boolean"
|
|
14460
14504
|
},
|
|
14505
|
+
clone: {
|
|
14506
|
+
type: "object",
|
|
14507
|
+
properties: {
|
|
14508
|
+
duplicate: {
|
|
14509
|
+
type: "object",
|
|
14510
|
+
properties: {
|
|
14511
|
+
titlePrefix: {
|
|
14512
|
+
type: "string"
|
|
14513
|
+
},
|
|
14514
|
+
titleSuffix: {
|
|
14515
|
+
type: "string"
|
|
14516
|
+
}
|
|
14517
|
+
},
|
|
14518
|
+
required: []
|
|
14519
|
+
}
|
|
14520
|
+
},
|
|
14521
|
+
required: []
|
|
14522
|
+
},
|
|
14461
14523
|
utilsAssetEditorPanel: {
|
|
14462
14524
|
type: "object",
|
|
14463
14525
|
properties: {
|
|
@@ -14507,7 +14569,17 @@ function _schemasDomainRecord(domain) {
|
|
|
14507
14569
|
type: "number"
|
|
14508
14570
|
},
|
|
14509
14571
|
activeTab: {
|
|
14510
|
-
|
|
14572
|
+
oneOf: [
|
|
14573
|
+
{
|
|
14574
|
+
type: "null"
|
|
14575
|
+
},
|
|
14576
|
+
{
|
|
14577
|
+
type: "string"
|
|
14578
|
+
}
|
|
14579
|
+
]
|
|
14580
|
+
},
|
|
14581
|
+
priority: {
|
|
14582
|
+
type: "number"
|
|
14511
14583
|
}
|
|
14512
14584
|
},
|
|
14513
14585
|
required: []
|
|
@@ -14516,7 +14588,17 @@ function _schemasDomainRecord(domain) {
|
|
|
14516
14588
|
type: "object",
|
|
14517
14589
|
properties: {
|
|
14518
14590
|
activeTab: {
|
|
14519
|
-
|
|
14591
|
+
oneOf: [
|
|
14592
|
+
{
|
|
14593
|
+
type: "null"
|
|
14594
|
+
},
|
|
14595
|
+
{
|
|
14596
|
+
type: "string"
|
|
14597
|
+
}
|
|
14598
|
+
]
|
|
14599
|
+
},
|
|
14600
|
+
priority: {
|
|
14601
|
+
type: "number"
|
|
14520
14602
|
}
|
|
14521
14603
|
},
|
|
14522
14604
|
required: []
|