@nxtedition/types 23.1.2 → 23.1.4
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 +3 -0
- package/dist/common/index.js +3 -0
- package/dist/common/json-schema.d.ts +95 -0
- package/dist/common/json-schema.js +1 -0
- package/dist/common/nxtpression.d.ts +1 -1
- package/dist/common/panel-property.d.ts +2 -29
- package/dist/common/print.d.ts +30 -0
- package/dist/common/print.js +1 -0
- package/dist/common/render-scene.d.ts +73 -12
- package/dist/common/schema-property.d.ts +36 -4
- package/dist/common/settings.d.ts +72 -43
- 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 +745 -170
- package/dist/records/domains/condition.d.ts +1 -1
- package/dist/records/domains/connection/file/smb.d.ts +2 -0
- package/dist/records/domains/event.d.ts +10 -3
- package/dist/records/domains/gallery.d.ts +8 -0
- package/dist/records/domains/gallery.js +1 -0
- package/dist/records/domains/index.d.ts +9 -1
- package/dist/records/domains/index.js +4 -0
- package/dist/records/domains/ingestschedule.d.ts +1 -1
- package/dist/records/domains/media.d.ts +4 -0
- package/dist/records/domains/panel.d.ts +7 -19
- package/dist/records/domains/publish/file-legacy.d.ts +1 -1
- package/dist/records/domains/render.d.ts +54 -3
- package/dist/records/domains/role.d.ts +8 -0
- 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/storage.d.ts +87 -0
- package/dist/records/domains/storage.js +1 -0
- package/dist/records/domains/stream.d.ts +80 -0
- package/dist/records/domains/stream.js +1 -0
- package/dist/records/domains/template.d.ts +34 -0
- package/dist/records/exact/asset.d.ts +17 -7
- package/dist/records/exact/index.d.ts +6 -0
- package/dist/records/exact/monitor.d.ts +1 -0
- package/dist/records/index.d.ts +1 -1
- package/dist/records/utils.d.ts +5 -1
- package/dist/records/validate/assert-guard.js +9235 -4387
- package/dist/records/validate/assert.js +9359 -4496
- package/dist/records/validate/is.js +224 -115
- package/dist/records/validate/schemas.d.ts +3 -10
- package/dist/records/validate/schemas.js +5652 -1454
- package/dist/records/validate/stringify.js +853 -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 +11393 -5018
- package/dist/records/validate/validate.js +10257 -6113
- 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.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (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) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io3(input.widget))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && true; 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) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(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) && _io3(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) && _io2(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index)); const _io3 = 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 _io4 = 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) && _io2(value);
|
|
50
|
+
}); const _io5 = input => "string" === typeof input.label && "string" === typeof input.path; 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) && true && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (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) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && true && (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))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io3(input.widget))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && 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];
|
|
@@ -95,7 +117,7 @@ function _isExactRecord(name, input) {
|
|
|
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.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 => {
|
|
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))) && true; 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;
|
|
@@ -165,11 +187,14 @@ function _isExactRecord(name, input) {
|
|
|
165
187
|
return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = 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 && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(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) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = 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 _io7 = 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) && _io8(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io9(input.ass)); const _io8 = input => undefined === input.preset || "string" === typeof input.preset; const _io9 = 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);
|
|
166
188
|
}
|
|
167
189
|
case "asset-daemon": {
|
|
168
|
-
return (() => { const _io0 = input => undefined === input["user-notify"] || "boolean" === typeof input["user-notify"]; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
190
|
+
return (() => { const _io0 = input => (undefined === input["user-notify"] || "boolean" === typeof input["user-notify"]) && (undefined === input.validate || "boolean" === typeof input.validate); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
169
191
|
}
|
|
170
192
|
case "asset-daemon:user-notify.state": {
|
|
171
193
|
return (() => { const _io0 = input => (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
172
194
|
}
|
|
195
|
+
case "asset-daemon:validate.state": {
|
|
196
|
+
return (() => { const _io0 = input => (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
197
|
+
}
|
|
173
198
|
case "deepstream-replicator.stats?": {
|
|
174
199
|
return (() => { const _io0 = input => (undefined === input.replicators || "object" === typeof input.replicators && null !== input.replicators && false === Array.isArray(input.replicators) && _io1(input.replicators)) && (undefined === input.synced || "boolean" === typeof input.synced); const _io1 = input => Object.keys(input).every(key => {
|
|
175
200
|
const value = input[key];
|
|
@@ -379,7 +404,7 @@ function _isDomainRecord(domain, input) {
|
|
|
379
404
|
if (undefined === value)
|
|
380
405
|
return true;
|
|
381
406
|
return null !== value && (undefined === value || "string" === typeof value || Array.isArray(value) && value.every(elem => "string" === typeof elem));
|
|
382
|
-
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
407
|
+
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.createFolders || "boolean" === typeof input.createFolders) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
383
408
|
if (undefined !== input.__context)
|
|
384
409
|
return _io14(input);
|
|
385
410
|
else
|
|
@@ -524,10 +549,10 @@ function _isDomainRecord(domain, input) {
|
|
|
524
549
|
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
550
|
}
|
|
526
551
|
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);
|
|
552
|
+
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.position || "string" === typeof input.position) && (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
553
|
}
|
|
529
554
|
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);
|
|
555
|
+
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
556
|
}
|
|
532
557
|
case ":event.overlay?": {
|
|
533
558
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
@@ -535,8 +560,8 @@ function _isDomainRecord(domain, input) {
|
|
|
535
560
|
if (undefined === value)
|
|
536
561
|
return true;
|
|
537
562
|
return "object" === typeof value && null !== value && _io1(value);
|
|
538
|
-
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
539
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
563
|
+
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
564
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
540
565
|
return true;
|
|
541
566
|
const value = input[key];
|
|
542
567
|
if (undefined === value)
|
|
@@ -550,7 +575,7 @@ function _isDomainRecord(domain, input) {
|
|
|
550
575
|
}); 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
576
|
}
|
|
552
577
|
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);
|
|
578
|
+
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
579
|
}
|
|
555
580
|
case ":event.duration?": {
|
|
556
581
|
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);
|
|
@@ -559,8 +584,8 @@ function _isDomainRecord(domain, input) {
|
|
|
559
584
|
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);
|
|
560
585
|
}
|
|
561
586
|
case ":event.props?": {
|
|
562
|
-
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
563
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
587
|
+
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
588
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
564
589
|
return true;
|
|
565
590
|
const value = input[key];
|
|
566
591
|
if (undefined === value)
|
|
@@ -573,6 +598,9 @@ function _isDomainRecord(domain, input) {
|
|
|
573
598
|
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value)));
|
|
574
599
|
}); 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) && _io1(elem)))); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
575
600
|
}
|
|
601
|
+
case ":event.stats?": {
|
|
602
|
+
return (() => { const _io0 = input => undefined === input.type || "string" === typeof input.type; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
603
|
+
}
|
|
576
604
|
case ":file.replicate": {
|
|
577
605
|
return (() => { const _io0 = input => Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem) && (null === input.error || "object" === typeof input.error && null !== input.error && _io1(input.error)); const _io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => Object.keys(input).every(key => {
|
|
578
606
|
const value = input[key];
|
|
@@ -600,6 +628,9 @@ function _isDomainRecord(domain, input) {
|
|
|
600
628
|
case ":folder.items": {
|
|
601
629
|
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);
|
|
602
630
|
}
|
|
631
|
+
case ":gallery": {
|
|
632
|
+
return (() => { const _io0 = input => undefined === input.sources || "object" === typeof input.sources && null !== input.sources && false === Array.isArray(input.sources) && _io1(input.sources); const _io1 = input => undefined === input.program || "string" === typeof input.program; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
633
|
+
}
|
|
603
634
|
case ":general.title": {
|
|
604
635
|
return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
605
636
|
}
|
|
@@ -646,18 +677,23 @@ function _isDomainRecord(domain, input) {
|
|
|
646
677
|
if (undefined === value)
|
|
647
678
|
return true;
|
|
648
679
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
649
|
-
}); const _io2 = input => (undefined === input.route || "string" === typeof input.route) && (undefined === input.publish || Array.isArray(input.publish) && input.publish.every(elem => "string" === typeof elem)); const _io3 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io4(input.__context) && "string" === typeof input.__returnValue; const _io4 = input =>
|
|
680
|
+
}); const _io2 = input => (undefined === input.route || "string" === typeof input.route) && (undefined === input.publish || Array.isArray(input.publish) && input.publish.every(elem => "string" === typeof elem)); const _io3 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io4(input.__context) && "string" === typeof input.__returnValue; const _io4 = input => Object.keys(input).every(key => {
|
|
681
|
+
const value = input[key];
|
|
682
|
+
if (undefined === value)
|
|
683
|
+
return true;
|
|
684
|
+
return true;
|
|
685
|
+
}); const _io5 = input => (null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery) && (undefined === input.tag || "string" === typeof input.tag); const _io6 = input => (undefined === input.freq || 0 === input.freq || 2 === input.freq || 3 === input.freq) && (undefined === input.until || "string" === typeof input.until) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.tzid || "string" === typeof input.tzid) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.byweekday || Array.isArray(input.byweekday) && input.byweekday.every(elem => "number" === typeof elem)); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
650
686
|
}
|
|
651
687
|
case ":ingestschedule.stats?": {
|
|
652
688
|
return (() => { const _io0 = input => true; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
653
689
|
}
|
|
654
690
|
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) &&
|
|
691
|
+
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
692
|
const value = input[key];
|
|
657
693
|
if (undefined === value)
|
|
658
694
|
return true;
|
|
659
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
660
|
-
}); const
|
|
695
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io4(value);
|
|
696
|
+
}); 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)) && (undefined === input.diarization || "boolean" === typeof input.diarization); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
661
697
|
}
|
|
662
698
|
case ":media.consolidate": {
|
|
663
699
|
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);
|
|
@@ -726,6 +762,19 @@ function _isDomainRecord(domain, input) {
|
|
|
726
762
|
return true;
|
|
727
763
|
}); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
728
764
|
}
|
|
765
|
+
case ":media.revisions": {
|
|
766
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
767
|
+
const value = input[key];
|
|
768
|
+
if (undefined === value)
|
|
769
|
+
return true;
|
|
770
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
|
|
771
|
+
}); 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 => {
|
|
772
|
+
const value = input[key];
|
|
773
|
+
if (undefined === value)
|
|
774
|
+
return true;
|
|
775
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
776
|
+
}); 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)) && (undefined === input.diarization || "boolean" === typeof input.diarization); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
777
|
+
}
|
|
729
778
|
case ":monitor.stats?": {
|
|
730
779
|
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 => {
|
|
731
780
|
const value = input[key];
|
|
@@ -762,16 +811,28 @@ function _isDomainRecord(domain, input) {
|
|
|
762
811
|
return (() => { const _io0 = input => "string" === typeof input.value; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
763
812
|
}
|
|
764
813
|
case ":panel": {
|
|
765
|
-
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) &&
|
|
814
|
+
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 => {
|
|
766
815
|
const value = input[key];
|
|
767
816
|
if (undefined === value)
|
|
768
817
|
return true;
|
|
769
|
-
return "object" === typeof value && null !== value && _io2(value);
|
|
770
|
-
}); const _io2 = input => (
|
|
818
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
819
|
+
}); 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 => {
|
|
820
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
821
|
+
return true;
|
|
822
|
+
const value = input[key];
|
|
823
|
+
if (undefined === value)
|
|
824
|
+
return true;
|
|
825
|
+
return true;
|
|
826
|
+
}); const _io5 = input => Object.keys(input).every(key => {
|
|
827
|
+
const value = input[key];
|
|
828
|
+
if (undefined === value)
|
|
829
|
+
return true;
|
|
830
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
831
|
+
}); 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 => (() => {
|
|
771
832
|
if (undefined !== input.type)
|
|
772
|
-
return _io7(input);
|
|
773
|
-
else if (undefined !== input.property)
|
|
774
833
|
return _io8(input);
|
|
834
|
+
else if (undefined !== input.property)
|
|
835
|
+
return _io9(input);
|
|
775
836
|
else
|
|
776
837
|
return false;
|
|
777
838
|
})(); 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);
|
|
@@ -827,46 +888,46 @@ function _isDomainRecord(domain, input) {
|
|
|
827
888
|
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);
|
|
828
889
|
}
|
|
829
890
|
case ":publish": {
|
|
830
|
-
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 &&
|
|
891
|
+
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 => {
|
|
831
892
|
const value = input[key];
|
|
832
893
|
if (undefined === value)
|
|
833
894
|
return true;
|
|
834
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
835
|
-
}); const
|
|
895
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
896
|
+
}); 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)) && (undefined === input.diarization || "boolean" === typeof input.diarization); 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 => {
|
|
836
897
|
const value = input[key];
|
|
837
898
|
if (undefined === value)
|
|
838
899
|
return true;
|
|
839
900
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
840
|
-
}); const
|
|
901
|
+
}); 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 => {
|
|
841
902
|
const value = input[key];
|
|
842
903
|
if (undefined === value)
|
|
843
904
|
return true;
|
|
844
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
845
|
-
}); const
|
|
905
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io34(value);
|
|
906
|
+
}); 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 => {
|
|
846
907
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
847
908
|
return true;
|
|
848
909
|
const value = input[key];
|
|
849
910
|
if (undefined === value)
|
|
850
911
|
return true;
|
|
851
912
|
return true;
|
|
852
|
-
}); const
|
|
913
|
+
}); 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 => (() => {
|
|
853
914
|
if (undefined !== input.path)
|
|
854
|
-
return
|
|
915
|
+
return _io28(input);
|
|
855
916
|
else if (undefined !== input.__context)
|
|
856
|
-
return
|
|
917
|
+
return _io29(input);
|
|
857
918
|
else
|
|
858
919
|
return false;
|
|
859
920
|
})(); const _iu1 = input => (() => {
|
|
860
921
|
if (_io0(input))
|
|
861
922
|
return _io0(input);
|
|
862
|
-
if (
|
|
863
|
-
return
|
|
864
|
-
if (
|
|
865
|
-
return
|
|
866
|
-
if (
|
|
867
|
-
return
|
|
868
|
-
if (
|
|
869
|
-
return
|
|
923
|
+
if (_io25(input))
|
|
924
|
+
return _io25(input);
|
|
925
|
+
if (_io36(input))
|
|
926
|
+
return _io36(input);
|
|
927
|
+
if (_io26(input))
|
|
928
|
+
return _io26(input);
|
|
929
|
+
if (_io40(input))
|
|
930
|
+
return _io40(input);
|
|
870
931
|
return false;
|
|
871
932
|
})(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); })()(input);
|
|
872
933
|
}
|
|
@@ -881,21 +942,21 @@ function _isDomainRecord(domain, input) {
|
|
|
881
942
|
if (undefined === value)
|
|
882
943
|
return true;
|
|
883
944
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
884
|
-
}); 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 &&
|
|
945
|
+
}); 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 => {
|
|
885
946
|
const value = input[key];
|
|
886
947
|
if (undefined === value)
|
|
887
948
|
return true;
|
|
888
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
889
|
-
}); const
|
|
949
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
950
|
+
}); 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)) && (undefined === input.diarization || "boolean" === typeof input.diarization); 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 => {
|
|
890
951
|
const value = input[key];
|
|
891
952
|
if (undefined === value)
|
|
892
953
|
return true;
|
|
893
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
894
|
-
}); const
|
|
954
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io36(value);
|
|
955
|
+
}); 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 => (() => {
|
|
895
956
|
if (undefined !== input.path)
|
|
896
957
|
return _io8(input);
|
|
897
958
|
else if (undefined !== input.__context)
|
|
898
|
-
return
|
|
959
|
+
return _io30(input);
|
|
899
960
|
else
|
|
900
961
|
return false;
|
|
901
962
|
})(); const _iu1 = input => (() => {
|
|
@@ -924,7 +985,7 @@ function _isDomainRecord(domain, input) {
|
|
|
924
985
|
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);
|
|
925
986
|
}
|
|
926
987
|
case ":render.stats?": {
|
|
927
|
-
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 => {
|
|
988
|
+
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 => {
|
|
928
989
|
const value = input[key];
|
|
929
990
|
if (undefined === value)
|
|
930
991
|
return true;
|
|
@@ -939,30 +1000,23 @@ function _isDomainRecord(domain, input) {
|
|
|
939
1000
|
if (undefined === value)
|
|
940
1001
|
return true;
|
|
941
1002
|
return true;
|
|
942
|
-
}); 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);
|
|
1003
|
+
}); 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);
|
|
943
1004
|
}
|
|
944
1005
|
case ":render.query?": {
|
|
945
|
-
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 &&
|
|
1006
|
+
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 => {
|
|
946
1007
|
const value = input[key];
|
|
947
1008
|
if (undefined === value)
|
|
948
1009
|
return true;
|
|
949
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
950
|
-
}); const
|
|
1010
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
1011
|
+
}); 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)) && (undefined === input.diarization || "boolean" === typeof input.diarization); 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);
|
|
951
1012
|
}
|
|
952
1013
|
case ":render.result?": {
|
|
953
|
-
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) &&
|
|
954
|
-
if (["url", "result", "error"].some(prop => key === prop))
|
|
955
|
-
return true;
|
|
1014
|
+
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 => {
|
|
956
1015
|
const value = input[key];
|
|
957
1016
|
if (undefined === value)
|
|
958
1017
|
return true;
|
|
959
1018
|
return true;
|
|
960
|
-
}); const
|
|
961
|
-
const value = input[key];
|
|
962
|
-
if (undefined === value)
|
|
963
|
-
return true;
|
|
964
|
-
return true;
|
|
965
|
-
}); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1019
|
+
}); 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);
|
|
966
1020
|
}
|
|
967
1021
|
case ":render.schedulers?": {
|
|
968
1022
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
@@ -975,14 +1029,52 @@ function _isDomainRecord(domain, input) {
|
|
|
975
1029
|
case ":revs?": {
|
|
976
1030
|
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);
|
|
977
1031
|
}
|
|
1032
|
+
case ":role": {
|
|
1033
|
+
return (() => { const _io0 = input => undefined === input.permissions || "object" === typeof input.permissions && null !== input.permissions && false === Array.isArray(input.permissions) && _io1(input.permissions); const _io1 = input => Object.keys(input).every(key => {
|
|
1034
|
+
const value = input[key];
|
|
1035
|
+
if (undefined === value)
|
|
1036
|
+
return true;
|
|
1037
|
+
return Array.isArray(value) && value.every(elem => "string" === typeof elem);
|
|
1038
|
+
}); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1039
|
+
}
|
|
1040
|
+
case ":role.users?": {
|
|
1041
|
+
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);
|
|
1042
|
+
}
|
|
978
1043
|
case ":role.tags": {
|
|
979
1044
|
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);
|
|
980
1045
|
}
|
|
1046
|
+
case ":schema": {
|
|
1047
|
+
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 => {
|
|
1048
|
+
const value = input[key];
|
|
1049
|
+
if (undefined === value)
|
|
1050
|
+
return true;
|
|
1051
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
1052
|
+
}); 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 => {
|
|
1053
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
1054
|
+
return true;
|
|
1055
|
+
const value = input[key];
|
|
1056
|
+
if (undefined === value)
|
|
1057
|
+
return true;
|
|
1058
|
+
return true;
|
|
1059
|
+
}); const _io9 = input => Object.keys(input).every(key => {
|
|
1060
|
+
const value = input[key];
|
|
1061
|
+
if (undefined === value)
|
|
1062
|
+
return true;
|
|
1063
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
1064
|
+
}); 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 => (() => {
|
|
1065
|
+
if (undefined !== input.type)
|
|
1066
|
+
return _io12(input);
|
|
1067
|
+
else if (undefined !== input.property)
|
|
1068
|
+
return _io13(input);
|
|
1069
|
+
else
|
|
1070
|
+
return false;
|
|
1071
|
+
})(); 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);
|
|
1072
|
+
}
|
|
981
1073
|
case ":script": {
|
|
982
1074
|
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);
|
|
983
1075
|
}
|
|
984
1076
|
case ":script?": {
|
|
985
|
-
return (() => { const _io0 = input => "object" === typeof input.value && null !== input.value && _io1(input.value); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "
|
|
1077
|
+
return (() => { const _io0 = input => "object" === typeof input.value && null !== input.value && _io1(input.value); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
|
|
986
1078
|
const value = input[key];
|
|
987
1079
|
if (undefined === value)
|
|
988
1080
|
return true;
|
|
@@ -996,7 +1088,7 @@ function _isDomainRecord(domain, input) {
|
|
|
996
1088
|
return (() => { const _io0 = input => "string" === typeof input.$parent && "string" === typeof input.scriptId && "string" === typeof input.userId && "string" === typeof input.value; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
997
1089
|
}
|
|
998
1090
|
case ":script.revision?": {
|
|
999
|
-
return (() => { const _io0 = input => "string" === typeof input.$parent && "string" === typeof input.scriptId && "string" === typeof input.userId && ("object" === typeof input.value && null !== input.value && _io1(input.value)); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "
|
|
1091
|
+
return (() => { const _io0 = input => "string" === typeof input.$parent && "string" === typeof input.scriptId && "string" === typeof input.userId && ("object" === typeof input.value && null !== input.value && _io1(input.value)); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
|
|
1000
1092
|
const value = input[key];
|
|
1001
1093
|
if (undefined === value)
|
|
1002
1094
|
return true;
|
|
@@ -1060,84 +1152,51 @@ function _isDomainRecord(domain, input) {
|
|
|
1060
1152
|
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);
|
|
1061
1153
|
}
|
|
1062
1154
|
case ":settings": {
|
|
1063
|
-
return (() => { const
|
|
1155
|
+
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) && _io74(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io75(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) && _io80(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io81(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io82(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io85(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io88(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io89(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io90(input.bookmarks)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io91(input.shotbox)) && (undefined === input.performance || "object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) && _io92(input.performance)) && (undefined === input.app || "object" === typeof input.app && null !== input.app && false === Array.isArray(input.app) && _io93(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 => {
|
|
1064
1156
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
1065
1157
|
return true;
|
|
1066
1158
|
const value = input[key];
|
|
1067
1159
|
if (undefined === value)
|
|
1068
1160
|
return true;
|
|
1069
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1070
|
-
}); const
|
|
1071
|
-
const value = input[key];
|
|
1072
|
-
if (undefined === value)
|
|
1073
|
-
return true;
|
|
1074
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io24(value);
|
|
1075
|
-
}); 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 => {
|
|
1076
|
-
const value = input[key];
|
|
1077
|
-
if (undefined === value)
|
|
1078
|
-
return true;
|
|
1079
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io28(value);
|
|
1080
|
-
}); 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 => {
|
|
1081
|
-
const value = input[key];
|
|
1082
|
-
if (undefined === value)
|
|
1083
|
-
return true;
|
|
1084
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1085
|
-
}); 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 => {
|
|
1086
|
-
const value = input[key];
|
|
1087
|
-
if (undefined === value)
|
|
1088
|
-
return true;
|
|
1089
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1090
|
-
}); const _io35 = input => Object.keys(input).every(key => {
|
|
1091
|
-
const value = input[key];
|
|
1092
|
-
if (undefined === value)
|
|
1093
|
-
return true;
|
|
1094
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1095
|
-
}); const _io36 = input => Object.keys(input).every(key => {
|
|
1096
|
-
const value = input[key];
|
|
1097
|
-
if (undefined === value)
|
|
1098
|
-
return true;
|
|
1099
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1100
|
-
}); const _io37 = input => Object.keys(input).every(key => {
|
|
1101
|
-
const value = input[key];
|
|
1102
|
-
if (undefined === value)
|
|
1103
|
-
return true;
|
|
1104
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1105
|
-
}); const _io38 = input => Object.keys(input).every(key => {
|
|
1106
|
-
const value = input[key];
|
|
1107
|
-
if (undefined === value)
|
|
1108
|
-
return true;
|
|
1109
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
1110
|
-
}); const _io39 = input => Object.keys(input).every(key => {
|
|
1161
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io8(value);
|
|
1162
|
+
}); 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.contentMaxWidth || "number" === typeof input.contentMaxWidth) && (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 || "title" === input.sortBy || "index" === 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 => {
|
|
1111
1163
|
const value = input[key];
|
|
1112
1164
|
if (undefined === value)
|
|
1113
1165
|
return true;
|
|
1114
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1115
|
-
}); const
|
|
1166
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
1167
|
+
}); 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 => {
|
|
1116
1168
|
const value = input[key];
|
|
1117
1169
|
if (undefined === value)
|
|
1118
1170
|
return true;
|
|
1119
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1120
|
-
}); const
|
|
1171
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
1172
|
+
}); 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 => {
|
|
1121
1173
|
const value = input[key];
|
|
1122
1174
|
if (undefined === value)
|
|
1123
1175
|
return true;
|
|
1124
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1125
|
-
}); const
|
|
1176
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io34(value);
|
|
1177
|
+
}); const _io34 = input => Object.keys(input).every(key => {
|
|
1126
1178
|
const value = input[key];
|
|
1127
1179
|
if (undefined === value)
|
|
1128
1180
|
return true;
|
|
1129
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1130
|
-
}); const
|
|
1181
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io35(value);
|
|
1182
|
+
}); 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 => {
|
|
1131
1183
|
const value = input[key];
|
|
1132
1184
|
if (undefined === value)
|
|
1133
1185
|
return true;
|
|
1134
|
-
return
|
|
1135
|
-
}); 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) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); 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 => {
|
|
1186
|
+
return true;
|
|
1187
|
+
}); 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)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "id" === input.key || "title" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = 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.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (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) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = 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 _io81 = 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 _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = 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) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
|
|
1136
1188
|
const value = input[key];
|
|
1137
1189
|
if (undefined === value)
|
|
1138
1190
|
return true;
|
|
1139
1191
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
1140
|
-
}); const
|
|
1192
|
+
}); const _io85 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io86(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io87(input.duplicate)); const _io86 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io87 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io88 = 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 _io89 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io90 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io91 = input => undefined === input.layout || "string" === typeof input.layout; const _io92 = input => (undefined === input.ignoredWarnings || Array.isArray(input.ignoredWarnings) && input.ignoredWarnings.every(elem => "string" === typeof elem)) && (undefined === input.ignoredErrors || Array.isArray(input.ignoredErrors) && input.ignoredErrors.every(elem => "string" === typeof elem)); const _io93 = input => (undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate) && (undefined === input.autoUpdate || "boolean" === typeof input.autoUpdate); const _iu0 = input => (() => {
|
|
1193
|
+
if ("script" === input.type)
|
|
1194
|
+
return _io71(input);
|
|
1195
|
+
else if ("rundown" === input.type)
|
|
1196
|
+
return _io72(input);
|
|
1197
|
+
else
|
|
1198
|
+
return false;
|
|
1199
|
+
})(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1141
1200
|
}
|
|
1142
1201
|
case ":settings.node": {
|
|
1143
1202
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
@@ -1155,6 +1214,29 @@ function _isDomainRecord(domain, input) {
|
|
|
1155
1214
|
return _io2(input);
|
|
1156
1215
|
})(); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1157
1216
|
}
|
|
1217
|
+
case ":storage": {
|
|
1218
|
+
return (() => { const _io0 = input => "string" === typeof input.zone && (null === input.hostname || "string" === typeof input.hostname) && (null === input.port || undefined === input.port || "number" === typeof input.port) && (undefined === input.location || "string" === typeof input.location) && (null === input.cache || undefined === input.cache || "boolean" === typeof input.cache) && (undefined === input.allows || Array.isArray(input.allows) && input.allows.every(elem => "string" === typeof elem)) && (null === input.capacity || undefined === input.capacity || "number" === typeof input.capacity) && (null === input.rxBytesSecMax || undefined === input.rxBytesSecMax || "number" === typeof input.rxBytesSecMax) && (null === input.txBytesSecMax || undefined === input.txBytesSecMax || "number" === typeof input.txBytesSecMax) && (null === input.rxBytesSecLimit || undefined === input.rxBytesSecLimit || "number" === typeof input.rxBytesSecLimit) && (null === input.txBytesSecLimit || undefined === input.txBytesSecLimit || "number" === typeof input.txBytesSecLimit); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
1219
|
+
}
|
|
1220
|
+
case ":storage.stats": {
|
|
1221
|
+
return (() => { const _io0 = input => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && "string" === typeof input.origin && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && ("object" === typeof input.limiter && null !== input.limiter && false === Array.isArray(input.limiter) && _io1(input.limiter)) && ("object" === typeof input.http && null !== input.http && _io2(input.http)) && ("object" === typeof input.io && null !== input.io && _io3(input.io)) && (undefined === input.fs || "object" === typeof input.fs && null !== input.fs && false === Array.isArray(input.fs) && _io7(input.fs)) && (undefined === input.s3 || "object" === typeof input.s3 && null !== input.s3 && false === Array.isArray(input.s3) && _io8(input.s3)); const _io1 = input => (undefined === input.readBytesPerSecond || "number" === typeof input.readBytesPerSecond) && (undefined === input.writeBytesPerSecond || "number" === typeof input.writeBytesPerSecond); const _io2 = input => "number" === typeof input.downstreamConnected && "number" === typeof input.upstreamConnected && "number" === typeof input.pending && "number" === typeof input.completed && "number" === typeof input.failed; const _io3 = input => "object" === typeof input.read && null !== input.read && _io4(input.read) && ("object" === typeof input.write && null !== input.write && _io6(input.write)); const _io4 = input => "number" === typeof input.bytesPerSecond && "number" === typeof input.pending && ("object" === typeof input.queues && null !== input.queues && _io5(input.queues)); const _io5 = input => "number" === typeof input.highest && "number" === typeof input.higher && "number" === typeof input.high && "number" === typeof input.normal && "number" === typeof input.low && "number" === typeof input.lower && "number" === typeof input.lowest; const _io6 = input => "number" === typeof input.bytesPerSecond && "number" === typeof input.pending && ("object" === typeof input.queues && null !== input.queues && _io5(input.queues)); const _io7 = input => (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.path || "string" === typeof input.path) && (null === input.snapshot || undefined === input.snapshot || "number" === typeof input.snapshot) && (undefined === input.available || "number" === typeof input.available) && (undefined === input.free || "number" === typeof input.free) && (undefined === input.used || "number" === typeof input.used) && (undefined === input.size || "number" === typeof input.size) && (undefined === input.state || "string" === typeof input.state) && Object.keys(input).every(key => {
|
|
1222
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
1223
|
+
return true;
|
|
1224
|
+
const value = input[key];
|
|
1225
|
+
if (undefined === value)
|
|
1226
|
+
return true;
|
|
1227
|
+
return true;
|
|
1228
|
+
}); const _io8 = input => (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.region || "string" === typeof input.region) && (undefined === input.endpoint || "string" === typeof input.endpoint) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.storageClass || "string" === typeof input.storageClass) && Object.keys(input).every(key => {
|
|
1229
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
1230
|
+
return true;
|
|
1231
|
+
const value = input[key];
|
|
1232
|
+
if (undefined === value)
|
|
1233
|
+
return true;
|
|
1234
|
+
return true;
|
|
1235
|
+
}); return input => "object" === typeof input && null !== input && _io0(input); })()(input);
|
|
1236
|
+
}
|
|
1237
|
+
case ":storage-zone": {
|
|
1238
|
+
return (() => { const _io0 = input => undefined === input.priority || "number" === typeof input.priority; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1239
|
+
}
|
|
1158
1240
|
case ":storyboard": {
|
|
1159
1241
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
1160
1242
|
const value = input[key];
|
|
@@ -1172,6 +1254,28 @@ function _isDomainRecord(domain, input) {
|
|
|
1172
1254
|
case ":storyboard.ancestors?": {
|
|
1173
1255
|
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);
|
|
1174
1256
|
}
|
|
1257
|
+
case ":stream": {
|
|
1258
|
+
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);
|
|
1259
|
+
}
|
|
1260
|
+
case ":stream.stats?": {
|
|
1261
|
+
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);
|
|
1262
|
+
}
|
|
1263
|
+
case ":stream.ingest": {
|
|
1264
|
+
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 => {
|
|
1265
|
+
const value = input[key];
|
|
1266
|
+
if (undefined === value)
|
|
1267
|
+
return true;
|
|
1268
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
1269
|
+
}); const _io3 = input => Object.keys(input).every(key => {
|
|
1270
|
+
const value = input[key];
|
|
1271
|
+
if (undefined === value)
|
|
1272
|
+
return true;
|
|
1273
|
+
return true;
|
|
1274
|
+
}); 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);
|
|
1275
|
+
}
|
|
1276
|
+
case ":stream.ingest.stats?": {
|
|
1277
|
+
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);
|
|
1278
|
+
}
|
|
1175
1279
|
case ":subtitle-style": {
|
|
1176
1280
|
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);
|
|
1177
1281
|
}
|
|
@@ -1179,12 +1283,17 @@ function _isDomainRecord(domain, input) {
|
|
|
1179
1283
|
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);
|
|
1180
1284
|
}
|
|
1181
1285
|
case ":template": {
|
|
1182
|
-
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 => {
|
|
1286
|
+
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 => {
|
|
1183
1287
|
const value = input[key];
|
|
1184
1288
|
if (undefined === value)
|
|
1185
1289
|
return true;
|
|
1186
1290
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
1187
|
-
}); const _io2 = input => undefined === input.path || "string" === typeof input.path
|
|
1291
|
+
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io3(input.widget)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io5(input.items)) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io9(input.render)); const _io3 = input => "string" === typeof input.type; const _io4 = input => true; const _io5 = input => undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties); const _io6 = input => Object.keys(input).every(key => {
|
|
1292
|
+
const value = input[key];
|
|
1293
|
+
if (undefined === value)
|
|
1294
|
+
return true;
|
|
1295
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
1296
|
+
}); const _io7 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io8(input.widget)) && (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) && _io6(input.properties)); const _io8 = input => "string" === typeof input.type; const _io9 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io10(input.profile)); const _io10 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io11(input.video)); const _io11 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
|
|
1188
1297
|
}
|
|
1189
1298
|
case ":_user-notification-status": {
|
|
1190
1299
|
return (() => { const _io0 = input => (undefined === input.assignee || "object" === typeof input.assignee && null !== input.assignee && false === Array.isArray(input.assignee) && _io1(input.assignee)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io2(input.published)) && (undefined === input.comment || "object" === typeof input.comment && null !== input.comment && false === Array.isArray(input.comment) && _io3(input.comment)); const _io1 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _io2 = input => undefined === input.value || true === input.value; const _io3 = input => null !== input.value && (undefined === input.value || true === 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);
|