@nxtedition/types 23.1.1 → 23.1.3
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/app.d.ts +7 -1
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.js +1 -0
- package/dist/common/panel-property.d.ts +2 -29
- package/dist/common/render-scene.d.ts +72 -12
- package/dist/common/schema-property.d.ts +36 -4
- package/dist/common/settings.d.ts +66 -41
- package/dist/common/settings.js +18 -1
- package/dist/common/widget.d.ts +16 -0
- package/dist/common/widget.js +1 -0
- package/dist/nxtpression.d.ts +439 -139
- package/dist/records/domains/condition.d.ts +1 -1
- package/dist/records/domains/event.d.ts +4 -3
- package/dist/records/domains/index.d.ts +5 -1
- package/dist/records/domains/index.js +2 -0
- package/dist/records/domains/ingestschedule.d.ts +1 -1
- package/dist/records/domains/media.d.ts +10 -0
- package/dist/records/domains/panel.d.ts +7 -19
- package/dist/records/domains/publish/facebook.d.ts +1 -2
- package/dist/records/domains/publish/file-legacy.d.ts +1 -1
- package/dist/records/domains/render.d.ts +54 -3
- package/dist/records/domains/schema.d.ts +21 -0
- package/dist/records/domains/schema.js +1 -0
- package/dist/records/domains/search.d.ts +1 -1
- package/dist/records/domains/stream.d.ts +80 -0
- package/dist/records/domains/stream.js +1 -0
- package/dist/records/domains/template.d.ts +2 -0
- package/dist/records/exact/asset.d.ts +17 -7
- package/dist/records/exact/media.d.ts +2 -0
- package/dist/records/exact/monitor.d.ts +14 -8
- package/dist/records/index.d.ts +1 -1
- package/dist/records/utils.d.ts +5 -1
- package/dist/records/validate/assert-guard.js +9039 -5236
- package/dist/records/validate/assert.js +9011 -5200
- package/dist/records/validate/is.js +165 -115
- package/dist/records/validate/schemas.js +5065 -1812
- package/dist/records/validate/stringify.js +776 -180
- package/dist/records/validate/utils.d.ts +1 -1
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +11304 -6466
- package/dist/records/validate/validate.js +8164 -4980
- package/package.json +1 -1
|
@@ -35,7 +35,26 @@ function _isExactRecord(name, input) {
|
|
|
35
35
|
return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "number" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "number" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
36
36
|
}
|
|
37
37
|
case "asset.dynamicProperties?": {
|
|
38
|
-
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem &&
|
|
38
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "string" === typeof input.panel && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io2(input.index)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io3(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && true; const _io2 = input => "string" === typeof input.label && "string" === typeof input.path; const _io3 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io3(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io2(input.index)); const _io4 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
39
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
40
|
+
return true;
|
|
41
|
+
const value = input[key];
|
|
42
|
+
if (undefined === value)
|
|
43
|
+
return true;
|
|
44
|
+
return true;
|
|
45
|
+
}); const _io5 = input => Object.keys(input).every(key => {
|
|
46
|
+
const value = input[key];
|
|
47
|
+
if (undefined === value)
|
|
48
|
+
return true;
|
|
49
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
50
|
+
}); const _io6 = input => "string" === typeof input.schema && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (null !== input.recordName && (undefined === input.recordName || "string" === typeof input.recordName || "object" === typeof input.recordName && null !== input.recordName && _io7(input.recordName))) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io9(input.setter))) && true && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io2(input.index)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io3(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && true; const _io7 = input => "object" === typeof input.__context && null !== input.__context && _io8(input.__context) && "string" === typeof input.__returnValue; const _io8 = input => "string" === typeof input.id; const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && true; const _io10 = input => "string" === typeof input.id && true; const _iu0 = input => (() => {
|
|
51
|
+
if (undefined !== input.panel)
|
|
52
|
+
return _io1(input);
|
|
53
|
+
else if (undefined !== input.schema)
|
|
54
|
+
return _io6(input);
|
|
55
|
+
else
|
|
56
|
+
return false;
|
|
57
|
+
})(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
39
58
|
}
|
|
40
59
|
case "asset.embedding": {
|
|
41
60
|
return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "string" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
@@ -73,6 +92,9 @@ function _isExactRecord(name, input) {
|
|
|
73
92
|
return undefined !== value && (null === value || "string" === typeof value || "object" === typeof value && null !== value && _io1(value));
|
|
74
93
|
}); const _io1 = input => (undefined === input.priority || "number" === typeof input.priority) && "string" === typeof input.label && (undefined === input.icon || "string" === typeof input.icon); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
75
94
|
}
|
|
95
|
+
case "asset.http": {
|
|
96
|
+
return (() => { const _io0 = input => (null === input.whitelist || undefined === input.whitelist || Array.isArray(input.whitelist) && input.whitelist.every(elem => "string" === typeof elem)) && (null === input.blacklist || undefined === input.blacklist || Array.isArray(input.blacklist) && input.blacklist.every(elem => "string" === typeof elem)) && (undefined === input.allowImport || "boolean" === typeof input.allowImport); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
97
|
+
}
|
|
76
98
|
case "storage.locations?": {
|
|
77
99
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
78
100
|
const value = input[key];
|
|
@@ -90,20 +112,20 @@ function _isExactRecord(name, input) {
|
|
|
90
112
|
}); const _io1 = input => "number" === typeof input.priority && (Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
91
113
|
}
|
|
92
114
|
case "nxt.status?": {
|
|
93
|
-
return (() => { const _io0 = input => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes) && ("object" === typeof input.services && null !== input.services && false === Array.isArray(input.services) &&
|
|
115
|
+
return (() => { const _io0 = input => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes) && ("object" === typeof input.services && null !== input.services && false === Array.isArray(input.services) && _io5(input.services)) && "number" === typeof input.level && "string" === typeof input.status; const _io1 = input => Object.keys(input).every(key => {
|
|
94
116
|
const value = input[key];
|
|
95
117
|
if (undefined === value)
|
|
96
118
|
return true;
|
|
97
119
|
return "object" === typeof value && null !== value && _io2(value);
|
|
98
|
-
}); const _io2 = input => (undefined === input.state || "string" === typeof input.state) && (undefined === input.role || "string" === typeof input.role) && (undefined === input.leader || "boolean" === typeof input.leader) && (undefined === input.availability || "string" === typeof input.availability) && (undefined === input.classes || Array.isArray(input.classes) && input.classes.every(elem => "string" === typeof elem)) && (undefined === input.address || "string" === typeof input.address) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "string" === typeof input.msg && "number" === typeof input.level; const _io4 = input => Object.keys(input).every(key => {
|
|
120
|
+
}); const _io2 = input => (undefined === input.state || "string" === typeof input.state) && (undefined === input.role || "string" === typeof input.role) && (undefined === input.leader || "boolean" === typeof input.leader) && (undefined === input.availability || "string" === typeof input.availability) && (undefined === input.classes || Array.isArray(input.classes) && input.classes.every(elem => "string" === typeof elem)) && (undefined === input.address || "string" === typeof input.address) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.ignored || "boolean" === typeof input.ignored) && (undefined === input.title || "string" === typeof input.title) && (null !== input.url && (undefined === input.url || "string" === typeof input.url || "object" === typeof input.url && null !== input.url && _io4(input.url))); const _io4 = input => "string" === typeof input.title && "string" === typeof input.url; const _io5 = input => Object.keys(input).every(key => {
|
|
99
121
|
const value = input[key];
|
|
100
122
|
if (undefined === value)
|
|
101
123
|
return true;
|
|
102
|
-
return "object" === typeof value && null !== value &&
|
|
103
|
-
}); const
|
|
124
|
+
return "object" === typeof value && null !== value && _io6(value);
|
|
125
|
+
}); const _io6 = input => (undefined === input.image || "string" === typeof input.image) && (undefined === input.running || "number" === typeof input.running) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.ignored || "boolean" === typeof input.ignored) && (undefined === input.tasks || Array.isArray(input.tasks) && input.tasks.every(elem => "object" === typeof elem && null !== elem && _io7(elem))) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io7 = input => "string" === typeof input.id && "string" === typeof input.node && "string" === typeof input.container && (undefined === input.level || "number" === typeof input.level) && (undefined === input.status || "string" === typeof input.status) && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
104
126
|
}
|
|
105
127
|
case "media.subtitles": {
|
|
106
|
-
return (() => { const _io0 = input => (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
|
|
128
|
+
return (() => { const _io0 = input => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage) && (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
|
|
107
129
|
const value = input[key];
|
|
108
130
|
if (undefined === value)
|
|
109
131
|
return true;
|
|
@@ -111,7 +133,7 @@ function _isExactRecord(name, input) {
|
|
|
111
133
|
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
112
134
|
}
|
|
113
135
|
case "media.subtitles?": {
|
|
114
|
-
return (() => { const _io0 = input => (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
|
|
136
|
+
return (() => { const _io0 = input => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage) && (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
|
|
115
137
|
const value = input[key];
|
|
116
138
|
if (undefined === value)
|
|
117
139
|
return true;
|
|
@@ -524,10 +546,10 @@ function _isDomainRecord(domain, input) {
|
|
|
524
546
|
return (() => { const _io0 = input => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes) && (Array.isArray(input.tracks) && input.tracks.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && ("object" === typeof input.transitions && null !== input.transitions && false === Array.isArray(input.transitions) && _io1(input.transitions)) && (undefined === input.active || "boolean" === typeof input.active) && (undefined === input.changeId || "string" === typeof input.changeId); const _io1 = input => true; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
525
547
|
}
|
|
526
548
|
case ":event": {
|
|
527
|
-
return (() => { const _io0 = input => (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io1(input.styleOverrides)); const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
549
|
+
return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io1(input.styleOverrides)); const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
528
550
|
}
|
|
529
551
|
case ":event._template?": {
|
|
530
|
-
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
552
|
+
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
531
553
|
}
|
|
532
554
|
case ":event.overlay?": {
|
|
533
555
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
@@ -550,7 +572,7 @@ function _isDomainRecord(domain, input) {
|
|
|
550
572
|
}); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
551
573
|
}
|
|
552
574
|
case ":event.template?": {
|
|
553
|
-
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
575
|
+
return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
554
576
|
}
|
|
555
577
|
case ":event.duration?": {
|
|
556
578
|
return (() => { const _io0 = input => (undefined === input.scheduled || "number" === typeof input.scheduled) && (undefined === input.actual || "number" === typeof input.actual) && (undefined === input["in"] || "number" === typeof input["in"]) && (null === input.out || undefined === input.out || "number" === typeof input.out); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
@@ -652,16 +674,19 @@ function _isDomainRecord(domain, input) {
|
|
|
652
674
|
return (() => { const _io0 = input => true; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
653
675
|
}
|
|
654
676
|
case ":media.source": {
|
|
655
|
-
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) &&
|
|
677
|
+
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io3(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io6(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io12(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io13(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io2 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io3 = input => Object.keys(input).every(key => {
|
|
656
678
|
const value = input[key];
|
|
657
679
|
if (undefined === value)
|
|
658
680
|
return true;
|
|
659
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
660
|
-
}); const
|
|
681
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io4(value);
|
|
682
|
+
}); const _io4 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io5(input.styleOverrides)); const _io5 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io6 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io7 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io8(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io9(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io10(input.colorbalance)); const _io8 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io9 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io10 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io11 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io12 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io13 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
661
683
|
}
|
|
662
684
|
case ":media.consolidate": {
|
|
663
685
|
return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) && _io1(input.preset))) && true; const _io1 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io2(elem))) || "object" === typeof input.profile && null !== input.profile && _io2(input.profile)))); const _io2 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io3(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io4(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io5(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io6(input.subtitle))); const _io3 = input => "string" === typeof input.engine; const _io4 = input => "string" === typeof input.language; const _io5 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io6 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io7(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io8(input.ass)); const _io7 = input => undefined === input.preset || "string" === typeof input.preset; const _io8 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
664
686
|
}
|
|
687
|
+
case ":media.consolidate?": {
|
|
688
|
+
return (() => { const _io0 = input => ("completed" === input.status || "error" === input.status || "idle" === input.status || "pending" === input.status || "source_mismatch" === input.status) && (undefined === input.progress || "number" === typeof input.progress) && true; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
689
|
+
}
|
|
665
690
|
case ":media.renders?": {
|
|
666
691
|
return (() => { const _io0 = input => Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.children || Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
667
692
|
}
|
|
@@ -723,6 +748,19 @@ function _isDomainRecord(domain, input) {
|
|
|
723
748
|
return true;
|
|
724
749
|
}); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
725
750
|
}
|
|
751
|
+
case ":media.revisions": {
|
|
752
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
753
|
+
const value = input[key];
|
|
754
|
+
if (undefined === value)
|
|
755
|
+
return true;
|
|
756
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
|
|
757
|
+
}); const _io1 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io2(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io14(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io2 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io3(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io3 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io4 = input => Object.keys(input).every(key => {
|
|
758
|
+
const value = input[key];
|
|
759
|
+
if (undefined === value)
|
|
760
|
+
return true;
|
|
761
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
762
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io8 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io9(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io10(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io11(input.colorbalance)); const _io9 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io10 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io11 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io12 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io13 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io14 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
763
|
+
}
|
|
726
764
|
case ":monitor.stats?": {
|
|
727
765
|
return (() => { const _io0 = input => true && ("object" === typeof input.proc && null !== input.proc && _io1(input.proc)) && ("object" === typeof input.buddyinfo && null !== input.buddyinfo && _io3(input.buddyinfo)) && ("object" === typeof input.meminfo && null !== input.meminfo && false === Array.isArray(input.meminfo) && _io4(input.meminfo)) && ("object" === typeof input.net && null !== input.net && _io5(input.net)) && ("object" === typeof input["var"] && null !== input["var"] && _io12(input["var"])); const _io1 = input => (null === input.cpu || "object" === typeof input.cpu && null !== input.cpu && false === Array.isArray(input.cpu) && _io2(input.cpu)) && (undefined === input.cpus || Array.isArray(input.cpus) && input.cpus.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && "number" === typeof input.threads && (null === input.load || Array.isArray(input.load) && input.load.every(elem => "number" === typeof elem)) && (null === input.interrupts || undefined === input.interrupts || Array.isArray(input.interrupts) && input.interrupts.every(elem => "number" === typeof elem)) && (null === input.contextSwitches || "number" === typeof input.contextSwitches) && (null === input.bootTime || "number" === typeof input.bootTime) && (null === input.processes || "number" === typeof input.processes) && (null === input.running || "number" === typeof input.running) && (null === input.blocked || "number" === typeof input.blocked) && true && true && "number" === typeof input.timestamp && (null === input.total || "number" === typeof input.total) && (null === input.idle || "number" === typeof input.idle) && (null === input.active || "number" === typeof input.active) && (null === input.utilization || "number" === typeof input.utilization); const _io2 = input => Object.keys(input).every(key => {
|
|
728
766
|
const value = input[key];
|
|
@@ -759,16 +797,28 @@ function _isDomainRecord(domain, input) {
|
|
|
759
797
|
return (() => { const _io0 = input => "string" === typeof input.value; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
760
798
|
}
|
|
761
799
|
case ":panel": {
|
|
762
|
-
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) &&
|
|
800
|
+
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io7(input.layout)) && true && true; const _io1 = input => Object.keys(input).every(key => {
|
|
763
801
|
const value = input[key];
|
|
764
802
|
if (undefined === value)
|
|
765
803
|
return true;
|
|
766
|
-
return "object" === typeof value && null !== value && _io2(value);
|
|
767
|
-
}); const _io2 = input => (
|
|
804
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
805
|
+
}); const _io2 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io3(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io6(input.index)); const _io3 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io3(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io6(input.index)); const _io4 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
806
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
807
|
+
return true;
|
|
808
|
+
const value = input[key];
|
|
809
|
+
if (undefined === value)
|
|
810
|
+
return true;
|
|
811
|
+
return true;
|
|
812
|
+
}); const _io5 = input => Object.keys(input).every(key => {
|
|
813
|
+
const value = input[key];
|
|
814
|
+
if (undefined === value)
|
|
815
|
+
return true;
|
|
816
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
817
|
+
}); const _io6 = input => "string" === typeof input.label && "string" === typeof input.path; const _io7 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const _io8 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io9 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))); const _iu0 = input => (() => {
|
|
768
818
|
if (undefined !== input.type)
|
|
769
|
-
return _io7(input);
|
|
770
|
-
else if (undefined !== input.property)
|
|
771
819
|
return _io8(input);
|
|
820
|
+
else if (undefined !== input.property)
|
|
821
|
+
return _io9(input);
|
|
772
822
|
else
|
|
773
823
|
return false;
|
|
774
824
|
})(); const _ia0 = input => input.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && _iu0(elem)))); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
@@ -824,80 +874,78 @@ function _isDomainRecord(domain, input) {
|
|
|
824
874
|
return (() => { const _io0 = input => "string" === typeof input.asset && "string" === typeof input.primaryColor && "string" === typeof input.secondaryColor && "string" === typeof input.backgroundColor && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.genericFontFamily || "string" === typeof input.genericFontFamily) && "number" === typeof input.fontSize && "number" === typeof input.lineHeight && "number" === typeof input.markerPosition && "number" === typeof input.padding && (undefined === input.dummy || "boolean" === typeof input.dummy) && (undefined === input.showInfo || "boolean" === typeof input.showInfo); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
825
875
|
}
|
|
826
876
|
case ":publish": {
|
|
827
|
-
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error &&
|
|
877
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io16(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io15(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io4(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io4 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io5 = input => Object.keys(input).every(key => {
|
|
828
878
|
const value = input[key];
|
|
829
879
|
if (undefined === value)
|
|
830
880
|
return true;
|
|
831
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
832
|
-
}); const
|
|
881
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
882
|
+
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io23 = input => "string" === typeof input.method; const _io24 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io25 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io26 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io27(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io31(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io35(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io27 = input => Object.keys(input).every(key => {
|
|
833
883
|
const value = input[key];
|
|
834
884
|
if (undefined === value)
|
|
835
885
|
return true;
|
|
836
886
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
837
|
-
}); const
|
|
887
|
+
}); const _io28 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io16(input.profile)); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io28(input.__returnValue)); const _io30 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io26(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io31 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io32 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io33(input.renders)); const _io33 = input => Object.keys(input).every(key => {
|
|
838
888
|
const value = input[key];
|
|
839
889
|
if (undefined === value)
|
|
840
890
|
return true;
|
|
841
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
842
|
-
}); const
|
|
891
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io34(value);
|
|
892
|
+
}); const _io34 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io35 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io36 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io31(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io37(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io35(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io37 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io38(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io39(input.metafile)) && Object.keys(input).every(key => {
|
|
843
893
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
844
894
|
return true;
|
|
845
895
|
const value = input[key];
|
|
846
896
|
if (undefined === value)
|
|
847
897
|
return true;
|
|
848
898
|
return true;
|
|
849
|
-
}); const
|
|
899
|
+
}); const _io38 = input => "string" === typeof input.path; const _io39 = input => "string" === typeof input.path; const _io40 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io41(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io41 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io42(input.snippet); const _io42 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
850
900
|
if (undefined !== input.path)
|
|
851
|
-
return
|
|
901
|
+
return _io28(input);
|
|
852
902
|
else if (undefined !== input.__context)
|
|
853
|
-
return
|
|
903
|
+
return _io29(input);
|
|
854
904
|
else
|
|
855
905
|
return false;
|
|
856
906
|
})(); const _iu1 = input => (() => {
|
|
857
907
|
if (_io0(input))
|
|
858
908
|
return _io0(input);
|
|
859
|
-
if (
|
|
860
|
-
return
|
|
861
|
-
if (
|
|
862
|
-
return
|
|
863
|
-
if (
|
|
864
|
-
return
|
|
865
|
-
if (
|
|
866
|
-
return
|
|
909
|
+
if (_io25(input))
|
|
910
|
+
return _io25(input);
|
|
911
|
+
if (_io36(input))
|
|
912
|
+
return _io36(input);
|
|
913
|
+
if (_io26(input))
|
|
914
|
+
return _io26(input);
|
|
915
|
+
if (_io40(input))
|
|
916
|
+
return _io40(input);
|
|
867
917
|
return false;
|
|
868
918
|
})(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); })()(input);
|
|
869
919
|
}
|
|
870
920
|
case ":publish.stats?": {
|
|
871
|
-
return (() => { const _io0 = input => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && true; const _io1 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io2 = input => (undefined === input.
|
|
921
|
+
return (() => { const _io0 = input => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && true; const _io1 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io2 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io3(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && _io6(input.defaults)) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io3 = input => (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io4(input.renders)); const _io4 = input => Object.keys(input).every(key => {
|
|
872
922
|
const value = input[key];
|
|
873
923
|
if (undefined === value)
|
|
874
924
|
return true;
|
|
875
|
-
return "object" === typeof value && null !== value &&
|
|
876
|
-
}); const
|
|
925
|
+
return "object" === typeof value && null !== value && _io5(value);
|
|
926
|
+
}); const _io5 = input => "string" === typeof input.path && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io6 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io7(input.renders)); const _io7 = input => Object.keys(input).every(key => {
|
|
877
927
|
const value = input[key];
|
|
878
928
|
if (undefined === value)
|
|
879
929
|
return true;
|
|
880
930
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
881
|
-
}); const
|
|
931
|
+
}); const _io8 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io23(input.profile)); const _io9 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io10(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io12(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io15(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io22(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io10 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io11(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io11 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io12 = input => Object.keys(input).every(key => {
|
|
882
932
|
const value = input[key];
|
|
883
933
|
if (undefined === value)
|
|
884
934
|
return true;
|
|
885
935
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
886
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) &&
|
|
936
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io16 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io17(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io18(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io19(input.colorbalance)); const _io17 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io18 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io19 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io20 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io21 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io22 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io23 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io24(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io25(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io26(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io27(input.subtitle))); const _io24 = input => "string" === typeof input.engine; const _io25 = input => "string" === typeof input.language; const _io26 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io27 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io28(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io29(input.ass)); const _io28 = input => undefined === input.preset || "string" === typeof input.preset; const _io29 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io30 = input => "object" === typeof input.__context && null !== input.__context && _io31(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io8(input.__returnValue)); const _io31 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io32(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io32 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io7(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io34(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io37(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io38(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io39(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io33 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io34 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io35(input.renders)); const _io35 = input => Object.keys(input).every(key => {
|
|
887
937
|
const value = input[key];
|
|
888
938
|
if (undefined === value)
|
|
889
939
|
return true;
|
|
890
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
891
|
-
}); const
|
|
940
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io36(value);
|
|
941
|
+
}); const _io36 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io37 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io38 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io23(input.profile)); const _io39 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
892
942
|
if (undefined !== input.path)
|
|
893
|
-
return
|
|
943
|
+
return _io8(input);
|
|
894
944
|
else if (undefined !== input.__context)
|
|
895
|
-
return
|
|
945
|
+
return _io30(input);
|
|
896
946
|
else
|
|
897
947
|
return false;
|
|
898
948
|
})(); const _iu1 = input => (() => {
|
|
899
|
-
if (_io3(input))
|
|
900
|
-
return _io3(input);
|
|
901
949
|
if (_io2(input))
|
|
902
950
|
return _io2(input);
|
|
903
951
|
if (_io0(input))
|
|
@@ -923,7 +971,7 @@ function _isDomainRecord(domain, input) {
|
|
|
923
971
|
return (() => { const _io0 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io5 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io6(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io7(input.ass)); const _io6 = input => undefined === input.preset || "string" === typeof input.preset; const _io7 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
924
972
|
}
|
|
925
973
|
case ":render.stats?": {
|
|
926
|
-
return (() => { const _io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every(elem => "string" === typeof elem)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag) && (null === input.available || undefined === input.available || "boolean" === typeof input.available) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "number" === typeof input.cpuComputeAvailable) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "number" === typeof input.cpuMemoryAvailable) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "number" === typeof input.gpuComputeAvailable) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "number" === typeof input.gpuMemoryAvailable) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "number" === typeof input.gpuQueueAvailable) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue || "number" === typeof input.gpuDecoderValue) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "number" === typeof input.netTransferAvailable) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory) && (null === input.activeCount || "number" === typeof input.activeCount) && (null === input.totalCount || "number" === typeof input.totalCount) && (null === input.gpuStat || undefined === input.gpuStat || "object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) && _io2(input.gpuStat)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && _io3(input.cpuStat)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && _io8(input.netStat)) && true && (undefined === input.taskset || "string" === typeof input.taskset); const _io1 = input => Object.keys(input).every(key => {
|
|
974
|
+
return (() => { const _io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every(elem => "string" === typeof elem)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag) && (null === input.available || undefined === input.available || "boolean" === typeof input.available) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "number" === typeof input.cpuComputeAvailable) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "number" === typeof input.cpuMemoryAvailable) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "number" === typeof input.gpuComputeAvailable) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "number" === typeof input.gpuMemoryAvailable) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "number" === typeof input.gpuQueueAvailable) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue || "number" === typeof input.gpuDecoderValue) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "number" === typeof input.netTransferAvailable) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory) && (null === input.activeCount || undefined === input.activeCount || "number" === typeof input.activeCount) && (null === input.totalCount || undefined === input.totalCount || "number" === typeof input.totalCount) && (null === input.gpuStat || undefined === input.gpuStat || "object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) && _io2(input.gpuStat)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && _io3(input.cpuStat)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && _io8(input.netStat)) && true && (undefined === input.taskset || "string" === typeof input.taskset) && (null === input.end || undefined === input.end || "number" === typeof input.end); const _io1 = input => Object.keys(input).every(key => {
|
|
927
975
|
const value = input[key];
|
|
928
976
|
if (undefined === value)
|
|
929
977
|
return true;
|
|
@@ -938,30 +986,23 @@ function _isDomainRecord(domain, input) {
|
|
|
938
986
|
if (undefined === value)
|
|
939
987
|
return true;
|
|
940
988
|
return true;
|
|
941
|
-
}); const _io8 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && _io9(input.dev)); const _io9 = input => "number" === typeof input.used; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
989
|
+
}); const _io8 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && _io9(input.dev)); const _io9 = input => "number" === typeof input.used; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
942
990
|
}
|
|
943
991
|
case ":render.query?": {
|
|
944
|
-
return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && _io1(input.description)); const _io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene) && ("object" === typeof input.profile && null !== input.profile &&
|
|
992
|
+
return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.title && (undefined === input.parent || "string" === typeof input.parent) && ("object" === typeof input.description && null !== input.description && _io1(input.description)); const _io1 = input => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && _io16(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io15(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io4(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io4 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io5 = input => Object.keys(input).every(key => {
|
|
945
993
|
const value = input[key];
|
|
946
994
|
if (undefined === value)
|
|
947
995
|
return true;
|
|
948
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
949
|
-
}); const
|
|
996
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
997
|
+
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
950
998
|
}
|
|
951
999
|
case ":render.result?": {
|
|
952
|
-
return (() => { const _io0 = input => (undefined === input.url || "string" === typeof input.url) && true && (null === input.error || undefined === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) &&
|
|
953
|
-
if (["url", "result", "error"].some(prop => key === prop))
|
|
954
|
-
return true;
|
|
1000
|
+
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.files || Array.isArray(input.files) && input.files.every(elem => "string" === typeof elem)) && (undefined === input.refs || Array.isArray(input.refs) && input.refs.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && true && (null === input.error || undefined === input.error || (Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem)) || "object" === typeof input.error && null !== input.error && false === Array.isArray(input.error) && _io2(input.error))) && (undefined === input.extension || "string" === typeof input.extension) && (undefined === input.extensions || Array.isArray(input.extensions) && input.extensions.every(elem => "string" === typeof elem)) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.formatName || "string" === typeof input.formatName) && (undefined === input.mimeType || "string" === typeof input.mimeType) && (undefined === input.duration || "number" === typeof input.duration) && (null === input.estimatedDuration || undefined === input.estimatedDuration || "number" === typeof input.estimatedDuration) && (null === input.video || undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io3(input.video)) && (null === input.audio || undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(input.audio)) && (undefined === input.language || "string" === typeof input.language) && (null === input.transcribe || undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io5(input.transcribe)) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (null === input.translate || undefined === input.translate || "object" === typeof input.translate && null !== input.translate && false === Array.isArray(input.translate) && _io6(input.translate)); const _io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end); const _io2 = input => Object.keys(input).every(key => {
|
|
955
1001
|
const value = input[key];
|
|
956
1002
|
if (undefined === value)
|
|
957
1003
|
return true;
|
|
958
1004
|
return true;
|
|
959
|
-
}); const
|
|
960
|
-
const value = input[key];
|
|
961
|
-
if (undefined === value)
|
|
962
|
-
return true;
|
|
963
|
-
return true;
|
|
964
|
-
}); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1005
|
+
}); const _io3 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height) && (undefined === input.interlaced || "boolean" === typeof input.interlaced) && (undefined === input.alpha || "string" === typeof input.alpha || "boolean" === typeof input.alpha) && (null === input.sar || undefined === input.sar || "string" === typeof input.sar) && (undefined === input.dar || "string" === typeof input.dar) && (undefined === input.framerate || "number" === typeof input.framerate) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.encoder || "string" === typeof input.encoder) && (undefined === input.codecName || "string" === typeof input.codecName); const _io4 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.codecName || "string" === typeof input.codecName) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.channels || "number" === typeof input.channels) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.peaksPerSecond || "number" === typeof input.peaksPerSecond) && (undefined === input.streams || "number" === typeof input.streams) && (undefined === input.encoder || "string" === typeof input.encoder); const _io5 = input => (undefined === input.engine || "string" === typeof input.engine) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.language || "string" === typeof input.language); const _io6 = input => (undefined === input.engine || "string" === typeof input.engine) && (undefined === input.source || "string" === typeof input.source) && (undefined === input.target || "string" === typeof input.target); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
965
1006
|
}
|
|
966
1007
|
case ":render.schedulers?": {
|
|
967
1008
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
@@ -977,6 +1018,33 @@ function _isDomainRecord(domain, input) {
|
|
|
977
1018
|
case ":role.tags": {
|
|
978
1019
|
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);
|
|
979
1020
|
}
|
|
1021
|
+
case ":schema": {
|
|
1022
|
+
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io11(input.layout)); const _io1 = input => Object.keys(input).every(key => {
|
|
1023
|
+
const value = input[key];
|
|
1024
|
+
if (undefined === value)
|
|
1025
|
+
return true;
|
|
1026
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
1027
|
+
}); const _io2 = input => null !== input.recordName && (undefined === input.recordName || "string" === typeof input.recordName || "object" === typeof input.recordName && null !== input.recordName && _io3(input.recordName)) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io5(input.setter))) && true && true && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io7(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io7(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io9(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io10(input.index)); const _io3 = input => "object" === typeof input.__context && null !== input.__context && _io4(input.__context) && "string" === typeof input.__returnValue; const _io4 = input => "string" === typeof input.id; const _io5 = input => "object" === typeof input.__context && null !== input.__context && _io6(input.__context) && true; const _io6 = input => "string" === typeof input.id && true; const _io7 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io7(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io7(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io9(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io10(input.index)); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
1028
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
1029
|
+
return true;
|
|
1030
|
+
const value = input[key];
|
|
1031
|
+
if (undefined === value)
|
|
1032
|
+
return true;
|
|
1033
|
+
return true;
|
|
1034
|
+
}); const _io9 = input => Object.keys(input).every(key => {
|
|
1035
|
+
const value = input[key];
|
|
1036
|
+
if (undefined === value)
|
|
1037
|
+
return true;
|
|
1038
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
1039
|
+
}); const _io10 = input => "string" === typeof input.label && "string" === typeof input.path; const _io11 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const _io12 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io13 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))); const _iu0 = input => (() => {
|
|
1040
|
+
if (undefined !== input.type)
|
|
1041
|
+
return _io12(input);
|
|
1042
|
+
else if (undefined !== input.property)
|
|
1043
|
+
return _io13(input);
|
|
1044
|
+
else
|
|
1045
|
+
return false;
|
|
1046
|
+
})(); const _ia0 = input => input.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && _iu0(elem)))); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1047
|
+
}
|
|
980
1048
|
case ":script": {
|
|
981
1049
|
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);
|
|
982
1050
|
}
|
|
@@ -1059,84 +1127,44 @@ function _isDomainRecord(domain, input) {
|
|
|
1059
1127
|
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);
|
|
1060
1128
|
}
|
|
1061
1129
|
case ":settings": {
|
|
1062
|
-
return (() => { const
|
|
1130
|
+
return (() => { const _iv29 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv38 = 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.graphics || "object" === typeof input.graphics && null !== input.graphics && false === Array.isArray(input.graphics) && _io2(input.graphics)) && (undefined === input.googleWhitelist || Array.isArray(input.googleWhitelist) && input.googleWhitelist.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input.googleUserRoles || Array.isArray(input.googleUserRoles) && input.googleUserRoles.every(elem => "string" === typeof elem)) && (undefined === input.azureWhitelist || Array.isArray(input.azureWhitelist) && input.azureWhitelist.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input.azureUserRoles || Array.isArray(input.azureUserRoles) && input.azureUserRoles.every(elem => "string" === typeof elem)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io5(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io9(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io10(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io11(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io14(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) && _io15(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io16(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io17(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io18(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io19(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io20(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io22(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io28(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io31(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io32(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io33(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io54(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io60(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) && _io61(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io70(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io71(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io72(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) && _io76(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io77(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io78(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io81(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io84(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io85(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io86(input.bookmarks)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io87(input.shotbox)) && (undefined === input.performance || "object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) && _io88(input.performance)) && (undefined === input.app || "object" === typeof input.app && null !== input.app && false === Array.isArray(input.app) && _io89(input.app)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io3 = input => undefined === input.domain || "string" === typeof input.domain; const _io4 = input => undefined === input.domain || "string" === typeof input.domain; const _io5 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io6(input.tabs)); const _io6 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io7(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
1063
1131
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
1064
1132
|
return true;
|
|
1065
1133
|
const value = input[key];
|
|
1066
1134
|
if (undefined === value)
|
|
1067
1135
|
return true;
|
|
1068
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1069
|
-
}); const
|
|
1070
|
-
const value = input[key];
|
|
1071
|
-
if (undefined === value)
|
|
1072
|
-
return true;
|
|
1073
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io24(value);
|
|
1074
|
-
}); const _io24 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io25 = input => (null === input.color || "string" === typeof input.color) && (null === input.backgroundColor || "string" === typeof input.backgroundColor); const _io26 = 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) && _io27(input.defaults)); const _io27 = input => Object.keys(input).every(key => {
|
|
1075
|
-
const value = input[key];
|
|
1076
|
-
if (undefined === value)
|
|
1077
|
-
return true;
|
|
1078
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io28(value);
|
|
1079
|
-
}); const _io28 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io29 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io30 = 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 _io31 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io32(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io34(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io35(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io36(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io37(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io38(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io39(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io40(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io41(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io42(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io43(input.segment)); const _io32 = input => Object.keys(input).every(key => {
|
|
1080
|
-
const value = input[key];
|
|
1081
|
-
if (undefined === value)
|
|
1082
|
-
return true;
|
|
1083
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1084
|
-
}); const _io33 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.sequence || "string" === typeof input.sequence); const _io34 = input => Object.keys(input).every(key => {
|
|
1085
|
-
const value = input[key];
|
|
1086
|
-
if (undefined === value)
|
|
1087
|
-
return true;
|
|
1088
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1089
|
-
}); const _io35 = input => Object.keys(input).every(key => {
|
|
1090
|
-
const value = input[key];
|
|
1091
|
-
if (undefined === value)
|
|
1092
|
-
return true;
|
|
1093
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1094
|
-
}); const _io36 = input => Object.keys(input).every(key => {
|
|
1095
|
-
const value = input[key];
|
|
1096
|
-
if (undefined === value)
|
|
1097
|
-
return true;
|
|
1098
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1099
|
-
}); const _io37 = input => Object.keys(input).every(key => {
|
|
1100
|
-
const value = input[key];
|
|
1101
|
-
if (undefined === value)
|
|
1102
|
-
return true;
|
|
1103
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1104
|
-
}); const _io38 = input => Object.keys(input).every(key => {
|
|
1105
|
-
const value = input[key];
|
|
1106
|
-
if (undefined === value)
|
|
1107
|
-
return true;
|
|
1108
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1109
|
-
}); const _io39 = input => Object.keys(input).every(key => {
|
|
1136
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io8(value);
|
|
1137
|
+
}); const _io7 = 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) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io8 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io9 = 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 _io10 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io11 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io12(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io13(input.createMenu)); const _io12 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || Array.isArray(input.center) && (input.center.length === 2 && "number" === typeof input.center[0] && "number" === typeof input.center[1])); const _io13 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.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.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 _io17 = 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 _io18 = 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 _io19 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io20 = 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) && _io21(input.layout)); const _io21 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io22 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io23(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io24(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) && _io25(input.collapsedNodes)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every(elem => "object" === typeof elem && null !== elem && _io27(elem))); const _io23 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io24 = 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 _io25 = input => Object.keys(input).every(key => {
|
|
1110
1138
|
const value = input[key];
|
|
1111
1139
|
if (undefined === value)
|
|
1112
1140
|
return true;
|
|
1113
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1114
|
-
}); const
|
|
1141
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
1142
|
+
}); const _io26 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io27 = input => (null === input.color || "string" === typeof input.color) && (null === input.backgroundColor || "string" === typeof input.backgroundColor); const _io28 = 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) && _io29(input.defaults)); const _io29 = input => Object.keys(input).every(key => {
|
|
1115
1143
|
const value = input[key];
|
|
1116
1144
|
if (undefined === value)
|
|
1117
1145
|
return true;
|
|
1118
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1119
|
-
}); const
|
|
1146
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
1147
|
+
}); const _io30 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io31 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io32 = 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 _io33 = input => Object.keys(input).every(key => {
|
|
1120
1148
|
const value = input[key];
|
|
1121
1149
|
if (undefined === value)
|
|
1122
1150
|
return true;
|
|
1123
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1124
|
-
}); const
|
|
1151
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io34(value);
|
|
1152
|
+
}); const _io34 = input => Object.keys(input).every(key => {
|
|
1125
1153
|
const value = input[key];
|
|
1126
1154
|
if (undefined === value)
|
|
1127
1155
|
return true;
|
|
1128
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1129
|
-
}); const
|
|
1156
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io35(value);
|
|
1157
|
+
}); const _io35 = input => (undefined === input.title || "string" === typeof input.title) && (null === input.sequence || undefined === input.sequence || "string" === typeof input.sequence || Array.isArray(input.sequence) && input.sequence.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || Array.isArray(elem) && (elem.length === 2 && "string" === typeof elem[0] && true)))) && (undefined === input.schema || "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _io36(input.schema)) && (undefined === input.stopCallback || "boolean" === typeof input.stopCallback); const _io36 = input => Object.keys(input).every(key => {
|
|
1130
1158
|
const value = input[key];
|
|
1131
1159
|
if (undefined === value)
|
|
1132
1160
|
return true;
|
|
1133
|
-
return
|
|
1134
|
-
}); const _io44 = 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) && _io45(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) && _io46(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) && _io47(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) && _io50(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io51(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io52(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io56(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io57(input.recorder)); const _io45 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io46 = 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 _io47 = 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) && _io48(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv23.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io48 = 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 _io49 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io50 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io51 = 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 _io52 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io53(input.subtitleDisclaimer); const _io53 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io54(input.defaultValue)); const _io54 = 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) && _io55(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io55 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io56 = 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 _io57 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io58(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io59(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io58 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io59 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io60 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io61(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io63(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io65(input.voiceOver)); const _io61 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io62(elem)); const _io62 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io63 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io64(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io64 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io65 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io66 = 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 _io67 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io68(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io69(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io73(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io75(input.item)); const _io68 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io69 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io70(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io72(input.note)); const _io70 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io71(input.excerpt); const _io71 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io72 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io73 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io74(input.search)) && (undefined === input.sortMode || true === _iv32.has(input.sortMode)); const _io74 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io75 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io76 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io77 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io78 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io79(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io80(input.rive)); const _io79 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io80 = input => undefined === input.template || "string" === typeof input.template; const _io81 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io82 = 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 _io83 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io84(input.events); const _io84 = 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) && _io85(input.publishSucceeded)); const _io85 = input => Object.keys(input).every(key => {
|
|
1161
|
+
return true;
|
|
1162
|
+
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(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) && _io40(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) && _io41(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) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = 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 _io41 = 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) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = 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 _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = 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 _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = 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) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = 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 _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = 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 _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io71 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io72 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io73(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io75(input.rive)); const _io73 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io74(input.bodymovin)); const _io74 = input => undefined === input.template || "string" === typeof input.template; const _io75 = input => undefined === input.template || "string" === typeof input.template; const _io76 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io77 = 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.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io78 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io79(input.events); const _io79 = 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) && _io80(input.publishSucceeded)); const _io80 = input => Object.keys(input).every(key => {
|
|
1135
1163
|
const value = input[key];
|
|
1136
1164
|
if (undefined === value)
|
|
1137
1165
|
return true;
|
|
1138
1166
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
1139
|
-
}); const
|
|
1167
|
+
}); const _io81 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io82(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io83(input.duplicate)); const _io82 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io83 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io84 = 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); const _io85 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io86 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io87 = input => undefined === input.layout || "string" === typeof input.layout; const _io88 = input => undefined === input.ignoredMessages || Array.isArray(input.ignoredMessages) && input.ignoredMessages.every(elem => "string" === typeof elem); const _io89 = input => (undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate) && (undefined === input.autoUpdate || "boolean" === typeof input.autoUpdate); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1140
1168
|
}
|
|
1141
1169
|
case ":settings.node": {
|
|
1142
1170
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
@@ -1171,6 +1199,28 @@ function _isDomainRecord(domain, input) {
|
|
|
1171
1199
|
case ":storyboard.ancestors?": {
|
|
1172
1200
|
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);
|
|
1173
1201
|
}
|
|
1202
|
+
case ":stream": {
|
|
1203
|
+
return (() => { const _io0 = input => null !== input.input && (undefined === input.input || "push" === input.input || "url" === input.input || "webcam" === input.input || "screen" === input.input || "srt-listener" === input.input || "srt-caller" === input.input || "string" === typeof input.input && RegExp(/^ingest:(.*)/).test(input.input)) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.endpoints || Array.isArray(input.endpoints) && input.endpoints.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))); const _io1 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.asset || "string" === typeof input.asset); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1204
|
+
}
|
|
1205
|
+
case ":stream.stats?": {
|
|
1206
|
+
return (() => { const _io0 = input => (undefined === input.status || "error" === input.status || "stopped" === input.status || "broadcasting" === input.status) && (undefined === input.proxyStatus || "error" === input.proxyStatus || "stopped" === input.proxyStatus || "broadcasting" === input.proxyStatus) && (undefined === input.rtmpUrl || "string" === typeof input.rtmpUrl) && (undefined === input.rtmpPublishUrl || "string" === typeof input.rtmpPublishUrl) && (undefined === input.endpoints || Array.isArray(input.endpoints) && input.endpoints.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (undefined === input.error || "string" === typeof input.error); const _io1 = input => (undefined === input.rtmpUrl || "string" === typeof input.rtmpUrl) && (undefined === input.status || "created" === input.status || "stopped" === input.status || "broadcasting" === input.status || "failed" === input.status || "finished" === input.status); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1207
|
+
}
|
|
1208
|
+
case ":stream.ingest": {
|
|
1209
|
+
return (() => { const _io0 = input => (undefined === input.server || "string" === typeof input.server) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.encoding || "object" === typeof input.encoding && null !== input.encoding && false === Array.isArray(input.encoding) && _io2(input.encoding)) && (undefined === input.record || "object" === typeof input.record && null !== input.record && false === Array.isArray(input.record) && _io4(input.record)) && (undefined === input.stream || "object" === typeof input.stream && null !== input.stream && false === Array.isArray(input.stream) && _io7(input.stream)) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io10(input.subtitle)) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.audio || "string" === typeof input.audio) && (undefined === input.channels || "number" === typeof input.channels) && (undefined === input.audioDelay || "number" === typeof input.audioDelay) && (undefined === input.interlaced || "boolean" === typeof input.interlaced); const _io1 = input => (undefined === input.raw_format || "string" === typeof input.raw_format) && (undefined === input.video_format || "string" === typeof input.video_format); const _io2 = input => Object.keys(input).every(key => {
|
|
1210
|
+
const value = input[key];
|
|
1211
|
+
if (undefined === value)
|
|
1212
|
+
return true;
|
|
1213
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
1214
|
+
}); const _io3 = input => Object.keys(input).every(key => {
|
|
1215
|
+
const value = input[key];
|
|
1216
|
+
if (undefined === value)
|
|
1217
|
+
return true;
|
|
1218
|
+
return true;
|
|
1219
|
+
}); const _io4 = input => (undefined === input.hls_time || "number" === typeof input.hls_time) && (undefined === input.hls_list_size || "number" === typeof input.hls_list_size) && (null !== input.mainPreset && (undefined === input.mainPreset || "string" === typeof input.mainPreset || "object" === typeof input.mainPreset && null !== input.mainPreset && _io5(input.mainPreset))) && (null !== input.proxyPreset && (undefined === input.proxyPreset || "string" === typeof input.proxyPreset || "object" === typeof input.proxyPreset && null !== input.proxyPreset && _io6(input.proxyPreset))) && (undefined === input.main || "object" === typeof input.main && null !== input.main && false === Array.isArray(input.main) && _io3(input.main)) && (undefined === input.proxy || "object" === typeof input.proxy && null !== input.proxy && false === Array.isArray(input.proxy) && _io3(input.proxy)); const _io5 = input => "string" === typeof input.video && "string" === typeof input.audio; const _io6 = input => "string" === typeof input.video && "string" === typeof input.audio; const _io7 = input => (undefined === input.mainPreset || "object" === typeof input.mainPreset && null !== input.mainPreset && _io8(input.mainPreset)) && (undefined === input.proxyPreset || "object" === typeof input.proxyPreset && null !== input.proxyPreset && _io9(input.proxyPreset)) && (undefined === input.main || "object" === typeof input.main && null !== input.main && false === Array.isArray(input.main) && _io3(input.main)) && (undefined === input.proxy || "object" === typeof input.proxy && null !== input.proxy && false === Array.isArray(input.proxy) && _io3(input.proxy)); const _io8 = input => "string" === typeof input.video && "string" === typeof input.audio; const _io9 = input => "string" === typeof input.video && "string" === typeof input.audio; const _io10 = input => (undefined === input.driver || "string" === typeof input.driver) && (undefined === input.template || "string" === typeof input.template); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1220
|
+
}
|
|
1221
|
+
case ":stream.ingest.stats?": {
|
|
1222
|
+
return (() => { const _iv1 = new Set(["error", "stopped", "starting", "recording", "streaming", "stopping", "restarting", "stalled", "deleted", "exited", "not configured", "initializing"]); const _io0 = input => (undefined === input.status || true === _iv1.has(input.status)) && (undefined === input.server || "string" === typeof input.server) && (undefined === input.hostname || "string" === typeof input.hostname) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.error || "string" === typeof input.error); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1223
|
+
}
|
|
1174
1224
|
case ":subtitle-style": {
|
|
1175
1225
|
return (() => { const _io0 = input => (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && _io1(input.previewSettings)) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io1 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1176
1226
|
}
|
|
@@ -1178,7 +1228,7 @@ function _isDomainRecord(domain, input) {
|
|
|
1178
1228
|
return (() => { const _io0 = input => (undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true; const _io1 = input => (undefined === input.lang || "string" === typeof input.lang) && "number" === typeof input.start && "number" === typeof input.end && (undefined === input.text || "string" === typeof input.text); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1179
1229
|
}
|
|
1180
1230
|
case ":template": {
|
|
1181
|
-
return (() => { const _io0 = input => (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
|
|
1231
|
+
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
|
|
1182
1232
|
const value = input[key];
|
|
1183
1233
|
if (undefined === value)
|
|
1184
1234
|
return true;
|