@nxtedition/types 23.0.63 → 23.0.66
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 +4 -0
- package/dist/nxtpression.d.ts +24 -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 +9 -8
- package/dist/records/validate/assert-guard.js +291 -255
- package/dist/records/validate/assert.js +292 -255
- package/dist/records/validate/is.js +19 -18
- package/dist/records/validate/schemas.d.ts +6 -9
- package/dist/records/validate/schemas.js +918 -578
- package/dist/records/validate/stringify.js +32 -31
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +374 -332
- package/dist/records/validate/validate.js +290 -246
- package/package.json +2 -2
|
@@ -1330,12 +1330,12 @@ function _validateExactRecord(name, input) {
|
|
|
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); const _io4 = input => Object.keys(input).every(key => {
|
|
1334
1334
|
const value = input[key];
|
|
1335
1335
|
if (undefined === value)
|
|
1336
1336
|
return true;
|
|
1337
1337
|
return "object" === typeof value && null !== value && _io5(value);
|
|
1338
|
-
}); const _io5 = 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.tasks || Array.isArray(input.tasks) && input.tasks.every(elem => "object" === typeof elem && null !== elem && _io6(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 _io6 = 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 &&
|
|
1338
|
+
}); const _io5 = 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 && _io6(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 _io6 = 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
|
|
@@ -1345,11 +1345,11 @@ function _validateExactRecord(name, input) {
|
|
|
1345
1345
|
value: input.nodes
|
|
1346
1346
|
}), ("object" === typeof input.services && null !== input.services && false === Array.isArray(input.services) || _report(_exceptionable, {
|
|
1347
1347
|
path: _path + ".services",
|
|
1348
|
-
expected: "__type.
|
|
1348
|
+
expected: "__type.o1",
|
|
1349
1349
|
value: input.services
|
|
1350
1350
|
})) && _vo4(input.services, _path + ".services", true && _exceptionable) || _report(_exceptionable, {
|
|
1351
1351
|
path: _path + ".services",
|
|
1352
|
-
expected: "__type.
|
|
1352
|
+
expected: "__type.o1",
|
|
1353
1353
|
value: input.services
|
|
1354
1354
|
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
1355
1355
|
path: _path + ".level",
|
|
@@ -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,6 +1440,10 @@ function _validateExactRecord(name, input) {
|
|
|
1436
1440
|
path: _path + ".level",
|
|
1437
1441
|
expected: "number",
|
|
1438
1442
|
value: input.level
|
|
1443
|
+
}), undefined === input.ignored || "boolean" === typeof input.ignored || _report(_exceptionable, {
|
|
1444
|
+
path: _path + ".ignored",
|
|
1445
|
+
expected: "(boolean | undefined)",
|
|
1446
|
+
value: input.ignored
|
|
1439
1447
|
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1440
1448
|
const value = input[key];
|
|
1441
1449
|
if (undefined === value)
|
|
@@ -1465,21 +1473,25 @@ function _validateExactRecord(name, input) {
|
|
|
1465
1473
|
path: _path + ".total",
|
|
1466
1474
|
expected: "(number | undefined)",
|
|
1467
1475
|
value: input.total
|
|
1476
|
+
}), undefined === input.ignored || "boolean" === typeof input.ignored || _report(_exceptionable, {
|
|
1477
|
+
path: _path + ".ignored",
|
|
1478
|
+
expected: "(boolean | undefined)",
|
|
1479
|
+
value: input.ignored
|
|
1468
1480
|
}), undefined === input.tasks || (Array.isArray(input.tasks) || _report(_exceptionable, {
|
|
1469
1481
|
path: _path + ".tasks",
|
|
1470
|
-
expected: "(Array<__type
|
|
1482
|
+
expected: "(Array<__type> | undefined)",
|
|
1471
1483
|
value: input.tasks
|
|
1472
1484
|
})) && input.tasks.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1473
1485
|
path: _path + ".tasks[" + _index8 + "]",
|
|
1474
|
-
expected: "__type.
|
|
1486
|
+
expected: "__type.o2",
|
|
1475
1487
|
value: elem
|
|
1476
1488
|
})) && _vo6(elem, _path + ".tasks[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1477
1489
|
path: _path + ".tasks[" + _index8 + "]",
|
|
1478
|
-
expected: "__type.
|
|
1490
|
+
expected: "__type.o2",
|
|
1479
1491
|
value: elem
|
|
1480
1492
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1481
1493
|
path: _path + ".tasks",
|
|
1482
|
-
expected: "(Array<__type
|
|
1494
|
+
expected: "(Array<__type> | undefined)",
|
|
1483
1495
|
value: input.tasks
|
|
1484
1496
|
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
1485
1497
|
path: _path + ".level",
|
|
@@ -1491,19 +1503,19 @@ function _validateExactRecord(name, input) {
|
|
|
1491
1503
|
value: input.status
|
|
1492
1504
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
1493
1505
|
path: _path + ".messages",
|
|
1494
|
-
expected: "Array<
|
|
1506
|
+
expected: "Array<NxtStatusMessage>",
|
|
1495
1507
|
value: input.messages
|
|
1496
1508
|
})) && input.messages.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1497
1509
|
path: _path + ".messages[" + _index9 + "]",
|
|
1498
|
-
expected: "
|
|
1510
|
+
expected: "NxtStatusMessage",
|
|
1499
1511
|
value: elem
|
|
1500
1512
|
})) && _vo3(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1501
1513
|
path: _path + ".messages[" + _index9 + "]",
|
|
1502
|
-
expected: "
|
|
1514
|
+
expected: "NxtStatusMessage",
|
|
1503
1515
|
value: elem
|
|
1504
1516
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1505
1517
|
path: _path + ".messages",
|
|
1506
|
-
expected: "Array<
|
|
1518
|
+
expected: "Array<NxtStatusMessage>",
|
|
1507
1519
|
value: input.messages
|
|
1508
1520
|
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
1509
1521
|
path: _path + ".id",
|
|
@@ -1527,28 +1539,20 @@ function _validateExactRecord(name, input) {
|
|
|
1527
1539
|
value: input.status
|
|
1528
1540
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
1529
1541
|
path: _path + ".messages",
|
|
1530
|
-
expected: "Array<
|
|
1542
|
+
expected: "Array<NxtStatusMessage>",
|
|
1531
1543
|
value: input.messages
|
|
1532
1544
|
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1533
1545
|
path: _path + ".messages[" + _index10 + "]",
|
|
1534
|
-
expected: "
|
|
1546
|
+
expected: "NxtStatusMessage",
|
|
1535
1547
|
value: elem
|
|
1536
|
-
})) &&
|
|
1548
|
+
})) && _vo3(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1537
1549
|
path: _path + ".messages[" + _index10 + "]",
|
|
1538
|
-
expected: "
|
|
1550
|
+
expected: "NxtStatusMessage",
|
|
1539
1551
|
value: elem
|
|
1540
1552
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1541
1553
|
path: _path + ".messages",
|
|
1542
|
-
expected: "Array<
|
|
1554
|
+
expected: "Array<NxtStatusMessage>",
|
|
1543
1555
|
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
1556
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
1553
1557
|
if (false === __is(input)) {
|
|
1554
1558
|
errors = [];
|
|
@@ -1579,12 +1583,16 @@ function _validateExactRecord(name, input) {
|
|
|
1579
1583
|
}; })()(input);
|
|
1580
1584
|
}
|
|
1581
1585
|
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 => {
|
|
1586
|
+
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
1587
|
const value = input[key];
|
|
1584
1588
|
if (undefined === value)
|
|
1585
1589
|
return true;
|
|
1586
1590
|
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.
|
|
1591
|
+
}); 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, {
|
|
1592
|
+
path: _path + ".defaultLanguage",
|
|
1593
|
+
expected: "(string | undefined)",
|
|
1594
|
+
value: input.defaultLanguage
|
|
1595
|
+
}), undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1588
1596
|
path: _path + ".languages",
|
|
1589
1597
|
expected: "(Record<string, string> | undefined)",
|
|
1590
1598
|
value: input.languages
|
|
@@ -1663,12 +1671,16 @@ function _validateExactRecord(name, input) {
|
|
|
1663
1671
|
}; })()(input);
|
|
1664
1672
|
}
|
|
1665
1673
|
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 => {
|
|
1674
|
+
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
1675
|
const value = input[key];
|
|
1668
1676
|
if (undefined === value)
|
|
1669
1677
|
return true;
|
|
1670
1678
|
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.
|
|
1679
|
+
}); 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, {
|
|
1680
|
+
path: _path + ".defaultLanguage",
|
|
1681
|
+
expected: "(string | undefined)",
|
|
1682
|
+
value: input.defaultLanguage
|
|
1683
|
+
}), undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
1672
1684
|
path: _path + ".languages",
|
|
1673
1685
|
expected: "(Record<string, string> | undefined)",
|
|
1674
1686
|
value: input.languages
|
|
@@ -10139,6 +10151,44 @@ function _validateDomainRecord(domain, input) {
|
|
|
10139
10151
|
};
|
|
10140
10152
|
}; })()(input);
|
|
10141
10153
|
}
|
|
10154
|
+
case ":media.consolidate?": {
|
|
10155
|
+
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, {
|
|
10156
|
+
path: _path + ".status",
|
|
10157
|
+
expected: "(\"completed\" | \"error\" | \"idle\" | \"pending\" | \"source_mismatch\")",
|
|
10158
|
+
value: input.status
|
|
10159
|
+
}), undefined === input.progress || "number" === typeof input.progress || _report(_exceptionable, {
|
|
10160
|
+
path: _path + ".progress",
|
|
10161
|
+
expected: "(number | undefined)",
|
|
10162
|
+
value: input.progress
|
|
10163
|
+
}), true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
10164
|
+
if (false === __is(input)) {
|
|
10165
|
+
errors = [];
|
|
10166
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10167
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
10168
|
+
path: _path + "",
|
|
10169
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
10170
|
+
value: input
|
|
10171
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
10172
|
+
path: _path + "",
|
|
10173
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
10174
|
+
value: input
|
|
10175
|
+
}))(input, "$input", true);
|
|
10176
|
+
const success = 0 === errors.length;
|
|
10177
|
+
return success ? {
|
|
10178
|
+
success,
|
|
10179
|
+
data: input
|
|
10180
|
+
} : {
|
|
10181
|
+
success,
|
|
10182
|
+
errors,
|
|
10183
|
+
data: input
|
|
10184
|
+
};
|
|
10185
|
+
}
|
|
10186
|
+
return {
|
|
10187
|
+
success: true,
|
|
10188
|
+
data: input
|
|
10189
|
+
};
|
|
10190
|
+
}; })()(input);
|
|
10191
|
+
}
|
|
10142
10192
|
case ":media.renders?": {
|
|
10143
10193
|
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
10194
|
path: _path + ".children",
|
|
@@ -13354,36 +13404,34 @@ function _validateDomainRecord(domain, input) {
|
|
|
13354
13404
|
}; })()(input);
|
|
13355
13405
|
}
|
|
13356
13406
|
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.
|
|
13407
|
+
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
13408
|
const value = input[key];
|
|
13359
13409
|
if (undefined === value)
|
|
13360
13410
|
return true;
|
|
13361
|
-
return "object" === typeof value && null !== value &&
|
|
13362
|
-
}); const
|
|
13411
|
+
return "object" === typeof value && null !== value && _io5(value);
|
|
13412
|
+
}); 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
13413
|
const value = input[key];
|
|
13364
13414
|
if (undefined === value)
|
|
13365
13415
|
return true;
|
|
13366
13416
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
13367
|
-
}); const
|
|
13417
|
+
}); 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
13418
|
const value = input[key];
|
|
13369
13419
|
if (undefined === value)
|
|
13370
13420
|
return true;
|
|
13371
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13372
|
-
}); const
|
|
13421
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io12(value);
|
|
13422
|
+
}); 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
13423
|
const value = input[key];
|
|
13374
13424
|
if (undefined === value)
|
|
13375
13425
|
return true;
|
|
13376
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13377
|
-
}); const
|
|
13426
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
13427
|
+
}); 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
13428
|
if (undefined !== input.path)
|
|
13379
|
-
return
|
|
13429
|
+
return _io8(input);
|
|
13380
13430
|
else if (undefined !== input.__context)
|
|
13381
|
-
return
|
|
13431
|
+
return _io24(input);
|
|
13382
13432
|
else
|
|
13383
13433
|
return false;
|
|
13384
13434
|
})(); const _iu1 = input => (() => {
|
|
13385
|
-
if (_io3(input))
|
|
13386
|
-
return _io3(input);
|
|
13387
13435
|
if (_io2(input))
|
|
13388
13436
|
return _io2(input);
|
|
13389
13437
|
if (_io0(input))
|
|
@@ -13401,12 +13449,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13401
13449
|
path: _path + ".messages",
|
|
13402
13450
|
expected: "(Array<Message> | undefined)",
|
|
13403
13451
|
value: input.messages
|
|
13404
|
-
})) && input.messages.map((elem,
|
|
13405
|
-
path: _path + ".messages[" +
|
|
13452
|
+
})) && input.messages.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13453
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
13406
13454
|
expected: "Message",
|
|
13407
13455
|
value: elem
|
|
13408
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
13409
|
-
path: _path + ".messages[" +
|
|
13456
|
+
})) && _vo1(elem, _path + ".messages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13457
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
13410
13458
|
expected: "Message",
|
|
13411
13459
|
value: elem
|
|
13412
13460
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13425,35 +13473,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13425
13473
|
path: _path + ".msg",
|
|
13426
13474
|
expected: "string",
|
|
13427
13475
|
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, {
|
|
13476
|
+
})].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
13477
|
path: _path + ".retrieved",
|
|
13454
13478
|
expected: "(FilePublishRetrieved | undefined)",
|
|
13455
13479
|
value: input.retrieved
|
|
13456
|
-
})) &&
|
|
13480
|
+
})) && _vo3(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
13457
13481
|
path: _path + ".retrieved",
|
|
13458
13482
|
expected: "(FilePublishRetrieved | undefined)",
|
|
13459
13483
|
value: input.retrieved
|
|
@@ -13461,7 +13485,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13461
13485
|
path: _path + ".defaults",
|
|
13462
13486
|
expected: "(FilePublishDefaults | undefined)",
|
|
13463
13487
|
value: input.defaults
|
|
13464
|
-
})) &&
|
|
13488
|
+
})) && _vo6(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
13465
13489
|
path: _path + ".defaults",
|
|
13466
13490
|
expected: "(FilePublishDefaults | undefined)",
|
|
13467
13491
|
value: input.defaults
|
|
@@ -13477,19 +13501,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
13477
13501
|
path: _path + ".messages",
|
|
13478
13502
|
expected: "(Array<Message> | undefined)",
|
|
13479
13503
|
value: input.messages
|
|
13480
|
-
})) && input.messages.map((elem,
|
|
13481
|
-
path: _path + ".messages[" +
|
|
13504
|
+
})) && input.messages.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13505
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
13482
13506
|
expected: "Message",
|
|
13483
13507
|
value: elem
|
|
13484
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
13485
|
-
path: _path + ".messages[" +
|
|
13508
|
+
})) && _vo1(elem, _path + ".messages[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13509
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
13486
13510
|
expected: "Message",
|
|
13487
13511
|
value: elem
|
|
13488
13512
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13489
13513
|
path: _path + ".messages",
|
|
13490
13514
|
expected: "(Array<Message> | undefined)",
|
|
13491
13515
|
value: input.messages
|
|
13492
|
-
})].every(flag => flag); const
|
|
13516
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
13493
13517
|
path: _path + ".filename",
|
|
13494
13518
|
expected: "(string | undefined)",
|
|
13495
13519
|
value: input.filename
|
|
@@ -13501,11 +13525,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13501
13525
|
path: _path + ".renders",
|
|
13502
13526
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
13503
13527
|
value: input.renders
|
|
13504
|
-
})) &&
|
|
13528
|
+
})) && _vo4(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13505
13529
|
path: _path + ".renders",
|
|
13506
13530
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
13507
13531
|
value: input.renders
|
|
13508
|
-
})].every(flag => flag); const
|
|
13532
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13509
13533
|
const value = input[key];
|
|
13510
13534
|
if (undefined === value)
|
|
13511
13535
|
return true;
|
|
@@ -13513,12 +13537,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13513
13537
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13514
13538
|
expected: "FilePublishRetrievedRender",
|
|
13515
13539
|
value: value
|
|
13516
|
-
})) &&
|
|
13540
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13517
13541
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13518
13542
|
expected: "FilePublishRetrievedRender",
|
|
13519
13543
|
value: value
|
|
13520
13544
|
});
|
|
13521
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13545
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
13522
13546
|
path: _path + ".path",
|
|
13523
13547
|
expected: "string",
|
|
13524
13548
|
value: input.path
|
|
@@ -13530,7 +13554,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13530
13554
|
path: _path + ".hash",
|
|
13531
13555
|
expected: "(string | undefined)",
|
|
13532
13556
|
value: input.hash
|
|
13533
|
-
})].every(flag => flag); const
|
|
13557
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.directory || _report(_exceptionable, {
|
|
13534
13558
|
path: _path + ".directory",
|
|
13535
13559
|
expected: "string",
|
|
13536
13560
|
value: input.directory
|
|
@@ -13542,11 +13566,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13542
13566
|
path: _path + ".renders",
|
|
13543
13567
|
expected: "Record<string, FilePublishRender>",
|
|
13544
13568
|
value: input.renders
|
|
13545
|
-
})) &&
|
|
13569
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13546
13570
|
path: _path + ".renders",
|
|
13547
13571
|
expected: "Record<string, FilePublishRender>",
|
|
13548
13572
|
value: input.renders
|
|
13549
|
-
})].every(flag => flag); const
|
|
13573
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13550
13574
|
const value = input[key];
|
|
13551
13575
|
if (undefined === value)
|
|
13552
13576
|
return true;
|
|
@@ -13567,7 +13591,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13567
13591
|
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13568
13592
|
value: value
|
|
13569
13593
|
}));
|
|
13570
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13594
|
+
}).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
13571
13595
|
path: _path + ".name",
|
|
13572
13596
|
expected: "(string | undefined)",
|
|
13573
13597
|
value: input.name
|
|
@@ -13595,7 +13619,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13595
13619
|
path: _path + ".scene",
|
|
13596
13620
|
expected: "(RenderSceneObject | undefined)",
|
|
13597
13621
|
value: input.scene
|
|
13598
|
-
})) &&
|
|
13622
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
13599
13623
|
path: _path + ".scene",
|
|
13600
13624
|
expected: "(RenderSceneObject | undefined)",
|
|
13601
13625
|
value: input.scene
|
|
@@ -13603,11 +13627,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13603
13627
|
path: _path + ".profile",
|
|
13604
13628
|
expected: "(RenderProfileObject | undefined)",
|
|
13605
13629
|
value: input.profile
|
|
13606
|
-
})) &&
|
|
13630
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
13607
13631
|
path: _path + ".profile",
|
|
13608
13632
|
expected: "(RenderProfileObject | undefined)",
|
|
13609
13633
|
value: input.profile
|
|
13610
|
-
})].every(flag => flag); const
|
|
13634
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
13611
13635
|
path: _path + ".id",
|
|
13612
13636
|
expected: "(string | undefined)",
|
|
13613
13637
|
value: input.id
|
|
@@ -13619,7 +13643,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13619
13643
|
path: _path + ".input",
|
|
13620
13644
|
expected: "(__type | null | undefined)",
|
|
13621
13645
|
value: input.input
|
|
13622
|
-
})) &&
|
|
13646
|
+
})) && _vo10(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
13623
13647
|
path: _path + ".input",
|
|
13624
13648
|
expected: "(__type | null | undefined)",
|
|
13625
13649
|
value: input.input
|
|
@@ -13635,7 +13659,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13635
13659
|
path: _path + ".subtitleTracks",
|
|
13636
13660
|
expected: "(__type.o1 | undefined)",
|
|
13637
13661
|
value: input.subtitleTracks
|
|
13638
|
-
})) &&
|
|
13662
|
+
})) && _vo11(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
13639
13663
|
path: _path + ".subtitleTracks",
|
|
13640
13664
|
expected: "(__type.o1 | undefined)",
|
|
13641
13665
|
value: input.subtitleTracks
|
|
@@ -13643,7 +13667,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13643
13667
|
path: _path + ".video",
|
|
13644
13668
|
expected: "(__type.o3 | undefined)",
|
|
13645
13669
|
value: input.video
|
|
13646
|
-
})) &&
|
|
13670
|
+
})) && _vo14(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
13647
13671
|
path: _path + ".video",
|
|
13648
13672
|
expected: "(__type.o3 | undefined)",
|
|
13649
13673
|
value: input.video
|
|
@@ -13659,11 +13683,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13659
13683
|
path: _path + ".transcribe",
|
|
13660
13684
|
expected: "(__type.o5 | undefined)",
|
|
13661
13685
|
value: input.transcribe
|
|
13662
|
-
})) &&
|
|
13686
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13663
13687
|
path: _path + ".transcribe",
|
|
13664
13688
|
expected: "(__type.o5 | undefined)",
|
|
13665
13689
|
value: input.transcribe
|
|
13666
|
-
})].every(flag => flag); const
|
|
13690
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
13667
13691
|
path: _path + ".type",
|
|
13668
13692
|
expected: "(string | undefined)",
|
|
13669
13693
|
value: input.type
|
|
@@ -13671,7 +13695,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13671
13695
|
path: _path + ".file",
|
|
13672
13696
|
expected: "(null | string | undefined)",
|
|
13673
13697
|
value: input.file
|
|
13674
|
-
})].every(flag => flag); const
|
|
13698
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13675
13699
|
const value = input[key];
|
|
13676
13700
|
if (undefined === value)
|
|
13677
13701
|
return true;
|
|
@@ -13679,12 +13703,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13679
13703
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13680
13704
|
expected: "__type.o2",
|
|
13681
13705
|
value: value
|
|
13682
|
-
})) &&
|
|
13706
|
+
})) && _vo12(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13683
13707
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13684
13708
|
expected: "__type.o2",
|
|
13685
13709
|
value: value
|
|
13686
13710
|
});
|
|
13687
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13711
|
+
}).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
13712
|
path: _path + ".style",
|
|
13689
13713
|
expected: "(null | string | undefined)",
|
|
13690
13714
|
value: input.style
|
|
@@ -13692,11 +13716,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13692
13716
|
path: _path + ".styleOverrides",
|
|
13693
13717
|
expected: "(SubtitleStyle | undefined)",
|
|
13694
13718
|
value: input.styleOverrides
|
|
13695
|
-
})) &&
|
|
13719
|
+
})) && _vo13(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
13696
13720
|
path: _path + ".styleOverrides",
|
|
13697
13721
|
expected: "(SubtitleStyle | undefined)",
|
|
13698
13722
|
value: input.styleOverrides
|
|
13699
|
-
})].every(flag => flag); const
|
|
13723
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
13700
13724
|
path: _path + ".name",
|
|
13701
13725
|
expected: "(string | undefined)",
|
|
13702
13726
|
value: input.name
|
|
@@ -13792,15 +13816,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13792
13816
|
path: _path + ".encoding",
|
|
13793
13817
|
expected: "(string | undefined)",
|
|
13794
13818
|
value: input.encoding
|
|
13795
|
-
})].every(flag => flag); const
|
|
13819
|
+
})].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
13820
|
path: _path + ".crop",
|
|
13797
13821
|
expected: "(__type.o4 | undefined)",
|
|
13798
13822
|
value: input.crop
|
|
13799
|
-
})) &&
|
|
13823
|
+
})) && _vo15(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
13800
13824
|
path: _path + ".crop",
|
|
13801
13825
|
expected: "(__type.o4 | undefined)",
|
|
13802
13826
|
value: input.crop
|
|
13803
|
-
})].every(flag => flag); const
|
|
13827
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
13804
13828
|
path: _path + ".x",
|
|
13805
13829
|
expected: "(number | undefined)",
|
|
13806
13830
|
value: input.x
|
|
@@ -13816,7 +13840,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13816
13840
|
path: _path + ".height",
|
|
13817
13841
|
expected: "(number | undefined)",
|
|
13818
13842
|
value: input.height
|
|
13819
|
-
})].every(flag => flag); const
|
|
13843
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
13820
13844
|
path: _path + ".language",
|
|
13821
13845
|
expected: "(string | undefined)",
|
|
13822
13846
|
value: input.language
|
|
@@ -13824,15 +13848,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13824
13848
|
path: _path + ".pan",
|
|
13825
13849
|
expected: "(Array<number> | undefined)",
|
|
13826
13850
|
value: input.pan
|
|
13827
|
-
})) && input.pan.map((elem,
|
|
13828
|
-
path: _path + ".pan[" +
|
|
13851
|
+
})) && input.pan.map((elem, _index9) => "number" === typeof elem || _report(_exceptionable, {
|
|
13852
|
+
path: _path + ".pan[" + _index9 + "]",
|
|
13829
13853
|
expected: "number",
|
|
13830
13854
|
value: elem
|
|
13831
13855
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13832
13856
|
path: _path + ".pan",
|
|
13833
13857
|
expected: "(Array<number> | undefined)",
|
|
13834
13858
|
value: input.pan
|
|
13835
|
-
})].every(flag => flag); const
|
|
13859
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
13836
13860
|
path: _path + ".format",
|
|
13837
13861
|
expected: "string",
|
|
13838
13862
|
value: input.format
|
|
@@ -13840,7 +13864,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13840
13864
|
path: _path + ".transcribe",
|
|
13841
13865
|
expected: "(__type.o6 | undefined)",
|
|
13842
13866
|
value: input.transcribe
|
|
13843
|
-
})) &&
|
|
13867
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13844
13868
|
path: _path + ".transcribe",
|
|
13845
13869
|
expected: "(__type.o6 | undefined)",
|
|
13846
13870
|
value: input.transcribe
|
|
@@ -13848,7 +13872,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13848
13872
|
path: _path + ".translate",
|
|
13849
13873
|
expected: "(__type.o7 | undefined)",
|
|
13850
13874
|
value: input.translate
|
|
13851
|
-
})) &&
|
|
13875
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
13852
13876
|
path: _path + ".translate",
|
|
13853
13877
|
expected: "(__type.o7 | undefined)",
|
|
13854
13878
|
value: input.translate
|
|
@@ -13856,7 +13880,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13856
13880
|
path: _path + ".audio",
|
|
13857
13881
|
expected: "(__type.o8 | undefined)",
|
|
13858
13882
|
value: input.audio
|
|
13859
|
-
})) &&
|
|
13883
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
13860
13884
|
path: _path + ".audio",
|
|
13861
13885
|
expected: "(__type.o8 | undefined)",
|
|
13862
13886
|
value: input.audio
|
|
@@ -13864,8 +13888,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13864
13888
|
path: _path + ".pick",
|
|
13865
13889
|
expected: "(Array<string> | undefined)",
|
|
13866
13890
|
value: input.pick
|
|
13867
|
-
})) && input.pick.map((elem,
|
|
13868
|
-
path: _path + ".pick[" +
|
|
13891
|
+
})) && input.pick.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
13892
|
+
path: _path + ".pick[" + _index10 + "]",
|
|
13869
13893
|
expected: "string",
|
|
13870
13894
|
value: elem
|
|
13871
13895
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13880,19 +13904,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
13880
13904
|
path: _path + ".subtitle",
|
|
13881
13905
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13882
13906
|
value: input.subtitle
|
|
13883
|
-
})) &&
|
|
13907
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
13884
13908
|
path: _path + ".subtitle",
|
|
13885
13909
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13886
13910
|
value: input.subtitle
|
|
13887
|
-
}))].every(flag => flag); const
|
|
13911
|
+
}))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
13888
13912
|
path: _path + ".engine",
|
|
13889
13913
|
expected: "string",
|
|
13890
13914
|
value: input.engine
|
|
13891
|
-
})].every(flag => flag); const
|
|
13915
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
13892
13916
|
path: _path + ".language",
|
|
13893
13917
|
expected: "string",
|
|
13894
13918
|
value: input.language
|
|
13895
|
-
})].every(flag => flag); const
|
|
13919
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
13896
13920
|
path: _path + ".codec",
|
|
13897
13921
|
expected: "(string | undefined)",
|
|
13898
13922
|
value: input.codec
|
|
@@ -13908,7 +13932,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13908
13932
|
path: _path + ".split",
|
|
13909
13933
|
expected: "(boolean | undefined)",
|
|
13910
13934
|
value: input.split
|
|
13911
|
-
})].every(flag => flag); const
|
|
13935
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
13912
13936
|
path: _path + ".lang",
|
|
13913
13937
|
expected: "(string | undefined)",
|
|
13914
13938
|
value: input.lang
|
|
@@ -13920,7 +13944,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13920
13944
|
path: _path + ".ccconverter",
|
|
13921
13945
|
expected: "(__type.o9 | undefined)",
|
|
13922
13946
|
value: input.ccconverter
|
|
13923
|
-
})) &&
|
|
13947
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
13924
13948
|
path: _path + ".ccconverter",
|
|
13925
13949
|
expected: "(__type.o9 | undefined)",
|
|
13926
13950
|
value: input.ccconverter
|
|
@@ -13928,15 +13952,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13928
13952
|
path: _path + ".ass",
|
|
13929
13953
|
expected: "(__type.o10 | undefined)",
|
|
13930
13954
|
value: input.ass
|
|
13931
|
-
})) &&
|
|
13955
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
13932
13956
|
path: _path + ".ass",
|
|
13933
13957
|
expected: "(__type.o10 | undefined)",
|
|
13934
13958
|
value: input.ass
|
|
13935
|
-
})].every(flag => flag); const
|
|
13959
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13936
13960
|
path: _path + ".preset",
|
|
13937
13961
|
expected: "(string | undefined)",
|
|
13938
13962
|
value: input.preset
|
|
13939
|
-
})].every(flag => flag); const
|
|
13963
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
13940
13964
|
path: _path + ".futureWordWrapping",
|
|
13941
13965
|
expected: "(boolean | undefined)",
|
|
13942
13966
|
value: input.futureWordWrapping
|
|
@@ -13948,11 +13972,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13948
13972
|
path: _path + ".enableUnsafeLineSpacingHack",
|
|
13949
13973
|
expected: "(boolean | undefined)",
|
|
13950
13974
|
value: input.enableUnsafeLineSpacingHack
|
|
13951
|
-
})].every(flag => flag); const
|
|
13975
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
13952
13976
|
path: _path + ".__context",
|
|
13953
13977
|
expected: "__type.o12",
|
|
13954
13978
|
value: input.__context
|
|
13955
|
-
})) &&
|
|
13979
|
+
})) && _vo25(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
13956
13980
|
path: _path + ".__context",
|
|
13957
13981
|
expected: "__type.o12",
|
|
13958
13982
|
value: input.__context
|
|
@@ -13960,15 +13984,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13960
13984
|
path: _path + ".__returnValue",
|
|
13961
13985
|
expected: "ResolvedFilePublishRender",
|
|
13962
13986
|
value: input.__returnValue
|
|
13963
|
-
})) &&
|
|
13987
|
+
})) && _vo8(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
13964
13988
|
path: _path + ".__returnValue",
|
|
13965
13989
|
expected: "ResolvedFilePublishRender",
|
|
13966
13990
|
value: input.__returnValue
|
|
13967
|
-
})].every(flag => flag); const
|
|
13991
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
13968
13992
|
path: _path + ".publish",
|
|
13969
13993
|
expected: "FilePublishRecord",
|
|
13970
13994
|
value: input.publish
|
|
13971
|
-
})) &&
|
|
13995
|
+
})) && _vo26(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
13972
13996
|
path: _path + ".publish",
|
|
13973
13997
|
expected: "FilePublishRecord",
|
|
13974
13998
|
value: input.publish
|
|
@@ -13980,7 +14004,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13980
14004
|
path: _path + ".name",
|
|
13981
14005
|
expected: "string",
|
|
13982
14006
|
value: input.name
|
|
13983
|
-
})].every(flag => flag); const
|
|
14007
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
13984
14008
|
path: _path + ".type",
|
|
13985
14009
|
expected: "(\"file\" | undefined)",
|
|
13986
14010
|
value: input.type
|
|
@@ -13996,7 +14020,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13996
14020
|
path: _path + ".renders",
|
|
13997
14021
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
13998
14022
|
value: input.renders
|
|
13999
|
-
})) &&
|
|
14023
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14000
14024
|
path: _path + ".renders",
|
|
14001
14025
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
14002
14026
|
value: input.renders
|
|
@@ -14004,7 +14028,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14004
14028
|
path: _path + ".draft",
|
|
14005
14029
|
expected: "(FilePublishDraft | undefined)",
|
|
14006
14030
|
value: input.draft
|
|
14007
|
-
})) &&
|
|
14031
|
+
})) && _vo27(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
14008
14032
|
path: _path + ".draft",
|
|
14009
14033
|
expected: "(FilePublishDraft | undefined)",
|
|
14010
14034
|
value: input.draft
|
|
@@ -14012,7 +14036,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14012
14036
|
path: _path + ".remote",
|
|
14013
14037
|
expected: "(FilePublishRemote | undefined)",
|
|
14014
14038
|
value: input.remote
|
|
14015
|
-
})) &&
|
|
14039
|
+
})) && _vo28(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
14016
14040
|
path: _path + ".remote",
|
|
14017
14041
|
expected: "(FilePublishRemote | undefined)",
|
|
14018
14042
|
value: input.remote
|
|
@@ -14020,7 +14044,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14020
14044
|
path: _path + ".published",
|
|
14021
14045
|
expected: "(FilePublishPublished | undefined)",
|
|
14022
14046
|
value: input.published
|
|
14023
|
-
})) &&
|
|
14047
|
+
})) && _vo31(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
14024
14048
|
path: _path + ".published",
|
|
14025
14049
|
expected: "(FilePublishPublished | undefined)",
|
|
14026
14050
|
value: input.published
|
|
@@ -14036,7 +14060,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14036
14060
|
path: _path + ".render",
|
|
14037
14061
|
expected: "(PublishRenderBase | undefined)",
|
|
14038
14062
|
value: input.render
|
|
14039
|
-
})) &&
|
|
14063
|
+
})) && _vo32(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
14040
14064
|
path: _path + ".render",
|
|
14041
14065
|
expected: "(PublishRenderBase | undefined)",
|
|
14042
14066
|
value: input.render
|
|
@@ -14044,7 +14068,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14044
14068
|
path: _path + ".error",
|
|
14045
14069
|
expected: "(__type.o13 | null | undefined)",
|
|
14046
14070
|
value: input.error
|
|
14047
|
-
})) &&
|
|
14071
|
+
})) && _vo33(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
14048
14072
|
path: _path + ".error",
|
|
14049
14073
|
expected: "(__type.o13 | null | undefined)",
|
|
14050
14074
|
value: input.error
|
|
@@ -14052,19 +14076,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
14052
14076
|
path: _path + ".messages",
|
|
14053
14077
|
expected: "(Array<Message> | undefined)",
|
|
14054
14078
|
value: input.messages
|
|
14055
|
-
})) && input.messages.map((elem,
|
|
14056
|
-
path: _path + ".messages[" +
|
|
14079
|
+
})) && input.messages.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14080
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
14057
14081
|
expected: "Message",
|
|
14058
14082
|
value: elem
|
|
14059
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
14060
|
-
path: _path + ".messages[" +
|
|
14083
|
+
})) && _vo1(elem, _path + ".messages[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14084
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
14061
14085
|
expected: "Message",
|
|
14062
14086
|
value: elem
|
|
14063
14087
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
14064
14088
|
path: _path + ".messages",
|
|
14065
14089
|
expected: "(Array<Message> | undefined)",
|
|
14066
14090
|
value: input.messages
|
|
14067
|
-
})].every(flag => flag); const
|
|
14091
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14068
14092
|
path: _path + ".directory",
|
|
14069
14093
|
expected: "(string | undefined)",
|
|
14070
14094
|
value: input.directory
|
|
@@ -14072,7 +14096,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14072
14096
|
path: _path + ".filename",
|
|
14073
14097
|
expected: "(string | undefined)",
|
|
14074
14098
|
value: input.filename
|
|
14075
|
-
})].every(flag => flag); const
|
|
14099
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14076
14100
|
path: _path + ".directory",
|
|
14077
14101
|
expected: "(string | undefined)",
|
|
14078
14102
|
value: input.directory
|
|
@@ -14084,11 +14108,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
14084
14108
|
path: _path + ".renders",
|
|
14085
14109
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14086
14110
|
value: input.renders
|
|
14087
|
-
})) &&
|
|
14111
|
+
})) && _vo29(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
14088
14112
|
path: _path + ".renders",
|
|
14089
14113
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
14090
14114
|
value: input.renders
|
|
14091
|
-
})].every(flag => flag); const
|
|
14115
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14092
14116
|
const value = input[key];
|
|
14093
14117
|
if (undefined === value)
|
|
14094
14118
|
return true;
|
|
@@ -14096,12 +14120,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14096
14120
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14097
14121
|
expected: "FilePublishRemoteRender",
|
|
14098
14122
|
value: value
|
|
14099
|
-
})) &&
|
|
14123
|
+
})) && _vo30(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
14100
14124
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14101
14125
|
expected: "FilePublishRemoteRender",
|
|
14102
14126
|
value: value
|
|
14103
14127
|
});
|
|
14104
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14128
|
+
}).every(flag => flag)].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
14105
14129
|
path: _path + ".path",
|
|
14106
14130
|
expected: "(string | undefined)",
|
|
14107
14131
|
value: input.path
|
|
@@ -14109,12 +14133,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14109
14133
|
path: _path + ".messages",
|
|
14110
14134
|
expected: "(Array<Message> | undefined)",
|
|
14111
14135
|
value: input.messages
|
|
14112
|
-
})) && input.messages.map((elem,
|
|
14113
|
-
path: _path + ".messages[" +
|
|
14136
|
+
})) && input.messages.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14137
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
14114
14138
|
expected: "Message",
|
|
14115
14139
|
value: elem
|
|
14116
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
14117
|
-
path: _path + ".messages[" +
|
|
14140
|
+
})) && _vo1(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14141
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
14118
14142
|
expected: "Message",
|
|
14119
14143
|
value: elem
|
|
14120
14144
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14133,7 +14157,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14133
14157
|
path: _path + ".source",
|
|
14134
14158
|
expected: "(string | undefined)",
|
|
14135
14159
|
value: input.source
|
|
14136
|
-
})].every(flag => flag); const
|
|
14160
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
14137
14161
|
path: _path + ".directory",
|
|
14138
14162
|
expected: "(string | undefined)",
|
|
14139
14163
|
value: input.directory
|
|
@@ -14141,7 +14165,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14141
14165
|
path: _path + ".filename",
|
|
14142
14166
|
expected: "string",
|
|
14143
14167
|
value: input.filename
|
|
14144
|
-
})].every(flag => flag); const
|
|
14168
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
14145
14169
|
path: _path + ".preset",
|
|
14146
14170
|
expected: "(string | undefined)",
|
|
14147
14171
|
value: input.preset
|
|
@@ -14153,7 +14177,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14153
14177
|
path: _path + ".scene",
|
|
14154
14178
|
expected: "(RenderSceneObject | undefined)",
|
|
14155
14179
|
value: input.scene
|
|
14156
|
-
})) &&
|
|
14180
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
14157
14181
|
path: _path + ".scene",
|
|
14158
14182
|
expected: "(RenderSceneObject | undefined)",
|
|
14159
14183
|
value: input.scene
|
|
@@ -14161,36 +14185,36 @@ function _validateDomainRecord(domain, input) {
|
|
|
14161
14185
|
path: _path + ".profile",
|
|
14162
14186
|
expected: "(RenderProfileObject | undefined)",
|
|
14163
14187
|
value: input.profile
|
|
14164
|
-
})) &&
|
|
14188
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
14165
14189
|
path: _path + ".profile",
|
|
14166
14190
|
expected: "(RenderProfileObject | undefined)",
|
|
14167
14191
|
value: input.profile
|
|
14168
|
-
})].every(flag => flag); const
|
|
14192
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
14169
14193
|
path: _path + ".method",
|
|
14170
14194
|
expected: "string",
|
|
14171
14195
|
value: input.method
|
|
14172
14196
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
14173
14197
|
if (undefined !== input.path)
|
|
14174
|
-
return
|
|
14198
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
14175
14199
|
else if (undefined !== input.__context)
|
|
14176
|
-
return
|
|
14200
|
+
return _vo24(input, _path, true && _exceptionable);
|
|
14177
14201
|
else
|
|
14178
14202
|
return _report(_exceptionable, {
|
|
14179
14203
|
path: _path,
|
|
14180
14204
|
expected: "(ResolvedFilePublishRender | __type.o11)",
|
|
14181
14205
|
value: input
|
|
14182
14206
|
});
|
|
14183
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) =>
|
|
14207
|
+
})(); 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
14208
|
if (false === __is(input)) {
|
|
14185
14209
|
errors = [];
|
|
14186
14210
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14187
14211
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14188
14212
|
path: _path + "",
|
|
14189
|
-
expected: "(
|
|
14213
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
14190
14214
|
value: input
|
|
14191
14215
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
14192
14216
|
path: _path + "",
|
|
14193
|
-
expected: "(
|
|
14217
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
14194
14218
|
value: input
|
|
14195
14219
|
}))(input, "$input", true);
|
|
14196
14220
|
const success = 0 === errors.length;
|
|
@@ -16700,7 +16724,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16700
16724
|
}; })()(input);
|
|
16701
16725
|
}
|
|
16702
16726
|
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 _iv28 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const
|
|
16727
|
+
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 _iv28 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv58 = 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 _vv63 = 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) && _io57(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io61(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) && _io62(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io71(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io72(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io73(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && _io76(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io77(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io78(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io81(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io84(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io85(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io86(input.bookmarks)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io87(input.shotbox)) && (undefined === input.performance || "object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) && _io88(input.performance)); 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
16728
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
16705
16729
|
return true;
|
|
16706
16730
|
const value = input[key];
|
|
@@ -16777,7 +16801,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16777
16801
|
if (undefined === value)
|
|
16778
16802
|
return true;
|
|
16779
16803
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
16780
|
-
}); const _io81 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io82(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io83(input.duplicate)); const _io82 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io83 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io84 = input => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every(elem => "number" === typeof elem)) && (undefined === input.textFilter || "string" === typeof input.textFilter) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex); const _io85 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io86 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io87 = input => undefined === input.layout || "string" === typeof input.layout; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
16804
|
+
}); const _io81 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io82(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io83(input.duplicate)); const _io82 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io83 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io84 = input => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every(elem => "number" === typeof elem)) && (undefined === input.textFilter || "string" === typeof input.textFilter) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex); const _io85 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io86 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io87 = input => undefined === input.layout || "string" === typeof input.layout; const _io88 = input => undefined === input.ignoredMessages || Array.isArray(input.ignoredMessages) && input.ignoredMessages.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
16781
16805
|
path: _path + ".autoLogoutTime",
|
|
16782
16806
|
expected: "(number | undefined)",
|
|
16783
16807
|
value: input.autoLogoutTime
|
|
@@ -16833,16 +16857,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
16833
16857
|
path: _path + ".exclusiveTagGroups",
|
|
16834
16858
|
expected: "(Array<Array<string>> | undefined)",
|
|
16835
16859
|
value: input.exclusiveTagGroups
|
|
16836
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
16837
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16860
|
+
})) && input.exclusiveTagGroups.map((elem, _index36) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
16861
|
+
path: _path + ".exclusiveTagGroups[" + _index36 + "]",
|
|
16838
16862
|
expected: "Array<string>",
|
|
16839
16863
|
value: elem
|
|
16840
|
-
})) && elem.map((elem,
|
|
16841
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16864
|
+
})) && elem.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
16865
|
+
path: _path + ".exclusiveTagGroups[" + _index36 + "][" + _index37 + "]",
|
|
16842
16866
|
expected: "string",
|
|
16843
16867
|
value: elem
|
|
16844
16868
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16845
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16869
|
+
path: _path + ".exclusiveTagGroups[" + _index36 + "]",
|
|
16846
16870
|
expected: "Array<string>",
|
|
16847
16871
|
value: elem
|
|
16848
16872
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16961,12 +16985,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16961
16985
|
path: _path + ".commands",
|
|
16962
16986
|
expected: "(Array<__type>.o6 | undefined)",
|
|
16963
16987
|
value: input.commands
|
|
16964
|
-
})) && input.commands.map((elem,
|
|
16965
|
-
path: _path + ".commands[" +
|
|
16988
|
+
})) && input.commands.map((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16989
|
+
path: _path + ".commands[" + _index38 + "]",
|
|
16966
16990
|
expected: "__type.o54",
|
|
16967
16991
|
value: elem
|
|
16968
|
-
})) && _vo61(elem, _path + ".commands[" +
|
|
16969
|
-
path: _path + ".commands[" +
|
|
16992
|
+
})) && _vo61(elem, _path + ".commands[" + _index38 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16993
|
+
path: _path + ".commands[" + _index38 + "]",
|
|
16970
16994
|
expected: "__type.o54",
|
|
16971
16995
|
value: elem
|
|
16972
16996
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16977,8 +17001,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16977
17001
|
path: _path + ".predefinedTags",
|
|
16978
17002
|
expected: "(Array<string> | undefined)",
|
|
16979
17003
|
value: input.predefinedTags
|
|
16980
|
-
})) && input.predefinedTags.map((elem,
|
|
16981
|
-
path: _path + ".predefinedTags[" +
|
|
17004
|
+
})) && input.predefinedTags.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
17005
|
+
path: _path + ".predefinedTags[" + _index39 + "]",
|
|
16982
17006
|
expected: "string",
|
|
16983
17007
|
value: elem
|
|
16984
17008
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17005,12 +17029,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17005
17029
|
path: _path + ".hiddenPreviews",
|
|
17006
17030
|
expected: "(Array<__type>.o7 | undefined)",
|
|
17007
17031
|
value: input.hiddenPreviews
|
|
17008
|
-
})) && input.hiddenPreviews.map((elem,
|
|
17009
|
-
path: _path + ".hiddenPreviews[" +
|
|
17032
|
+
})) && input.hiddenPreviews.map((elem, _index40) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17033
|
+
path: _path + ".hiddenPreviews[" + _index40 + "]",
|
|
17010
17034
|
expected: "__type.o65",
|
|
17011
17035
|
value: elem
|
|
17012
|
-
})) && _vo72(elem, _path + ".hiddenPreviews[" +
|
|
17013
|
-
path: _path + ".hiddenPreviews[" +
|
|
17036
|
+
})) && _vo72(elem, _path + ".hiddenPreviews[" + _index40 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17037
|
+
path: _path + ".hiddenPreviews[" + _index40 + "]",
|
|
17014
17038
|
expected: "__type.o65",
|
|
17015
17039
|
value: elem
|
|
17016
17040
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17101,6 +17125,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
17101
17125
|
path: _path + ".shotbox",
|
|
17102
17126
|
expected: "(__type.o80 | undefined)",
|
|
17103
17127
|
value: input.shotbox
|
|
17128
|
+
}), undefined === input.performance || ("object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) || _report(_exceptionable, {
|
|
17129
|
+
path: _path + ".performance",
|
|
17130
|
+
expected: "(__type.o81 | undefined)",
|
|
17131
|
+
value: input.performance
|
|
17132
|
+
})) && _vo88(input.performance, _path + ".performance", true && _exceptionable) || _report(_exceptionable, {
|
|
17133
|
+
path: _path + ".performance",
|
|
17134
|
+
expected: "(__type.o81 | undefined)",
|
|
17135
|
+
value: input.performance
|
|
17104
17136
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
17105
17137
|
path: _path + ".overrideUserContact",
|
|
17106
17138
|
expected: "(boolean | undefined)",
|
|
@@ -17236,8 +17268,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17236
17268
|
path: _path + ".sortOrder",
|
|
17237
17269
|
expected: "(Array<string> | undefined)",
|
|
17238
17270
|
value: input.sortOrder
|
|
17239
|
-
})) && input.sortOrder.map((elem,
|
|
17240
|
-
path: _path + ".sortOrder[" +
|
|
17271
|
+
})) && input.sortOrder.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
17272
|
+
path: _path + ".sortOrder[" + _index41 + "]",
|
|
17241
17273
|
expected: "string",
|
|
17242
17274
|
value: elem
|
|
17243
17275
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17248,8 +17280,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17248
17280
|
path: _path + ".include",
|
|
17249
17281
|
expected: "(Array<string> | undefined)",
|
|
17250
17282
|
value: input.include
|
|
17251
|
-
})) && input.include.map((elem,
|
|
17252
|
-
path: _path + ".include[" +
|
|
17283
|
+
})) && input.include.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
17284
|
+
path: _path + ".include[" + _index42 + "]",
|
|
17253
17285
|
expected: "string",
|
|
17254
17286
|
value: elem
|
|
17255
17287
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17260,8 +17292,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17260
17292
|
path: _path + ".exclude",
|
|
17261
17293
|
expected: "(Array<string> | undefined)",
|
|
17262
17294
|
value: input.exclude
|
|
17263
|
-
})) && input.exclude.map((elem,
|
|
17264
|
-
path: _path + ".exclude[" +
|
|
17295
|
+
})) && input.exclude.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
17296
|
+
path: _path + ".exclude[" + _index43 + "]",
|
|
17265
17297
|
expected: "string",
|
|
17266
17298
|
value: elem
|
|
17267
17299
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17272,8 +17304,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17272
17304
|
path: _path + ".include",
|
|
17273
17305
|
expected: "(Array<string> | undefined)",
|
|
17274
17306
|
value: input.include
|
|
17275
|
-
})) && input.include.map((elem,
|
|
17276
|
-
path: _path + ".include[" +
|
|
17307
|
+
})) && input.include.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
17308
|
+
path: _path + ".include[" + _index44 + "]",
|
|
17277
17309
|
expected: "string",
|
|
17278
17310
|
value: elem
|
|
17279
17311
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17284,8 +17316,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17284
17316
|
path: _path + ".exclude",
|
|
17285
17317
|
expected: "(Array<string> | undefined)",
|
|
17286
17318
|
value: input.exclude
|
|
17287
|
-
})) && input.exclude.map((elem,
|
|
17288
|
-
path: _path + ".exclude[" +
|
|
17319
|
+
})) && input.exclude.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
17320
|
+
path: _path + ".exclude[" + _index45 + "]",
|
|
17289
17321
|
expected: "string",
|
|
17290
17322
|
value: elem
|
|
17291
17323
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17296,8 +17328,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17296
17328
|
path: _path + ".include",
|
|
17297
17329
|
expected: "(Array<string> | undefined)",
|
|
17298
17330
|
value: input.include
|
|
17299
|
-
})) && input.include.map((elem,
|
|
17300
|
-
path: _path + ".include[" +
|
|
17331
|
+
})) && input.include.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
17332
|
+
path: _path + ".include[" + _index46 + "]",
|
|
17301
17333
|
expected: "string",
|
|
17302
17334
|
value: elem
|
|
17303
17335
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17308,8 +17340,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17308
17340
|
path: _path + ".exclude",
|
|
17309
17341
|
expected: "(Array<string> | undefined)",
|
|
17310
17342
|
value: input.exclude
|
|
17311
|
-
})) && input.exclude.map((elem,
|
|
17312
|
-
path: _path + ".exclude[" +
|
|
17343
|
+
})) && input.exclude.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
17344
|
+
path: _path + ".exclude[" + _index47 + "]",
|
|
17313
17345
|
expected: "string",
|
|
17314
17346
|
value: elem
|
|
17315
17347
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17320,8 +17352,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17320
17352
|
path: _path + ".include",
|
|
17321
17353
|
expected: "(Array<string> | undefined)",
|
|
17322
17354
|
value: input.include
|
|
17323
|
-
})) && input.include.map((elem,
|
|
17324
|
-
path: _path + ".include[" +
|
|
17355
|
+
})) && input.include.map((elem, _index48) => "string" === typeof elem || _report(_exceptionable, {
|
|
17356
|
+
path: _path + ".include[" + _index48 + "]",
|
|
17325
17357
|
expected: "string",
|
|
17326
17358
|
value: elem
|
|
17327
17359
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17332,8 +17364,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17332
17364
|
path: _path + ".exclude",
|
|
17333
17365
|
expected: "(Array<string> | undefined)",
|
|
17334
17366
|
value: input.exclude
|
|
17335
|
-
})) && input.exclude.map((elem,
|
|
17336
|
-
path: _path + ".exclude[" +
|
|
17367
|
+
})) && input.exclude.map((elem, _index49) => "string" === typeof elem || _report(_exceptionable, {
|
|
17368
|
+
path: _path + ".exclude[" + _index49 + "]",
|
|
17337
17369
|
expected: "string",
|
|
17338
17370
|
value: elem
|
|
17339
17371
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17412,12 +17444,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17412
17444
|
path: _path + ".colorTags",
|
|
17413
17445
|
expected: "(Array<PromotedTag> | undefined)",
|
|
17414
17446
|
value: input.colorTags
|
|
17415
|
-
})) && input.colorTags.map((elem,
|
|
17416
|
-
path: _path + ".colorTags[" +
|
|
17447
|
+
})) && input.colorTags.map((elem, _index50) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17448
|
+
path: _path + ".colorTags[" + _index50 + "]",
|
|
17417
17449
|
expected: "PromotedTag",
|
|
17418
17450
|
value: elem
|
|
17419
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
17420
|
-
path: _path + ".colorTags[" +
|
|
17451
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17452
|
+
path: _path + ".colorTags[" + _index50 + "]",
|
|
17421
17453
|
expected: "PromotedTag",
|
|
17422
17454
|
value: elem
|
|
17423
17455
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17444,12 +17476,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17444
17476
|
path: _path + ".colorHistory",
|
|
17445
17477
|
expected: "(Array<__type> | undefined)",
|
|
17446
17478
|
value: input.colorHistory
|
|
17447
|
-
})) && input.colorHistory.map((elem,
|
|
17448
|
-
path: _path + ".colorHistory[" +
|
|
17479
|
+
})) && input.colorHistory.map((elem, _index51) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17480
|
+
path: _path + ".colorHistory[" + _index51 + "]",
|
|
17449
17481
|
expected: "__type.o20",
|
|
17450
17482
|
value: elem
|
|
17451
|
-
})) && _vo25(elem, _path + ".colorHistory[" +
|
|
17452
|
-
path: _path + ".colorHistory[" +
|
|
17483
|
+
})) && _vo25(elem, _path + ".colorHistory[" + _index51 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17484
|
+
path: _path + ".colorHistory[" + _index51 + "]",
|
|
17453
17485
|
expected: "__type.o20",
|
|
17454
17486
|
value: elem
|
|
17455
17487
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17517,8 +17549,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17517
17549
|
path: _path + ".favorites",
|
|
17518
17550
|
expected: "(Array<string> | undefined)",
|
|
17519
17551
|
value: input.favorites
|
|
17520
|
-
})) && input.favorites.map((elem,
|
|
17521
|
-
path: _path + ".favorites[" +
|
|
17552
|
+
})) && input.favorites.map((elem, _index52) => "string" === typeof elem || _report(_exceptionable, {
|
|
17553
|
+
path: _path + ".favorites[" + _index52 + "]",
|
|
17522
17554
|
expected: "string",
|
|
17523
17555
|
value: elem
|
|
17524
17556
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17873,8 +17905,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17873
17905
|
path: _path + ".playbackRates",
|
|
17874
17906
|
expected: "(Array<number> | undefined)",
|
|
17875
17907
|
value: input.playbackRates
|
|
17876
|
-
})) && input.playbackRates.map((elem,
|
|
17877
|
-
path: _path + ".playbackRates[" +
|
|
17908
|
+
})) && input.playbackRates.map((elem, _index53) => "number" === typeof elem || _report(_exceptionable, {
|
|
17909
|
+
path: _path + ".playbackRates[" + _index53 + "]",
|
|
17878
17910
|
expected: "number",
|
|
17879
17911
|
value: elem
|
|
17880
17912
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17901,12 +17933,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17901
17933
|
path: _path + ".guides",
|
|
17902
17934
|
expected: "(Array<__type>.o3 | undefined)",
|
|
17903
17935
|
value: input.guides
|
|
17904
|
-
})) && input.guides.map((elem,
|
|
17905
|
-
path: _path + ".guides[" +
|
|
17936
|
+
})) && input.guides.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17937
|
+
path: _path + ".guides[" + _index54 + "]",
|
|
17906
17938
|
expected: "__type.o43",
|
|
17907
17939
|
value: elem
|
|
17908
|
-
})) && _vo50(elem, _path + ".guides[" +
|
|
17909
|
-
path: _path + ".guides[" +
|
|
17940
|
+
})) && _vo50(elem, _path + ".guides[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17941
|
+
path: _path + ".guides[" + _index54 + "]",
|
|
17910
17942
|
expected: "__type.o43",
|
|
17911
17943
|
value: elem
|
|
17912
17944
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17977,12 +18009,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17977
18009
|
path: _path + ".suggestions",
|
|
17978
18010
|
expected: "(Array<__type>.o1 | undefined)",
|
|
17979
18011
|
value: input.suggestions
|
|
17980
|
-
})) && input.suggestions.map((elem,
|
|
17981
|
-
path: _path + ".suggestions[" +
|
|
18012
|
+
})) && input.suggestions.map((elem, _index55) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18013
|
+
path: _path + ".suggestions[" + _index55 + "]",
|
|
17982
18014
|
expected: "__type.o41",
|
|
17983
18015
|
value: elem
|
|
17984
|
-
})) && _vo48(elem, _path + ".suggestions[" +
|
|
17985
|
-
path: _path + ".suggestions[" +
|
|
18016
|
+
})) && _vo48(elem, _path + ".suggestions[" + _index55 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18017
|
+
path: _path + ".suggestions[" + _index55 + "]",
|
|
17986
18018
|
expected: "__type.o41",
|
|
17987
18019
|
value: elem
|
|
17988
18020
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17993,12 +18025,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17993
18025
|
path: _path + ".colors",
|
|
17994
18026
|
expected: "(Array<__type>.o2 | undefined)",
|
|
17995
18027
|
value: input.colors
|
|
17996
|
-
})) && input.colors.map((elem,
|
|
17997
|
-
path: _path + ".colors[" +
|
|
18028
|
+
})) && input.colors.map((elem, _index56) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18029
|
+
path: _path + ".colors[" + _index56 + "]",
|
|
17998
18030
|
expected: "__type.o42",
|
|
17999
18031
|
value: elem
|
|
18000
|
-
})) && _vo49(elem, _path + ".colors[" +
|
|
18001
|
-
path: _path + ".colors[" +
|
|
18032
|
+
})) && _vo49(elem, _path + ".colors[" + _index56 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18033
|
+
path: _path + ".colors[" + _index56 + "]",
|
|
18002
18034
|
expected: "__type.o42",
|
|
18003
18035
|
value: elem
|
|
18004
18036
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18009,8 +18041,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18009
18041
|
path: _path + ".overridableProperties",
|
|
18010
18042
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
18011
18043
|
value: input.overridableProperties
|
|
18012
|
-
})) && input.overridableProperties.map((elem,
|
|
18013
|
-
path: _path + ".overridableProperties[" +
|
|
18044
|
+
})) && input.overridableProperties.map((elem, _index57) => null === elem || true === _vv58.has(elem) || _report(_exceptionable, {
|
|
18045
|
+
path: _path + ".overridableProperties[" + _index57 + "]",
|
|
18014
18046
|
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)",
|
|
18015
18047
|
value: elem
|
|
18016
18048
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18093,12 +18125,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
18093
18125
|
path: _path + ".text",
|
|
18094
18126
|
expected: "(Array<__type>.o4 | undefined)",
|
|
18095
18127
|
value: input.text
|
|
18096
|
-
})) && input.text.map((elem,
|
|
18097
|
-
path: _path + ".text[" +
|
|
18128
|
+
})) && input.text.map((elem, _index59) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18129
|
+
path: _path + ".text[" + _index59 + "]",
|
|
18098
18130
|
expected: "__type.o48",
|
|
18099
18131
|
value: elem
|
|
18100
|
-
})) && _vo55(elem, _path + ".text[" +
|
|
18101
|
-
path: _path + ".text[" +
|
|
18132
|
+
})) && _vo55(elem, _path + ".text[" + _index59 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18133
|
+
path: _path + ".text[" + _index59 + "]",
|
|
18102
18134
|
expected: "__type.o48",
|
|
18103
18135
|
value: elem
|
|
18104
18136
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18137,8 +18169,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18137
18169
|
path: _path + ".args",
|
|
18138
18170
|
expected: "(Array<string> | undefined)",
|
|
18139
18171
|
value: input.args
|
|
18140
|
-
})) && input.args.map((elem,
|
|
18141
|
-
path: _path + ".args[" +
|
|
18172
|
+
})) && input.args.map((elem, _index60) => "string" === typeof elem || _report(_exceptionable, {
|
|
18173
|
+
path: _path + ".args[" + _index60 + "]",
|
|
18142
18174
|
expected: "string",
|
|
18143
18175
|
value: elem
|
|
18144
18176
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18169,12 +18201,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
18169
18201
|
path: _path + ".presets",
|
|
18170
18202
|
expected: "(Array<__type>.o5 | undefined)",
|
|
18171
18203
|
value: input.presets
|
|
18172
|
-
})) && input.presets.map((elem,
|
|
18173
|
-
path: _path + ".presets[" +
|
|
18204
|
+
})) && input.presets.map((elem, _index61) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18205
|
+
path: _path + ".presets[" + _index61 + "]",
|
|
18174
18206
|
expected: "__type.o52",
|
|
18175
18207
|
value: elem
|
|
18176
|
-
})) && _vo59(elem, _path + ".presets[" +
|
|
18177
|
-
path: _path + ".presets[" +
|
|
18208
|
+
})) && _vo59(elem, _path + ".presets[" + _index61 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18209
|
+
path: _path + ".presets[" + _index61 + "]",
|
|
18178
18210
|
expected: "__type.o52",
|
|
18179
18211
|
value: elem
|
|
18180
18212
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18233,8 +18265,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18233
18265
|
path: _path + ".args",
|
|
18234
18266
|
expected: "(Array<string> | undefined)",
|
|
18235
18267
|
value: input.args
|
|
18236
|
-
})) && input.args.map((elem,
|
|
18237
|
-
path: _path + ".args[" +
|
|
18268
|
+
})) && input.args.map((elem, _index62) => "string" === typeof elem || _report(_exceptionable, {
|
|
18269
|
+
path: _path + ".args[" + _index62 + "]",
|
|
18238
18270
|
expected: "string",
|
|
18239
18271
|
value: elem
|
|
18240
18272
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18325,7 +18357,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18325
18357
|
path: _path + ".search",
|
|
18326
18358
|
expected: "(__type.o62 | undefined)",
|
|
18327
18359
|
value: input.search
|
|
18328
|
-
}), undefined === input.sortMode || true ===
|
|
18360
|
+
}), undefined === input.sortMode || true === _vv63.has(input.sortMode) || _report(_exceptionable, {
|
|
18329
18361
|
path: _path + ".sortMode",
|
|
18330
18362
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
18331
18363
|
value: input.sortMode
|
|
@@ -18345,8 +18377,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18345
18377
|
path: _path + ".fontFamilies",
|
|
18346
18378
|
expected: "(Array<string> | undefined)",
|
|
18347
18379
|
value: input.fontFamilies
|
|
18348
|
-
})) && input.fontFamilies.map((elem,
|
|
18349
|
-
path: _path + ".fontFamilies[" +
|
|
18380
|
+
})) && input.fontFamilies.map((elem, _index64) => "string" === typeof elem || _report(_exceptionable, {
|
|
18381
|
+
path: _path + ".fontFamilies[" + _index64 + "]",
|
|
18350
18382
|
expected: "string",
|
|
18351
18383
|
value: elem
|
|
18352
18384
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18485,8 +18517,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18485
18517
|
path: _path + ".comment",
|
|
18486
18518
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18487
18519
|
value: input.comment
|
|
18488
|
-
})) && input.comment.map((elem,
|
|
18489
|
-
path: _path + ".comment[" +
|
|
18520
|
+
})) && input.comment.map((elem, _index65) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18521
|
+
path: _path + ".comment[" + _index65 + "]",
|
|
18490
18522
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18491
18523
|
value: elem
|
|
18492
18524
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18497,8 +18529,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18497
18529
|
path: _path + ".assigned",
|
|
18498
18530
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18499
18531
|
value: input.assigned
|
|
18500
|
-
})) && input.assigned.map((elem,
|
|
18501
|
-
path: _path + ".assigned[" +
|
|
18532
|
+
})) && input.assigned.map((elem, _index66) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18533
|
+
path: _path + ".assigned[" + _index66 + "]",
|
|
18502
18534
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18503
18535
|
value: elem
|
|
18504
18536
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18509,8 +18541,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18509
18541
|
path: _path + ".unassigned",
|
|
18510
18542
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18511
18543
|
value: input.unassigned
|
|
18512
|
-
})) && input.unassigned.map((elem,
|
|
18513
|
-
path: _path + ".unassigned[" +
|
|
18544
|
+
})) && input.unassigned.map((elem, _index67) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18545
|
+
path: _path + ".unassigned[" + _index67 + "]",
|
|
18514
18546
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18515
18547
|
value: elem
|
|
18516
18548
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18533,8 +18565,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18533
18565
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18534
18566
|
expected: "Array<NotificationReason>",
|
|
18535
18567
|
value: value
|
|
18536
|
-
})) && value.map((elem,
|
|
18537
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
18568
|
+
})) && value.map((elem, _index68) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18569
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index68 + "]",
|
|
18538
18570
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18539
18571
|
value: elem
|
|
18540
18572
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18578,8 +18610,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18578
18610
|
path: _path + ".stateFilter",
|
|
18579
18611
|
expected: "(Array<number> | undefined)",
|
|
18580
18612
|
value: input.stateFilter
|
|
18581
|
-
})) && input.stateFilter.map((elem,
|
|
18582
|
-
path: _path + ".stateFilter[" +
|
|
18613
|
+
})) && input.stateFilter.map((elem, _index69) => "number" === typeof elem || _report(_exceptionable, {
|
|
18614
|
+
path: _path + ".stateFilter[" + _index69 + "]",
|
|
18583
18615
|
expected: "number",
|
|
18584
18616
|
value: elem
|
|
18585
18617
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18618,6 +18650,18 @@ function _validateDomainRecord(domain, input) {
|
|
|
18618
18650
|
path: _path + ".layout",
|
|
18619
18651
|
expected: "(string | undefined)",
|
|
18620
18652
|
value: input.layout
|
|
18653
|
+
})].every(flag => flag); const _vo88 = (input, _path, _exceptionable = true) => [undefined === input.ignoredMessages || (Array.isArray(input.ignoredMessages) || _report(_exceptionable, {
|
|
18654
|
+
path: _path + ".ignoredMessages",
|
|
18655
|
+
expected: "(Array<string> | undefined)",
|
|
18656
|
+
value: input.ignoredMessages
|
|
18657
|
+
})) && input.ignoredMessages.map((elem, _index70) => "string" === typeof elem || _report(_exceptionable, {
|
|
18658
|
+
path: _path + ".ignoredMessages[" + _index70 + "]",
|
|
18659
|
+
expected: "string",
|
|
18660
|
+
value: elem
|
|
18661
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
18662
|
+
path: _path + ".ignoredMessages",
|
|
18663
|
+
expected: "(Array<string> | undefined)",
|
|
18664
|
+
value: input.ignoredMessages
|
|
18621
18665
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
18622
18666
|
if (false === __is(input)) {
|
|
18623
18667
|
errors = [];
|