@nxtedition/types 23.1.7 → 23.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/render-scene.d.ts +2 -0
- package/dist/common/settings.d.ts +3 -1
- package/dist/nxtpression.d.ts +16 -1
- package/dist/records/domains/file.d.ts +7 -0
- package/dist/records/domains/publish/report.js +12 -2
- package/dist/records/domains/render.d.ts +3 -0
- package/dist/records/validate/assert-guard.js +118 -10
- package/dist/records/validate/assert.js +119 -10
- package/dist/records/validate/is.js +11 -8
- package/dist/records/validate/schemas.js +112 -1
- package/dist/records/validate/stringify.js +17 -14
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +174 -26
- package/dist/records/validate/validate.js +112 -10
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const _exactRecordNames = new Set(["asset.assignees", "asset.clone", "asset.deadlines", "asset.duration", "asset.dynamicProperties?", "asset.embedding", "asset.icon", "asset.locations", "asset.media", "asset.tags", "asset.title", "asset.types", "asset.http", "storage.locations?", "storage.zones?", "nxt.status?", "media.subtitles", "media.subtitles?", "media.transcribe", "media.transcribe?", "media.fonts?", "media.consolidate", "asset-daemon", "asset-daemon:user-notify.state", "asset-daemon:validate.state", "deepstream-replicator.stats?"]);
|
|
2
|
-
const _domainNames = new Set([":asset.title?", ":asset.rawTypes?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":asset.record?", ":auth", ":bundle", ":bundle.revisions", ":calendarevent", ":clone", ":comment-reaction", ":comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":condition", ":connection", ":connection.methods?", ":connection.stats?", ":contact", ":deepstream.replicate", ":design?", ":device", ":device.status?", ":edit", ":event", ":event._template?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.children?", ":event.props?", ":event.stats?", ":event.readDuration?", ":event.readRate?", ":file.replicate", ":file.restrictions", ":file.stats?", ":folder.items", ":gallery", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":general._asset", ":general._embedding", ":harvest", ":ingestclip", ":ingestschedule", ":ingestschedule.stats?", ":media.source", ":media.consolidate", ":media.consolidate?", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":media.revisions", ":monitor.stats?", ":note", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":prompter", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role", ":role.users?", ":role.tags", ":schema", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search", ":search?", ":search.conditions", ":search.visibleColumnKeys", ":settings", ":settings.node", ":shotbox", ":storage", ":storage.stats", ":storage-zone", ":storyboard", ":storyboard.pipelines", ":storyboard.descendants?", ":storyboard.ancestors?", ":stream", ":stream.stats?", ":stream.ingest", ":stream.ingest.stats?", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?", ":username?"]);
|
|
2
|
+
const _domainNames = new Set([":asset.title?", ":asset.rawTypes?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":asset.presence?", ":asset.comments?", ":asset.record?", ":auth", ":bundle", ":bundle.revisions", ":calendarevent", ":clone", ":comment-reaction", ":comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":condition", ":connection", ":connection.methods?", ":connection.stats?", ":contact", ":deepstream.replicate", ":design?", ":device", ":device.status?", ":edit", ":event", ":event._template?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.children?", ":event.props?", ":event.stats?", ":event.readDuration?", ":event.readRate?", ":file.replicate", ":file.restrictions", ":file.stats?", ":file.methods?", ":folder.items", ":gallery", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":general._asset", ":general._embedding", ":harvest", ":ingestclip", ":ingestschedule", ":ingestschedule.stats?", ":media.source", ":media.consolidate", ":media.consolidate?", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":media.revisions", ":monitor.stats?", ":note", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":prompter", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role", ":role.users?", ":role.tags", ":schema", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search", ":search?", ":search.conditions", ":search.visibleColumnKeys", ":settings", ":settings.node", ":shotbox", ":storage", ":storage.stats", ":storage-zone", ":storyboard", ":storyboard.pipelines", ":storyboard.descendants?", ":storyboard.ancestors?", ":stream", ":stream.stats?", ":stream.ingest", ":stream.ingest.stats?", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?", ":username?"]);
|
|
3
3
|
export const exactRecordNames = _exactRecordNames;
|
|
4
4
|
export const domainNames = _domainNames;
|
|
5
5
|
export function isEmptyRecord(data) {
|
|
@@ -15372,6 +15372,94 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
15372
15372
|
};
|
|
15373
15373
|
}; })()(input);
|
|
15374
15374
|
}
|
|
15375
|
+
case ":file.methods?": {
|
|
15376
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.stop || "object" === typeof input.stop && null !== input.stop && _io1(input.stop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15377
|
+
if (["stop"].some(prop => key === prop))
|
|
15378
|
+
return true;
|
|
15379
|
+
const value = input[key];
|
|
15380
|
+
if (undefined === value)
|
|
15381
|
+
return true;
|
|
15382
|
+
return false;
|
|
15383
|
+
})); const _io1 = (input, _exceptionable = true) => "string" === typeof input.rpcId && true && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15384
|
+
if (["rpcId", "rpcData"].some(prop => key === prop))
|
|
15385
|
+
return true;
|
|
15386
|
+
const value = input[key];
|
|
15387
|
+
if (undefined === value)
|
|
15388
|
+
return true;
|
|
15389
|
+
return false;
|
|
15390
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.stop || ("object" === typeof input.stop && null !== input.stop || _report(_exceptionable, {
|
|
15391
|
+
path: _path + ".stop",
|
|
15392
|
+
expected: "(__type | undefined)",
|
|
15393
|
+
value: input.stop
|
|
15394
|
+
})) && _vo1(input.stop, _path + ".stop", true && _exceptionable) || _report(_exceptionable, {
|
|
15395
|
+
path: _path + ".stop",
|
|
15396
|
+
expected: "(__type | undefined)",
|
|
15397
|
+
value: input.stop
|
|
15398
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15399
|
+
if (["stop"].some(prop => key === prop))
|
|
15400
|
+
return true;
|
|
15401
|
+
const value = input[key];
|
|
15402
|
+
if (undefined === value)
|
|
15403
|
+
return true;
|
|
15404
|
+
return _report(_exceptionable, {
|
|
15405
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15406
|
+
expected: "undefined",
|
|
15407
|
+
value: value,
|
|
15408
|
+
description: [
|
|
15409
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15410
|
+
"",
|
|
15411
|
+
"Please remove the property next time."
|
|
15412
|
+
].join("\n")
|
|
15413
|
+
});
|
|
15414
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.rpcId || _report(_exceptionable, {
|
|
15415
|
+
path: _path + ".rpcId",
|
|
15416
|
+
expected: "string",
|
|
15417
|
+
value: input.rpcId
|
|
15418
|
+
}), true, 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
15419
|
+
if (["rpcId", "rpcData"].some(prop => key === prop))
|
|
15420
|
+
return true;
|
|
15421
|
+
const value = input[key];
|
|
15422
|
+
if (undefined === value)
|
|
15423
|
+
return true;
|
|
15424
|
+
return _report(_exceptionable, {
|
|
15425
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15426
|
+
expected: "undefined",
|
|
15427
|
+
value: value,
|
|
15428
|
+
description: [
|
|
15429
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
15430
|
+
"",
|
|
15431
|
+
"Please remove the property next time."
|
|
15432
|
+
].join("\n")
|
|
15433
|
+
});
|
|
15434
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
15435
|
+
if (false === __is(input)) {
|
|
15436
|
+
errors = [];
|
|
15437
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
15438
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
15439
|
+
path: _path + "",
|
|
15440
|
+
expected: "FileDomainMethodsRecord",
|
|
15441
|
+
value: input
|
|
15442
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
15443
|
+
path: _path + "",
|
|
15444
|
+
expected: "FileDomainMethodsRecord",
|
|
15445
|
+
value: input
|
|
15446
|
+
}))(input, "$input", true);
|
|
15447
|
+
const success = 0 === errors.length;
|
|
15448
|
+
return success ? {
|
|
15449
|
+
success,
|
|
15450
|
+
data: input
|
|
15451
|
+
} : {
|
|
15452
|
+
success,
|
|
15453
|
+
errors,
|
|
15454
|
+
data: input
|
|
15455
|
+
};
|
|
15456
|
+
}
|
|
15457
|
+
return {
|
|
15458
|
+
success: true,
|
|
15459
|
+
data: input
|
|
15460
|
+
};
|
|
15461
|
+
}; })()(input);
|
|
15462
|
+
}
|
|
15375
15463
|
case ":folder.items": {
|
|
15376
15464
|
return (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.value) && input.value.every((elem, _index1) => "string" === typeof elem) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
15377
15465
|
if (["value"].some(prop => key === prop))
|
|
@@ -16641,8 +16729,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16641
16729
|
if (undefined === value)
|
|
16642
16730
|
return true;
|
|
16643
16731
|
return false;
|
|
16644
|
-
})); const _io1 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16645
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
16732
|
+
})); const _io1 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16733
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
16646
16734
|
return true;
|
|
16647
16735
|
const value = input[key];
|
|
16648
16736
|
if (undefined === value)
|
|
@@ -16885,8 +16973,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16885
16973
|
path: _path + ".manifest",
|
|
16886
16974
|
expected: "(null | string | undefined)",
|
|
16887
16975
|
value: input.manifest
|
|
16976
|
+
}), undefined === input.timecode || "number" === typeof input.timecode || _report(_exceptionable, {
|
|
16977
|
+
path: _path + ".timecode",
|
|
16978
|
+
expected: "(number | undefined)",
|
|
16979
|
+
value: input.timecode
|
|
16980
|
+
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
16981
|
+
path: _path + ".timezone",
|
|
16982
|
+
expected: "(string | undefined)",
|
|
16983
|
+
value: input.timezone
|
|
16888
16984
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16889
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
16985
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
16890
16986
|
return true;
|
|
16891
16987
|
const value = input[key];
|
|
16892
16988
|
if (undefined === value)
|
|
@@ -18809,8 +18905,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
18809
18905
|
if (undefined === value)
|
|
18810
18906
|
return true;
|
|
18811
18907
|
return false;
|
|
18812
|
-
})); const _io2 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18813
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
18908
|
+
})); const _io2 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
18909
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
18814
18910
|
return true;
|
|
18815
18911
|
const value = input[key];
|
|
18816
18912
|
if (undefined === value)
|
|
@@ -19066,8 +19162,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
19066
19162
|
path: _path + ".manifest",
|
|
19067
19163
|
expected: "(null | string | undefined)",
|
|
19068
19164
|
value: input.manifest
|
|
19165
|
+
}), undefined === input.timecode || "number" === typeof input.timecode || _report(_exceptionable, {
|
|
19166
|
+
path: _path + ".timecode",
|
|
19167
|
+
expected: "(number | undefined)",
|
|
19168
|
+
value: input.timecode
|
|
19169
|
+
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
19170
|
+
path: _path + ".timezone",
|
|
19171
|
+
expected: "(string | undefined)",
|
|
19172
|
+
value: input.timezone
|
|
19069
19173
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
19070
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
19174
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
19071
19175
|
return true;
|
|
19072
19176
|
const value = input[key];
|
|
19073
19177
|
if (undefined === value)
|
|
@@ -22895,8 +22999,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22895
22999
|
if (undefined === value)
|
|
22896
23000
|
return true;
|
|
22897
23001
|
return false;
|
|
22898
|
-
})); const _io3 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
22899
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
23002
|
+
})); const _io3 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
23003
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
22900
23004
|
return true;
|
|
22901
23005
|
const value = input[key];
|
|
22902
23006
|
if (undefined === value)
|
|
@@ -23540,8 +23644,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23540
23644
|
path: _path + ".manifest",
|
|
23541
23645
|
expected: "(null | string | undefined)",
|
|
23542
23646
|
value: input.manifest
|
|
23647
|
+
}), undefined === input.timecode || "number" === typeof input.timecode || _report(_exceptionable, {
|
|
23648
|
+
path: _path + ".timecode",
|
|
23649
|
+
expected: "(number | undefined)",
|
|
23650
|
+
value: input.timecode
|
|
23651
|
+
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
23652
|
+
path: _path + ".timezone",
|
|
23653
|
+
expected: "(string | undefined)",
|
|
23654
|
+
value: input.timezone
|
|
23543
23655
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
23544
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
23656
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
23545
23657
|
return true;
|
|
23546
23658
|
const value = input[key];
|
|
23547
23659
|
if (undefined === value)
|
|
@@ -25723,8 +25835,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25723
25835
|
if (undefined === value)
|
|
25724
25836
|
return true;
|
|
25725
25837
|
return false;
|
|
25726
|
-
})); const _io10 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
25727
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
25838
|
+
})); const _io10 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
25839
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
25728
25840
|
return true;
|
|
25729
25841
|
const value = input[key];
|
|
25730
25842
|
if (undefined === value)
|
|
@@ -26419,8 +26531,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26419
26531
|
path: _path + ".manifest",
|
|
26420
26532
|
expected: "(null | string | undefined)",
|
|
26421
26533
|
value: input.manifest
|
|
26534
|
+
}), undefined === input.timecode || "number" === typeof input.timecode || _report(_exceptionable, {
|
|
26535
|
+
path: _path + ".timecode",
|
|
26536
|
+
expected: "(number | undefined)",
|
|
26537
|
+
value: input.timecode
|
|
26538
|
+
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
26539
|
+
path: _path + ".timezone",
|
|
26540
|
+
expected: "(string | undefined)",
|
|
26541
|
+
value: input.timezone
|
|
26422
26542
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
26423
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
26543
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
26424
26544
|
return true;
|
|
26425
26545
|
const value = input[key];
|
|
26426
26546
|
if (undefined === value)
|
|
@@ -28261,8 +28381,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28261
28381
|
}; })()(input);
|
|
28262
28382
|
}
|
|
28263
28383
|
case ":render.stats?": {
|
|
28264
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every((elem, _index1) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every((elem, _index2) => "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, true && _exceptionable)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && _io3(input.cpuStat, true && _exceptionable)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && _io8(input.netStat, true && _exceptionable)) && true && (undefined === input.taskset || "string" === typeof input.taskset) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
28265
|
-
if (["progress", "error", "status", "lag", "available", "toobusy", "cpuAvailable", "cpuComputeAvailable", "cpuComputeReservation", "cpuCompute", "cpuComputeLimit", "cpuComputeTotal", "cpuComputeValue", "cpuMemoryAvailable", "cpuMemoryReservation", "cpuMemory", "cpuMemoryLimit", "cpuMemoryValue", "cpuMemoryTotal", "gpuType", "gpuAvailable", "gpuComputeAvailable", "gpuComputeReservation", "gpuCompute", "gpuComputeLimit", "gpuComputeValue", "gpuComputeTotal", "gpuMemoryAvailable", "gpuMemoryReservation", "gpuMemory", "gpuMemoryLimit", "gpuMemoryValue", "gpuMemoryTotal", "gpuQueueAvailable", "gpuQueueReservation", "gpuQueueLimit", "gpuQueueValue", "gpuQueueTotal", "gpuEncoder", "gpuEncoderLimit", "gpuEncoderValue", "gpuEncoderTotal", "gpuDecoder", "gpuDecoderLimit", "gpuDecoderValue", "gpuDecoderTotal", "netAvailable", "netTransferAvailable", "netTransferReservation", "netTransfer", "netTransferLimit", "netTransferValue", "netTransferTotal", "cpu", "memory", "activeCount", "totalCount", "gpuStat", "cpuStat", "netStat", "limits", "taskset", "end"].some(prop => key === prop))
|
|
28384
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every((elem, _index1) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every((elem, _index2) => "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, true && _exceptionable)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && _io3(input.cpuStat, true && _exceptionable)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && _io8(input.netStat, true && _exceptionable)) && true && (undefined === input.taskset || "string" === typeof input.taskset) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
28385
|
+
if (["progress", "error", "status", "lag", "available", "toobusy", "cpuAvailable", "cpuComputeAvailable", "cpuComputeReservation", "cpuCompute", "cpuComputeLimit", "cpuComputeTotal", "cpuComputeValue", "cpuMemoryAvailable", "cpuMemoryReservation", "cpuMemory", "cpuMemoryLimit", "cpuMemoryValue", "cpuMemoryTotal", "gpuType", "gpuAvailable", "gpuComputeAvailable", "gpuComputeReservation", "gpuCompute", "gpuComputeLimit", "gpuComputeValue", "gpuComputeTotal", "gpuMemoryAvailable", "gpuMemoryReservation", "gpuMemory", "gpuMemoryLimit", "gpuMemoryValue", "gpuMemoryTotal", "gpuQueueAvailable", "gpuQueueReservation", "gpuQueueLimit", "gpuQueueValue", "gpuQueueTotal", "gpuEncoder", "gpuEncoderLimit", "gpuEncoderValue", "gpuEncoderTotal", "gpuDecoder", "gpuDecoderLimit", "gpuDecoderValue", "gpuDecoderTotal", "netAvailable", "netTransferAvailable", "netTransferReservation", "netTransfer", "netTransferLimit", "netTransferValue", "netTransferTotal", "cpu", "memory", "activeCount", "totalCount", "gpuStat", "cpuStat", "netStat", "limits", "taskset", "end", "duration"].some(prop => key === prop))
|
|
28266
28386
|
return true;
|
|
28267
28387
|
const value = input[key];
|
|
28268
28388
|
if (undefined === value)
|
|
@@ -28605,8 +28725,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28605
28725
|
path: _path + ".end",
|
|
28606
28726
|
expected: "(null | number | undefined)",
|
|
28607
28727
|
value: input.end
|
|
28728
|
+
}), null === input.duration || undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
|
|
28729
|
+
path: _path + ".duration",
|
|
28730
|
+
expected: "(null | number | undefined)",
|
|
28731
|
+
value: input.duration
|
|
28608
28732
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28609
|
-
if (["progress", "error", "status", "lag", "available", "toobusy", "cpuAvailable", "cpuComputeAvailable", "cpuComputeReservation", "cpuCompute", "cpuComputeLimit", "cpuComputeTotal", "cpuComputeValue", "cpuMemoryAvailable", "cpuMemoryReservation", "cpuMemory", "cpuMemoryLimit", "cpuMemoryValue", "cpuMemoryTotal", "gpuType", "gpuAvailable", "gpuComputeAvailable", "gpuComputeReservation", "gpuCompute", "gpuComputeLimit", "gpuComputeValue", "gpuComputeTotal", "gpuMemoryAvailable", "gpuMemoryReservation", "gpuMemory", "gpuMemoryLimit", "gpuMemoryValue", "gpuMemoryTotal", "gpuQueueAvailable", "gpuQueueReservation", "gpuQueueLimit", "gpuQueueValue", "gpuQueueTotal", "gpuEncoder", "gpuEncoderLimit", "gpuEncoderValue", "gpuEncoderTotal", "gpuDecoder", "gpuDecoderLimit", "gpuDecoderValue", "gpuDecoderTotal", "netAvailable", "netTransferAvailable", "netTransferReservation", "netTransfer", "netTransferLimit", "netTransferValue", "netTransferTotal", "cpu", "memory", "activeCount", "totalCount", "gpuStat", "cpuStat", "netStat", "limits", "taskset", "end"].some(prop => key === prop))
|
|
28733
|
+
if (["progress", "error", "status", "lag", "available", "toobusy", "cpuAvailable", "cpuComputeAvailable", "cpuComputeReservation", "cpuCompute", "cpuComputeLimit", "cpuComputeTotal", "cpuComputeValue", "cpuMemoryAvailable", "cpuMemoryReservation", "cpuMemory", "cpuMemoryLimit", "cpuMemoryValue", "cpuMemoryTotal", "gpuType", "gpuAvailable", "gpuComputeAvailable", "gpuComputeReservation", "gpuCompute", "gpuComputeLimit", "gpuComputeValue", "gpuComputeTotal", "gpuMemoryAvailable", "gpuMemoryReservation", "gpuMemory", "gpuMemoryLimit", "gpuMemoryValue", "gpuMemoryTotal", "gpuQueueAvailable", "gpuQueueReservation", "gpuQueueLimit", "gpuQueueValue", "gpuQueueTotal", "gpuEncoder", "gpuEncoderLimit", "gpuEncoderValue", "gpuEncoderTotal", "gpuDecoder", "gpuDecoderLimit", "gpuDecoderValue", "gpuDecoderTotal", "netAvailable", "netTransferAvailable", "netTransferReservation", "netTransfer", "netTransferLimit", "netTransferValue", "netTransferTotal", "cpu", "memory", "activeCount", "totalCount", "gpuStat", "cpuStat", "netStat", "limits", "taskset", "end", "duration"].some(prop => key === prop))
|
|
28610
28734
|
return true;
|
|
28611
28735
|
const value = input[key];
|
|
28612
28736
|
if (undefined === value)
|
|
@@ -28855,8 +28979,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28855
28979
|
if (undefined === value)
|
|
28856
28980
|
return true;
|
|
28857
28981
|
return false;
|
|
28858
|
-
})); const _io3 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
28859
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
28982
|
+
})); const _io3 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
28983
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
28860
28984
|
return true;
|
|
28861
28985
|
const value = input[key];
|
|
28862
28986
|
if (undefined === value)
|
|
@@ -29216,8 +29340,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29216
29340
|
path: _path + ".manifest",
|
|
29217
29341
|
expected: "(null | string | undefined)",
|
|
29218
29342
|
value: input.manifest
|
|
29343
|
+
}), undefined === input.timecode || "number" === typeof input.timecode || _report(_exceptionable, {
|
|
29344
|
+
path: _path + ".timecode",
|
|
29345
|
+
expected: "(number | undefined)",
|
|
29346
|
+
value: input.timecode
|
|
29347
|
+
}), undefined === input.timezone || "string" === typeof input.timezone || _report(_exceptionable, {
|
|
29348
|
+
path: _path + ".timezone",
|
|
29349
|
+
expected: "(string | undefined)",
|
|
29350
|
+
value: input.timezone
|
|
29219
29351
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
29220
|
-
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest"].some(prop => key === prop))
|
|
29352
|
+
if (["type", "file", "video", "proxy", "proxyManifest", "proxyFile", "manifest", "timecode", "timezone"].some(prop => key === prop))
|
|
29221
29353
|
return true;
|
|
29222
29354
|
const value = input[key];
|
|
29223
29355
|
if (undefined === value)
|
|
@@ -29999,8 +30131,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29999
30131
|
}; })()(input);
|
|
30000
30132
|
}
|
|
30001
30133
|
case ":render.result?": {
|
|
30002
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (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, _index1) => "string" === typeof elem)) && (undefined === input.refs || Array.isArray(input.refs) && input.refs.every((elem, _index2) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && true && (null === input.error || undefined === input.error || (Array.isArray(input.error) && input.error.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem, true && _exceptionable)) || "object" === typeof input.error && null !== input.error && false === Array.isArray(input.error) && _io2(input.error, true && _exceptionable))) && (undefined === input.extension || "string" === typeof input.extension) && (undefined === input.extensions || Array.isArray(input.extensions) && input.extensions.every((elem, _index4) => "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, true && _exceptionable)) && (null === input.audio || undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(input.audio, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index5) => "number" === typeof elem)) && (null === input.translate || undefined === input.translate || "object" === typeof input.translate && null !== input.translate && false === Array.isArray(input.translate) && _io6(input.translate, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
30003
|
-
if (["id", "url", "files", "refs", "result", "error", "extension", "extensions", "type", "format", "formatName", "mimeType", "duration", "estimatedDuration", "video", "audio", "language", "transcribe", "pan", "translate"].some(prop => key === prop))
|
|
30134
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (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, _index1) => "string" === typeof elem)) && (undefined === input.refs || Array.isArray(input.refs) && input.refs.every((elem, _index2) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && (null === input.timecode || undefined === input.timecode || "number" === typeof input.timecode) && (null === input.live || undefined === input.live || "boolean" === typeof input.live) && true && (null === input.error || undefined === input.error || (Array.isArray(input.error) && input.error.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem, true && _exceptionable)) || "object" === typeof input.error && null !== input.error && false === Array.isArray(input.error) && _io2(input.error, true && _exceptionable))) && (undefined === input.extension || "string" === typeof input.extension) && (undefined === input.extensions || Array.isArray(input.extensions) && input.extensions.every((elem, _index4) => "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, true && _exceptionable)) && (null === input.audio || undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(input.audio, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index5) => "number" === typeof elem)) && (null === input.translate || undefined === input.translate || "object" === typeof input.translate && null !== input.translate && false === Array.isArray(input.translate) && _io6(input.translate, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
30135
|
+
if (["id", "url", "files", "refs", "timecode", "live", "result", "error", "extension", "extensions", "type", "format", "formatName", "mimeType", "duration", "estimatedDuration", "video", "audio", "language", "transcribe", "pan", "translate"].some(prop => key === prop))
|
|
30004
30136
|
return true;
|
|
30005
30137
|
const value = input[key];
|
|
30006
30138
|
if (undefined === value)
|
|
@@ -30082,6 +30214,14 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30082
30214
|
path: _path + ".refs",
|
|
30083
30215
|
expected: "(Array<__type> | undefined)",
|
|
30084
30216
|
value: input.refs
|
|
30217
|
+
}), null === input.timecode || undefined === input.timecode || "number" === typeof input.timecode || _report(_exceptionable, {
|
|
30218
|
+
path: _path + ".timecode",
|
|
30219
|
+
expected: "(null | number | undefined)",
|
|
30220
|
+
value: input.timecode
|
|
30221
|
+
}), null === input.live || undefined === input.live || "boolean" === typeof input.live || _report(_exceptionable, {
|
|
30222
|
+
path: _path + ".live",
|
|
30223
|
+
expected: "(boolean | null | undefined)",
|
|
30224
|
+
value: input.live
|
|
30085
30225
|
}), true, null === input.error || undefined === input.error || (Array.isArray(input.error) && input.error.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
30086
30226
|
path: _path + ".error[" + _index8 + "]",
|
|
30087
30227
|
expected: "Record<string, unknown>",
|
|
@@ -30187,7 +30327,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30187
30327
|
expected: "(__type.o4 | null | undefined)",
|
|
30188
30328
|
value: input.translate
|
|
30189
30329
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
30190
|
-
if (["id", "url", "files", "refs", "result", "error", "extension", "extensions", "type", "format", "formatName", "mimeType", "duration", "estimatedDuration", "video", "audio", "language", "transcribe", "pan", "translate"].some(prop => key === prop))
|
|
30330
|
+
if (["id", "url", "files", "refs", "timecode", "live", "result", "error", "extension", "extensions", "type", "format", "formatName", "mimeType", "duration", "estimatedDuration", "video", "audio", "language", "transcribe", "pan", "translate"].some(prop => key === prop))
|
|
30191
30331
|
return true;
|
|
30192
30332
|
const value = input[key];
|
|
30193
30333
|
if (undefined === value)
|
|
@@ -34121,8 +34261,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
34121
34261
|
if (undefined === value)
|
|
34122
34262
|
return true;
|
|
34123
34263
|
return true;
|
|
34124
|
-
}); const _io37 = (input, _exceptionable = true) => (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, _index23) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem, true && _exceptionable))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.
|
|
34125
|
-
if (["volume", "muted", "graphics", "waveform", "defaultFrameRate", "dropFrame", "placeholder", "warnSubclipDuration", "displayAspectRatioPresets", "guide", "stepManyFrames", "liveZoomDuration", "importTitleTemplate", "tile", "timecodeReference", "maxSubclipDuration", "rewindStep", "forwardStep", "interlacedPlayback", "playbackRates", "subtitles", "subtitleTemplateId", "initialVolume", "guides", "download", "editMode", "transcribe", "openCommand", "recorder"].some(prop => key === prop))
|
|
34264
|
+
}); const _io37 = (input, _exceptionable = true) => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (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, _index23) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem, true && _exceptionable))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === 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, _index24) => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles, true && _exceptionable)) && (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, _index25) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem, true && _exceptionable))) && (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, true && _exceptionable)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe, true && _exceptionable)) && (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, true && _exceptionable))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
34265
|
+
if (["volume", "muted", "graphics", "subtitle", "waveform", "defaultFrameRate", "dropFrame", "placeholder", "warnSubclipDuration", "displayAspectRatioPresets", "guide", "stepManyFrames", "liveZoomDuration", "importTitleTemplate", "tile", "showTimeCode", "timecodeReference", "maxSubclipDuration", "rewindStep", "forwardStep", "interlacedPlayback", "playbackRates", "subtitles", "subtitleTemplateId", "initialVolume", "guides", "download", "editMode", "transcribe", "openCommand", "recorder"].some(prop => key === prop))
|
|
34126
34266
|
return true;
|
|
34127
34267
|
const value = input[key];
|
|
34128
34268
|
if (undefined === value)
|
|
@@ -36019,6 +36159,10 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
36019
36159
|
path: _path + ".graphics",
|
|
36020
36160
|
expected: "(boolean | undefined)",
|
|
36021
36161
|
value: input.graphics
|
|
36162
|
+
}), null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle || _report(_exceptionable, {
|
|
36163
|
+
path: _path + ".subtitle",
|
|
36164
|
+
expected: "(null | string | undefined)",
|
|
36165
|
+
value: input.subtitle
|
|
36022
36166
|
}), undefined === input.waveform || "boolean" === typeof input.waveform || _report(_exceptionable, {
|
|
36023
36167
|
path: _path + ".waveform",
|
|
36024
36168
|
expected: "(boolean | undefined)",
|
|
@@ -36083,9 +36227,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
36083
36227
|
path: _path + ".tile",
|
|
36084
36228
|
expected: "(__type.o30 | undefined)",
|
|
36085
36229
|
value: input.tile
|
|
36086
|
-
}), undefined === input.
|
|
36230
|
+
}), undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode || _report(_exceptionable, {
|
|
36231
|
+
path: _path + ".showTimeCode",
|
|
36232
|
+
expected: "(boolean | undefined)",
|
|
36233
|
+
value: input.showTimeCode
|
|
36234
|
+
}), undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === input.timecodeReference || _report(_exceptionable, {
|
|
36087
36235
|
path: _path + ".timecodeReference",
|
|
36088
|
-
expected: "(
|
|
36236
|
+
expected: "(\"default\" | \"subclip\" | undefined)",
|
|
36089
36237
|
value: input.timecodeReference
|
|
36090
36238
|
}), undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration || _report(_exceptionable, {
|
|
36091
36239
|
path: _path + ".maxSubclipDuration",
|
|
@@ -36188,7 +36336,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
36188
36336
|
expected: "(__type.o41 | undefined)",
|
|
36189
36337
|
value: input.recorder
|
|
36190
36338
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
36191
|
-
if (["volume", "muted", "graphics", "waveform", "defaultFrameRate", "dropFrame", "placeholder", "warnSubclipDuration", "displayAspectRatioPresets", "guide", "stepManyFrames", "liveZoomDuration", "importTitleTemplate", "tile", "timecodeReference", "maxSubclipDuration", "rewindStep", "forwardStep", "interlacedPlayback", "playbackRates", "subtitles", "subtitleTemplateId", "initialVolume", "guides", "download", "editMode", "transcribe", "openCommand", "recorder"].some(prop => key === prop))
|
|
36339
|
+
if (["volume", "muted", "graphics", "subtitle", "waveform", "defaultFrameRate", "dropFrame", "placeholder", "warnSubclipDuration", "displayAspectRatioPresets", "guide", "stepManyFrames", "liveZoomDuration", "importTitleTemplate", "tile", "showTimeCode", "timecodeReference", "maxSubclipDuration", "rewindStep", "forwardStep", "interlacedPlayback", "playbackRates", "subtitles", "subtitleTemplateId", "initialVolume", "guides", "download", "editMode", "transcribe", "openCommand", "recorder"].some(prop => key === prop))
|
|
36192
36340
|
return true;
|
|
36193
36341
|
const value = input[key];
|
|
36194
36342
|
if (undefined === value)
|