@nxtedition/types 23.1.1 → 23.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/settings.d.ts +5 -0
- package/dist/nxtpression.d.ts +30 -10
- package/dist/records/domains/media.d.ts +6 -0
- package/dist/records/domains/publish/facebook.d.ts +1 -2
- package/dist/records/exact/media.d.ts +2 -0
- package/dist/records/exact/monitor.d.ts +14 -8
- package/dist/records/validate/assert-guard.js +342 -271
- package/dist/records/validate/assert.js +343 -271
- package/dist/records/validate/is.js +22 -21
- package/dist/records/validate/schemas.js +118 -62
- package/dist/records/validate/stringify.js +46 -35
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +441 -348
- package/dist/records/validate/validate.js +334 -262
- package/package.json +1 -1
|
@@ -1325,17 +1325,17 @@ function _validateExactRecord(name, input) {
|
|
|
1325
1325
|
}; })()(input);
|
|
1326
1326
|
}
|
|
1327
1327
|
case "nxt.status?": {
|
|
1328
|
-
return (() => { const _io0 = input => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes) && ("object" === typeof input.services && null !== input.services && false === Array.isArray(input.services) &&
|
|
1328
|
+
return (() => { const _io0 = input => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes) && ("object" === typeof input.services && null !== input.services && false === Array.isArray(input.services) && _io5(input.services)) && "number" === typeof input.level && "string" === typeof input.status; const _io1 = input => Object.keys(input).every(key => {
|
|
1329
1329
|
const value = input[key];
|
|
1330
1330
|
if (undefined === value)
|
|
1331
1331
|
return true;
|
|
1332
1332
|
return "object" === typeof value && null !== value && _io2(value);
|
|
1333
|
-
}); const _io2 = input => (undefined === input.state || "string" === typeof input.state) && (undefined === input.role || "string" === typeof input.role) && (undefined === input.leader || "boolean" === typeof input.leader) && (undefined === input.availability || "string" === typeof input.availability) && (undefined === input.classes || Array.isArray(input.classes) && input.classes.every(elem => "string" === typeof elem)) && (undefined === input.address || "string" === typeof input.address) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "string" === typeof input.msg && "number" === typeof input.level; const _io4 = input => Object.keys(input).every(key => {
|
|
1333
|
+
}); 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 => {
|
|
1334
1334
|
const value = input[key];
|
|
1335
1335
|
if (undefined === value)
|
|
1336
1336
|
return true;
|
|
1337
|
-
return "object" === typeof value && null !== value &&
|
|
1338
|
-
}); const
|
|
1337
|
+
return "object" === typeof value && null !== value && _io6(value);
|
|
1338
|
+
}); const _io6 = input => (undefined === input.image || "string" === typeof input.image) && (undefined === input.running || "number" === typeof input.running) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.ignored || "boolean" === typeof input.ignored) && (undefined === input.tasks || Array.isArray(input.tasks) && input.tasks.every(elem => "object" === typeof elem && null !== elem && _io7(elem))) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io7 = input => "string" === typeof input.id && "string" === typeof input.node && "string" === typeof input.container && (undefined === input.level || "number" === typeof input.level) && (undefined === input.status || "string" === typeof input.status) && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) || _report(_exceptionable, {
|
|
1339
1339
|
path: _path + ".nodes",
|
|
1340
1340
|
expected: "__type",
|
|
1341
1341
|
value: input.nodes
|
|
@@ -1347,7 +1347,7 @@ function _validateExactRecord(name, input) {
|
|
|
1347
1347
|
path: _path + ".services",
|
|
1348
1348
|
expected: "__type.o2",
|
|
1349
1349
|
value: input.services
|
|
1350
|
-
})) &&
|
|
1350
|
+
})) && _vo5(input.services, _path + ".services", true && _exceptionable) || _report(_exceptionable, {
|
|
1351
1351
|
path: _path + ".services",
|
|
1352
1352
|
expected: "__type.o2",
|
|
1353
1353
|
value: input.services
|
|
@@ -1414,21 +1414,25 @@ function _validateExactRecord(name, input) {
|
|
|
1414
1414
|
value: input.status
|
|
1415
1415
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
1416
1416
|
path: _path + ".messages",
|
|
1417
|
-
expected: "Array<
|
|
1417
|
+
expected: "Array<NxtStatusMessage>",
|
|
1418
1418
|
value: input.messages
|
|
1419
1419
|
})) && input.messages.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1420
1420
|
path: _path + ".messages[" + _index7 + "]",
|
|
1421
|
-
expected: "
|
|
1421
|
+
expected: "NxtStatusMessage",
|
|
1422
1422
|
value: elem
|
|
1423
1423
|
})) && _vo3(elem, _path + ".messages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1424
1424
|
path: _path + ".messages[" + _index7 + "]",
|
|
1425
|
-
expected: "
|
|
1425
|
+
expected: "NxtStatusMessage",
|
|
1426
1426
|
value: elem
|
|
1427
1427
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1428
1428
|
path: _path + ".messages",
|
|
1429
|
-
expected: "Array<
|
|
1429
|
+
expected: "Array<NxtStatusMessage>",
|
|
1430
1430
|
value: input.messages
|
|
1431
|
-
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.
|
|
1431
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
1432
|
+
path: _path + ".id",
|
|
1433
|
+
expected: "string",
|
|
1434
|
+
value: input.id
|
|
1435
|
+
}), "string" === typeof input.msg || _report(_exceptionable, {
|
|
1432
1436
|
path: _path + ".msg",
|
|
1433
1437
|
expected: "string",
|
|
1434
1438
|
value: input.msg
|
|
@@ -1436,7 +1440,35 @@ function _validateExactRecord(name, input) {
|
|
|
1436
1440
|
path: _path + ".level",
|
|
1437
1441
|
expected: "number",
|
|
1438
1442
|
value: input.level
|
|
1439
|
-
})
|
|
1443
|
+
}), undefined === input.ignored || "boolean" === typeof input.ignored || _report(_exceptionable, {
|
|
1444
|
+
path: _path + ".ignored",
|
|
1445
|
+
expected: "(boolean | undefined)",
|
|
1446
|
+
value: input.ignored
|
|
1447
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1448
|
+
path: _path + ".title",
|
|
1449
|
+
expected: "(string | undefined)",
|
|
1450
|
+
value: input.title
|
|
1451
|
+
}), (null !== input.url || _report(_exceptionable, {
|
|
1452
|
+
path: _path + ".url",
|
|
1453
|
+
expected: "(__type.o1 | string | undefined)",
|
|
1454
|
+
value: input.url
|
|
1455
|
+
})) && (undefined === input.url || "string" === typeof input.url || ("object" === typeof input.url && null !== input.url || _report(_exceptionable, {
|
|
1456
|
+
path: _path + ".url",
|
|
1457
|
+
expected: "(__type.o1 | string | undefined)",
|
|
1458
|
+
value: input.url
|
|
1459
|
+
})) && _vo4(input.url, _path + ".url", true && _exceptionable) || _report(_exceptionable, {
|
|
1460
|
+
path: _path + ".url",
|
|
1461
|
+
expected: "(__type.o1 | string | undefined)",
|
|
1462
|
+
value: input.url
|
|
1463
|
+
}))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.title || _report(_exceptionable, {
|
|
1464
|
+
path: _path + ".title",
|
|
1465
|
+
expected: "string",
|
|
1466
|
+
value: input.title
|
|
1467
|
+
}), "string" === typeof input.url || _report(_exceptionable, {
|
|
1468
|
+
path: _path + ".url",
|
|
1469
|
+
expected: "string",
|
|
1470
|
+
value: input.url
|
|
1471
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1440
1472
|
const value = input[key];
|
|
1441
1473
|
if (undefined === value)
|
|
1442
1474
|
return true;
|
|
@@ -1444,12 +1476,12 @@ function _validateExactRecord(name, input) {
|
|
|
1444
1476
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1445
1477
|
expected: "NxtStatusService",
|
|
1446
1478
|
value: value
|
|
1447
|
-
})) &&
|
|
1479
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
1448
1480
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1449
1481
|
expected: "NxtStatusService",
|
|
1450
1482
|
value: value
|
|
1451
1483
|
});
|
|
1452
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
1484
|
+
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.image || "string" === typeof input.image || _report(_exceptionable, {
|
|
1453
1485
|
path: _path + ".image",
|
|
1454
1486
|
expected: "(string | undefined)",
|
|
1455
1487
|
value: input.image
|
|
@@ -1465,21 +1497,25 @@ function _validateExactRecord(name, input) {
|
|
|
1465
1497
|
path: _path + ".total",
|
|
1466
1498
|
expected: "(number | undefined)",
|
|
1467
1499
|
value: input.total
|
|
1500
|
+
}), undefined === input.ignored || "boolean" === typeof input.ignored || _report(_exceptionable, {
|
|
1501
|
+
path: _path + ".ignored",
|
|
1502
|
+
expected: "(boolean | undefined)",
|
|
1503
|
+
value: input.ignored
|
|
1468
1504
|
}), undefined === input.tasks || (Array.isArray(input.tasks) || _report(_exceptionable, {
|
|
1469
1505
|
path: _path + ".tasks",
|
|
1470
|
-
expected: "(Array<__type
|
|
1506
|
+
expected: "(Array<__type> | undefined)",
|
|
1471
1507
|
value: input.tasks
|
|
1472
1508
|
})) && input.tasks.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1473
1509
|
path: _path + ".tasks[" + _index8 + "]",
|
|
1474
1510
|
expected: "__type.o3",
|
|
1475
1511
|
value: elem
|
|
1476
|
-
})) &&
|
|
1512
|
+
})) && _vo7(elem, _path + ".tasks[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1477
1513
|
path: _path + ".tasks[" + _index8 + "]",
|
|
1478
1514
|
expected: "__type.o3",
|
|
1479
1515
|
value: elem
|
|
1480
1516
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1481
1517
|
path: _path + ".tasks",
|
|
1482
|
-
expected: "(Array<__type
|
|
1518
|
+
expected: "(Array<__type> | undefined)",
|
|
1483
1519
|
value: input.tasks
|
|
1484
1520
|
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
1485
1521
|
path: _path + ".level",
|
|
@@ -1491,21 +1527,21 @@ function _validateExactRecord(name, input) {
|
|
|
1491
1527
|
value: input.status
|
|
1492
1528
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
1493
1529
|
path: _path + ".messages",
|
|
1494
|
-
expected: "Array<
|
|
1530
|
+
expected: "Array<NxtStatusMessage>",
|
|
1495
1531
|
value: input.messages
|
|
1496
1532
|
})) && input.messages.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1497
1533
|
path: _path + ".messages[" + _index9 + "]",
|
|
1498
|
-
expected: "
|
|
1534
|
+
expected: "NxtStatusMessage",
|
|
1499
1535
|
value: elem
|
|
1500
1536
|
})) && _vo3(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1501
1537
|
path: _path + ".messages[" + _index9 + "]",
|
|
1502
|
-
expected: "
|
|
1538
|
+
expected: "NxtStatusMessage",
|
|
1503
1539
|
value: elem
|
|
1504
1540
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1505
1541
|
path: _path + ".messages",
|
|
1506
|
-
expected: "Array<
|
|
1542
|
+
expected: "Array<NxtStatusMessage>",
|
|
1507
1543
|
value: input.messages
|
|
1508
|
-
})].every(flag => flag); const
|
|
1544
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
1509
1545
|
path: _path + ".id",
|
|
1510
1546
|
expected: "string",
|
|
1511
1547
|
value: input.id
|
|
@@ -1527,28 +1563,20 @@ function _validateExactRecord(name, input) {
|
|
|
1527
1563
|
value: input.status
|
|
1528
1564
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
1529
1565
|
path: _path + ".messages",
|
|
1530
|
-
expected: "Array<
|
|
1566
|
+
expected: "Array<NxtStatusMessage>",
|
|
1531
1567
|
value: input.messages
|
|
1532
1568
|
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1533
1569
|
path: _path + ".messages[" + _index10 + "]",
|
|
1534
|
-
expected: "
|
|
1570
|
+
expected: "NxtStatusMessage",
|
|
1535
1571
|
value: elem
|
|
1536
|
-
})) &&
|
|
1572
|
+
})) && _vo3(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1537
1573
|
path: _path + ".messages[" + _index10 + "]",
|
|
1538
|
-
expected: "
|
|
1574
|
+
expected: "NxtStatusMessage",
|
|
1539
1575
|
value: elem
|
|
1540
1576
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1541
1577
|
path: _path + ".messages",
|
|
1542
|
-
expected: "Array<
|
|
1578
|
+
expected: "Array<NxtStatusMessage>",
|
|
1543
1579
|
value: input.messages
|
|
1544
|
-
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.msg || _report(_exceptionable, {
|
|
1545
|
-
path: _path + ".msg",
|
|
1546
|
-
expected: "string",
|
|
1547
|
-
value: input.msg
|
|
1548
|
-
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
1549
|
-
path: _path + ".level",
|
|
1550
|
-
expected: "number",
|
|
1551
|
-
value: input.level
|
|
1552
1580
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
1553
1581
|
if (false === __is(input)) {
|
|
1554
1582
|
errors = [];
|
|
@@ -1579,12 +1607,16 @@ function _validateExactRecord(name, input) {
|
|
|
1579
1607
|
}; })()(input);
|
|
1580
1608
|
}
|
|
1581
1609
|
case "media.subtitles": {
|
|
1582
|
-
return (() => { const _io0 = input => (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
|
|
1610
|
+
return (() => { const _io0 = input => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage) && (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
|
|
1583
1611
|
const value = input[key];
|
|
1584
1612
|
if (undefined === value)
|
|
1585
1613
|
return true;
|
|
1586
1614
|
return "string" === typeof value;
|
|
1587
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
1615
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
|
|
1616
|
+
path: _path + ".defaultLanguage",
|
|
1617
|
+
expected: "(string | undefined)",
|
|
1618
|
+
value: input.defaultLanguage
|
|
1619
|
+
}), undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1588
1620
|
path: _path + ".languages",
|
|
1589
1621
|
expected: "(Record<string, string> | undefined)",
|
|
1590
1622
|
value: input.languages
|
|
@@ -1663,12 +1695,16 @@ function _validateExactRecord(name, input) {
|
|
|
1663
1695
|
}; })()(input);
|
|
1664
1696
|
}
|
|
1665
1697
|
case "media.subtitles?": {
|
|
1666
|
-
return (() => { const _io0 = input => (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
|
|
1698
|
+
return (() => { const _io0 = input => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage) && (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io1 = input => Object.keys(input).every(key => {
|
|
1667
1699
|
const value = input[key];
|
|
1668
1700
|
if (undefined === value)
|
|
1669
1701
|
return true;
|
|
1670
1702
|
return "string" === typeof value;
|
|
1671
|
-
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
1703
|
+
}); const _io2 = input => "string" === typeof input.family && (undefined === input.asset || "string" === typeof input.asset) && (undefined === input.weight || "bold" === input.weight || "normal" === input.weight) && (undefined === input.style || "italic" === input.style || "normal" === input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
|
|
1704
|
+
path: _path + ".defaultLanguage",
|
|
1705
|
+
expected: "(string | undefined)",
|
|
1706
|
+
value: input.defaultLanguage
|
|
1707
|
+
}), undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1672
1708
|
path: _path + ".languages",
|
|
1673
1709
|
expected: "(Record<string, string> | undefined)",
|
|
1674
1710
|
value: input.languages
|
|
@@ -10139,6 +10175,44 @@ function _validateDomainRecord(domain, input) {
|
|
|
10139
10175
|
};
|
|
10140
10176
|
}; })()(input);
|
|
10141
10177
|
}
|
|
10178
|
+
case ":media.consolidate?": {
|
|
10179
|
+
return (() => { const _io0 = input => ("completed" === input.status || "error" === input.status || "idle" === input.status || "pending" === input.status || "source_mismatch" === input.status) && (undefined === input.progress || "number" === typeof input.progress) && true; const _vo0 = (input, _path, _exceptionable = true) => ["completed" === input.status || "error" === input.status || "idle" === input.status || "pending" === input.status || "source_mismatch" === input.status || _report(_exceptionable, {
|
|
10180
|
+
path: _path + ".status",
|
|
10181
|
+
expected: "(\"completed\" | \"error\" | \"idle\" | \"pending\" | \"source_mismatch\")",
|
|
10182
|
+
value: input.status
|
|
10183
|
+
}), undefined === input.progress || "number" === typeof input.progress || _report(_exceptionable, {
|
|
10184
|
+
path: _path + ".progress",
|
|
10185
|
+
expected: "(number | undefined)",
|
|
10186
|
+
value: input.progress
|
|
10187
|
+
}), true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
10188
|
+
if (false === __is(input)) {
|
|
10189
|
+
errors = [];
|
|
10190
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10191
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
10192
|
+
path: _path + "",
|
|
10193
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
10194
|
+
value: input
|
|
10195
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
10196
|
+
path: _path + "",
|
|
10197
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
10198
|
+
value: input
|
|
10199
|
+
}))(input, "$input", true);
|
|
10200
|
+
const success = 0 === errors.length;
|
|
10201
|
+
return success ? {
|
|
10202
|
+
success,
|
|
10203
|
+
data: input
|
|
10204
|
+
} : {
|
|
10205
|
+
success,
|
|
10206
|
+
errors,
|
|
10207
|
+
data: input
|
|
10208
|
+
};
|
|
10209
|
+
}
|
|
10210
|
+
return {
|
|
10211
|
+
success: true,
|
|
10212
|
+
data: input
|
|
10213
|
+
};
|
|
10214
|
+
}; })()(input);
|
|
10215
|
+
}
|
|
10142
10216
|
case ":media.renders?": {
|
|
10143
10217
|
return (() => { const _io0 = input => Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.children || Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.children) || _report(_exceptionable, {
|
|
10144
10218
|
path: _path + ".children",
|
|
@@ -13354,36 +13428,34 @@ function _validateDomainRecord(domain, input) {
|
|
|
13354
13428
|
}; })()(input);
|
|
13355
13429
|
}
|
|
13356
13430
|
case ":publish.stats?": {
|
|
13357
|
-
return (() => { const _io0 = input => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && true; const _io1 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io2 = input => (undefined === input.
|
|
13431
|
+
return (() => { const _io0 = input => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && true; const _io1 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io2 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io3(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && _io6(input.defaults)) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io3 = input => (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io4(input.renders)); const _io4 = input => Object.keys(input).every(key => {
|
|
13358
13432
|
const value = input[key];
|
|
13359
13433
|
if (undefined === value)
|
|
13360
13434
|
return true;
|
|
13361
|
-
return "object" === typeof value && null !== value &&
|
|
13362
|
-
}); const
|
|
13435
|
+
return "object" === typeof value && null !== value && _io5(value);
|
|
13436
|
+
}); const _io5 = input => "string" === typeof input.path && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io6 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io7(input.renders)); const _io7 = input => Object.keys(input).every(key => {
|
|
13363
13437
|
const value = input[key];
|
|
13364
13438
|
if (undefined === value)
|
|
13365
13439
|
return true;
|
|
13366
13440
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
13367
|
-
}); const
|
|
13441
|
+
}); 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 && _io17(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.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io11(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io14(input.video)) && (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) && _io16(input.transcribe)); const _io10 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io11 = input => Object.keys(input).every(key => {
|
|
13368
13442
|
const value = input[key];
|
|
13369
13443
|
if (undefined === value)
|
|
13370
13444
|
return true;
|
|
13371
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13372
|
-
}); const
|
|
13445
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io12(value);
|
|
13446
|
+
}); const _io12 = 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) && _io13(input.styleOverrides)); const _io13 = 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 _io14 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io15(input.crop); const _io15 = 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 _io16 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io17 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io18(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io19(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io20(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) && _io21(input.subtitle))); const _io18 = input => "string" === typeof input.engine; const _io19 = input => "string" === typeof input.language; const _io20 = 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 _io21 = 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) && _io22(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io23(input.ass)); const _io22 = input => undefined === input.preset || "string" === typeof input.preset; const _io23 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io24 = input => "object" === typeof input.__context && null !== input.__context && _io25(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io8(input.__returnValue)); const _io25 = 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 _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) && _io7(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io27(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io28(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io31(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 && _io32(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io33(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io28 = 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) && _io29(input.renders)); const _io29 = input => Object.keys(input).every(key => {
|
|
13373
13447
|
const value = input[key];
|
|
13374
13448
|
if (undefined === value)
|
|
13375
13449
|
return true;
|
|
13376
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13377
|
-
}); const
|
|
13450
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
13451
|
+
}); const _io30 = 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 _io31 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io32 = 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 && _io17(input.profile)); const _io33 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
13378
13452
|
if (undefined !== input.path)
|
|
13379
|
-
return
|
|
13453
|
+
return _io8(input);
|
|
13380
13454
|
else if (undefined !== input.__context)
|
|
13381
|
-
return
|
|
13455
|
+
return _io24(input);
|
|
13382
13456
|
else
|
|
13383
13457
|
return false;
|
|
13384
13458
|
})(); const _iu1 = input => (() => {
|
|
13385
|
-
if (_io3(input))
|
|
13386
|
-
return _io3(input);
|
|
13387
13459
|
if (_io2(input))
|
|
13388
13460
|
return _io2(input);
|
|
13389
13461
|
if (_io0(input))
|
|
@@ -13401,12 +13473,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13401
13473
|
path: _path + ".messages",
|
|
13402
13474
|
expected: "(Array<Message> | undefined)",
|
|
13403
13475
|
value: input.messages
|
|
13404
|
-
})) && input.messages.map((elem,
|
|
13405
|
-
path: _path + ".messages[" +
|
|
13476
|
+
})) && input.messages.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13477
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
13406
13478
|
expected: "Message",
|
|
13407
13479
|
value: elem
|
|
13408
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
13409
|
-
path: _path + ".messages[" +
|
|
13480
|
+
})) && _vo1(elem, _path + ".messages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13481
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
13410
13482
|
expected: "Message",
|
|
13411
13483
|
value: elem
|
|
13412
13484
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13425,35 +13497,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13425
13497
|
path: _path + ".msg",
|
|
13426
13498
|
expected: "string",
|
|
13427
13499
|
value: input.msg
|
|
13428
|
-
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
13429
|
-
path: _path + ".status",
|
|
13430
|
-
expected: "(string | undefined)",
|
|
13431
|
-
value: input.status
|
|
13432
|
-
}), undefined === input.substatus || "string" === typeof input.substatus || _report(_exceptionable, {
|
|
13433
|
-
path: _path + ".substatus",
|
|
13434
|
-
expected: "(string | undefined)",
|
|
13435
|
-
value: input.substatus
|
|
13436
|
-
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13437
|
-
path: _path + ".messages",
|
|
13438
|
-
expected: "(Array<Message> | undefined)",
|
|
13439
|
-
value: input.messages
|
|
13440
|
-
})) && input.messages.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13441
|
-
path: _path + ".messages[" + _index9 + "]",
|
|
13442
|
-
expected: "Message",
|
|
13443
|
-
value: elem
|
|
13444
|
-
})) && _vo1(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13445
|
-
path: _path + ".messages[" + _index9 + "]",
|
|
13446
|
-
expected: "Message",
|
|
13447
|
-
value: elem
|
|
13448
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
13449
|
-
path: _path + ".messages",
|
|
13450
|
-
expected: "(Array<Message> | undefined)",
|
|
13451
|
-
value: input.messages
|
|
13452
|
-
}), true, true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || _report(_exceptionable, {
|
|
13500
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || _report(_exceptionable, {
|
|
13453
13501
|
path: _path + ".retrieved",
|
|
13454
13502
|
expected: "(FilePublishRetrieved | undefined)",
|
|
13455
13503
|
value: input.retrieved
|
|
13456
|
-
})) &&
|
|
13504
|
+
})) && _vo3(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
13457
13505
|
path: _path + ".retrieved",
|
|
13458
13506
|
expected: "(FilePublishRetrieved | undefined)",
|
|
13459
13507
|
value: input.retrieved
|
|
@@ -13461,7 +13509,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13461
13509
|
path: _path + ".defaults",
|
|
13462
13510
|
expected: "(FilePublishDefaults | undefined)",
|
|
13463
13511
|
value: input.defaults
|
|
13464
|
-
})) &&
|
|
13512
|
+
})) && _vo6(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
13465
13513
|
path: _path + ".defaults",
|
|
13466
13514
|
expected: "(FilePublishDefaults | undefined)",
|
|
13467
13515
|
value: input.defaults
|
|
@@ -13477,19 +13525,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
13477
13525
|
path: _path + ".messages",
|
|
13478
13526
|
expected: "(Array<Message> | undefined)",
|
|
13479
13527
|
value: input.messages
|
|
13480
|
-
})) && input.messages.map((elem,
|
|
13481
|
-
path: _path + ".messages[" +
|
|
13528
|
+
})) && input.messages.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13529
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
13482
13530
|
expected: "Message",
|
|
13483
13531
|
value: elem
|
|
13484
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
13485
|
-
path: _path + ".messages[" +
|
|
13532
|
+
})) && _vo1(elem, _path + ".messages[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13533
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
13486
13534
|
expected: "Message",
|
|
13487
13535
|
value: elem
|
|
13488
13536
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13489
13537
|
path: _path + ".messages",
|
|
13490
13538
|
expected: "(Array<Message> | undefined)",
|
|
13491
13539
|
value: input.messages
|
|
13492
|
-
})].every(flag => flag); const
|
|
13540
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
13493
13541
|
path: _path + ".filename",
|
|
13494
13542
|
expected: "(string | undefined)",
|
|
13495
13543
|
value: input.filename
|
|
@@ -13501,11 +13549,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13501
13549
|
path: _path + ".renders",
|
|
13502
13550
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
13503
13551
|
value: input.renders
|
|
13504
|
-
})) &&
|
|
13552
|
+
})) && _vo4(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13505
13553
|
path: _path + ".renders",
|
|
13506
13554
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
13507
13555
|
value: input.renders
|
|
13508
|
-
})].every(flag => flag); const
|
|
13556
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13509
13557
|
const value = input[key];
|
|
13510
13558
|
if (undefined === value)
|
|
13511
13559
|
return true;
|
|
@@ -13513,12 +13561,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13513
13561
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13514
13562
|
expected: "FilePublishRetrievedRender",
|
|
13515
13563
|
value: value
|
|
13516
|
-
})) &&
|
|
13564
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13517
13565
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13518
13566
|
expected: "FilePublishRetrievedRender",
|
|
13519
13567
|
value: value
|
|
13520
13568
|
});
|
|
13521
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13569
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
13522
13570
|
path: _path + ".path",
|
|
13523
13571
|
expected: "string",
|
|
13524
13572
|
value: input.path
|
|
@@ -13530,7 +13578,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13530
13578
|
path: _path + ".hash",
|
|
13531
13579
|
expected: "(string | undefined)",
|
|
13532
13580
|
value: input.hash
|
|
13533
|
-
})].every(flag => flag); const
|
|
13581
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.directory || _report(_exceptionable, {
|
|
13534
13582
|
path: _path + ".directory",
|
|
13535
13583
|
expected: "string",
|
|
13536
13584
|
value: input.directory
|
|
@@ -13542,11 +13590,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13542
13590
|
path: _path + ".renders",
|
|
13543
13591
|
expected: "Record<string, FilePublishRender>",
|
|
13544
13592
|
value: input.renders
|
|
13545
|
-
})) &&
|
|
13593
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13546
13594
|
path: _path + ".renders",
|
|
13547
13595
|
expected: "Record<string, FilePublishRender>",
|
|
13548
13596
|
value: input.renders
|
|
13549
|
-
})].every(flag => flag); const
|
|
13597
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13550
13598
|
const value = input[key];
|
|
13551
13599
|
if (undefined === value)
|
|
13552
13600
|
return true;
|
|
@@ -13567,7 +13615,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13567
13615
|
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13568
13616
|
value: value
|
|
13569
13617
|
}));
|
|
13570
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13618
|
+
}).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
13571
13619
|
path: _path + ".name",
|
|
13572
13620
|
expected: "(string | undefined)",
|
|
13573
13621
|
value: input.name
|
|
@@ -13595,7 +13643,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13595
13643
|
path: _path + ".scene",
|
|
13596
13644
|
expected: "(RenderSceneObject | undefined)",
|
|
13597
13645
|
value: input.scene
|
|
13598
|
-
})) &&
|
|
13646
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
13599
13647
|
path: _path + ".scene",
|
|
13600
13648
|
expected: "(RenderSceneObject | undefined)",
|
|
13601
13649
|
value: input.scene
|
|
@@ -13603,11 +13651,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13603
13651
|
path: _path + ".profile",
|
|
13604
13652
|
expected: "(RenderProfileObject | undefined)",
|
|
13605
13653
|
value: input.profile
|
|
13606
|
-
})) &&
|
|
13654
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
13607
13655
|
path: _path + ".profile",
|
|
13608
13656
|
expected: "(RenderProfileObject | undefined)",
|
|
13609
13657
|
value: input.profile
|
|
13610
|
-
})].every(flag => flag); const
|
|
13658
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
13611
13659
|
path: _path + ".id",
|
|
13612
13660
|
expected: "(string | undefined)",
|
|
13613
13661
|
value: input.id
|
|
@@ -13619,7 +13667,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13619
13667
|
path: _path + ".input",
|
|
13620
13668
|
expected: "(__type | null | undefined)",
|
|
13621
13669
|
value: input.input
|
|
13622
|
-
})) &&
|
|
13670
|
+
})) && _vo10(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
13623
13671
|
path: _path + ".input",
|
|
13624
13672
|
expected: "(__type | null | undefined)",
|
|
13625
13673
|
value: input.input
|
|
@@ -13635,7 +13683,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13635
13683
|
path: _path + ".subtitleTracks",
|
|
13636
13684
|
expected: "(__type.o1 | undefined)",
|
|
13637
13685
|
value: input.subtitleTracks
|
|
13638
|
-
})) &&
|
|
13686
|
+
})) && _vo11(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
13639
13687
|
path: _path + ".subtitleTracks",
|
|
13640
13688
|
expected: "(__type.o1 | undefined)",
|
|
13641
13689
|
value: input.subtitleTracks
|
|
@@ -13643,7 +13691,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13643
13691
|
path: _path + ".video",
|
|
13644
13692
|
expected: "(__type.o3 | undefined)",
|
|
13645
13693
|
value: input.video
|
|
13646
|
-
})) &&
|
|
13694
|
+
})) && _vo14(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
13647
13695
|
path: _path + ".video",
|
|
13648
13696
|
expected: "(__type.o3 | undefined)",
|
|
13649
13697
|
value: input.video
|
|
@@ -13659,11 +13707,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13659
13707
|
path: _path + ".transcribe",
|
|
13660
13708
|
expected: "(__type.o5 | undefined)",
|
|
13661
13709
|
value: input.transcribe
|
|
13662
|
-
})) &&
|
|
13710
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13663
13711
|
path: _path + ".transcribe",
|
|
13664
13712
|
expected: "(__type.o5 | undefined)",
|
|
13665
13713
|
value: input.transcribe
|
|
13666
|
-
})].every(flag => flag); const
|
|
13714
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
13667
13715
|
path: _path + ".type",
|
|
13668
13716
|
expected: "(string | undefined)",
|
|
13669
13717
|
value: input.type
|
|
@@ -13671,7 +13719,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13671
13719
|
path: _path + ".file",
|
|
13672
13720
|
expected: "(null | string | undefined)",
|
|
13673
13721
|
value: input.file
|
|
13674
|
-
})].every(flag => flag); const
|
|
13722
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13675
13723
|
const value = input[key];
|
|
13676
13724
|
if (undefined === value)
|
|
13677
13725
|
return true;
|
|
@@ -13679,12 +13727,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13679
13727
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13680
13728
|
expected: "__type.o2",
|
|
13681
13729
|
value: value
|
|
13682
|
-
})) &&
|
|
13730
|
+
})) && _vo12(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13683
13731
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13684
13732
|
expected: "__type.o2",
|
|
13685
13733
|
value: value
|
|
13686
13734
|
});
|
|
13687
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13735
|
+
}).every(flag => flag)].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
13688
13736
|
path: _path + ".style",
|
|
13689
13737
|
expected: "(null | string | undefined)",
|
|
13690
13738
|
value: input.style
|
|
@@ -13692,11 +13740,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13692
13740
|
path: _path + ".styleOverrides",
|
|
13693
13741
|
expected: "(SubtitleStyle | undefined)",
|
|
13694
13742
|
value: input.styleOverrides
|
|
13695
|
-
})) &&
|
|
13743
|
+
})) && _vo13(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
13696
13744
|
path: _path + ".styleOverrides",
|
|
13697
13745
|
expected: "(SubtitleStyle | undefined)",
|
|
13698
13746
|
value: input.styleOverrides
|
|
13699
|
-
})].every(flag => flag); const
|
|
13747
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
13700
13748
|
path: _path + ".name",
|
|
13701
13749
|
expected: "(string | undefined)",
|
|
13702
13750
|
value: input.name
|
|
@@ -13792,15 +13840,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13792
13840
|
path: _path + ".encoding",
|
|
13793
13841
|
expected: "(string | undefined)",
|
|
13794
13842
|
value: input.encoding
|
|
13795
|
-
})].every(flag => flag); const
|
|
13843
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || _report(_exceptionable, {
|
|
13796
13844
|
path: _path + ".crop",
|
|
13797
13845
|
expected: "(__type.o4 | undefined)",
|
|
13798
13846
|
value: input.crop
|
|
13799
|
-
})) &&
|
|
13847
|
+
})) && _vo15(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
13800
13848
|
path: _path + ".crop",
|
|
13801
13849
|
expected: "(__type.o4 | undefined)",
|
|
13802
13850
|
value: input.crop
|
|
13803
|
-
})].every(flag => flag); const
|
|
13851
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
13804
13852
|
path: _path + ".x",
|
|
13805
13853
|
expected: "(number | undefined)",
|
|
13806
13854
|
value: input.x
|
|
@@ -13816,7 +13864,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13816
13864
|
path: _path + ".height",
|
|
13817
13865
|
expected: "(number | undefined)",
|
|
13818
13866
|
value: input.height
|
|
13819
|
-
})].every(flag => flag); const
|
|
13867
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
13820
13868
|
path: _path + ".language",
|
|
13821
13869
|
expected: "(string | undefined)",
|
|
13822
13870
|
value: input.language
|
|
@@ -13824,15 +13872,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13824
13872
|
path: _path + ".pan",
|
|
13825
13873
|
expected: "(Array<number> | undefined)",
|
|
13826
13874
|
value: input.pan
|
|
13827
|
-
})) && input.pan.map((elem,
|
|
13828
|
-
path: _path + ".pan[" +
|
|
13875
|
+
})) && input.pan.map((elem, _index9) => "number" === typeof elem || _report(_exceptionable, {
|
|
13876
|
+
path: _path + ".pan[" + _index9 + "]",
|
|
13829
13877
|
expected: "number",
|
|
13830
13878
|
value: elem
|
|
13831
13879
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13832
13880
|
path: _path + ".pan",
|
|
13833
13881
|
expected: "(Array<number> | undefined)",
|
|
13834
13882
|
value: input.pan
|
|
13835
|
-
})].every(flag => flag); const
|
|
13883
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
13836
13884
|
path: _path + ".format",
|
|
13837
13885
|
expected: "string",
|
|
13838
13886
|
value: input.format
|
|
@@ -13840,7 +13888,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13840
13888
|
path: _path + ".transcribe",
|
|
13841
13889
|
expected: "(__type.o6 | undefined)",
|
|
13842
13890
|
value: input.transcribe
|
|
13843
|
-
})) &&
|
|
13891
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13844
13892
|
path: _path + ".transcribe",
|
|
13845
13893
|
expected: "(__type.o6 | undefined)",
|
|
13846
13894
|
value: input.transcribe
|
|
@@ -13848,7 +13896,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13848
13896
|
path: _path + ".translate",
|
|
13849
13897
|
expected: "(__type.o7 | undefined)",
|
|
13850
13898
|
value: input.translate
|
|
13851
|
-
})) &&
|
|
13899
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
13852
13900
|
path: _path + ".translate",
|
|
13853
13901
|
expected: "(__type.o7 | undefined)",
|
|
13854
13902
|
value: input.translate
|
|
@@ -13856,7 +13904,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13856
13904
|
path: _path + ".audio",
|
|
13857
13905
|
expected: "(__type.o8 | undefined)",
|
|
13858
13906
|
value: input.audio
|
|
13859
|
-
})) &&
|
|
13907
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
13860
13908
|
path: _path + ".audio",
|
|
13861
13909
|
expected: "(__type.o8 | undefined)",
|
|
13862
13910
|
value: input.audio
|
|
@@ -13864,8 +13912,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13864
13912
|
path: _path + ".pick",
|
|
13865
13913
|
expected: "(Array<string> | undefined)",
|
|
13866
13914
|
value: input.pick
|
|
13867
|
-
})) && input.pick.map((elem,
|
|
13868
|
-
path: _path + ".pick[" +
|
|
13915
|
+
})) && input.pick.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
13916
|
+
path: _path + ".pick[" + _index10 + "]",
|
|
13869
13917
|
expected: "string",
|
|
13870
13918
|
value: elem
|
|
13871
13919
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13880,19 +13928,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
13880
13928
|
path: _path + ".subtitle",
|
|
13881
13929
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13882
13930
|
value: input.subtitle
|
|
13883
|
-
})) &&
|
|
13931
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
13884
13932
|
path: _path + ".subtitle",
|
|
13885
13933
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13886
13934
|
value: input.subtitle
|
|
13887
|
-
}))].every(flag => flag); const
|
|
13935
|
+
}))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
13888
13936
|
path: _path + ".engine",
|
|
13889
13937
|
expected: "string",
|
|
13890
13938
|
value: input.engine
|
|
13891
|
-
})].every(flag => flag); const
|
|
13939
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
13892
13940
|
path: _path + ".language",
|
|
13893
13941
|
expected: "string",
|
|
13894
13942
|
value: input.language
|
|
13895
|
-
})].every(flag => flag); const
|
|
13943
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
13896
13944
|
path: _path + ".codec",
|
|
13897
13945
|
expected: "(string | undefined)",
|
|
13898
13946
|
value: input.codec
|
|
@@ -13908,7 +13956,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13908
13956
|
path: _path + ".split",
|
|
13909
13957
|
expected: "(boolean | undefined)",
|
|
13910
13958
|
value: input.split
|
|
13911
|
-
})].every(flag => flag); const
|
|
13959
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
13912
13960
|
path: _path + ".lang",
|
|
13913
13961
|
expected: "(string | undefined)",
|
|
13914
13962
|
value: input.lang
|
|
@@ -13920,7 +13968,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13920
13968
|
path: _path + ".ccconverter",
|
|
13921
13969
|
expected: "(__type.o9 | undefined)",
|
|
13922
13970
|
value: input.ccconverter
|
|
13923
|
-
})) &&
|
|
13971
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
13924
13972
|
path: _path + ".ccconverter",
|
|
13925
13973
|
expected: "(__type.o9 | undefined)",
|
|
13926
13974
|
value: input.ccconverter
|
|
@@ -13928,15 +13976,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13928
13976
|
path: _path + ".ass",
|
|
13929
13977
|
expected: "(__type.o10 | undefined)",
|
|
13930
13978
|
value: input.ass
|
|
13931
|
-
})) &&
|
|
13979
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
13932
13980
|
path: _path + ".ass",
|
|
13933
13981
|
expected: "(__type.o10 | undefined)",
|
|
13934
13982
|
value: input.ass
|
|
13935
|
-
})].every(flag => flag); const
|
|
13983
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13936
13984
|
path: _path + ".preset",
|
|
13937
13985
|
expected: "(string | undefined)",
|
|
13938
13986
|
value: input.preset
|
|
13939
|
-
})].every(flag => flag); const
|
|
13987
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
13940
13988
|
path: _path + ".futureWordWrapping",
|
|
13941
13989
|
expected: "(boolean | undefined)",
|
|
13942
13990
|
value: input.futureWordWrapping
|
|
@@ -13948,11 +13996,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13948
13996
|
path: _path + ".enableUnsafeLineSpacingHack",
|
|
13949
13997
|
expected: "(boolean | undefined)",
|
|
13950
13998
|
value: input.enableUnsafeLineSpacingHack
|
|
13951
|
-
})].every(flag => flag); const
|
|
13999
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
13952
14000
|
path: _path + ".__context",
|
|
13953
14001
|
expected: "__type.o12",
|
|
13954
14002
|
value: input.__context
|
|
13955
|
-
})) &&
|
|
14003
|
+
})) && _vo25(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
13956
14004
|
path: _path + ".__context",
|
|
13957
14005
|
expected: "__type.o12",
|
|
13958
14006
|
value: input.__context
|
|
@@ -13960,15 +14008,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13960
14008
|
path: _path + ".__returnValue",
|
|
13961
14009
|
expected: "ResolvedFilePublishRender",
|
|
13962
14010
|
value: input.__returnValue
|
|
13963
|
-
})) &&
|
|
14011
|
+
})) && _vo8(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
13964
14012
|
path: _path + ".__returnValue",
|
|
13965
14013
|
expected: "ResolvedFilePublishRender",
|
|
13966
14014
|
value: input.__returnValue
|
|
13967
|
-
})].every(flag => flag); const
|
|
14015
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
13968
14016
|
path: _path + ".publish",
|
|
13969
14017
|
expected: "FilePublishRecord",
|
|
13970
14018
|
value: input.publish
|
|
13971
|
-
})) &&
|
|
14019
|
+
})) && _vo26(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
13972
14020
|
path: _path + ".publish",
|
|
13973
14021
|
expected: "FilePublishRecord",
|
|
13974
14022
|
value: input.publish
|
|
@@ -13980,7 +14028,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13980
14028
|
path: _path + ".name",
|
|
13981
14029
|
expected: "string",
|
|
13982
14030
|
value: input.name
|
|
13983
|
-
})].every(flag => flag); const
|
|
14031
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
13984
14032
|
path: _path + ".type",
|
|
13985
14033
|
expected: "(\"file\" | undefined)",
|
|
13986
14034
|
value: input.type
|
|
@@ -13996,7 +14044,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13996
14044
|
path: _path + ".renders",
|
|
13997
14045
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
13998
14046
|
value: input.renders
|
|
13999
|
-
})) &&
|
|
14047
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14000
14048
|
path: _path + ".renders",
|
|
14001
14049
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14002
14050
|
value: input.renders
|
|
@@ -14004,7 +14052,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14004
14052
|
path: _path + ".draft",
|
|
14005
14053
|
expected: "(FilePublishDraft | undefined)",
|
|
14006
14054
|
value: input.draft
|
|
14007
|
-
})) &&
|
|
14055
|
+
})) && _vo27(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14008
14056
|
path: _path + ".draft",
|
|
14009
14057
|
expected: "(FilePublishDraft | undefined)",
|
|
14010
14058
|
value: input.draft
|
|
@@ -14012,7 +14060,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14012
14060
|
path: _path + ".remote",
|
|
14013
14061
|
expected: "(FilePublishRemote | undefined)",
|
|
14014
14062
|
value: input.remote
|
|
14015
|
-
})) &&
|
|
14063
|
+
})) && _vo28(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14016
14064
|
path: _path + ".remote",
|
|
14017
14065
|
expected: "(FilePublishRemote | undefined)",
|
|
14018
14066
|
value: input.remote
|
|
@@ -14020,7 +14068,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14020
14068
|
path: _path + ".published",
|
|
14021
14069
|
expected: "(FilePublishPublished | undefined)",
|
|
14022
14070
|
value: input.published
|
|
14023
|
-
})) &&
|
|
14071
|
+
})) && _vo31(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14024
14072
|
path: _path + ".published",
|
|
14025
14073
|
expected: "(FilePublishPublished | undefined)",
|
|
14026
14074
|
value: input.published
|
|
@@ -14036,7 +14084,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14036
14084
|
path: _path + ".render",
|
|
14037
14085
|
expected: "(PublishRenderBase | undefined)",
|
|
14038
14086
|
value: input.render
|
|
14039
|
-
})) &&
|
|
14087
|
+
})) && _vo32(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
14040
14088
|
path: _path + ".render",
|
|
14041
14089
|
expected: "(PublishRenderBase | undefined)",
|
|
14042
14090
|
value: input.render
|
|
@@ -14044,7 +14092,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14044
14092
|
path: _path + ".error",
|
|
14045
14093
|
expected: "(__type.o13 | null | undefined)",
|
|
14046
14094
|
value: input.error
|
|
14047
|
-
})) &&
|
|
14095
|
+
})) && _vo33(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14048
14096
|
path: _path + ".error",
|
|
14049
14097
|
expected: "(__type.o13 | null | undefined)",
|
|
14050
14098
|
value: input.error
|
|
@@ -14052,19 +14100,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
14052
14100
|
path: _path + ".messages",
|
|
14053
14101
|
expected: "(Array<Message> | undefined)",
|
|
14054
14102
|
value: input.messages
|
|
14055
|
-
})) && input.messages.map((elem,
|
|
14056
|
-
path: _path + ".messages[" +
|
|
14103
|
+
})) && input.messages.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14104
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
14057
14105
|
expected: "Message",
|
|
14058
14106
|
value: elem
|
|
14059
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
14060
|
-
path: _path + ".messages[" +
|
|
14107
|
+
})) && _vo1(elem, _path + ".messages[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14108
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
14061
14109
|
expected: "Message",
|
|
14062
14110
|
value: elem
|
|
14063
14111
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
14064
14112
|
path: _path + ".messages",
|
|
14065
14113
|
expected: "(Array<Message> | undefined)",
|
|
14066
14114
|
value: input.messages
|
|
14067
|
-
})].every(flag => flag); const
|
|
14115
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14068
14116
|
path: _path + ".directory",
|
|
14069
14117
|
expected: "(string | undefined)",
|
|
14070
14118
|
value: input.directory
|
|
@@ -14072,7 +14120,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14072
14120
|
path: _path + ".filename",
|
|
14073
14121
|
expected: "(string | undefined)",
|
|
14074
14122
|
value: input.filename
|
|
14075
|
-
})].every(flag => flag); const
|
|
14123
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14076
14124
|
path: _path + ".directory",
|
|
14077
14125
|
expected: "(string | undefined)",
|
|
14078
14126
|
value: input.directory
|
|
@@ -14084,11 +14132,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
14084
14132
|
path: _path + ".renders",
|
|
14085
14133
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14086
14134
|
value: input.renders
|
|
14087
|
-
})) &&
|
|
14135
|
+
})) && _vo29(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14088
14136
|
path: _path + ".renders",
|
|
14089
14137
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14090
14138
|
value: input.renders
|
|
14091
|
-
})].every(flag => flag); const
|
|
14139
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14092
14140
|
const value = input[key];
|
|
14093
14141
|
if (undefined === value)
|
|
14094
14142
|
return true;
|
|
@@ -14096,12 +14144,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14096
14144
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14097
14145
|
expected: "FilePublishRemoteRender",
|
|
14098
14146
|
value: value
|
|
14099
|
-
})) &&
|
|
14147
|
+
})) && _vo30(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
14100
14148
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14101
14149
|
expected: "FilePublishRemoteRender",
|
|
14102
14150
|
value: value
|
|
14103
14151
|
});
|
|
14104
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14152
|
+
}).every(flag => flag)].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
14105
14153
|
path: _path + ".path",
|
|
14106
14154
|
expected: "(string | undefined)",
|
|
14107
14155
|
value: input.path
|
|
@@ -14109,12 +14157,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14109
14157
|
path: _path + ".messages",
|
|
14110
14158
|
expected: "(Array<Message> | undefined)",
|
|
14111
14159
|
value: input.messages
|
|
14112
|
-
})) && input.messages.map((elem,
|
|
14113
|
-
path: _path + ".messages[" +
|
|
14160
|
+
})) && input.messages.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14161
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
14114
14162
|
expected: "Message",
|
|
14115
14163
|
value: elem
|
|
14116
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
14117
|
-
path: _path + ".messages[" +
|
|
14164
|
+
})) && _vo1(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14165
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
14118
14166
|
expected: "Message",
|
|
14119
14167
|
value: elem
|
|
14120
14168
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14133,7 +14181,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14133
14181
|
path: _path + ".source",
|
|
14134
14182
|
expected: "(string | undefined)",
|
|
14135
14183
|
value: input.source
|
|
14136
|
-
})].every(flag => flag); const
|
|
14184
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14137
14185
|
path: _path + ".directory",
|
|
14138
14186
|
expected: "(string | undefined)",
|
|
14139
14187
|
value: input.directory
|
|
@@ -14141,7 +14189,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14141
14189
|
path: _path + ".filename",
|
|
14142
14190
|
expected: "string",
|
|
14143
14191
|
value: input.filename
|
|
14144
|
-
})].every(flag => flag); const
|
|
14192
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
14145
14193
|
path: _path + ".preset",
|
|
14146
14194
|
expected: "(string | undefined)",
|
|
14147
14195
|
value: input.preset
|
|
@@ -14153,7 +14201,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14153
14201
|
path: _path + ".scene",
|
|
14154
14202
|
expected: "(RenderSceneObject | undefined)",
|
|
14155
14203
|
value: input.scene
|
|
14156
|
-
})) &&
|
|
14204
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
14157
14205
|
path: _path + ".scene",
|
|
14158
14206
|
expected: "(RenderSceneObject | undefined)",
|
|
14159
14207
|
value: input.scene
|
|
@@ -14161,36 +14209,36 @@ function _validateDomainRecord(domain, input) {
|
|
|
14161
14209
|
path: _path + ".profile",
|
|
14162
14210
|
expected: "(RenderProfileObject | undefined)",
|
|
14163
14211
|
value: input.profile
|
|
14164
|
-
})) &&
|
|
14212
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
14165
14213
|
path: _path + ".profile",
|
|
14166
14214
|
expected: "(RenderProfileObject | undefined)",
|
|
14167
14215
|
value: input.profile
|
|
14168
|
-
})].every(flag => flag); const
|
|
14216
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
14169
14217
|
path: _path + ".method",
|
|
14170
14218
|
expected: "string",
|
|
14171
14219
|
value: input.method
|
|
14172
14220
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
14173
14221
|
if (undefined !== input.path)
|
|
14174
|
-
return
|
|
14222
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
14175
14223
|
else if (undefined !== input.__context)
|
|
14176
|
-
return
|
|
14224
|
+
return _vo24(input, _path, true && _exceptionable);
|
|
14177
14225
|
else
|
|
14178
14226
|
return _report(_exceptionable, {
|
|
14179
14227
|
path: _path,
|
|
14180
14228
|
expected: "(ResolvedFilePublishRender | __type.o11)",
|
|
14181
14229
|
value: input
|
|
14182
14230
|
});
|
|
14183
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) =>
|
|
14231
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo2(input, _path, false && _exceptionable) || _vo0(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
14184
14232
|
if (false === __is(input)) {
|
|
14185
14233
|
errors = [];
|
|
14186
14234
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14187
14235
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14188
14236
|
path: _path + "",
|
|
14189
|
-
expected: "(
|
|
14237
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
14190
14238
|
value: input
|
|
14191
14239
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
14192
14240
|
path: _path + "",
|
|
14193
|
-
expected: "(
|
|
14241
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
14194
14242
|
value: input
|
|
14195
14243
|
}))(input, "$input", true);
|
|
14196
14244
|
const success = 0 === errors.length;
|
|
@@ -16700,7 +16748,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16700
16748
|
}; })()(input);
|
|
16701
16749
|
}
|
|
16702
16750
|
case ":settings": {
|
|
16703
|
-
return (() => { const _iv23 = 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 _iv32 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const
|
|
16751
|
+
return (() => { const _iv23 = 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 _iv32 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv62 = 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 _vv71 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io26(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io29(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io30(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io31(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io44(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io60(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io66(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) && _io67(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io76(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io77(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io78(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) && _io81(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io82(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io83(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io86(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io89(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io90(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io91(input.bookmarks)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io92(input.shotbox)) && (undefined === input.performance || "object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) && _io93(input.performance)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs)); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
16704
16752
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
16705
16753
|
return true;
|
|
16706
16754
|
const value = input[key];
|
|
@@ -16772,12 +16820,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16772
16820
|
if (undefined === value)
|
|
16773
16821
|
return true;
|
|
16774
16822
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16775
|
-
}); const _io44 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io45(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io46(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io47(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io50(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io51(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io52(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io56(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io57(input.recorder)); const _io45 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io46 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io47 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv23.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io48 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io49 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io50 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io51 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io52 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io53(input.subtitleDisclaimer); const _io53 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io54(input.defaultValue)); const _io54 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io55(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io55 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io56 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io57 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io58(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io59(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io58 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io59 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io60 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io61(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io63(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io65(input.voiceOver)); const _io61 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io62(elem)); const _io62 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io63 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io64(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io64 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io65 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io66 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io67 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io68(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io69(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io73(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io75(input.item)); const _io68 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io69 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io70(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io72(input.note)); const _io70 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io71(input.excerpt); const _io71 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io72 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io73 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io74(input.search)) && (undefined === input.sortMode || true === _iv32.has(input.sortMode)); const _io74 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io75 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io76 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io77 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io78 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io79(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io80(input.rive)); const _io79 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io80 = input => undefined === input.template || "string" === typeof input.template; const _io81 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io82 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io83 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io84(input.events); const _io84 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io85(input.publishSucceeded)); const _io85 = input => Object.keys(input).every(key => {
|
|
16823
|
+
}); 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 => {
|
|
16776
16824
|
const value = input[key];
|
|
16777
16825
|
if (undefined === value)
|
|
16778
16826
|
return true;
|
|
16779
16827
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
16780
|
-
}); const _io86 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io87(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io88(input.duplicate)); const _io87 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io88 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io89 = 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 _io90 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io91 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io92 = input => undefined === input.layout || "string" === typeof input.layout; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
16828
|
+
}); const _io86 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io87(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io88(input.duplicate)); const _io87 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io88 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io89 = 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 _io90 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io91 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io92 = input => undefined === input.layout || "string" === typeof input.layout; const _io93 = input => undefined === input.ignoredMessages || Array.isArray(input.ignoredMessages) && input.ignoredMessages.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
16781
16829
|
path: _path + ".autoLogoutTime",
|
|
16782
16830
|
expected: "(number | undefined)",
|
|
16783
16831
|
value: input.autoLogoutTime
|
|
@@ -16833,16 +16881,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
16833
16881
|
path: _path + ".exclusiveTagGroups",
|
|
16834
16882
|
expected: "(Array<Array<string>> | undefined)",
|
|
16835
16883
|
value: input.exclusiveTagGroups
|
|
16836
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
16837
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16884
|
+
})) && input.exclusiveTagGroups.map((elem, _index40) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
16885
|
+
path: _path + ".exclusiveTagGroups[" + _index40 + "]",
|
|
16838
16886
|
expected: "Array<string>",
|
|
16839
16887
|
value: elem
|
|
16840
|
-
})) && elem.map((elem,
|
|
16841
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16888
|
+
})) && elem.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
16889
|
+
path: _path + ".exclusiveTagGroups[" + _index40 + "][" + _index41 + "]",
|
|
16842
16890
|
expected: "string",
|
|
16843
16891
|
value: elem
|
|
16844
16892
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16845
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16893
|
+
path: _path + ".exclusiveTagGroups[" + _index40 + "]",
|
|
16846
16894
|
expected: "Array<string>",
|
|
16847
16895
|
value: elem
|
|
16848
16896
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16961,12 +17009,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16961
17009
|
path: _path + ".commands",
|
|
16962
17010
|
expected: "(Array<__type>.o6 | undefined)",
|
|
16963
17011
|
value: input.commands
|
|
16964
|
-
})) && input.commands.map((elem,
|
|
16965
|
-
path: _path + ".commands[" +
|
|
17012
|
+
})) && input.commands.map((elem, _index42) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17013
|
+
path: _path + ".commands[" + _index42 + "]",
|
|
16966
17014
|
expected: "__type.o58",
|
|
16967
17015
|
value: elem
|
|
16968
|
-
})) && _vo66(elem, _path + ".commands[" +
|
|
16969
|
-
path: _path + ".commands[" +
|
|
17016
|
+
})) && _vo66(elem, _path + ".commands[" + _index42 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17017
|
+
path: _path + ".commands[" + _index42 + "]",
|
|
16970
17018
|
expected: "__type.o58",
|
|
16971
17019
|
value: elem
|
|
16972
17020
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16977,8 +17025,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16977
17025
|
path: _path + ".predefinedTags",
|
|
16978
17026
|
expected: "(Array<string> | undefined)",
|
|
16979
17027
|
value: input.predefinedTags
|
|
16980
|
-
})) && input.predefinedTags.map((elem,
|
|
16981
|
-
path: _path + ".predefinedTags[" +
|
|
17028
|
+
})) && input.predefinedTags.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
17029
|
+
path: _path + ".predefinedTags[" + _index43 + "]",
|
|
16982
17030
|
expected: "string",
|
|
16983
17031
|
value: elem
|
|
16984
17032
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17005,12 +17053,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17005
17053
|
path: _path + ".hiddenPreviews",
|
|
17006
17054
|
expected: "(Array<__type>.o7 | undefined)",
|
|
17007
17055
|
value: input.hiddenPreviews
|
|
17008
|
-
})) && input.hiddenPreviews.map((elem,
|
|
17009
|
-
path: _path + ".hiddenPreviews[" +
|
|
17056
|
+
})) && input.hiddenPreviews.map((elem, _index44) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17057
|
+
path: _path + ".hiddenPreviews[" + _index44 + "]",
|
|
17010
17058
|
expected: "__type.o69",
|
|
17011
17059
|
value: elem
|
|
17012
|
-
})) && _vo77(elem, _path + ".hiddenPreviews[" +
|
|
17013
|
-
path: _path + ".hiddenPreviews[" +
|
|
17060
|
+
})) && _vo77(elem, _path + ".hiddenPreviews[" + _index44 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17061
|
+
path: _path + ".hiddenPreviews[" + _index44 + "]",
|
|
17014
17062
|
expected: "__type.o69",
|
|
17015
17063
|
value: elem
|
|
17016
17064
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17101,6 +17149,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
17101
17149
|
path: _path + ".shotbox",
|
|
17102
17150
|
expected: "(__type.o84 | undefined)",
|
|
17103
17151
|
value: input.shotbox
|
|
17152
|
+
}), undefined === input.performance || ("object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) || _report(_exceptionable, {
|
|
17153
|
+
path: _path + ".performance",
|
|
17154
|
+
expected: "(__type.o85 | undefined)",
|
|
17155
|
+
value: input.performance
|
|
17156
|
+
})) && _vo93(input.performance, _path + ".performance", true && _exceptionable) || _report(_exceptionable, {
|
|
17157
|
+
path: _path + ".performance",
|
|
17158
|
+
expected: "(__type.o85 | undefined)",
|
|
17159
|
+
value: input.performance
|
|
17104
17160
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
17105
17161
|
path: _path + ".overrideUserContact",
|
|
17106
17162
|
expected: "(boolean | undefined)",
|
|
@@ -17236,8 +17292,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17236
17292
|
path: _path + ".sortOrder",
|
|
17237
17293
|
expected: "(Array<string> | undefined)",
|
|
17238
17294
|
value: input.sortOrder
|
|
17239
|
-
})) && input.sortOrder.map((elem,
|
|
17240
|
-
path: _path + ".sortOrder[" +
|
|
17295
|
+
})) && input.sortOrder.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
17296
|
+
path: _path + ".sortOrder[" + _index45 + "]",
|
|
17241
17297
|
expected: "string",
|
|
17242
17298
|
value: elem
|
|
17243
17299
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17248,8 +17304,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17248
17304
|
path: _path + ".include",
|
|
17249
17305
|
expected: "(Array<string> | undefined)",
|
|
17250
17306
|
value: input.include
|
|
17251
|
-
})) && input.include.map((elem,
|
|
17252
|
-
path: _path + ".include[" +
|
|
17307
|
+
})) && input.include.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
17308
|
+
path: _path + ".include[" + _index46 + "]",
|
|
17253
17309
|
expected: "string",
|
|
17254
17310
|
value: elem
|
|
17255
17311
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17260,8 +17316,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17260
17316
|
path: _path + ".exclude",
|
|
17261
17317
|
expected: "(Array<string> | undefined)",
|
|
17262
17318
|
value: input.exclude
|
|
17263
|
-
})) && input.exclude.map((elem,
|
|
17264
|
-
path: _path + ".exclude[" +
|
|
17319
|
+
})) && input.exclude.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
17320
|
+
path: _path + ".exclude[" + _index47 + "]",
|
|
17265
17321
|
expected: "string",
|
|
17266
17322
|
value: elem
|
|
17267
17323
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17272,8 +17328,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17272
17328
|
path: _path + ".include",
|
|
17273
17329
|
expected: "(Array<string> | undefined)",
|
|
17274
17330
|
value: input.include
|
|
17275
|
-
})) && input.include.map((elem,
|
|
17276
|
-
path: _path + ".include[" +
|
|
17331
|
+
})) && input.include.map((elem, _index48) => "string" === typeof elem || _report(_exceptionable, {
|
|
17332
|
+
path: _path + ".include[" + _index48 + "]",
|
|
17277
17333
|
expected: "string",
|
|
17278
17334
|
value: elem
|
|
17279
17335
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17284,8 +17340,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17284
17340
|
path: _path + ".exclude",
|
|
17285
17341
|
expected: "(Array<string> | undefined)",
|
|
17286
17342
|
value: input.exclude
|
|
17287
|
-
})) && input.exclude.map((elem,
|
|
17288
|
-
path: _path + ".exclude[" +
|
|
17343
|
+
})) && input.exclude.map((elem, _index49) => "string" === typeof elem || _report(_exceptionable, {
|
|
17344
|
+
path: _path + ".exclude[" + _index49 + "]",
|
|
17289
17345
|
expected: "string",
|
|
17290
17346
|
value: elem
|
|
17291
17347
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17296,8 +17352,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17296
17352
|
path: _path + ".include",
|
|
17297
17353
|
expected: "(Array<string> | undefined)",
|
|
17298
17354
|
value: input.include
|
|
17299
|
-
})) && input.include.map((elem,
|
|
17300
|
-
path: _path + ".include[" +
|
|
17355
|
+
})) && input.include.map((elem, _index50) => "string" === typeof elem || _report(_exceptionable, {
|
|
17356
|
+
path: _path + ".include[" + _index50 + "]",
|
|
17301
17357
|
expected: "string",
|
|
17302
17358
|
value: elem
|
|
17303
17359
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17308,8 +17364,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17308
17364
|
path: _path + ".exclude",
|
|
17309
17365
|
expected: "(Array<string> | undefined)",
|
|
17310
17366
|
value: input.exclude
|
|
17311
|
-
})) && input.exclude.map((elem,
|
|
17312
|
-
path: _path + ".exclude[" +
|
|
17367
|
+
})) && input.exclude.map((elem, _index51) => "string" === typeof elem || _report(_exceptionable, {
|
|
17368
|
+
path: _path + ".exclude[" + _index51 + "]",
|
|
17313
17369
|
expected: "string",
|
|
17314
17370
|
value: elem
|
|
17315
17371
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17320,8 +17376,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17320
17376
|
path: _path + ".include",
|
|
17321
17377
|
expected: "(Array<string> | undefined)",
|
|
17322
17378
|
value: input.include
|
|
17323
|
-
})) && input.include.map((elem,
|
|
17324
|
-
path: _path + ".include[" +
|
|
17379
|
+
})) && input.include.map((elem, _index52) => "string" === typeof elem || _report(_exceptionable, {
|
|
17380
|
+
path: _path + ".include[" + _index52 + "]",
|
|
17325
17381
|
expected: "string",
|
|
17326
17382
|
value: elem
|
|
17327
17383
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17332,8 +17388,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17332
17388
|
path: _path + ".exclude",
|
|
17333
17389
|
expected: "(Array<string> | undefined)",
|
|
17334
17390
|
value: input.exclude
|
|
17335
|
-
})) && input.exclude.map((elem,
|
|
17336
|
-
path: _path + ".exclude[" +
|
|
17391
|
+
})) && input.exclude.map((elem, _index53) => "string" === typeof elem || _report(_exceptionable, {
|
|
17392
|
+
path: _path + ".exclude[" + _index53 + "]",
|
|
17337
17393
|
expected: "string",
|
|
17338
17394
|
value: elem
|
|
17339
17395
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17412,12 +17468,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17412
17468
|
path: _path + ".colorTags",
|
|
17413
17469
|
expected: "(Array<PromotedTag> | undefined)",
|
|
17414
17470
|
value: input.colorTags
|
|
17415
|
-
})) && input.colorTags.map((elem,
|
|
17416
|
-
path: _path + ".colorTags[" +
|
|
17471
|
+
})) && input.colorTags.map((elem, _index54) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17472
|
+
path: _path + ".colorTags[" + _index54 + "]",
|
|
17417
17473
|
expected: "PromotedTag",
|
|
17418
17474
|
value: elem
|
|
17419
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
17420
|
-
path: _path + ".colorTags[" +
|
|
17475
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17476
|
+
path: _path + ".colorTags[" + _index54 + "]",
|
|
17421
17477
|
expected: "PromotedTag",
|
|
17422
17478
|
value: elem
|
|
17423
17479
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17444,12 +17500,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17444
17500
|
path: _path + ".colorHistory",
|
|
17445
17501
|
expected: "(Array<__type> | undefined)",
|
|
17446
17502
|
value: input.colorHistory
|
|
17447
|
-
})) && input.colorHistory.map((elem,
|
|
17448
|
-
path: _path + ".colorHistory[" +
|
|
17503
|
+
})) && input.colorHistory.map((elem, _index55) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17504
|
+
path: _path + ".colorHistory[" + _index55 + "]",
|
|
17449
17505
|
expected: "__type.o20",
|
|
17450
17506
|
value: elem
|
|
17451
|
-
})) && _vo25(elem, _path + ".colorHistory[" +
|
|
17452
|
-
path: _path + ".colorHistory[" +
|
|
17507
|
+
})) && _vo25(elem, _path + ".colorHistory[" + _index55 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17508
|
+
path: _path + ".colorHistory[" + _index55 + "]",
|
|
17453
17509
|
expected: "__type.o20",
|
|
17454
17510
|
value: elem
|
|
17455
17511
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17517,8 +17573,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17517
17573
|
path: _path + ".favorites",
|
|
17518
17574
|
expected: "(Array<string> | undefined)",
|
|
17519
17575
|
value: input.favorites
|
|
17520
|
-
})) && input.favorites.map((elem,
|
|
17521
|
-
path: _path + ".favorites[" +
|
|
17576
|
+
})) && input.favorites.map((elem, _index56) => "string" === typeof elem || _report(_exceptionable, {
|
|
17577
|
+
path: _path + ".favorites[" + _index56 + "]",
|
|
17522
17578
|
expected: "string",
|
|
17523
17579
|
value: elem
|
|
17524
17580
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17873,8 +17929,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17873
17929
|
path: _path + ".playbackRates",
|
|
17874
17930
|
expected: "(Array<number> | undefined)",
|
|
17875
17931
|
value: input.playbackRates
|
|
17876
|
-
})) && input.playbackRates.map((elem,
|
|
17877
|
-
path: _path + ".playbackRates[" +
|
|
17932
|
+
})) && input.playbackRates.map((elem, _index57) => "number" === typeof elem || _report(_exceptionable, {
|
|
17933
|
+
path: _path + ".playbackRates[" + _index57 + "]",
|
|
17878
17934
|
expected: "number",
|
|
17879
17935
|
value: elem
|
|
17880
17936
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17901,12 +17957,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17901
17957
|
path: _path + ".guides",
|
|
17902
17958
|
expected: "(Array<__type>.o3 | undefined)",
|
|
17903
17959
|
value: input.guides
|
|
17904
|
-
})) && input.guides.map((elem,
|
|
17905
|
-
path: _path + ".guides[" +
|
|
17960
|
+
})) && input.guides.map((elem, _index58) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17961
|
+
path: _path + ".guides[" + _index58 + "]",
|
|
17906
17962
|
expected: "__type.o43",
|
|
17907
17963
|
value: elem
|
|
17908
|
-
})) && _vo50(elem, _path + ".guides[" +
|
|
17909
|
-
path: _path + ".guides[" +
|
|
17964
|
+
})) && _vo50(elem, _path + ".guides[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17965
|
+
path: _path + ".guides[" + _index58 + "]",
|
|
17910
17966
|
expected: "__type.o43",
|
|
17911
17967
|
value: elem
|
|
17912
17968
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17985,12 +18041,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17985
18041
|
path: _path + ".suggestions",
|
|
17986
18042
|
expected: "(Array<__type>.o1 | undefined)",
|
|
17987
18043
|
value: input.suggestions
|
|
17988
|
-
})) && input.suggestions.map((elem,
|
|
17989
|
-
path: _path + ".suggestions[" +
|
|
18044
|
+
})) && input.suggestions.map((elem, _index59) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18045
|
+
path: _path + ".suggestions[" + _index59 + "]",
|
|
17990
18046
|
expected: "__type.o41",
|
|
17991
18047
|
value: elem
|
|
17992
|
-
})) && _vo48(elem, _path + ".suggestions[" +
|
|
17993
|
-
path: _path + ".suggestions[" +
|
|
18048
|
+
})) && _vo48(elem, _path + ".suggestions[" + _index59 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18049
|
+
path: _path + ".suggestions[" + _index59 + "]",
|
|
17994
18050
|
expected: "__type.o41",
|
|
17995
18051
|
value: elem
|
|
17996
18052
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18001,12 +18057,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
18001
18057
|
path: _path + ".colors",
|
|
18002
18058
|
expected: "(Array<__type>.o2 | undefined)",
|
|
18003
18059
|
value: input.colors
|
|
18004
|
-
})) && input.colors.map((elem,
|
|
18005
|
-
path: _path + ".colors[" +
|
|
18060
|
+
})) && input.colors.map((elem, _index60) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18061
|
+
path: _path + ".colors[" + _index60 + "]",
|
|
18006
18062
|
expected: "__type.o42",
|
|
18007
18063
|
value: elem
|
|
18008
|
-
})) && _vo49(elem, _path + ".colors[" +
|
|
18009
|
-
path: _path + ".colors[" +
|
|
18064
|
+
})) && _vo49(elem, _path + ".colors[" + _index60 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18065
|
+
path: _path + ".colors[" + _index60 + "]",
|
|
18010
18066
|
expected: "__type.o42",
|
|
18011
18067
|
value: elem
|
|
18012
18068
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18017,8 +18073,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18017
18073
|
path: _path + ".overridableProperties",
|
|
18018
18074
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
18019
18075
|
value: input.overridableProperties
|
|
18020
|
-
})) && input.overridableProperties.map((elem,
|
|
18021
|
-
path: _path + ".overridableProperties[" +
|
|
18076
|
+
})) && input.overridableProperties.map((elem, _index61) => null === elem || true === _vv62.has(elem) || _report(_exceptionable, {
|
|
18077
|
+
path: _path + ".overridableProperties[" + _index61 + "]",
|
|
18022
18078
|
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"lineSpacing\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
18023
18079
|
value: elem
|
|
18024
18080
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18101,12 +18157,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
18101
18157
|
path: _path + ".text",
|
|
18102
18158
|
expected: "(Array<__type>.o4 | undefined)",
|
|
18103
18159
|
value: input.text
|
|
18104
|
-
})) && input.text.map((elem,
|
|
18105
|
-
path: _path + ".text[" +
|
|
18160
|
+
})) && input.text.map((elem, _index63) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18161
|
+
path: _path + ".text[" + _index63 + "]",
|
|
18106
18162
|
expected: "__type.o48",
|
|
18107
18163
|
value: elem
|
|
18108
|
-
})) && _vo55(elem, _path + ".text[" +
|
|
18109
|
-
path: _path + ".text[" +
|
|
18164
|
+
})) && _vo55(elem, _path + ".text[" + _index63 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18165
|
+
path: _path + ".text[" + _index63 + "]",
|
|
18110
18166
|
expected: "__type.o48",
|
|
18111
18167
|
value: elem
|
|
18112
18168
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18145,8 +18201,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18145
18201
|
path: _path + ".args",
|
|
18146
18202
|
expected: "(Array<string> | undefined)",
|
|
18147
18203
|
value: input.args
|
|
18148
|
-
})) && input.args.map((elem,
|
|
18149
|
-
path: _path + ".args[" +
|
|
18204
|
+
})) && input.args.map((elem, _index64) => "string" === typeof elem || _report(_exceptionable, {
|
|
18205
|
+
path: _path + ".args[" + _index64 + "]",
|
|
18150
18206
|
expected: "string",
|
|
18151
18207
|
value: elem
|
|
18152
18208
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18229,12 +18285,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
18229
18285
|
path: _path + ".presets",
|
|
18230
18286
|
expected: "(Array<AudioMappingPreset> | undefined)",
|
|
18231
18287
|
value: input.presets
|
|
18232
|
-
})) && input.presets.map((elem,
|
|
18233
|
-
path: _path + ".presets[" +
|
|
18288
|
+
})) && input.presets.map((elem, _index65) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18289
|
+
path: _path + ".presets[" + _index65 + "]",
|
|
18234
18290
|
expected: "AudioMappingPreset",
|
|
18235
18291
|
value: elem
|
|
18236
|
-
})) && _vo62(elem, _path + ".presets[" +
|
|
18237
|
-
path: _path + ".presets[" +
|
|
18292
|
+
})) && _vo62(elem, _path + ".presets[" + _index65 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18293
|
+
path: _path + ".presets[" + _index65 + "]",
|
|
18238
18294
|
expected: "AudioMappingPreset",
|
|
18239
18295
|
value: elem
|
|
18240
18296
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18253,16 +18309,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
18253
18309
|
path: _path + ".mapping",
|
|
18254
18310
|
expected: "(Array<Array<number>> | undefined)",
|
|
18255
18311
|
value: input.mapping
|
|
18256
|
-
})) && input.mapping.map((elem,
|
|
18257
|
-
path: _path + ".mapping[" +
|
|
18312
|
+
})) && input.mapping.map((elem, _index66) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
18313
|
+
path: _path + ".mapping[" + _index66 + "]",
|
|
18258
18314
|
expected: "Array<number>",
|
|
18259
18315
|
value: elem
|
|
18260
|
-
})) && elem.map((elem,
|
|
18261
|
-
path: _path + ".mapping[" +
|
|
18316
|
+
})) && elem.map((elem, _index67) => "number" === typeof elem || _report(_exceptionable, {
|
|
18317
|
+
path: _path + ".mapping[" + _index66 + "][" + _index67 + "]",
|
|
18262
18318
|
expected: "number",
|
|
18263
18319
|
value: elem
|
|
18264
18320
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
18265
|
-
path: _path + ".mapping[" +
|
|
18321
|
+
path: _path + ".mapping[" + _index66 + "]",
|
|
18266
18322
|
expected: "Array<number>",
|
|
18267
18323
|
value: elem
|
|
18268
18324
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18273,8 +18329,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18273
18329
|
path: _path + ".mute",
|
|
18274
18330
|
expected: "(Array<boolean> | undefined)",
|
|
18275
18331
|
value: input.mute
|
|
18276
|
-
})) && input.mute.map((elem,
|
|
18277
|
-
path: _path + ".mute[" +
|
|
18332
|
+
})) && input.mute.map((elem, _index68) => "boolean" === typeof elem || _report(_exceptionable, {
|
|
18333
|
+
path: _path + ".mute[" + _index68 + "]",
|
|
18278
18334
|
expected: "boolean",
|
|
18279
18335
|
value: elem
|
|
18280
18336
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18301,12 +18357,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
18301
18357
|
path: _path + ".presets",
|
|
18302
18358
|
expected: "(Array<__type>.o5 | undefined)",
|
|
18303
18359
|
value: input.presets
|
|
18304
|
-
})) && input.presets.map((elem,
|
|
18305
|
-
path: _path + ".presets[" +
|
|
18360
|
+
})) && input.presets.map((elem, _index69) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18361
|
+
path: _path + ".presets[" + _index69 + "]",
|
|
18306
18362
|
expected: "__type.o56",
|
|
18307
18363
|
value: elem
|
|
18308
|
-
})) && _vo64(elem, _path + ".presets[" +
|
|
18309
|
-
path: _path + ".presets[" +
|
|
18364
|
+
})) && _vo64(elem, _path + ".presets[" + _index69 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18365
|
+
path: _path + ".presets[" + _index69 + "]",
|
|
18310
18366
|
expected: "__type.o56",
|
|
18311
18367
|
value: elem
|
|
18312
18368
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18369,8 +18425,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18369
18425
|
path: _path + ".args",
|
|
18370
18426
|
expected: "(Array<string> | undefined)",
|
|
18371
18427
|
value: input.args
|
|
18372
|
-
})) && input.args.map((elem,
|
|
18373
|
-
path: _path + ".args[" +
|
|
18428
|
+
})) && input.args.map((elem, _index70) => "string" === typeof elem || _report(_exceptionable, {
|
|
18429
|
+
path: _path + ".args[" + _index70 + "]",
|
|
18374
18430
|
expected: "string",
|
|
18375
18431
|
value: elem
|
|
18376
18432
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18461,7 +18517,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18461
18517
|
path: _path + ".search",
|
|
18462
18518
|
expected: "(__type.o66 | undefined)",
|
|
18463
18519
|
value: input.search
|
|
18464
|
-
}), undefined === input.sortMode || true ===
|
|
18520
|
+
}), undefined === input.sortMode || true === _vv71.has(input.sortMode) || _report(_exceptionable, {
|
|
18465
18521
|
path: _path + ".sortMode",
|
|
18466
18522
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
18467
18523
|
value: input.sortMode
|
|
@@ -18481,8 +18537,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18481
18537
|
path: _path + ".fontFamilies",
|
|
18482
18538
|
expected: "(Array<string> | undefined)",
|
|
18483
18539
|
value: input.fontFamilies
|
|
18484
|
-
})) && input.fontFamilies.map((elem,
|
|
18485
|
-
path: _path + ".fontFamilies[" +
|
|
18540
|
+
})) && input.fontFamilies.map((elem, _index72) => "string" === typeof elem || _report(_exceptionable, {
|
|
18541
|
+
path: _path + ".fontFamilies[" + _index72 + "]",
|
|
18486
18542
|
expected: "string",
|
|
18487
18543
|
value: elem
|
|
18488
18544
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18609,6 +18665,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
18609
18665
|
path: _path + ".systemHealth",
|
|
18610
18666
|
expected: "(boolean | undefined)",
|
|
18611
18667
|
value: input.systemHealth
|
|
18668
|
+
}), undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore || _report(_exceptionable, {
|
|
18669
|
+
path: _path + ".systemHealthIgnore",
|
|
18670
|
+
expected: "(boolean | undefined)",
|
|
18671
|
+
value: input.systemHealthIgnore
|
|
18612
18672
|
})].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
18613
18673
|
path: _path + ".events",
|
|
18614
18674
|
expected: "(__type.o76 | undefined)",
|
|
@@ -18621,8 +18681,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18621
18681
|
path: _path + ".comment",
|
|
18622
18682
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18623
18683
|
value: input.comment
|
|
18624
|
-
})) && input.comment.map((elem,
|
|
18625
|
-
path: _path + ".comment[" +
|
|
18684
|
+
})) && input.comment.map((elem, _index73) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18685
|
+
path: _path + ".comment[" + _index73 + "]",
|
|
18626
18686
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18627
18687
|
value: elem
|
|
18628
18688
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18633,8 +18693,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18633
18693
|
path: _path + ".assigned",
|
|
18634
18694
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18635
18695
|
value: input.assigned
|
|
18636
|
-
})) && input.assigned.map((elem,
|
|
18637
|
-
path: _path + ".assigned[" +
|
|
18696
|
+
})) && input.assigned.map((elem, _index74) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18697
|
+
path: _path + ".assigned[" + _index74 + "]",
|
|
18638
18698
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18639
18699
|
value: elem
|
|
18640
18700
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18645,8 +18705,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18645
18705
|
path: _path + ".unassigned",
|
|
18646
18706
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18647
18707
|
value: input.unassigned
|
|
18648
|
-
})) && input.unassigned.map((elem,
|
|
18649
|
-
path: _path + ".unassigned[" +
|
|
18708
|
+
})) && input.unassigned.map((elem, _index75) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18709
|
+
path: _path + ".unassigned[" + _index75 + "]",
|
|
18650
18710
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18651
18711
|
value: elem
|
|
18652
18712
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18669,8 +18729,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18669
18729
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18670
18730
|
expected: "Array<NotificationReason>",
|
|
18671
18731
|
value: value
|
|
18672
|
-
})) && value.map((elem,
|
|
18673
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
18732
|
+
})) && value.map((elem, _index76) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18733
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index76 + "]",
|
|
18674
18734
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18675
18735
|
value: elem
|
|
18676
18736
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18714,8 +18774,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18714
18774
|
path: _path + ".stateFilter",
|
|
18715
18775
|
expected: "(Array<number> | undefined)",
|
|
18716
18776
|
value: input.stateFilter
|
|
18717
|
-
})) && input.stateFilter.map((elem,
|
|
18718
|
-
path: _path + ".stateFilter[" +
|
|
18777
|
+
})) && input.stateFilter.map((elem, _index77) => "number" === typeof elem || _report(_exceptionable, {
|
|
18778
|
+
path: _path + ".stateFilter[" + _index77 + "]",
|
|
18719
18779
|
expected: "number",
|
|
18720
18780
|
value: elem
|
|
18721
18781
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18754,6 +18814,18 @@ function _validateDomainRecord(domain, input) {
|
|
|
18754
18814
|
path: _path + ".layout",
|
|
18755
18815
|
expected: "(string | undefined)",
|
|
18756
18816
|
value: input.layout
|
|
18817
|
+
})].every(flag => flag); const _vo93 = (input, _path, _exceptionable = true) => [undefined === input.ignoredMessages || (Array.isArray(input.ignoredMessages) || _report(_exceptionable, {
|
|
18818
|
+
path: _path + ".ignoredMessages",
|
|
18819
|
+
expected: "(Array<string> | undefined)",
|
|
18820
|
+
value: input.ignoredMessages
|
|
18821
|
+
})) && input.ignoredMessages.map((elem, _index78) => "string" === typeof elem || _report(_exceptionable, {
|
|
18822
|
+
path: _path + ".ignoredMessages[" + _index78 + "]",
|
|
18823
|
+
expected: "string",
|
|
18824
|
+
value: elem
|
|
18825
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
18826
|
+
path: _path + ".ignoredMessages",
|
|
18827
|
+
expected: "(Array<string> | undefined)",
|
|
18828
|
+
value: input.ignoredMessages
|
|
18757
18829
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
18758
18830
|
if (false === __is(input)) {
|
|
18759
18831
|
errors = [];
|