@nxtedition/types 23.0.62 → 23.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/render-profile.d.ts +15 -0
- package/dist/common/settings.d.ts +16 -0
- package/dist/common/subtitle-style.d.ts +1 -0
- package/dist/nxtpression.d.ts +67 -17
- package/dist/records/domains/event.d.ts +2 -0
- package/dist/records/domains/media.d.ts +6 -0
- package/dist/records/domains/publish/facebook.d.ts +1 -2
- package/dist/records/domains/script.d.ts +8 -3
- package/dist/records/domains/shotbox.d.ts +1 -0
- package/dist/records/exact/monitor.d.ts +9 -8
- package/dist/records/validate/assert-guard.js +1214 -740
- package/dist/records/validate/assert.js +1215 -740
- package/dist/records/validate/is.js +83 -73
- package/dist/records/validate/schemas.js +404 -85
- package/dist/records/validate/stringify.js +175 -132
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +1707 -943
- package/dist/records/validate/validate.js +1135 -737
- package/package.json +3 -3
|
@@ -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 = [];
|
|
@@ -2404,7 +2408,7 @@ function _validateExactRecord(name, input) {
|
|
|
2404
2408
|
}; })()(input);
|
|
2405
2409
|
}
|
|
2406
2410
|
case "media.consolidate": {
|
|
2407
|
-
return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io7 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.presets || ("object" === typeof input.presets && null !== input.presets || _report(_exceptionable, {
|
|
2411
|
+
return (() => { const _io0 = input => undefined === input.presets || "object" === typeof input.presets && null !== input.presets && _io1(input.presets); const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io7 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io8(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io9(input.ass)); const _io8 = input => undefined === input.preset || "string" === typeof input.preset; const _io9 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.presets || ("object" === typeof input.presets && null !== input.presets || _report(_exceptionable, {
|
|
2408
2412
|
path: _path + ".presets",
|
|
2409
2413
|
expected: "(__type | undefined)",
|
|
2410
2414
|
value: input.presets
|
|
@@ -2576,6 +2580,38 @@ function _validateExactRecord(name, input) {
|
|
|
2576
2580
|
path: _path + ".style",
|
|
2577
2581
|
expected: "(string | undefined)",
|
|
2578
2582
|
value: input.style
|
|
2583
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
2584
|
+
path: _path + ".ccconverter",
|
|
2585
|
+
expected: "(__type.o4 | undefined)",
|
|
2586
|
+
value: input.ccconverter
|
|
2587
|
+
})) && _vo8(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
2588
|
+
path: _path + ".ccconverter",
|
|
2589
|
+
expected: "(__type.o4 | undefined)",
|
|
2590
|
+
value: input.ccconverter
|
|
2591
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
2592
|
+
path: _path + ".ass",
|
|
2593
|
+
expected: "(__type.o5 | undefined)",
|
|
2594
|
+
value: input.ass
|
|
2595
|
+
})) && _vo9(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
2596
|
+
path: _path + ".ass",
|
|
2597
|
+
expected: "(__type.o5 | undefined)",
|
|
2598
|
+
value: input.ass
|
|
2599
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
2600
|
+
path: _path + ".preset",
|
|
2601
|
+
expected: "(string | undefined)",
|
|
2602
|
+
value: input.preset
|
|
2603
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
2604
|
+
path: _path + ".futureWordWrapping",
|
|
2605
|
+
expected: "(boolean | undefined)",
|
|
2606
|
+
value: input.futureWordWrapping
|
|
2607
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
2608
|
+
path: _path + ".scaledBorderAndShadow",
|
|
2609
|
+
expected: "(boolean | undefined)",
|
|
2610
|
+
value: input.scaledBorderAndShadow
|
|
2611
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
2612
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
2613
|
+
expected: "(boolean | undefined)",
|
|
2614
|
+
value: input.enableUnsafeLineSpacingHack
|
|
2579
2615
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
2580
2616
|
if (false === __is(input)) {
|
|
2581
2617
|
errors = [];
|
|
@@ -7896,8 +7932,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
7896
7932
|
if (undefined === value)
|
|
7897
7933
|
return true;
|
|
7898
7934
|
return "object" === typeof value && null !== value && _io1(value);
|
|
7899
|
-
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && Object.keys(input).every(key => {
|
|
7900
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
7935
|
+
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
7936
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
7901
7937
|
return true;
|
|
7902
7938
|
const value = input[key];
|
|
7903
7939
|
if (undefined === value)
|
|
@@ -7941,8 +7977,28 @@ function _validateDomainRecord(domain, input) {
|
|
|
7941
7977
|
path: _path + ".startTime",
|
|
7942
7978
|
expected: "(number | undefined)",
|
|
7943
7979
|
value: input.startTime
|
|
7980
|
+
}), (null !== input.shotboxGroup || _report(_exceptionable, {
|
|
7981
|
+
path: _path + ".shotboxGroup",
|
|
7982
|
+
expected: "(Array<string> | string | undefined)",
|
|
7983
|
+
value: input.shotboxGroup
|
|
7984
|
+
})) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || _report(_exceptionable, {
|
|
7985
|
+
path: _path + ".shotboxGroup",
|
|
7986
|
+
expected: "(Array<string> | string | undefined)",
|
|
7987
|
+
value: input.shotboxGroup
|
|
7988
|
+
})) && input.shotboxGroup.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
7989
|
+
path: _path + ".shotboxGroup[" + _index3 + "]",
|
|
7990
|
+
expected: "string",
|
|
7991
|
+
value: elem
|
|
7992
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
7993
|
+
path: _path + ".shotboxGroup",
|
|
7994
|
+
expected: "(Array<string> | string | undefined)",
|
|
7995
|
+
value: input.shotboxGroup
|
|
7996
|
+
})), undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || _report(_exceptionable, {
|
|
7997
|
+
path: _path + ".shotboxVisible",
|
|
7998
|
+
expected: "(boolean | undefined)",
|
|
7999
|
+
value: input.shotboxVisible
|
|
7944
8000
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
7945
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
8001
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
7946
8002
|
return true;
|
|
7947
8003
|
const value = input[key];
|
|
7948
8004
|
if (undefined === value)
|
|
@@ -7985,20 +8041,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
7985
8041
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7986
8042
|
value: value
|
|
7987
8043
|
}));
|
|
7988
|
-
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
7989
|
-
path: _path + "[" +
|
|
8044
|
+
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index4) => (undefined !== elem || _report(_exceptionable, {
|
|
8045
|
+
path: _path + "[" + _index4 + "]",
|
|
7990
8046
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7991
8047
|
value: elem
|
|
7992
|
-
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
7993
|
-
path: _path + "[" +
|
|
8048
|
+
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8049
|
+
path: _path + "[" + _index4 + "]",
|
|
7994
8050
|
expected: "Array<JsonValue>",
|
|
7995
8051
|
value: elem
|
|
7996
|
-
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo3(elem, _path + "[" +
|
|
7997
|
-
path: _path + "[" +
|
|
8052
|
+
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8053
|
+
path: _path + "[" + _index4 + "]",
|
|
7998
8054
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
7999
8055
|
value: elem
|
|
8000
8056
|
})) || _report(_exceptionable, {
|
|
8001
|
-
path: _path + "[" +
|
|
8057
|
+
path: _path + "[" + _index4 + "]",
|
|
8002
8058
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
8003
8059
|
value: elem
|
|
8004
8060
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -8181,8 +8237,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
8181
8237
|
}; })()(input);
|
|
8182
8238
|
}
|
|
8183
8239
|
case ":event.props?": {
|
|
8184
|
-
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && Object.keys(input).every(key => {
|
|
8185
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
8240
|
+
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
8241
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8186
8242
|
return true;
|
|
8187
8243
|
const value = input[key];
|
|
8188
8244
|
if (undefined === value)
|
|
@@ -8205,8 +8261,28 @@ function _validateDomainRecord(domain, input) {
|
|
|
8205
8261
|
path: _path + ".startTime",
|
|
8206
8262
|
expected: "(number | undefined)",
|
|
8207
8263
|
value: input.startTime
|
|
8264
|
+
}), (null !== input.shotboxGroup || _report(_exceptionable, {
|
|
8265
|
+
path: _path + ".shotboxGroup",
|
|
8266
|
+
expected: "(Array<string> | string | undefined)",
|
|
8267
|
+
value: input.shotboxGroup
|
|
8268
|
+
})) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || _report(_exceptionable, {
|
|
8269
|
+
path: _path + ".shotboxGroup",
|
|
8270
|
+
expected: "(Array<string> | string | undefined)",
|
|
8271
|
+
value: input.shotboxGroup
|
|
8272
|
+
})) && input.shotboxGroup.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
8273
|
+
path: _path + ".shotboxGroup[" + _index3 + "]",
|
|
8274
|
+
expected: "string",
|
|
8275
|
+
value: elem
|
|
8276
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
8277
|
+
path: _path + ".shotboxGroup",
|
|
8278
|
+
expected: "(Array<string> | string | undefined)",
|
|
8279
|
+
value: input.shotboxGroup
|
|
8280
|
+
})), undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || _report(_exceptionable, {
|
|
8281
|
+
path: _path + ".shotboxVisible",
|
|
8282
|
+
expected: "(boolean | undefined)",
|
|
8283
|
+
value: input.shotboxVisible
|
|
8208
8284
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
8209
|
-
if (["source", "cueCard", "startTime"].some(prop => key === prop))
|
|
8285
|
+
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8210
8286
|
return true;
|
|
8211
8287
|
const value = input[key];
|
|
8212
8288
|
if (undefined === value)
|
|
@@ -8249,20 +8325,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
8249
8325
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
8250
8326
|
value: value
|
|
8251
8327
|
}));
|
|
8252
|
-
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
8253
|
-
path: _path + "[" +
|
|
8328
|
+
}).every(flag => flag)].every(flag => flag); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index4) => (undefined !== elem || _report(_exceptionable, {
|
|
8329
|
+
path: _path + "[" + _index4 + "]",
|
|
8254
8330
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
8255
8331
|
value: elem
|
|
8256
|
-
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
8257
|
-
path: _path + "[" +
|
|
8332
|
+
})) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8333
|
+
path: _path + "[" + _index4 + "]",
|
|
8258
8334
|
expected: "Array<JsonValue>",
|
|
8259
8335
|
value: elem
|
|
8260
|
-
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo1(elem, _path + "[" +
|
|
8261
|
-
path: _path + "[" +
|
|
8336
|
+
})) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vo1(elem, _path + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
8337
|
+
path: _path + "[" + _index4 + "]",
|
|
8262
8338
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
8263
8339
|
value: elem
|
|
8264
8340
|
})) || _report(_exceptionable, {
|
|
8265
|
-
path: _path + "[" +
|
|
8341
|
+
path: _path + "[" + _index4 + "]",
|
|
8266
8342
|
expected: "(Array<JsonValue> | __type | boolean | null | number | string)",
|
|
8267
8343
|
value: elem
|
|
8268
8344
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -9623,7 +9699,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9623
9699
|
if (undefined === value)
|
|
9624
9700
|
return true;
|
|
9625
9701
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
9626
|
-
}); const _io3 = 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) && _io4(input.styleOverrides)); const _io4 = 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.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 _io5 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop); const _io6 = 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 _io7 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9702
|
+
}); const _io3 = 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) && _io4(input.styleOverrides)); const _io4 = 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 _io5 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io6(input.crop); const _io6 = 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 _io7 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
9627
9703
|
path: _path + ".id",
|
|
9628
9704
|
expected: "(string | undefined)",
|
|
9629
9705
|
value: input.id
|
|
@@ -9768,6 +9844,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
9768
9844
|
path: _path + ".spacing",
|
|
9769
9845
|
expected: "(string | undefined)",
|
|
9770
9846
|
value: input.spacing
|
|
9847
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
9848
|
+
path: _path + ".lineSpacing",
|
|
9849
|
+
expected: "(string | undefined)",
|
|
9850
|
+
value: input.lineSpacing
|
|
9771
9851
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
9772
9852
|
path: _path + ".angle",
|
|
9773
9853
|
expected: "(string | undefined)",
|
|
@@ -9874,7 +9954,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9874
9954
|
}; })()(input);
|
|
9875
9955
|
}
|
|
9876
9956
|
case ":media.consolidate": {
|
|
9877
|
-
return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) && _io1(input.preset))) && true; const _io1 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io2(elem))) || "object" === typeof input.profile && null !== input.profile && _io2(input.profile)))); const _io2 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io3(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io4(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io5(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io6(input.subtitle))); const _io3 = input => "string" === typeof input.engine; const _io4 = input => "string" === typeof input.language; const _io5 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io6 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [true, true, (null !== input.preset || _report(_exceptionable, {
|
|
9957
|
+
return (() => { const _io0 = input => true && true && (null !== input.preset && (undefined === input.preset || "string" === typeof input.preset || "object" === typeof input.preset && null !== input.preset && false === Array.isArray(input.preset) && _io1(input.preset))) && true; const _io1 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io2(elem))) || "object" === typeof input.profile && null !== input.profile && _io2(input.profile)))); const _io2 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io3(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io4(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io5(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io6(input.subtitle))); const _io3 = input => "string" === typeof input.engine; const _io4 = input => "string" === typeof input.language; const _io5 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io6 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io7(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io8(input.ass)); const _io7 = input => undefined === input.preset || "string" === typeof input.preset; const _io8 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _vo0 = (input, _path, _exceptionable = true) => [true, true, (null !== input.preset || _report(_exceptionable, {
|
|
9878
9958
|
path: _path + ".preset",
|
|
9879
9959
|
expected: "(RenderPresetObject | string | undefined)",
|
|
9880
9960
|
value: input.preset
|
|
@@ -10002,6 +10082,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
10002
10082
|
path: _path + ".style",
|
|
10003
10083
|
expected: "(string | undefined)",
|
|
10004
10084
|
value: input.style
|
|
10085
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
10086
|
+
path: _path + ".ccconverter",
|
|
10087
|
+
expected: "(__type.o3 | undefined)",
|
|
10088
|
+
value: input.ccconverter
|
|
10089
|
+
})) && _vo7(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
10090
|
+
path: _path + ".ccconverter",
|
|
10091
|
+
expected: "(__type.o3 | undefined)",
|
|
10092
|
+
value: input.ccconverter
|
|
10093
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
10094
|
+
path: _path + ".ass",
|
|
10095
|
+
expected: "(__type.o4 | undefined)",
|
|
10096
|
+
value: input.ass
|
|
10097
|
+
})) && _vo8(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
10098
|
+
path: _path + ".ass",
|
|
10099
|
+
expected: "(__type.o4 | undefined)",
|
|
10100
|
+
value: input.ass
|
|
10101
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
10102
|
+
path: _path + ".preset",
|
|
10103
|
+
expected: "(string | undefined)",
|
|
10104
|
+
value: input.preset
|
|
10105
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
10106
|
+
path: _path + ".futureWordWrapping",
|
|
10107
|
+
expected: "(boolean | undefined)",
|
|
10108
|
+
value: input.futureWordWrapping
|
|
10109
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
10110
|
+
path: _path + ".scaledBorderAndShadow",
|
|
10111
|
+
expected: "(boolean | undefined)",
|
|
10112
|
+
value: input.scaledBorderAndShadow
|
|
10113
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
10114
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
10115
|
+
expected: "(boolean | undefined)",
|
|
10116
|
+
value: input.enableUnsafeLineSpacingHack
|
|
10005
10117
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
10006
10118
|
if (false === __is(input)) {
|
|
10007
10119
|
errors = [];
|
|
@@ -10031,6 +10143,44 @@ function _validateDomainRecord(domain, input) {
|
|
|
10031
10143
|
};
|
|
10032
10144
|
}; })()(input);
|
|
10033
10145
|
}
|
|
10146
|
+
case ":media.consolidate?": {
|
|
10147
|
+
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, {
|
|
10148
|
+
path: _path + ".status",
|
|
10149
|
+
expected: "(\"completed\" | \"error\" | \"idle\" | \"pending\" | \"source_mismatch\")",
|
|
10150
|
+
value: input.status
|
|
10151
|
+
}), undefined === input.progress || "number" === typeof input.progress || _report(_exceptionable, {
|
|
10152
|
+
path: _path + ".progress",
|
|
10153
|
+
expected: "(number | undefined)",
|
|
10154
|
+
value: input.progress
|
|
10155
|
+
}), true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
10156
|
+
if (false === __is(input)) {
|
|
10157
|
+
errors = [];
|
|
10158
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10159
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
10160
|
+
path: _path + "",
|
|
10161
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
10162
|
+
value: input
|
|
10163
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
10164
|
+
path: _path + "",
|
|
10165
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
10166
|
+
value: input
|
|
10167
|
+
}))(input, "$input", true);
|
|
10168
|
+
const success = 0 === errors.length;
|
|
10169
|
+
return success ? {
|
|
10170
|
+
success,
|
|
10171
|
+
data: input
|
|
10172
|
+
} : {
|
|
10173
|
+
success,
|
|
10174
|
+
errors,
|
|
10175
|
+
data: input
|
|
10176
|
+
};
|
|
10177
|
+
}
|
|
10178
|
+
return {
|
|
10179
|
+
success: true,
|
|
10180
|
+
data: input
|
|
10181
|
+
};
|
|
10182
|
+
}; })()(input);
|
|
10183
|
+
}
|
|
10034
10184
|
case ":media.renders?": {
|
|
10035
10185
|
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, {
|
|
10036
10186
|
path: _path + ".children",
|
|
@@ -12226,46 +12376,46 @@ function _validateDomainRecord(domain, input) {
|
|
|
12226
12376
|
}; })()(input);
|
|
12227
12377
|
}
|
|
12228
12378
|
case ":publish": {
|
|
12229
|
-
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error &&
|
|
12379
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.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) && _io9(input.transcribe)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io4 = input => Object.keys(input).every(key => {
|
|
12230
12380
|
const value = input[key];
|
|
12231
12381
|
if (undefined === value)
|
|
12232
12382
|
return true;
|
|
12233
12383
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
12234
|
-
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = 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 _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io15 = input => "string" === typeof input.
|
|
12384
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = 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 _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = 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) && _io15(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io16(input.ass)); const _io15 = input => undefined === input.preset || "string" === typeof input.preset; const _io16 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io17 = input => "string" === typeof input.method; const _io18 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io19 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io20 = 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) && _io21(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io25(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io26(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io29(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io21 = input => Object.keys(input).every(key => {
|
|
12235
12385
|
const value = input[key];
|
|
12236
12386
|
if (undefined === value)
|
|
12237
12387
|
return true;
|
|
12238
12388
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
12239
|
-
}); const
|
|
12389
|
+
}); const _io22 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io22(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io20(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io26 = 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) && _io27(input.renders)); const _io27 = input => Object.keys(input).every(key => {
|
|
12240
12390
|
const value = input[key];
|
|
12241
12391
|
if (undefined === value)
|
|
12242
12392
|
return true;
|
|
12243
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
12244
|
-
}); const
|
|
12393
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io28(value);
|
|
12394
|
+
}); const _io28 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io29 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io30 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io25(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io31(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io29(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io31 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io32(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io33(input.metafile)) && Object.keys(input).every(key => {
|
|
12245
12395
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
12246
12396
|
return true;
|
|
12247
12397
|
const value = input[key];
|
|
12248
12398
|
if (undefined === value)
|
|
12249
12399
|
return true;
|
|
12250
12400
|
return true;
|
|
12251
|
-
}); const
|
|
12401
|
+
}); const _io32 = input => "string" === typeof input.path; const _io33 = input => "string" === typeof input.path; const _io34 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io35(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io17(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io18(elem))); const _io35 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io36(input.snippet); const _io36 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
12252
12402
|
if (undefined !== input.path)
|
|
12253
|
-
return
|
|
12403
|
+
return _io22(input);
|
|
12254
12404
|
else if (undefined !== input.__context)
|
|
12255
|
-
return
|
|
12405
|
+
return _io23(input);
|
|
12256
12406
|
else
|
|
12257
12407
|
return false;
|
|
12258
12408
|
})(); const _iu1 = input => (() => {
|
|
12259
12409
|
if (_io0(input))
|
|
12260
12410
|
return _io0(input);
|
|
12261
|
-
if (
|
|
12262
|
-
return
|
|
12263
|
-
if (
|
|
12264
|
-
return
|
|
12265
|
-
if (
|
|
12266
|
-
return
|
|
12267
|
-
if (
|
|
12268
|
-
return
|
|
12411
|
+
if (_io19(input))
|
|
12412
|
+
return _io19(input);
|
|
12413
|
+
if (_io30(input))
|
|
12414
|
+
return _io30(input);
|
|
12415
|
+
if (_io20(input))
|
|
12416
|
+
return _io20(input);
|
|
12417
|
+
if (_io34(input))
|
|
12418
|
+
return _io34(input);
|
|
12269
12419
|
return false;
|
|
12270
12420
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
12271
12421
|
path: _path + ".type",
|
|
@@ -12289,11 +12439,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12289
12439
|
value: input.render
|
|
12290
12440
|
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12291
12441
|
path: _path + ".error",
|
|
12292
|
-
expected: "(__type.
|
|
12442
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12293
12443
|
value: input.error
|
|
12294
|
-
})) &&
|
|
12444
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12295
12445
|
path: _path + ".error",
|
|
12296
|
-
expected: "(__type.
|
|
12446
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12297
12447
|
value: input.error
|
|
12298
12448
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12299
12449
|
path: _path + ".messages",
|
|
@@ -12303,7 +12453,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12303
12453
|
path: _path + ".messages[" + _index10 + "]",
|
|
12304
12454
|
expected: "Message",
|
|
12305
12455
|
value: elem
|
|
12306
|
-
})) &&
|
|
12456
|
+
})) && _vo18(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12307
12457
|
path: _path + ".messages[" + _index10 + "]",
|
|
12308
12458
|
expected: "Message",
|
|
12309
12459
|
value: elem
|
|
@@ -12480,6 +12630,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
12480
12630
|
path: _path + ".spacing",
|
|
12481
12631
|
expected: "(string | undefined)",
|
|
12482
12632
|
value: input.spacing
|
|
12633
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
12634
|
+
path: _path + ".lineSpacing",
|
|
12635
|
+
expected: "(string | undefined)",
|
|
12636
|
+
value: input.lineSpacing
|
|
12483
12637
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
12484
12638
|
path: _path + ".angle",
|
|
12485
12639
|
expected: "(string | undefined)",
|
|
@@ -12640,11 +12794,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
12640
12794
|
path: _path + ".style",
|
|
12641
12795
|
expected: "(string | undefined)",
|
|
12642
12796
|
value: input.style
|
|
12643
|
-
})
|
|
12797
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
12798
|
+
path: _path + ".ccconverter",
|
|
12799
|
+
expected: "(__type.o9 | undefined)",
|
|
12800
|
+
value: input.ccconverter
|
|
12801
|
+
})) && _vo15(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
12802
|
+
path: _path + ".ccconverter",
|
|
12803
|
+
expected: "(__type.o9 | undefined)",
|
|
12804
|
+
value: input.ccconverter
|
|
12805
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
12806
|
+
path: _path + ".ass",
|
|
12807
|
+
expected: "(__type.o10 | undefined)",
|
|
12808
|
+
value: input.ass
|
|
12809
|
+
})) && _vo16(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
12810
|
+
path: _path + ".ass",
|
|
12811
|
+
expected: "(__type.o10 | undefined)",
|
|
12812
|
+
value: input.ass
|
|
12813
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
12814
|
+
path: _path + ".preset",
|
|
12815
|
+
expected: "(string | undefined)",
|
|
12816
|
+
value: input.preset
|
|
12817
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
12818
|
+
path: _path + ".futureWordWrapping",
|
|
12819
|
+
expected: "(boolean | undefined)",
|
|
12820
|
+
value: input.futureWordWrapping
|
|
12821
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
12822
|
+
path: _path + ".scaledBorderAndShadow",
|
|
12823
|
+
expected: "(boolean | undefined)",
|
|
12824
|
+
value: input.scaledBorderAndShadow
|
|
12825
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
12826
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
12827
|
+
expected: "(boolean | undefined)",
|
|
12828
|
+
value: input.enableUnsafeLineSpacingHack
|
|
12829
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
12644
12830
|
path: _path + ".method",
|
|
12645
12831
|
expected: "string",
|
|
12646
12832
|
value: input.method
|
|
12647
|
-
})].every(flag => flag); const
|
|
12833
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
12648
12834
|
path: _path + ".level",
|
|
12649
12835
|
expected: "number",
|
|
12650
12836
|
value: input.level
|
|
@@ -12656,7 +12842,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12656
12842
|
path: _path + ".msg",
|
|
12657
12843
|
expected: "string",
|
|
12658
12844
|
value: input.msg
|
|
12659
|
-
})].every(flag => flag); const
|
|
12845
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
12660
12846
|
path: _path + ".type",
|
|
12661
12847
|
expected: "(\"facebook\" | undefined)",
|
|
12662
12848
|
value: input.type
|
|
@@ -12682,11 +12868,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12682
12868
|
value: input.render
|
|
12683
12869
|
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12684
12870
|
path: _path + ".error",
|
|
12685
|
-
expected: "(__type.
|
|
12871
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12686
12872
|
value: input.error
|
|
12687
|
-
})) &&
|
|
12873
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12688
12874
|
path: _path + ".error",
|
|
12689
|
-
expected: "(__type.
|
|
12875
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12690
12876
|
value: input.error
|
|
12691
12877
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12692
12878
|
path: _path + ".messages",
|
|
@@ -12696,7 +12882,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12696
12882
|
path: _path + ".messages[" + _index13 + "]",
|
|
12697
12883
|
expected: "Message",
|
|
12698
12884
|
value: elem
|
|
12699
|
-
})) &&
|
|
12885
|
+
})) && _vo18(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12700
12886
|
path: _path + ".messages[" + _index13 + "]",
|
|
12701
12887
|
expected: "Message",
|
|
12702
12888
|
value: elem
|
|
@@ -12704,7 +12890,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12704
12890
|
path: _path + ".messages",
|
|
12705
12891
|
expected: "(Array<Message> | undefined)",
|
|
12706
12892
|
value: input.messages
|
|
12707
|
-
})].every(flag => flag); const
|
|
12893
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
12708
12894
|
path: _path + ".type",
|
|
12709
12895
|
expected: "(\"file\" | undefined)",
|
|
12710
12896
|
value: input.type
|
|
@@ -12720,7 +12906,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12720
12906
|
path: _path + ".renders",
|
|
12721
12907
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
12722
12908
|
value: input.renders
|
|
12723
|
-
})) &&
|
|
12909
|
+
})) && _vo21(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
12724
12910
|
path: _path + ".renders",
|
|
12725
12911
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
12726
12912
|
value: input.renders
|
|
@@ -12728,7 +12914,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12728
12914
|
path: _path + ".draft",
|
|
12729
12915
|
expected: "(FilePublishDraft | undefined)",
|
|
12730
12916
|
value: input.draft
|
|
12731
|
-
})) &&
|
|
12917
|
+
})) && _vo25(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
12732
12918
|
path: _path + ".draft",
|
|
12733
12919
|
expected: "(FilePublishDraft | undefined)",
|
|
12734
12920
|
value: input.draft
|
|
@@ -12736,7 +12922,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12736
12922
|
path: _path + ".remote",
|
|
12737
12923
|
expected: "(FilePublishRemote | undefined)",
|
|
12738
12924
|
value: input.remote
|
|
12739
|
-
})) &&
|
|
12925
|
+
})) && _vo26(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
12740
12926
|
path: _path + ".remote",
|
|
12741
12927
|
expected: "(FilePublishRemote | undefined)",
|
|
12742
12928
|
value: input.remote
|
|
@@ -12744,7 +12930,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12744
12930
|
path: _path + ".published",
|
|
12745
12931
|
expected: "(FilePublishPublished | undefined)",
|
|
12746
12932
|
value: input.published
|
|
12747
|
-
})) &&
|
|
12933
|
+
})) && _vo29(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
12748
12934
|
path: _path + ".published",
|
|
12749
12935
|
expected: "(FilePublishPublished | undefined)",
|
|
12750
12936
|
value: input.published
|
|
@@ -12766,11 +12952,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12766
12952
|
value: input.render
|
|
12767
12953
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
12768
12954
|
path: _path + ".error",
|
|
12769
|
-
expected: "(__type.
|
|
12955
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12770
12956
|
value: input.error
|
|
12771
|
-
})) &&
|
|
12957
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
12772
12958
|
path: _path + ".error",
|
|
12773
|
-
expected: "(__type.
|
|
12959
|
+
expected: "(__type.o11 | null | undefined)",
|
|
12774
12960
|
value: input.error
|
|
12775
12961
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
12776
12962
|
path: _path + ".messages",
|
|
@@ -12780,7 +12966,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12780
12966
|
path: _path + ".messages[" + _index14 + "]",
|
|
12781
12967
|
expected: "Message",
|
|
12782
12968
|
value: elem
|
|
12783
|
-
})) &&
|
|
12969
|
+
})) && _vo18(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12784
12970
|
path: _path + ".messages[" + _index14 + "]",
|
|
12785
12971
|
expected: "Message",
|
|
12786
12972
|
value: elem
|
|
@@ -12788,28 +12974,28 @@ function _validateDomainRecord(domain, input) {
|
|
|
12788
12974
|
path: _path + ".messages",
|
|
12789
12975
|
expected: "(Array<Message> | undefined)",
|
|
12790
12976
|
value: input.messages
|
|
12791
|
-
})].every(flag => flag); const
|
|
12977
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
12792
12978
|
const value = input[key];
|
|
12793
12979
|
if (undefined === value)
|
|
12794
12980
|
return true;
|
|
12795
12981
|
return (null !== value || _report(_exceptionable, {
|
|
12796
12982
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12797
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12983
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12798
12984
|
value: value
|
|
12799
12985
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
12800
12986
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12801
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12987
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12802
12988
|
value: value
|
|
12803
12989
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
12804
12990
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12805
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12991
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12806
12992
|
value: value
|
|
12807
12993
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
12808
12994
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12809
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
12995
|
+
expected: "(ResolvedFilePublishRender | __type.o12 | string)",
|
|
12810
12996
|
value: value
|
|
12811
12997
|
}));
|
|
12812
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
12998
|
+
}).every(flag => flag)].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
12813
12999
|
path: _path + ".name",
|
|
12814
13000
|
expected: "(string | undefined)",
|
|
12815
13001
|
value: input.name
|
|
@@ -12849,27 +13035,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
12849
13035
|
path: _path + ".profile",
|
|
12850
13036
|
expected: "(RenderProfileObject | undefined)",
|
|
12851
13037
|
value: input.profile
|
|
12852
|
-
})].every(flag => flag); const
|
|
13038
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
12853
13039
|
path: _path + ".__context",
|
|
12854
|
-
expected: "__type.
|
|
13040
|
+
expected: "__type.o13",
|
|
12855
13041
|
value: input.__context
|
|
12856
|
-
})) &&
|
|
13042
|
+
})) && _vo24(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
12857
13043
|
path: _path + ".__context",
|
|
12858
|
-
expected: "__type.
|
|
13044
|
+
expected: "__type.o13",
|
|
12859
13045
|
value: input.__context
|
|
12860
13046
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
12861
13047
|
path: _path + ".__returnValue",
|
|
12862
13048
|
expected: "ResolvedFilePublishRender",
|
|
12863
13049
|
value: input.__returnValue
|
|
12864
|
-
})) &&
|
|
13050
|
+
})) && _vo22(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
12865
13051
|
path: _path + ".__returnValue",
|
|
12866
13052
|
expected: "ResolvedFilePublishRender",
|
|
12867
13053
|
value: input.__returnValue
|
|
12868
|
-
})].every(flag => flag); const
|
|
13054
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
12869
13055
|
path: _path + ".publish",
|
|
12870
13056
|
expected: "FilePublishRecord",
|
|
12871
13057
|
value: input.publish
|
|
12872
|
-
})) &&
|
|
13058
|
+
})) && _vo20(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
12873
13059
|
path: _path + ".publish",
|
|
12874
13060
|
expected: "FilePublishRecord",
|
|
12875
13061
|
value: input.publish
|
|
@@ -12881,7 +13067,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12881
13067
|
path: _path + ".name",
|
|
12882
13068
|
expected: "string",
|
|
12883
13069
|
value: input.name
|
|
12884
|
-
})].every(flag => flag); const
|
|
13070
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
12885
13071
|
path: _path + ".directory",
|
|
12886
13072
|
expected: "(string | undefined)",
|
|
12887
13073
|
value: input.directory
|
|
@@ -12889,7 +13075,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12889
13075
|
path: _path + ".filename",
|
|
12890
13076
|
expected: "(string | undefined)",
|
|
12891
13077
|
value: input.filename
|
|
12892
|
-
})].every(flag => flag); const
|
|
13078
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
12893
13079
|
path: _path + ".directory",
|
|
12894
13080
|
expected: "(string | undefined)",
|
|
12895
13081
|
value: input.directory
|
|
@@ -12901,11 +13087,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
12901
13087
|
path: _path + ".renders",
|
|
12902
13088
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
12903
13089
|
value: input.renders
|
|
12904
|
-
})) &&
|
|
13090
|
+
})) && _vo27(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
12905
13091
|
path: _path + ".renders",
|
|
12906
13092
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
12907
13093
|
value: input.renders
|
|
12908
|
-
})].every(flag => flag); const
|
|
13094
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
12909
13095
|
const value = input[key];
|
|
12910
13096
|
if (undefined === value)
|
|
12911
13097
|
return true;
|
|
@@ -12913,12 +13099,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
12913
13099
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12914
13100
|
expected: "FilePublishRemoteRender",
|
|
12915
13101
|
value: value
|
|
12916
|
-
})) &&
|
|
13102
|
+
})) && _vo28(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
12917
13103
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
12918
13104
|
expected: "FilePublishRemoteRender",
|
|
12919
13105
|
value: value
|
|
12920
13106
|
});
|
|
12921
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13107
|
+
}).every(flag => flag)].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
12922
13108
|
path: _path + ".path",
|
|
12923
13109
|
expected: "(string | undefined)",
|
|
12924
13110
|
value: input.path
|
|
@@ -12930,7 +13116,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12930
13116
|
path: _path + ".messages[" + _index15 + "]",
|
|
12931
13117
|
expected: "Message",
|
|
12932
13118
|
value: elem
|
|
12933
|
-
})) &&
|
|
13119
|
+
})) && _vo18(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
12934
13120
|
path: _path + ".messages[" + _index15 + "]",
|
|
12935
13121
|
expected: "Message",
|
|
12936
13122
|
value: elem
|
|
@@ -12950,7 +13136,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12950
13136
|
path: _path + ".source",
|
|
12951
13137
|
expected: "(string | undefined)",
|
|
12952
13138
|
value: input.source
|
|
12953
|
-
})].every(flag => flag); const
|
|
13139
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
12954
13140
|
path: _path + ".directory",
|
|
12955
13141
|
expected: "(string | undefined)",
|
|
12956
13142
|
value: input.directory
|
|
@@ -12958,7 +13144,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12958
13144
|
path: _path + ".filename",
|
|
12959
13145
|
expected: "string",
|
|
12960
13146
|
value: input.filename
|
|
12961
|
-
})].every(flag => flag); const
|
|
13147
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
12962
13148
|
path: _path + ".type",
|
|
12963
13149
|
expected: "(\"file\" | undefined)",
|
|
12964
13150
|
value: input.type
|
|
@@ -12974,7 +13160,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12974
13160
|
path: _path + ".draft",
|
|
12975
13161
|
expected: "(FilePublishDraft | undefined)",
|
|
12976
13162
|
value: input.draft
|
|
12977
|
-
})) &&
|
|
13163
|
+
})) && _vo25(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
12978
13164
|
path: _path + ".draft",
|
|
12979
13165
|
expected: "(FilePublishDraft | undefined)",
|
|
12980
13166
|
value: input.draft
|
|
@@ -12982,7 +13168,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12982
13168
|
path: _path + ".remote",
|
|
12983
13169
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
12984
13170
|
value: input.remote
|
|
12985
|
-
})) &&
|
|
13171
|
+
})) && _vo31(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
12986
13172
|
path: _path + ".remote",
|
|
12987
13173
|
expected: "(FilePublishRemoteLegacy | undefined)",
|
|
12988
13174
|
value: input.remote
|
|
@@ -12990,7 +13176,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
12990
13176
|
path: _path + ".published",
|
|
12991
13177
|
expected: "(FilePublishPublished | undefined)",
|
|
12992
13178
|
value: input.published
|
|
12993
|
-
})) &&
|
|
13179
|
+
})) && _vo29(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
12994
13180
|
path: _path + ".published",
|
|
12995
13181
|
expected: "(FilePublishPublished | undefined)",
|
|
12996
13182
|
value: input.published
|
|
@@ -13020,11 +13206,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13020
13206
|
value: input.render
|
|
13021
13207
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13022
13208
|
path: _path + ".error",
|
|
13023
|
-
expected: "(__type.
|
|
13209
|
+
expected: "(__type.o11 | null | undefined)",
|
|
13024
13210
|
value: input.error
|
|
13025
|
-
})) &&
|
|
13211
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13026
13212
|
path: _path + ".error",
|
|
13027
|
-
expected: "(__type.
|
|
13213
|
+
expected: "(__type.o11 | null | undefined)",
|
|
13028
13214
|
value: input.error
|
|
13029
13215
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13030
13216
|
path: _path + ".messages",
|
|
@@ -13034,7 +13220,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13034
13220
|
path: _path + ".messages[" + _index16 + "]",
|
|
13035
13221
|
expected: "Message",
|
|
13036
13222
|
value: elem
|
|
13037
|
-
})) &&
|
|
13223
|
+
})) && _vo18(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13038
13224
|
path: _path + ".messages[" + _index16 + "]",
|
|
13039
13225
|
expected: "Message",
|
|
13040
13226
|
value: elem
|
|
@@ -13042,7 +13228,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13042
13228
|
path: _path + ".messages",
|
|
13043
13229
|
expected: "(Array<Message> | undefined)",
|
|
13044
13230
|
value: input.messages
|
|
13045
|
-
})].every(flag => flag); const
|
|
13231
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
13046
13232
|
path: _path + ".id",
|
|
13047
13233
|
expected: "(string | undefined)",
|
|
13048
13234
|
value: input.id
|
|
@@ -13060,19 +13246,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
13060
13246
|
value: input.directory
|
|
13061
13247
|
}), undefined === input.subtitle || ("object" === typeof input.subtitle && null !== input.subtitle || _report(_exceptionable, {
|
|
13062
13248
|
path: _path + ".subtitle",
|
|
13063
|
-
expected: "(__type.
|
|
13249
|
+
expected: "(__type.o14 | undefined)",
|
|
13064
13250
|
value: input.subtitle
|
|
13065
|
-
})) &&
|
|
13251
|
+
})) && _vo32(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
13066
13252
|
path: _path + ".subtitle",
|
|
13067
|
-
expected: "(__type.
|
|
13253
|
+
expected: "(__type.o14 | undefined)",
|
|
13068
13254
|
value: input.subtitle
|
|
13069
13255
|
}), undefined === input.metafile || ("object" === typeof input.metafile && null !== input.metafile || _report(_exceptionable, {
|
|
13070
13256
|
path: _path + ".metafile",
|
|
13071
|
-
expected: "(__type.
|
|
13257
|
+
expected: "(__type.o15 | undefined)",
|
|
13072
13258
|
value: input.metafile
|
|
13073
|
-
})) &&
|
|
13259
|
+
})) && _vo33(input.metafile, _path + ".metafile", true && _exceptionable) || _report(_exceptionable, {
|
|
13074
13260
|
path: _path + ".metafile",
|
|
13075
|
-
expected: "(__type.
|
|
13261
|
+
expected: "(__type.o15 | undefined)",
|
|
13076
13262
|
value: input.metafile
|
|
13077
13263
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
13078
13264
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
@@ -13081,25 +13267,25 @@ function _validateDomainRecord(domain, input) {
|
|
|
13081
13267
|
if (undefined === value)
|
|
13082
13268
|
return true;
|
|
13083
13269
|
return true;
|
|
13084
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13270
|
+
}).every(flag => flag)].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
13085
13271
|
path: _path + ".path",
|
|
13086
13272
|
expected: "string",
|
|
13087
13273
|
value: input.path
|
|
13088
|
-
})].every(flag => flag); const
|
|
13274
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
13089
13275
|
path: _path + ".path",
|
|
13090
13276
|
expected: "string",
|
|
13091
13277
|
value: input.path
|
|
13092
|
-
})].every(flag => flag); const
|
|
13278
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
13093
13279
|
path: _path + ".type",
|
|
13094
13280
|
expected: "(\"youtube\" | undefined)",
|
|
13095
13281
|
value: input.type
|
|
13096
13282
|
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
13097
13283
|
path: _path + ".draft",
|
|
13098
|
-
expected: "(__type.
|
|
13284
|
+
expected: "(__type.o16 | undefined)",
|
|
13099
13285
|
value: input.draft
|
|
13100
|
-
})) &&
|
|
13286
|
+
})) && _vo35(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
13101
13287
|
path: _path + ".draft",
|
|
13102
|
-
expected: "(__type.
|
|
13288
|
+
expected: "(__type.o16 | undefined)",
|
|
13103
13289
|
value: input.draft
|
|
13104
13290
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
13105
13291
|
path: _path + ".asset",
|
|
@@ -13119,11 +13305,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13119
13305
|
value: input.render
|
|
13120
13306
|
}), true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13121
13307
|
path: _path + ".error",
|
|
13122
|
-
expected: "(__type.
|
|
13308
|
+
expected: "(__type.o11 | null | undefined)",
|
|
13123
13309
|
value: input.error
|
|
13124
|
-
})) &&
|
|
13310
|
+
})) && _vo17(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13125
13311
|
path: _path + ".error",
|
|
13126
|
-
expected: "(__type.
|
|
13312
|
+
expected: "(__type.o11 | null | undefined)",
|
|
13127
13313
|
value: input.error
|
|
13128
13314
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13129
13315
|
path: _path + ".messages",
|
|
@@ -13133,7 +13319,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13133
13319
|
path: _path + ".messages[" + _index17 + "]",
|
|
13134
13320
|
expected: "Message",
|
|
13135
13321
|
value: elem
|
|
13136
|
-
})) &&
|
|
13322
|
+
})) && _vo18(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13137
13323
|
path: _path + ".messages[" + _index17 + "]",
|
|
13138
13324
|
expected: "Message",
|
|
13139
13325
|
value: elem
|
|
@@ -13141,15 +13327,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13141
13327
|
path: _path + ".messages",
|
|
13142
13328
|
expected: "(Array<Message> | undefined)",
|
|
13143
13329
|
value: input.messages
|
|
13144
|
-
})].every(flag => flag); const
|
|
13330
|
+
})].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [undefined === input.snippet || ("object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) || _report(_exceptionable, {
|
|
13145
13331
|
path: _path + ".snippet",
|
|
13146
|
-
expected: "(__type.
|
|
13332
|
+
expected: "(__type.o17 | undefined)",
|
|
13147
13333
|
value: input.snippet
|
|
13148
|
-
})) &&
|
|
13334
|
+
})) && _vo36(input.snippet, _path + ".snippet", true && _exceptionable) || _report(_exceptionable, {
|
|
13149
13335
|
path: _path + ".snippet",
|
|
13150
|
-
expected: "(__type.
|
|
13336
|
+
expected: "(__type.o17 | undefined)",
|
|
13151
13337
|
value: input.snippet
|
|
13152
|
-
})].every(flag => flag); const
|
|
13338
|
+
})].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
13153
13339
|
path: _path + ".title",
|
|
13154
13340
|
expected: "(string | undefined)",
|
|
13155
13341
|
value: input.title
|
|
@@ -13171,16 +13357,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
13171
13357
|
value: input.description
|
|
13172
13358
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
13173
13359
|
if (undefined !== input.path)
|
|
13174
|
-
return
|
|
13360
|
+
return _vo22(input, _path, true && _exceptionable);
|
|
13175
13361
|
else if (undefined !== input.__context)
|
|
13176
|
-
return
|
|
13362
|
+
return _vo23(input, _path, true && _exceptionable);
|
|
13177
13363
|
else
|
|
13178
13364
|
return _report(_exceptionable, {
|
|
13179
13365
|
path: _path,
|
|
13180
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13366
|
+
expected: "(ResolvedFilePublishRender | __type.o12)",
|
|
13181
13367
|
value: input
|
|
13182
13368
|
});
|
|
13183
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) ||
|
|
13369
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo19(input, _path, false && _exceptionable) || _vo30(input, _path, false && _exceptionable) || _vo20(input, _path, false && _exceptionable) || _vo34(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
13184
13370
|
if (false === __is(input)) {
|
|
13185
13371
|
errors = [];
|
|
13186
13372
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -13210,36 +13396,34 @@ function _validateDomainRecord(domain, input) {
|
|
|
13210
13396
|
}; })()(input);
|
|
13211
13397
|
}
|
|
13212
13398
|
case ":publish.stats?": {
|
|
13213
|
-
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.
|
|
13399
|
+
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 => {
|
|
13214
13400
|
const value = input[key];
|
|
13215
13401
|
if (undefined === value)
|
|
13216
13402
|
return true;
|
|
13217
|
-
return "object" === typeof value && null !== value &&
|
|
13218
|
-
}); const
|
|
13403
|
+
return "object" === typeof value && null !== value && _io5(value);
|
|
13404
|
+
}); 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 => {
|
|
13219
13405
|
const value = input[key];
|
|
13220
13406
|
if (undefined === value)
|
|
13221
13407
|
return true;
|
|
13222
13408
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
13223
|
-
}); const
|
|
13409
|
+
}); 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 => {
|
|
13224
13410
|
const value = input[key];
|
|
13225
13411
|
if (undefined === value)
|
|
13226
13412
|
return true;
|
|
13227
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13228
|
-
}); const
|
|
13413
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io12(value);
|
|
13414
|
+
}); 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 => {
|
|
13229
13415
|
const value = input[key];
|
|
13230
13416
|
if (undefined === value)
|
|
13231
13417
|
return true;
|
|
13232
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
13233
|
-
}); const
|
|
13418
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
13419
|
+
}); 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 => (() => {
|
|
13234
13420
|
if (undefined !== input.path)
|
|
13235
|
-
return
|
|
13421
|
+
return _io8(input);
|
|
13236
13422
|
else if (undefined !== input.__context)
|
|
13237
|
-
return
|
|
13423
|
+
return _io24(input);
|
|
13238
13424
|
else
|
|
13239
13425
|
return false;
|
|
13240
13426
|
})(); const _iu1 = input => (() => {
|
|
13241
|
-
if (_io3(input))
|
|
13242
|
-
return _io3(input);
|
|
13243
13427
|
if (_io2(input))
|
|
13244
13428
|
return _io2(input);
|
|
13245
13429
|
if (_io0(input))
|
|
@@ -13257,12 +13441,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13257
13441
|
path: _path + ".messages",
|
|
13258
13442
|
expected: "(Array<Message> | undefined)",
|
|
13259
13443
|
value: input.messages
|
|
13260
|
-
})) && input.messages.map((elem,
|
|
13261
|
-
path: _path + ".messages[" +
|
|
13444
|
+
})) && input.messages.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13445
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
13262
13446
|
expected: "Message",
|
|
13263
13447
|
value: elem
|
|
13264
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
13265
|
-
path: _path + ".messages[" +
|
|
13448
|
+
})) && _vo1(elem, _path + ".messages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13449
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
13266
13450
|
expected: "Message",
|
|
13267
13451
|
value: elem
|
|
13268
13452
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13281,35 +13465,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13281
13465
|
path: _path + ".msg",
|
|
13282
13466
|
expected: "string",
|
|
13283
13467
|
value: input.msg
|
|
13284
|
-
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
13285
|
-
path: _path + ".status",
|
|
13286
|
-
expected: "(string | undefined)",
|
|
13287
|
-
value: input.status
|
|
13288
|
-
}), undefined === input.substatus || "string" === typeof input.substatus || _report(_exceptionable, {
|
|
13289
|
-
path: _path + ".substatus",
|
|
13290
|
-
expected: "(string | undefined)",
|
|
13291
|
-
value: input.substatus
|
|
13292
|
-
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13293
|
-
path: _path + ".messages",
|
|
13294
|
-
expected: "(Array<Message> | undefined)",
|
|
13295
|
-
value: input.messages
|
|
13296
|
-
})) && input.messages.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13297
|
-
path: _path + ".messages[" + _index9 + "]",
|
|
13298
|
-
expected: "Message",
|
|
13299
|
-
value: elem
|
|
13300
|
-
})) && _vo1(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13301
|
-
path: _path + ".messages[" + _index9 + "]",
|
|
13302
|
-
expected: "Message",
|
|
13303
|
-
value: elem
|
|
13304
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
13305
|
-
path: _path + ".messages",
|
|
13306
|
-
expected: "(Array<Message> | undefined)",
|
|
13307
|
-
value: input.messages
|
|
13308
|
-
}), 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, {
|
|
13468
|
+
})].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, {
|
|
13309
13469
|
path: _path + ".retrieved",
|
|
13310
13470
|
expected: "(FilePublishRetrieved | undefined)",
|
|
13311
13471
|
value: input.retrieved
|
|
13312
|
-
})) &&
|
|
13472
|
+
})) && _vo3(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
13313
13473
|
path: _path + ".retrieved",
|
|
13314
13474
|
expected: "(FilePublishRetrieved | undefined)",
|
|
13315
13475
|
value: input.retrieved
|
|
@@ -13317,7 +13477,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13317
13477
|
path: _path + ".defaults",
|
|
13318
13478
|
expected: "(FilePublishDefaults | undefined)",
|
|
13319
13479
|
value: input.defaults
|
|
13320
|
-
})) &&
|
|
13480
|
+
})) && _vo6(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
13321
13481
|
path: _path + ".defaults",
|
|
13322
13482
|
expected: "(FilePublishDefaults | undefined)",
|
|
13323
13483
|
value: input.defaults
|
|
@@ -13333,19 +13493,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
13333
13493
|
path: _path + ".messages",
|
|
13334
13494
|
expected: "(Array<Message> | undefined)",
|
|
13335
13495
|
value: input.messages
|
|
13336
|
-
})) && input.messages.map((elem,
|
|
13337
|
-
path: _path + ".messages[" +
|
|
13496
|
+
})) && input.messages.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
13497
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
13338
13498
|
expected: "Message",
|
|
13339
13499
|
value: elem
|
|
13340
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
13341
|
-
path: _path + ".messages[" +
|
|
13500
|
+
})) && _vo1(elem, _path + ".messages[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
13501
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
13342
13502
|
expected: "Message",
|
|
13343
13503
|
value: elem
|
|
13344
13504
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13345
13505
|
path: _path + ".messages",
|
|
13346
13506
|
expected: "(Array<Message> | undefined)",
|
|
13347
13507
|
value: input.messages
|
|
13348
|
-
})].every(flag => flag); const
|
|
13508
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
13349
13509
|
path: _path + ".filename",
|
|
13350
13510
|
expected: "(string | undefined)",
|
|
13351
13511
|
value: input.filename
|
|
@@ -13357,11 +13517,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13357
13517
|
path: _path + ".renders",
|
|
13358
13518
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
13359
13519
|
value: input.renders
|
|
13360
|
-
})) &&
|
|
13520
|
+
})) && _vo4(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13361
13521
|
path: _path + ".renders",
|
|
13362
13522
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
13363
13523
|
value: input.renders
|
|
13364
|
-
})].every(flag => flag); const
|
|
13524
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13365
13525
|
const value = input[key];
|
|
13366
13526
|
if (undefined === value)
|
|
13367
13527
|
return true;
|
|
@@ -13369,12 +13529,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13369
13529
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13370
13530
|
expected: "FilePublishRetrievedRender",
|
|
13371
13531
|
value: value
|
|
13372
|
-
})) &&
|
|
13532
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13373
13533
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13374
13534
|
expected: "FilePublishRetrievedRender",
|
|
13375
13535
|
value: value
|
|
13376
13536
|
});
|
|
13377
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13537
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
13378
13538
|
path: _path + ".path",
|
|
13379
13539
|
expected: "string",
|
|
13380
13540
|
value: input.path
|
|
@@ -13386,7 +13546,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13386
13546
|
path: _path + ".hash",
|
|
13387
13547
|
expected: "(string | undefined)",
|
|
13388
13548
|
value: input.hash
|
|
13389
|
-
})].every(flag => flag); const
|
|
13549
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.directory || _report(_exceptionable, {
|
|
13390
13550
|
path: _path + ".directory",
|
|
13391
13551
|
expected: "string",
|
|
13392
13552
|
value: input.directory
|
|
@@ -13398,32 +13558,32 @@ function _validateDomainRecord(domain, input) {
|
|
|
13398
13558
|
path: _path + ".renders",
|
|
13399
13559
|
expected: "Record<string, FilePublishRender>",
|
|
13400
13560
|
value: input.renders
|
|
13401
|
-
})) &&
|
|
13561
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13402
13562
|
path: _path + ".renders",
|
|
13403
13563
|
expected: "Record<string, FilePublishRender>",
|
|
13404
13564
|
value: input.renders
|
|
13405
|
-
})].every(flag => flag); const
|
|
13565
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13406
13566
|
const value = input[key];
|
|
13407
13567
|
if (undefined === value)
|
|
13408
13568
|
return true;
|
|
13409
13569
|
return (null !== value || _report(_exceptionable, {
|
|
13410
13570
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13411
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13571
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13412
13572
|
value: value
|
|
13413
13573
|
})) && (undefined !== value || _report(_exceptionable, {
|
|
13414
13574
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13415
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13575
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13416
13576
|
value: value
|
|
13417
13577
|
})) && ("string" === typeof value || ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
13418
13578
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13419
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13579
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13420
13580
|
value: value
|
|
13421
13581
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13422
13582
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13423
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
13583
|
+
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
13424
13584
|
value: value
|
|
13425
13585
|
}));
|
|
13426
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13586
|
+
}).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
13427
13587
|
path: _path + ".name",
|
|
13428
13588
|
expected: "(string | undefined)",
|
|
13429
13589
|
value: input.name
|
|
@@ -13451,7 +13611,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13451
13611
|
path: _path + ".scene",
|
|
13452
13612
|
expected: "(RenderSceneObject | undefined)",
|
|
13453
13613
|
value: input.scene
|
|
13454
|
-
})) &&
|
|
13614
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
13455
13615
|
path: _path + ".scene",
|
|
13456
13616
|
expected: "(RenderSceneObject | undefined)",
|
|
13457
13617
|
value: input.scene
|
|
@@ -13459,11 +13619,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13459
13619
|
path: _path + ".profile",
|
|
13460
13620
|
expected: "(RenderProfileObject | undefined)",
|
|
13461
13621
|
value: input.profile
|
|
13462
|
-
})) &&
|
|
13622
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
13463
13623
|
path: _path + ".profile",
|
|
13464
13624
|
expected: "(RenderProfileObject | undefined)",
|
|
13465
13625
|
value: input.profile
|
|
13466
|
-
})].every(flag => flag); const
|
|
13626
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
13467
13627
|
path: _path + ".id",
|
|
13468
13628
|
expected: "(string | undefined)",
|
|
13469
13629
|
value: input.id
|
|
@@ -13475,7 +13635,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13475
13635
|
path: _path + ".input",
|
|
13476
13636
|
expected: "(__type | null | undefined)",
|
|
13477
13637
|
value: input.input
|
|
13478
|
-
})) &&
|
|
13638
|
+
})) && _vo10(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
13479
13639
|
path: _path + ".input",
|
|
13480
13640
|
expected: "(__type | null | undefined)",
|
|
13481
13641
|
value: input.input
|
|
@@ -13491,7 +13651,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13491
13651
|
path: _path + ".subtitleTracks",
|
|
13492
13652
|
expected: "(__type.o1 | undefined)",
|
|
13493
13653
|
value: input.subtitleTracks
|
|
13494
|
-
})) &&
|
|
13654
|
+
})) && _vo11(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
13495
13655
|
path: _path + ".subtitleTracks",
|
|
13496
13656
|
expected: "(__type.o1 | undefined)",
|
|
13497
13657
|
value: input.subtitleTracks
|
|
@@ -13499,7 +13659,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13499
13659
|
path: _path + ".video",
|
|
13500
13660
|
expected: "(__type.o3 | undefined)",
|
|
13501
13661
|
value: input.video
|
|
13502
|
-
})) &&
|
|
13662
|
+
})) && _vo14(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
13503
13663
|
path: _path + ".video",
|
|
13504
13664
|
expected: "(__type.o3 | undefined)",
|
|
13505
13665
|
value: input.video
|
|
@@ -13515,11 +13675,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13515
13675
|
path: _path + ".transcribe",
|
|
13516
13676
|
expected: "(__type.o5 | undefined)",
|
|
13517
13677
|
value: input.transcribe
|
|
13518
|
-
})) &&
|
|
13678
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13519
13679
|
path: _path + ".transcribe",
|
|
13520
13680
|
expected: "(__type.o5 | undefined)",
|
|
13521
13681
|
value: input.transcribe
|
|
13522
|
-
})].every(flag => flag); const
|
|
13682
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
13523
13683
|
path: _path + ".type",
|
|
13524
13684
|
expected: "(string | undefined)",
|
|
13525
13685
|
value: input.type
|
|
@@ -13527,7 +13687,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13527
13687
|
path: _path + ".file",
|
|
13528
13688
|
expected: "(null | string | undefined)",
|
|
13529
13689
|
value: input.file
|
|
13530
|
-
})].every(flag => flag); const
|
|
13690
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13531
13691
|
const value = input[key];
|
|
13532
13692
|
if (undefined === value)
|
|
13533
13693
|
return true;
|
|
@@ -13535,12 +13695,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13535
13695
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13536
13696
|
expected: "__type.o2",
|
|
13537
13697
|
value: value
|
|
13538
|
-
})) &&
|
|
13698
|
+
})) && _vo12(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13539
13699
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13540
13700
|
expected: "__type.o2",
|
|
13541
13701
|
value: value
|
|
13542
13702
|
});
|
|
13543
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
13703
|
+
}).every(flag => flag)].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
13544
13704
|
path: _path + ".style",
|
|
13545
13705
|
expected: "(null | string | undefined)",
|
|
13546
13706
|
value: input.style
|
|
@@ -13548,11 +13708,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13548
13708
|
path: _path + ".styleOverrides",
|
|
13549
13709
|
expected: "(SubtitleStyle | undefined)",
|
|
13550
13710
|
value: input.styleOverrides
|
|
13551
|
-
})) &&
|
|
13711
|
+
})) && _vo13(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
13552
13712
|
path: _path + ".styleOverrides",
|
|
13553
13713
|
expected: "(SubtitleStyle | undefined)",
|
|
13554
13714
|
value: input.styleOverrides
|
|
13555
|
-
})].every(flag => flag); const
|
|
13715
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
13556
13716
|
path: _path + ".name",
|
|
13557
13717
|
expected: "(string | undefined)",
|
|
13558
13718
|
value: input.name
|
|
@@ -13608,6 +13768,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
13608
13768
|
path: _path + ".spacing",
|
|
13609
13769
|
expected: "(string | undefined)",
|
|
13610
13770
|
value: input.spacing
|
|
13771
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
13772
|
+
path: _path + ".lineSpacing",
|
|
13773
|
+
expected: "(string | undefined)",
|
|
13774
|
+
value: input.lineSpacing
|
|
13611
13775
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
13612
13776
|
path: _path + ".angle",
|
|
13613
13777
|
expected: "(string | undefined)",
|
|
@@ -13644,15 +13808,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13644
13808
|
path: _path + ".encoding",
|
|
13645
13809
|
expected: "(string | undefined)",
|
|
13646
13810
|
value: input.encoding
|
|
13647
|
-
})].every(flag => flag); const
|
|
13811
|
+
})].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, {
|
|
13648
13812
|
path: _path + ".crop",
|
|
13649
13813
|
expected: "(__type.o4 | undefined)",
|
|
13650
13814
|
value: input.crop
|
|
13651
|
-
})) &&
|
|
13815
|
+
})) && _vo15(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
13652
13816
|
path: _path + ".crop",
|
|
13653
13817
|
expected: "(__type.o4 | undefined)",
|
|
13654
13818
|
value: input.crop
|
|
13655
|
-
})].every(flag => flag); const
|
|
13819
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
13656
13820
|
path: _path + ".x",
|
|
13657
13821
|
expected: "(number | undefined)",
|
|
13658
13822
|
value: input.x
|
|
@@ -13668,7 +13832,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13668
13832
|
path: _path + ".height",
|
|
13669
13833
|
expected: "(number | undefined)",
|
|
13670
13834
|
value: input.height
|
|
13671
|
-
})].every(flag => flag); const
|
|
13835
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
13672
13836
|
path: _path + ".language",
|
|
13673
13837
|
expected: "(string | undefined)",
|
|
13674
13838
|
value: input.language
|
|
@@ -13676,15 +13840,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
13676
13840
|
path: _path + ".pan",
|
|
13677
13841
|
expected: "(Array<number> | undefined)",
|
|
13678
13842
|
value: input.pan
|
|
13679
|
-
})) && input.pan.map((elem,
|
|
13680
|
-
path: _path + ".pan[" +
|
|
13843
|
+
})) && input.pan.map((elem, _index9) => "number" === typeof elem || _report(_exceptionable, {
|
|
13844
|
+
path: _path + ".pan[" + _index9 + "]",
|
|
13681
13845
|
expected: "number",
|
|
13682
13846
|
value: elem
|
|
13683
13847
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13684
13848
|
path: _path + ".pan",
|
|
13685
13849
|
expected: "(Array<number> | undefined)",
|
|
13686
13850
|
value: input.pan
|
|
13687
|
-
})].every(flag => flag); const
|
|
13851
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
13688
13852
|
path: _path + ".format",
|
|
13689
13853
|
expected: "string",
|
|
13690
13854
|
value: input.format
|
|
@@ -13692,7 +13856,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13692
13856
|
path: _path + ".transcribe",
|
|
13693
13857
|
expected: "(__type.o6 | undefined)",
|
|
13694
13858
|
value: input.transcribe
|
|
13695
|
-
})) &&
|
|
13859
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
13696
13860
|
path: _path + ".transcribe",
|
|
13697
13861
|
expected: "(__type.o6 | undefined)",
|
|
13698
13862
|
value: input.transcribe
|
|
@@ -13700,7 +13864,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13700
13864
|
path: _path + ".translate",
|
|
13701
13865
|
expected: "(__type.o7 | undefined)",
|
|
13702
13866
|
value: input.translate
|
|
13703
|
-
})) &&
|
|
13867
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
13704
13868
|
path: _path + ".translate",
|
|
13705
13869
|
expected: "(__type.o7 | undefined)",
|
|
13706
13870
|
value: input.translate
|
|
@@ -13708,7 +13872,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13708
13872
|
path: _path + ".audio",
|
|
13709
13873
|
expected: "(__type.o8 | undefined)",
|
|
13710
13874
|
value: input.audio
|
|
13711
|
-
})) &&
|
|
13875
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
13712
13876
|
path: _path + ".audio",
|
|
13713
13877
|
expected: "(__type.o8 | undefined)",
|
|
13714
13878
|
value: input.audio
|
|
@@ -13716,8 +13880,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
13716
13880
|
path: _path + ".pick",
|
|
13717
13881
|
expected: "(Array<string> | undefined)",
|
|
13718
13882
|
value: input.pick
|
|
13719
|
-
})) && input.pick.map((elem,
|
|
13720
|
-
path: _path + ".pick[" +
|
|
13883
|
+
})) && input.pick.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
13884
|
+
path: _path + ".pick[" + _index10 + "]",
|
|
13721
13885
|
expected: "string",
|
|
13722
13886
|
value: elem
|
|
13723
13887
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13732,19 +13896,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
13732
13896
|
path: _path + ".subtitle",
|
|
13733
13897
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13734
13898
|
value: input.subtitle
|
|
13735
|
-
})) &&
|
|
13899
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
13736
13900
|
path: _path + ".subtitle",
|
|
13737
13901
|
expected: "(SubtitleProfile | string | undefined)",
|
|
13738
13902
|
value: input.subtitle
|
|
13739
|
-
}))].every(flag => flag); const
|
|
13903
|
+
}))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
13740
13904
|
path: _path + ".engine",
|
|
13741
13905
|
expected: "string",
|
|
13742
13906
|
value: input.engine
|
|
13743
|
-
})].every(flag => flag); const
|
|
13907
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
13744
13908
|
path: _path + ".language",
|
|
13745
13909
|
expected: "string",
|
|
13746
13910
|
value: input.language
|
|
13747
|
-
})].every(flag => flag); const
|
|
13911
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
13748
13912
|
path: _path + ".codec",
|
|
13749
13913
|
expected: "(string | undefined)",
|
|
13750
13914
|
value: input.codec
|
|
@@ -13760,7 +13924,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13760
13924
|
path: _path + ".split",
|
|
13761
13925
|
expected: "(boolean | undefined)",
|
|
13762
13926
|
value: input.split
|
|
13763
|
-
})].every(flag => flag); const
|
|
13927
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
13764
13928
|
path: _path + ".lang",
|
|
13765
13929
|
expected: "(string | undefined)",
|
|
13766
13930
|
value: input.lang
|
|
@@ -13768,27 +13932,59 @@ function _validateDomainRecord(domain, input) {
|
|
|
13768
13932
|
path: _path + ".style",
|
|
13769
13933
|
expected: "(string | undefined)",
|
|
13770
13934
|
value: input.style
|
|
13771
|
-
})
|
|
13935
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
13936
|
+
path: _path + ".ccconverter",
|
|
13937
|
+
expected: "(__type.o9 | undefined)",
|
|
13938
|
+
value: input.ccconverter
|
|
13939
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
13940
|
+
path: _path + ".ccconverter",
|
|
13941
|
+
expected: "(__type.o9 | undefined)",
|
|
13942
|
+
value: input.ccconverter
|
|
13943
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
13944
|
+
path: _path + ".ass",
|
|
13945
|
+
expected: "(__type.o10 | undefined)",
|
|
13946
|
+
value: input.ass
|
|
13947
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
13948
|
+
path: _path + ".ass",
|
|
13949
|
+
expected: "(__type.o10 | undefined)",
|
|
13950
|
+
value: input.ass
|
|
13951
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13952
|
+
path: _path + ".preset",
|
|
13953
|
+
expected: "(string | undefined)",
|
|
13954
|
+
value: input.preset
|
|
13955
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
13956
|
+
path: _path + ".futureWordWrapping",
|
|
13957
|
+
expected: "(boolean | undefined)",
|
|
13958
|
+
value: input.futureWordWrapping
|
|
13959
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
13960
|
+
path: _path + ".scaledBorderAndShadow",
|
|
13961
|
+
expected: "(boolean | undefined)",
|
|
13962
|
+
value: input.scaledBorderAndShadow
|
|
13963
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
13964
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
13965
|
+
expected: "(boolean | undefined)",
|
|
13966
|
+
value: input.enableUnsafeLineSpacingHack
|
|
13967
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
13772
13968
|
path: _path + ".__context",
|
|
13773
|
-
expected: "__type.
|
|
13969
|
+
expected: "__type.o12",
|
|
13774
13970
|
value: input.__context
|
|
13775
|
-
})) &&
|
|
13971
|
+
})) && _vo25(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
13776
13972
|
path: _path + ".__context",
|
|
13777
|
-
expected: "__type.
|
|
13973
|
+
expected: "__type.o12",
|
|
13778
13974
|
value: input.__context
|
|
13779
13975
|
}), ("object" === typeof input.__returnValue && null !== input.__returnValue || _report(_exceptionable, {
|
|
13780
13976
|
path: _path + ".__returnValue",
|
|
13781
13977
|
expected: "ResolvedFilePublishRender",
|
|
13782
13978
|
value: input.__returnValue
|
|
13783
|
-
})) &&
|
|
13979
|
+
})) && _vo8(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
13784
13980
|
path: _path + ".__returnValue",
|
|
13785
13981
|
expected: "ResolvedFilePublishRender",
|
|
13786
13982
|
value: input.__returnValue
|
|
13787
|
-
})].every(flag => flag); const
|
|
13983
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
13788
13984
|
path: _path + ".publish",
|
|
13789
13985
|
expected: "FilePublishRecord",
|
|
13790
13986
|
value: input.publish
|
|
13791
|
-
})) &&
|
|
13987
|
+
})) && _vo26(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
13792
13988
|
path: _path + ".publish",
|
|
13793
13989
|
expected: "FilePublishRecord",
|
|
13794
13990
|
value: input.publish
|
|
@@ -13800,7 +13996,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13800
13996
|
path: _path + ".name",
|
|
13801
13997
|
expected: "string",
|
|
13802
13998
|
value: input.name
|
|
13803
|
-
})].every(flag => flag); const
|
|
13999
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
13804
14000
|
path: _path + ".type",
|
|
13805
14001
|
expected: "(\"file\" | undefined)",
|
|
13806
14002
|
value: input.type
|
|
@@ -13816,7 +14012,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13816
14012
|
path: _path + ".renders",
|
|
13817
14013
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
13818
14014
|
value: input.renders
|
|
13819
|
-
})) &&
|
|
14015
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13820
14016
|
path: _path + ".renders",
|
|
13821
14017
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
13822
14018
|
value: input.renders
|
|
@@ -13824,7 +14020,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13824
14020
|
path: _path + ".draft",
|
|
13825
14021
|
expected: "(FilePublishDraft | undefined)",
|
|
13826
14022
|
value: input.draft
|
|
13827
|
-
})) &&
|
|
14023
|
+
})) && _vo27(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
13828
14024
|
path: _path + ".draft",
|
|
13829
14025
|
expected: "(FilePublishDraft | undefined)",
|
|
13830
14026
|
value: input.draft
|
|
@@ -13832,7 +14028,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13832
14028
|
path: _path + ".remote",
|
|
13833
14029
|
expected: "(FilePublishRemote | undefined)",
|
|
13834
14030
|
value: input.remote
|
|
13835
|
-
})) &&
|
|
14031
|
+
})) && _vo28(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
13836
14032
|
path: _path + ".remote",
|
|
13837
14033
|
expected: "(FilePublishRemote | undefined)",
|
|
13838
14034
|
value: input.remote
|
|
@@ -13840,7 +14036,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13840
14036
|
path: _path + ".published",
|
|
13841
14037
|
expected: "(FilePublishPublished | undefined)",
|
|
13842
14038
|
value: input.published
|
|
13843
|
-
})) &&
|
|
14039
|
+
})) && _vo31(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
13844
14040
|
path: _path + ".published",
|
|
13845
14041
|
expected: "(FilePublishPublished | undefined)",
|
|
13846
14042
|
value: input.published
|
|
@@ -13856,35 +14052,35 @@ function _validateDomainRecord(domain, input) {
|
|
|
13856
14052
|
path: _path + ".render",
|
|
13857
14053
|
expected: "(PublishRenderBase | undefined)",
|
|
13858
14054
|
value: input.render
|
|
13859
|
-
})) &&
|
|
14055
|
+
})) && _vo32(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
13860
14056
|
path: _path + ".render",
|
|
13861
14057
|
expected: "(PublishRenderBase | undefined)",
|
|
13862
14058
|
value: input.render
|
|
13863
14059
|
}), null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
13864
14060
|
path: _path + ".error",
|
|
13865
|
-
expected: "(__type.
|
|
14061
|
+
expected: "(__type.o13 | null | undefined)",
|
|
13866
14062
|
value: input.error
|
|
13867
|
-
})) &&
|
|
14063
|
+
})) && _vo33(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
13868
14064
|
path: _path + ".error",
|
|
13869
|
-
expected: "(__type.
|
|
14065
|
+
expected: "(__type.o13 | null | undefined)",
|
|
13870
14066
|
value: input.error
|
|
13871
14067
|
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
13872
14068
|
path: _path + ".messages",
|
|
13873
14069
|
expected: "(Array<Message> | undefined)",
|
|
13874
14070
|
value: input.messages
|
|
13875
|
-
})) && input.messages.map((elem,
|
|
13876
|
-
path: _path + ".messages[" +
|
|
14071
|
+
})) && input.messages.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14072
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
13877
14073
|
expected: "Message",
|
|
13878
14074
|
value: elem
|
|
13879
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
13880
|
-
path: _path + ".messages[" +
|
|
14075
|
+
})) && _vo1(elem, _path + ".messages[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14076
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
13881
14077
|
expected: "Message",
|
|
13882
14078
|
value: elem
|
|
13883
14079
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
13884
14080
|
path: _path + ".messages",
|
|
13885
14081
|
expected: "(Array<Message> | undefined)",
|
|
13886
14082
|
value: input.messages
|
|
13887
|
-
})].every(flag => flag); const
|
|
14083
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
13888
14084
|
path: _path + ".directory",
|
|
13889
14085
|
expected: "(string | undefined)",
|
|
13890
14086
|
value: input.directory
|
|
@@ -13892,7 +14088,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13892
14088
|
path: _path + ".filename",
|
|
13893
14089
|
expected: "(string | undefined)",
|
|
13894
14090
|
value: input.filename
|
|
13895
|
-
})].every(flag => flag); const
|
|
14091
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
13896
14092
|
path: _path + ".directory",
|
|
13897
14093
|
expected: "(string | undefined)",
|
|
13898
14094
|
value: input.directory
|
|
@@ -13904,11 +14100,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
13904
14100
|
path: _path + ".renders",
|
|
13905
14101
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
13906
14102
|
value: input.renders
|
|
13907
|
-
})) &&
|
|
14103
|
+
})) && _vo29(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
13908
14104
|
path: _path + ".renders",
|
|
13909
14105
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
13910
14106
|
value: input.renders
|
|
13911
|
-
})].every(flag => flag); const
|
|
14107
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
13912
14108
|
const value = input[key];
|
|
13913
14109
|
if (undefined === value)
|
|
13914
14110
|
return true;
|
|
@@ -13916,12 +14112,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13916
14112
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13917
14113
|
expected: "FilePublishRemoteRender",
|
|
13918
14114
|
value: value
|
|
13919
|
-
})) &&
|
|
14115
|
+
})) && _vo30(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
13920
14116
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13921
14117
|
expected: "FilePublishRemoteRender",
|
|
13922
14118
|
value: value
|
|
13923
14119
|
});
|
|
13924
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14120
|
+
}).every(flag => flag)].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
13925
14121
|
path: _path + ".path",
|
|
13926
14122
|
expected: "(string | undefined)",
|
|
13927
14123
|
value: input.path
|
|
@@ -13929,12 +14125,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
13929
14125
|
path: _path + ".messages",
|
|
13930
14126
|
expected: "(Array<Message> | undefined)",
|
|
13931
14127
|
value: input.messages
|
|
13932
|
-
})) && input.messages.map((elem,
|
|
13933
|
-
path: _path + ".messages[" +
|
|
14128
|
+
})) && input.messages.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
14129
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
13934
14130
|
expected: "Message",
|
|
13935
14131
|
value: elem
|
|
13936
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
13937
|
-
path: _path + ".messages[" +
|
|
14132
|
+
})) && _vo1(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14133
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
13938
14134
|
expected: "Message",
|
|
13939
14135
|
value: elem
|
|
13940
14136
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -13953,7 +14149,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13953
14149
|
path: _path + ".source",
|
|
13954
14150
|
expected: "(string | undefined)",
|
|
13955
14151
|
value: input.source
|
|
13956
|
-
})].every(flag => flag); const
|
|
14152
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
13957
14153
|
path: _path + ".directory",
|
|
13958
14154
|
expected: "(string | undefined)",
|
|
13959
14155
|
value: input.directory
|
|
@@ -13961,7 +14157,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13961
14157
|
path: _path + ".filename",
|
|
13962
14158
|
expected: "string",
|
|
13963
14159
|
value: input.filename
|
|
13964
|
-
})].every(flag => flag); const
|
|
14160
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
13965
14161
|
path: _path + ".preset",
|
|
13966
14162
|
expected: "(string | undefined)",
|
|
13967
14163
|
value: input.preset
|
|
@@ -13973,7 +14169,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13973
14169
|
path: _path + ".scene",
|
|
13974
14170
|
expected: "(RenderSceneObject | undefined)",
|
|
13975
14171
|
value: input.scene
|
|
13976
|
-
})) &&
|
|
14172
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
13977
14173
|
path: _path + ".scene",
|
|
13978
14174
|
expected: "(RenderSceneObject | undefined)",
|
|
13979
14175
|
value: input.scene
|
|
@@ -13981,36 +14177,36 @@ function _validateDomainRecord(domain, input) {
|
|
|
13981
14177
|
path: _path + ".profile",
|
|
13982
14178
|
expected: "(RenderProfileObject | undefined)",
|
|
13983
14179
|
value: input.profile
|
|
13984
|
-
})) &&
|
|
14180
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
13985
14181
|
path: _path + ".profile",
|
|
13986
14182
|
expected: "(RenderProfileObject | undefined)",
|
|
13987
14183
|
value: input.profile
|
|
13988
|
-
})].every(flag => flag); const
|
|
14184
|
+
})].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
13989
14185
|
path: _path + ".method",
|
|
13990
14186
|
expected: "string",
|
|
13991
14187
|
value: input.method
|
|
13992
14188
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
13993
14189
|
if (undefined !== input.path)
|
|
13994
|
-
return
|
|
14190
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
13995
14191
|
else if (undefined !== input.__context)
|
|
13996
|
-
return
|
|
14192
|
+
return _vo24(input, _path, true && _exceptionable);
|
|
13997
14193
|
else
|
|
13998
14194
|
return _report(_exceptionable, {
|
|
13999
14195
|
path: _path,
|
|
14000
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
14196
|
+
expected: "(ResolvedFilePublishRender | __type.o11)",
|
|
14001
14197
|
value: input
|
|
14002
14198
|
});
|
|
14003
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) =>
|
|
14199
|
+
})(); 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 => {
|
|
14004
14200
|
if (false === __is(input)) {
|
|
14005
14201
|
errors = [];
|
|
14006
14202
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14007
14203
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14008
14204
|
path: _path + "",
|
|
14009
|
-
expected: "(
|
|
14205
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
14010
14206
|
value: input
|
|
14011
14207
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
14012
14208
|
path: _path + "",
|
|
14013
|
-
expected: "(
|
|
14209
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
14014
14210
|
value: input
|
|
14015
14211
|
}))(input, "$input", true);
|
|
14016
14212
|
const success = 0 === errors.length;
|
|
@@ -14198,7 +14394,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14198
14394
|
}; })()(input);
|
|
14199
14395
|
}
|
|
14200
14396
|
case ":render-preset": {
|
|
14201
|
-
return (() => { const _io0 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io5 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
14397
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io1(elem))) || "object" === typeof input.profile && null !== input.profile && _io1(input.profile)))); const _io1 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io5 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io6(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io7(input.ass)); const _io6 = input => undefined === input.preset || "string" === typeof input.preset; const _io7 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
14202
14398
|
path: _path + ".type",
|
|
14203
14399
|
expected: "(null | string | undefined)",
|
|
14204
14400
|
value: input.type
|
|
@@ -14314,14 +14510,46 @@ function _validateDomainRecord(domain, input) {
|
|
|
14314
14510
|
path: _path + ".style",
|
|
14315
14511
|
expected: "(string | undefined)",
|
|
14316
14512
|
value: input.style
|
|
14317
|
-
})
|
|
14318
|
-
|
|
14319
|
-
|
|
14320
|
-
|
|
14321
|
-
|
|
14322
|
-
|
|
14323
|
-
|
|
14324
|
-
|
|
14513
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
14514
|
+
path: _path + ".ccconverter",
|
|
14515
|
+
expected: "(__type.o3 | undefined)",
|
|
14516
|
+
value: input.ccconverter
|
|
14517
|
+
})) && _vo6(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
14518
|
+
path: _path + ".ccconverter",
|
|
14519
|
+
expected: "(__type.o3 | undefined)",
|
|
14520
|
+
value: input.ccconverter
|
|
14521
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
14522
|
+
path: _path + ".ass",
|
|
14523
|
+
expected: "(__type.o4 | undefined)",
|
|
14524
|
+
value: input.ass
|
|
14525
|
+
})) && _vo7(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
14526
|
+
path: _path + ".ass",
|
|
14527
|
+
expected: "(__type.o4 | undefined)",
|
|
14528
|
+
value: input.ass
|
|
14529
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
14530
|
+
path: _path + ".preset",
|
|
14531
|
+
expected: "(string | undefined)",
|
|
14532
|
+
value: input.preset
|
|
14533
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
14534
|
+
path: _path + ".futureWordWrapping",
|
|
14535
|
+
expected: "(boolean | undefined)",
|
|
14536
|
+
value: input.futureWordWrapping
|
|
14537
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
14538
|
+
path: _path + ".scaledBorderAndShadow",
|
|
14539
|
+
expected: "(boolean | undefined)",
|
|
14540
|
+
value: input.scaledBorderAndShadow
|
|
14541
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
14542
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
14543
|
+
expected: "(boolean | undefined)",
|
|
14544
|
+
value: input.enableUnsafeLineSpacingHack
|
|
14545
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
14546
|
+
if (false === __is(input)) {
|
|
14547
|
+
errors = [];
|
|
14548
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14549
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14550
|
+
path: _path + "",
|
|
14551
|
+
expected: "RenderPresetObject",
|
|
14552
|
+
value: input
|
|
14325
14553
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
14326
14554
|
path: _path + "",
|
|
14327
14555
|
expected: "RenderPresetObject",
|
|
@@ -14757,7 +14985,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14757
14985
|
if (undefined === value)
|
|
14758
14986
|
return true;
|
|
14759
14987
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
14760
|
-
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = 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 _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
14988
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = 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 _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(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) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = 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 _io14 = 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) && _io15(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io16(input.ass)); const _io15 = input => undefined === input.preset || "string" === typeof input.preset; const _io16 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
14761
14989
|
path: _path + ".type",
|
|
14762
14990
|
expected: "string",
|
|
14763
14991
|
value: input.type
|
|
@@ -14938,6 +15166,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
14938
15166
|
path: _path + ".spacing",
|
|
14939
15167
|
expected: "(string | undefined)",
|
|
14940
15168
|
value: input.spacing
|
|
15169
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
15170
|
+
path: _path + ".lineSpacing",
|
|
15171
|
+
expected: "(string | undefined)",
|
|
15172
|
+
value: input.lineSpacing
|
|
14941
15173
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
14942
15174
|
path: _path + ".angle",
|
|
14943
15175
|
expected: "(string | undefined)",
|
|
@@ -15098,6 +15330,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
15098
15330
|
path: _path + ".style",
|
|
15099
15331
|
expected: "(string | undefined)",
|
|
15100
15332
|
value: input.style
|
|
15333
|
+
}), undefined === input.ccconverter || ("object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) || _report(_exceptionable, {
|
|
15334
|
+
path: _path + ".ccconverter",
|
|
15335
|
+
expected: "(__type.o10 | undefined)",
|
|
15336
|
+
value: input.ccconverter
|
|
15337
|
+
})) && _vo15(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
15338
|
+
path: _path + ".ccconverter",
|
|
15339
|
+
expected: "(__type.o10 | undefined)",
|
|
15340
|
+
value: input.ccconverter
|
|
15341
|
+
}), undefined === input.ass || ("object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) || _report(_exceptionable, {
|
|
15342
|
+
path: _path + ".ass",
|
|
15343
|
+
expected: "(__type.o11 | undefined)",
|
|
15344
|
+
value: input.ass
|
|
15345
|
+
})) && _vo16(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
15346
|
+
path: _path + ".ass",
|
|
15347
|
+
expected: "(__type.o11 | undefined)",
|
|
15348
|
+
value: input.ass
|
|
15349
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
15350
|
+
path: _path + ".preset",
|
|
15351
|
+
expected: "(string | undefined)",
|
|
15352
|
+
value: input.preset
|
|
15353
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
15354
|
+
path: _path + ".futureWordWrapping",
|
|
15355
|
+
expected: "(boolean | undefined)",
|
|
15356
|
+
value: input.futureWordWrapping
|
|
15357
|
+
}), undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
15358
|
+
path: _path + ".scaledBorderAndShadow",
|
|
15359
|
+
expected: "(boolean | undefined)",
|
|
15360
|
+
value: input.scaledBorderAndShadow
|
|
15361
|
+
}), undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack || _report(_exceptionable, {
|
|
15362
|
+
path: _path + ".enableUnsafeLineSpacingHack",
|
|
15363
|
+
expected: "(boolean | undefined)",
|
|
15364
|
+
value: input.enableUnsafeLineSpacingHack
|
|
15101
15365
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
15102
15366
|
if (false === __is(input)) {
|
|
15103
15367
|
errors = [];
|
|
@@ -15756,38 +16020,47 @@ function _validateDomainRecord(domain, input) {
|
|
|
15756
16020
|
}; })()(input);
|
|
15757
16021
|
}
|
|
15758
16022
|
case ":script.content?": {
|
|
15759
|
-
return (() => { const _io0 = input => Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "event" === input.type && "string" === typeof input.id && "string" === typeof input.mixin && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input =>
|
|
16023
|
+
return (() => { const _io0 = input => Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "event" === input.type && "string" === typeof input.id && "string" === typeof input.mixin && (undefined === input.children || Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => "text" === input.type && "string" === typeof input.text && (undefined === input.style || "string" === typeof input.style) && (undefined === input.format || "number" === typeof input.format); const _io3 = input => ("link" === input.type || "autolink" === input.type) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io4 = input => "listitem" === input.type && "number" === typeof input.value && (undefined === input.checked || "boolean" === typeof input.checked) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io5 = input => "list" === input.type && ("number" === input.listType || "bullet" === input.listType || "check" === input.listType) && ("ul" === input.tag || "ol" === input.tag) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))); const _io6 = input => "paragraph" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io7 = input => "comment" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io8 = input => "heading" === input.type && ("h1" === input.tag || "h2" === input.tag || "h3" === input.tag) && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io9 = input => "quote" === input.type && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))); const _io10 = input => "horizontalrule" === input.type; const _iu0 = input => (() => {
|
|
15760
16024
|
if ("event" === input.type)
|
|
15761
16025
|
return _io1(input);
|
|
15762
|
-
else if ("
|
|
16026
|
+
else if ("text" === input.type)
|
|
15763
16027
|
return _io2(input);
|
|
15764
|
-
else if ("
|
|
16028
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
15765
16029
|
return _io3(input);
|
|
15766
|
-
else if ("
|
|
16030
|
+
else if ("listitem" === input.type)
|
|
15767
16031
|
return _io4(input);
|
|
16032
|
+
else if ("list" === input.type)
|
|
16033
|
+
return _io5(input);
|
|
15768
16034
|
else if ("quote" === input.type)
|
|
15769
|
-
return
|
|
16035
|
+
return _io9(input);
|
|
15770
16036
|
else if ("comment" === input.type)
|
|
15771
|
-
return
|
|
16037
|
+
return _io7(input);
|
|
15772
16038
|
else if ("paragraph" === input.type)
|
|
15773
|
-
return
|
|
16039
|
+
return _io6(input);
|
|
15774
16040
|
else if ("heading" === input.type)
|
|
15775
|
-
return
|
|
16041
|
+
return _io8(input);
|
|
15776
16042
|
else if ("horizontalrule" === input.type)
|
|
15777
|
-
return
|
|
16043
|
+
return _io10(input);
|
|
16044
|
+
else
|
|
16045
|
+
return false;
|
|
16046
|
+
})(); const _iu1 = input => (() => {
|
|
16047
|
+
if ("text" === input.type)
|
|
16048
|
+
return _io2(input);
|
|
16049
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
16050
|
+
return _io3(input);
|
|
15778
16051
|
else
|
|
15779
16052
|
return false;
|
|
15780
16053
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.nodes) || _report(_exceptionable, {
|
|
15781
16054
|
path: _path + ".nodes",
|
|
15782
16055
|
expected: "Array<NodeContent>",
|
|
15783
16056
|
value: input.nodes
|
|
15784
|
-
})) && input.nodes.map((elem,
|
|
15785
|
-
path: _path + ".nodes[" +
|
|
15786
|
-
expected: "(CommentNodeContent | EventNodeContent | HeadingNodeContent | HorizontalRuleContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent
|
|
16057
|
+
})) && input.nodes.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16058
|
+
path: _path + ".nodes[" + _index10 + "]",
|
|
16059
|
+
expected: "(CommentNodeContent | EventNodeContent | FormattedTextNodeContent | HeadingNodeContent | HorizontalRuleContent | LinkNodeContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent)",
|
|
15787
16060
|
value: elem
|
|
15788
|
-
})) && _vu0(elem, _path + ".nodes[" +
|
|
15789
|
-
path: _path + ".nodes[" +
|
|
15790
|
-
expected: "(CommentNodeContent | EventNodeContent | HeadingNodeContent | HorizontalRuleContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent
|
|
16061
|
+
})) && _vu0(elem, _path + ".nodes[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16062
|
+
path: _path + ".nodes[" + _index10 + "]",
|
|
16063
|
+
expected: "(CommentNodeContent | EventNodeContent | FormattedTextNodeContent | HeadingNodeContent | HorizontalRuleContent | LinkNodeContent | ListItemNodeContent | ListNodeContent | ParagraphNodeContent | QuoteNodeContent)",
|
|
15791
16064
|
value: elem
|
|
15792
16065
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15793
16066
|
path: _path + ".nodes",
|
|
@@ -15805,25 +16078,25 @@ function _validateDomainRecord(domain, input) {
|
|
|
15805
16078
|
path: _path + ".mixin",
|
|
15806
16079
|
expected: "string",
|
|
15807
16080
|
value: input.mixin
|
|
15808
|
-
}), (Array.isArray(input.children) || _report(_exceptionable, {
|
|
16081
|
+
}), undefined === input.children || (Array.isArray(input.children) || _report(_exceptionable, {
|
|
15809
16082
|
path: _path + ".children",
|
|
15810
|
-
expected: "Array<EventNodeContent>",
|
|
16083
|
+
expected: "(Array<EventNodeContent> | undefined)",
|
|
15811
16084
|
value: input.children
|
|
15812
|
-
})) && input.children.map((elem,
|
|
15813
|
-
path: _path + ".children[" +
|
|
16085
|
+
})) && input.children.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16086
|
+
path: _path + ".children[" + _index11 + "]",
|
|
15814
16087
|
expected: "EventNodeContent",
|
|
15815
16088
|
value: elem
|
|
15816
|
-
})) && _vo1(elem, _path + ".children[" +
|
|
15817
|
-
path: _path + ".children[" +
|
|
16089
|
+
})) && _vo1(elem, _path + ".children[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16090
|
+
path: _path + ".children[" + _index11 + "]",
|
|
15818
16091
|
expected: "EventNodeContent",
|
|
15819
16092
|
value: elem
|
|
15820
16093
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15821
16094
|
path: _path + ".children",
|
|
15822
|
-
expected: "Array<EventNodeContent>",
|
|
16095
|
+
expected: "(Array<EventNodeContent> | undefined)",
|
|
15823
16096
|
value: input.children
|
|
15824
|
-
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["
|
|
16097
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["text" === input.type || _report(_exceptionable, {
|
|
15825
16098
|
path: _path + ".type",
|
|
15826
|
-
expected: "
|
|
16099
|
+
expected: "\"text\"",
|
|
15827
16100
|
value: input.type
|
|
15828
16101
|
}), "string" === typeof input.text || _report(_exceptionable, {
|
|
15829
16102
|
path: _path + ".text",
|
|
@@ -15837,7 +16110,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
15837
16110
|
path: _path + ".format",
|
|
15838
16111
|
expected: "(number | undefined)",
|
|
15839
16112
|
value: input.format
|
|
15840
|
-
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["
|
|
16113
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["link" === input.type || "autolink" === input.type || _report(_exceptionable, {
|
|
16114
|
+
path: _path + ".type",
|
|
16115
|
+
expected: "(\"autolink\" | \"link\")",
|
|
16116
|
+
value: input.type
|
|
16117
|
+
}), (Array.isArray(input.children) || _report(_exceptionable, {
|
|
16118
|
+
path: _path + ".children",
|
|
16119
|
+
expected: "Array<FormattedTextNodeContent>",
|
|
16120
|
+
value: input.children
|
|
16121
|
+
})) && input.children.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16122
|
+
path: _path + ".children[" + _index12 + "]",
|
|
16123
|
+
expected: "FormattedTextNodeContent",
|
|
16124
|
+
value: elem
|
|
16125
|
+
})) && _vo2(elem, _path + ".children[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16126
|
+
path: _path + ".children[" + _index12 + "]",
|
|
16127
|
+
expected: "FormattedTextNodeContent",
|
|
16128
|
+
value: elem
|
|
16129
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
16130
|
+
path: _path + ".children",
|
|
16131
|
+
expected: "Array<FormattedTextNodeContent>",
|
|
16132
|
+
value: input.children
|
|
16133
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["listitem" === input.type || _report(_exceptionable, {
|
|
15841
16134
|
path: _path + ".type",
|
|
15842
16135
|
expected: "\"listitem\"",
|
|
15843
16136
|
value: input.type
|
|
@@ -15853,19 +16146,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15853
16146
|
path: _path + ".children",
|
|
15854
16147
|
expected: "Array<TextNodeContent>",
|
|
15855
16148
|
value: input.children
|
|
15856
|
-
})) && input.children.map((elem,
|
|
15857
|
-
path: _path + ".children[" +
|
|
15858
|
-
expected: "
|
|
16149
|
+
})) && input.children.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16150
|
+
path: _path + ".children[" + _index13 + "]",
|
|
16151
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15859
16152
|
value: elem
|
|
15860
|
-
})) &&
|
|
15861
|
-
path: _path + ".children[" +
|
|
15862
|
-
expected: "
|
|
16153
|
+
})) && _vu1(elem, _path + ".children[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16154
|
+
path: _path + ".children[" + _index13 + "]",
|
|
16155
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15863
16156
|
value: elem
|
|
15864
16157
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15865
16158
|
path: _path + ".children",
|
|
15866
16159
|
expected: "Array<TextNodeContent>",
|
|
15867
16160
|
value: input.children
|
|
15868
|
-
})].every(flag => flag); const
|
|
16161
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["list" === input.type || _report(_exceptionable, {
|
|
15869
16162
|
path: _path + ".type",
|
|
15870
16163
|
expected: "\"list\"",
|
|
15871
16164
|
value: input.type
|
|
@@ -15881,19 +16174,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15881
16174
|
path: _path + ".children",
|
|
15882
16175
|
expected: "Array<ListItemNodeContent>",
|
|
15883
16176
|
value: input.children
|
|
15884
|
-
})) && input.children.map((elem,
|
|
15885
|
-
path: _path + ".children[" +
|
|
16177
|
+
})) && input.children.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16178
|
+
path: _path + ".children[" + _index14 + "]",
|
|
15886
16179
|
expected: "ListItemNodeContent",
|
|
15887
16180
|
value: elem
|
|
15888
|
-
})) &&
|
|
15889
|
-
path: _path + ".children[" +
|
|
16181
|
+
})) && _vo4(elem, _path + ".children[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16182
|
+
path: _path + ".children[" + _index14 + "]",
|
|
15890
16183
|
expected: "ListItemNodeContent",
|
|
15891
16184
|
value: elem
|
|
15892
16185
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15893
16186
|
path: _path + ".children",
|
|
15894
16187
|
expected: "Array<ListItemNodeContent>",
|
|
15895
16188
|
value: input.children
|
|
15896
|
-
})].every(flag => flag); const
|
|
16189
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["paragraph" === input.type || _report(_exceptionable, {
|
|
15897
16190
|
path: _path + ".type",
|
|
15898
16191
|
expected: "\"paragraph\"",
|
|
15899
16192
|
value: input.type
|
|
@@ -15901,19 +16194,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15901
16194
|
path: _path + ".children",
|
|
15902
16195
|
expected: "Array<TextNodeContent>",
|
|
15903
16196
|
value: input.children
|
|
15904
|
-
})) && input.children.map((elem,
|
|
15905
|
-
path: _path + ".children[" +
|
|
15906
|
-
expected: "
|
|
16197
|
+
})) && input.children.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16198
|
+
path: _path + ".children[" + _index15 + "]",
|
|
16199
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15907
16200
|
value: elem
|
|
15908
|
-
})) &&
|
|
15909
|
-
path: _path + ".children[" +
|
|
15910
|
-
expected: "
|
|
16201
|
+
})) && _vu1(elem, _path + ".children[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16202
|
+
path: _path + ".children[" + _index15 + "]",
|
|
16203
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15911
16204
|
value: elem
|
|
15912
16205
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15913
16206
|
path: _path + ".children",
|
|
15914
16207
|
expected: "Array<TextNodeContent>",
|
|
15915
16208
|
value: input.children
|
|
15916
|
-
})].every(flag => flag); const
|
|
16209
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["comment" === input.type || _report(_exceptionable, {
|
|
15917
16210
|
path: _path + ".type",
|
|
15918
16211
|
expected: "\"comment\"",
|
|
15919
16212
|
value: input.type
|
|
@@ -15921,19 +16214,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15921
16214
|
path: _path + ".children",
|
|
15922
16215
|
expected: "Array<TextNodeContent>",
|
|
15923
16216
|
value: input.children
|
|
15924
|
-
})) && input.children.map((elem,
|
|
15925
|
-
path: _path + ".children[" +
|
|
15926
|
-
expected: "
|
|
16217
|
+
})) && input.children.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16218
|
+
path: _path + ".children[" + _index16 + "]",
|
|
16219
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15927
16220
|
value: elem
|
|
15928
|
-
})) &&
|
|
15929
|
-
path: _path + ".children[" +
|
|
15930
|
-
expected: "
|
|
16221
|
+
})) && _vu1(elem, _path + ".children[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16222
|
+
path: _path + ".children[" + _index16 + "]",
|
|
16223
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15931
16224
|
value: elem
|
|
15932
16225
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15933
16226
|
path: _path + ".children",
|
|
15934
16227
|
expected: "Array<TextNodeContent>",
|
|
15935
16228
|
value: input.children
|
|
15936
|
-
})].every(flag => flag); const
|
|
16229
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["heading" === input.type || _report(_exceptionable, {
|
|
15937
16230
|
path: _path + ".type",
|
|
15938
16231
|
expected: "\"heading\"",
|
|
15939
16232
|
value: input.type
|
|
@@ -15945,19 +16238,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
15945
16238
|
path: _path + ".children",
|
|
15946
16239
|
expected: "Array<TextNodeContent>",
|
|
15947
16240
|
value: input.children
|
|
15948
|
-
})) && input.children.map((elem,
|
|
15949
|
-
path: _path + ".children[" +
|
|
15950
|
-
expected: "
|
|
16241
|
+
})) && input.children.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16242
|
+
path: _path + ".children[" + _index17 + "]",
|
|
16243
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15951
16244
|
value: elem
|
|
15952
|
-
})) &&
|
|
15953
|
-
path: _path + ".children[" +
|
|
15954
|
-
expected: "
|
|
16245
|
+
})) && _vu1(elem, _path + ".children[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16246
|
+
path: _path + ".children[" + _index17 + "]",
|
|
16247
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15955
16248
|
value: elem
|
|
15956
16249
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15957
16250
|
path: _path + ".children",
|
|
15958
16251
|
expected: "Array<TextNodeContent>",
|
|
15959
16252
|
value: input.children
|
|
15960
|
-
})].every(flag => flag); const
|
|
16253
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["quote" === input.type || _report(_exceptionable, {
|
|
15961
16254
|
path: _path + ".type",
|
|
15962
16255
|
expected: "\"quote\"",
|
|
15963
16256
|
value: input.type
|
|
@@ -15965,45 +16258,58 @@ function _validateDomainRecord(domain, input) {
|
|
|
15965
16258
|
path: _path + ".children",
|
|
15966
16259
|
expected: "Array<TextNodeContent>",
|
|
15967
16260
|
value: input.children
|
|
15968
|
-
})) && input.children.map((elem,
|
|
15969
|
-
path: _path + ".children[" +
|
|
15970
|
-
expected: "
|
|
16261
|
+
})) && input.children.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
16262
|
+
path: _path + ".children[" + _index18 + "]",
|
|
16263
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15971
16264
|
value: elem
|
|
15972
|
-
})) &&
|
|
15973
|
-
path: _path + ".children[" +
|
|
15974
|
-
expected: "
|
|
16265
|
+
})) && _vu1(elem, _path + ".children[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16266
|
+
path: _path + ".children[" + _index18 + "]",
|
|
16267
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
15975
16268
|
value: elem
|
|
15976
16269
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15977
16270
|
path: _path + ".children",
|
|
15978
16271
|
expected: "Array<TextNodeContent>",
|
|
15979
16272
|
value: input.children
|
|
15980
|
-
})].every(flag => flag); const
|
|
16273
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["horizontalrule" === input.type || _report(_exceptionable, {
|
|
15981
16274
|
path: _path + ".type",
|
|
15982
16275
|
expected: "\"horizontalrule\"",
|
|
15983
16276
|
value: input.type
|
|
15984
16277
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
15985
16278
|
if ("event" === input.type)
|
|
15986
16279
|
return _vo1(input, _path, true && _exceptionable);
|
|
15987
|
-
else if ("
|
|
16280
|
+
else if ("text" === input.type)
|
|
15988
16281
|
return _vo2(input, _path, true && _exceptionable);
|
|
15989
|
-
else if ("
|
|
16282
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
15990
16283
|
return _vo3(input, _path, true && _exceptionable);
|
|
15991
|
-
else if ("
|
|
16284
|
+
else if ("listitem" === input.type)
|
|
15992
16285
|
return _vo4(input, _path, true && _exceptionable);
|
|
16286
|
+
else if ("list" === input.type)
|
|
16287
|
+
return _vo5(input, _path, true && _exceptionable);
|
|
15993
16288
|
else if ("quote" === input.type)
|
|
15994
|
-
return
|
|
16289
|
+
return _vo9(input, _path, true && _exceptionable);
|
|
15995
16290
|
else if ("comment" === input.type)
|
|
15996
|
-
return
|
|
16291
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
15997
16292
|
else if ("paragraph" === input.type)
|
|
15998
|
-
return
|
|
16293
|
+
return _vo6(input, _path, true && _exceptionable);
|
|
15999
16294
|
else if ("heading" === input.type)
|
|
16000
|
-
return
|
|
16295
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
16001
16296
|
else if ("horizontalrule" === input.type)
|
|
16002
|
-
return
|
|
16297
|
+
return _vo10(input, _path, true && _exceptionable);
|
|
16003
16298
|
else
|
|
16004
16299
|
return _report(_exceptionable, {
|
|
16005
16300
|
path: _path,
|
|
16006
|
-
expected: "(EventNodeContent |
|
|
16301
|
+
expected: "(EventNodeContent | FormattedTextNodeContent | LinkNodeContent | ListItemNodeContent | ListNodeContent | QuoteNodeContent | CommentNodeContent | ParagraphNodeContent | HeadingNodeContent | HorizontalRuleContent)",
|
|
16302
|
+
value: input
|
|
16303
|
+
});
|
|
16304
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
16305
|
+
if ("text" === input.type)
|
|
16306
|
+
return _vo2(input, _path, true && _exceptionable);
|
|
16307
|
+
else if ("link" === input.type || "autolink" === input.type)
|
|
16308
|
+
return _vo3(input, _path, true && _exceptionable);
|
|
16309
|
+
else
|
|
16310
|
+
return _report(_exceptionable, {
|
|
16311
|
+
path: _path,
|
|
16312
|
+
expected: "(FormattedTextNodeContent | LinkNodeContent)",
|
|
16007
16313
|
value: input
|
|
16008
16314
|
});
|
|
16009
16315
|
})(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
@@ -16410,84 +16716,84 @@ function _validateDomainRecord(domain, input) {
|
|
|
16410
16716
|
}; })()(input);
|
|
16411
16717
|
}
|
|
16412
16718
|
case ":settings": {
|
|
16413
|
-
return (() => { const
|
|
16719
|
+
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 => {
|
|
16414
16720
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
16415
16721
|
return true;
|
|
16416
16722
|
const value = input[key];
|
|
16417
16723
|
if (undefined === value)
|
|
16418
16724
|
return true;
|
|
16419
16725
|
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
16420
|
-
}); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io5 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io19(input.layout)); const _io19 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io20 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io22(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io23(input.collapsedNodes)); const _io21 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io22 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io23 = input => Object.keys(input).every(key => {
|
|
16726
|
+
}); const _io4 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io5 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io6 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io7 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io8 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io9(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io11(input.createMenu)); const _io9 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || "object" === typeof input.center && null !== input.center && false === Array.isArray(input.center) && _io10(input.center)); const _io10 = input => (undefined === input.lat || "number" === typeof input.lat) && (undefined === input.lon || "number" === typeof input.lon); const _io11 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io12 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io13 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io17 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io18 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io19(input.layout)); const _io19 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io20 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io21(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io22(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io23(input.collapsedNodes)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io21 = input => (undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io22 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io23 = input => Object.keys(input).every(key => {
|
|
16421
16727
|
const value = input[key];
|
|
16422
16728
|
if (undefined === value)
|
|
16423
16729
|
return true;
|
|
16424
16730
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io24(value);
|
|
16425
|
-
}); const _io24 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io25 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) &&
|
|
16426
|
-
const value = input[key];
|
|
16427
|
-
if (undefined === value)
|
|
16428
|
-
return true;
|
|
16429
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io27(value);
|
|
16430
|
-
}); const _io27 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io28 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io29 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io30 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io31(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io33(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io34(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io35(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io36(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io37(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io38(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io39(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io40(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io41(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io42(input.segment)); const _io31 = input => Object.keys(input).every(key => {
|
|
16731
|
+
}); const _io24 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io25 = input => (null === input.color || "string" === typeof input.color) && (null === input.backgroundColor || "string" === typeof input.backgroundColor); const _io26 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io27(input.defaults)); const _io27 = input => Object.keys(input).every(key => {
|
|
16431
16732
|
const value = input[key];
|
|
16432
16733
|
if (undefined === value)
|
|
16433
16734
|
return true;
|
|
16434
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16435
|
-
}); const
|
|
16735
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io28(value);
|
|
16736
|
+
}); const _io28 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io29 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io30 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io31 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io32(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io34(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io35(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io36(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io37(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io38(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io39(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io40(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io41(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io42(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io43(input.segment)); const _io32 = input => Object.keys(input).every(key => {
|
|
16436
16737
|
const value = input[key];
|
|
16437
16738
|
if (undefined === value)
|
|
16438
16739
|
return true;
|
|
16439
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16440
|
-
}); const _io34 = input => Object.keys(input).every(key => {
|
|
16740
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16741
|
+
}); const _io33 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.sequence || "string" === typeof input.sequence); const _io34 = input => Object.keys(input).every(key => {
|
|
16441
16742
|
const value = input[key];
|
|
16442
16743
|
if (undefined === value)
|
|
16443
16744
|
return true;
|
|
16444
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16745
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16445
16746
|
}); const _io35 = input => Object.keys(input).every(key => {
|
|
16446
16747
|
const value = input[key];
|
|
16447
16748
|
if (undefined === value)
|
|
16448
16749
|
return true;
|
|
16449
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16750
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16450
16751
|
}); const _io36 = input => Object.keys(input).every(key => {
|
|
16451
16752
|
const value = input[key];
|
|
16452
16753
|
if (undefined === value)
|
|
16453
16754
|
return true;
|
|
16454
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16755
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16455
16756
|
}); const _io37 = input => Object.keys(input).every(key => {
|
|
16456
16757
|
const value = input[key];
|
|
16457
16758
|
if (undefined === value)
|
|
16458
16759
|
return true;
|
|
16459
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16760
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16460
16761
|
}); const _io38 = input => Object.keys(input).every(key => {
|
|
16461
16762
|
const value = input[key];
|
|
16462
16763
|
if (undefined === value)
|
|
16463
16764
|
return true;
|
|
16464
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16765
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16465
16766
|
}); const _io39 = input => Object.keys(input).every(key => {
|
|
16466
16767
|
const value = input[key];
|
|
16467
16768
|
if (undefined === value)
|
|
16468
16769
|
return true;
|
|
16469
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16770
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16470
16771
|
}); const _io40 = input => Object.keys(input).every(key => {
|
|
16471
16772
|
const value = input[key];
|
|
16472
16773
|
if (undefined === value)
|
|
16473
16774
|
return true;
|
|
16474
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16775
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16475
16776
|
}); const _io41 = input => Object.keys(input).every(key => {
|
|
16476
16777
|
const value = input[key];
|
|
16477
16778
|
if (undefined === value)
|
|
16478
16779
|
return true;
|
|
16479
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16780
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16480
16781
|
}); const _io42 = input => Object.keys(input).every(key => {
|
|
16481
16782
|
const value = input[key];
|
|
16482
16783
|
if (undefined === value)
|
|
16483
16784
|
return true;
|
|
16484
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
16485
|
-
}); const _io43 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io44(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io45(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io46(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io50(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io51(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io55(input.openCommand))); const _io44 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io45 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io46 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv22.has(elem))); const _io47 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io48 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io49 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io50 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io51 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io52(input.subtitleDisclaimer); const _io52 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io53(input.defaultValue)); const _io53 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io54(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io54 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io55 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io56 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv27.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io71 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io72 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io73(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io74(input.rive)); const _io73 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io74 = input => undefined === input.template || "string" === typeof input.template; const _io75 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io76 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io77 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io78(input.events); const _io78 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io79(input.publishSucceeded)); const _io79 = input => Object.keys(input).every(key => {
|
|
16785
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16786
|
+
}); const _io43 = input => Object.keys(input).every(key => {
|
|
16787
|
+
const value = input[key];
|
|
16788
|
+
if (undefined === value)
|
|
16789
|
+
return true;
|
|
16790
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
16791
|
+
}); const _io44 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io45(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io46(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io47(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io50(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io51(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io52(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io56(input.openCommand))); const _io45 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io46 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io47 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv23.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io48 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io49 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io50 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io51 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io52 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io53(input.subtitleDisclaimer); const _io53 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io54(input.defaultValue)); const _io54 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io55(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io55 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io56 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io57 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io58(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io60(input.voiceOver)); const _io58 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io59(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io59 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io60 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io61 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io62 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io63(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io64(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io68(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io70(input.item)); const _io63 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io64 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io65(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io67(input.note)); const _io65 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io66(input.excerpt); const _io66 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io67 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io68 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io69(input.search)) && (undefined === input.sortMode || true === _iv28.has(input.sortMode)); const _io69 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io70 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io71 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io72 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io73 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io74(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io75(input.rive)); const _io74 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io75 = input => undefined === input.template || "string" === typeof input.template; const _io76 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io77 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io78 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io79(input.events); const _io79 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io80(input.publishSucceeded)); const _io80 = input => Object.keys(input).every(key => {
|
|
16486
16792
|
const value = input[key];
|
|
16487
16793
|
if (undefined === value)
|
|
16488
16794
|
return true;
|
|
16489
16795
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
16490
|
-
}); const
|
|
16796
|
+
}); 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, {
|
|
16491
16797
|
path: _path + ".autoLogoutTime",
|
|
16492
16798
|
expected: "(number | undefined)",
|
|
16493
16799
|
value: input.autoLogoutTime
|
|
@@ -16543,16 +16849,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
16543
16849
|
path: _path + ".exclusiveTagGroups",
|
|
16544
16850
|
expected: "(Array<Array<string>> | undefined)",
|
|
16545
16851
|
value: input.exclusiveTagGroups
|
|
16546
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
16547
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16852
|
+
})) && input.exclusiveTagGroups.map((elem, _index36) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
16853
|
+
path: _path + ".exclusiveTagGroups[" + _index36 + "]",
|
|
16548
16854
|
expected: "Array<string>",
|
|
16549
16855
|
value: elem
|
|
16550
|
-
})) && elem.map((elem,
|
|
16551
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16856
|
+
})) && elem.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
16857
|
+
path: _path + ".exclusiveTagGroups[" + _index36 + "][" + _index37 + "]",
|
|
16552
16858
|
expected: "string",
|
|
16553
16859
|
value: elem
|
|
16554
16860
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16555
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16861
|
+
path: _path + ".exclusiveTagGroups[" + _index36 + "]",
|
|
16556
16862
|
expected: "Array<string>",
|
|
16557
16863
|
value: elem
|
|
16558
16864
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16617,27 +16923,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
16617
16923
|
value: input.script
|
|
16618
16924
|
}), undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
16619
16925
|
path: _path + ".events",
|
|
16620
|
-
expected: "(__type.
|
|
16926
|
+
expected: "(__type.o21 | undefined)",
|
|
16621
16927
|
value: input.events
|
|
16622
|
-
})) &&
|
|
16928
|
+
})) && _vo26(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
16623
16929
|
path: _path + ".events",
|
|
16624
|
-
expected: "(__type.
|
|
16930
|
+
expected: "(__type.o21 | undefined)",
|
|
16625
16931
|
value: input.events
|
|
16626
16932
|
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown || _report(_exceptionable, {
|
|
16627
16933
|
path: _path + ".rundown",
|
|
16628
|
-
expected: "(__type.
|
|
16934
|
+
expected: "(__type.o23 | undefined)",
|
|
16629
16935
|
value: input.rundown
|
|
16630
|
-
})) &&
|
|
16936
|
+
})) && _vo29(input.rundown, _path + ".rundown", true && _exceptionable) || _report(_exceptionable, {
|
|
16631
16937
|
path: _path + ".rundown",
|
|
16632
|
-
expected: "(__type.
|
|
16938
|
+
expected: "(__type.o23 | undefined)",
|
|
16633
16939
|
value: input.rundown
|
|
16634
16940
|
}), undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || _report(_exceptionable, {
|
|
16635
16941
|
path: _path + ".gallery",
|
|
16636
|
-
expected: "(__type.
|
|
16942
|
+
expected: "(__type.o24 | undefined)",
|
|
16637
16943
|
value: input.gallery
|
|
16638
|
-
})) &&
|
|
16944
|
+
})) && _vo30(input.gallery, _path + ".gallery", true && _exceptionable) || _report(_exceptionable, {
|
|
16639
16945
|
path: _path + ".gallery",
|
|
16640
|
-
expected: "(__type.
|
|
16946
|
+
expected: "(__type.o24 | undefined)",
|
|
16641
16947
|
value: input.gallery
|
|
16642
16948
|
}), undefined === input.history || "boolean" === typeof input.history || _report(_exceptionable, {
|
|
16643
16949
|
path: _path + ".history",
|
|
@@ -16645,50 +16951,50 @@ function _validateDomainRecord(domain, input) {
|
|
|
16645
16951
|
value: input.history
|
|
16646
16952
|
}), undefined === input.keymap || ("object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) || _report(_exceptionable, {
|
|
16647
16953
|
path: _path + ".keymap",
|
|
16648
|
-
expected: "(__type.
|
|
16954
|
+
expected: "(__type.o25 | undefined)",
|
|
16649
16955
|
value: input.keymap
|
|
16650
|
-
})) &&
|
|
16956
|
+
})) && _vo31(input.keymap, _path + ".keymap", true && _exceptionable) || _report(_exceptionable, {
|
|
16651
16957
|
path: _path + ".keymap",
|
|
16652
|
-
expected: "(__type.
|
|
16958
|
+
expected: "(__type.o25 | undefined)",
|
|
16653
16959
|
value: input.keymap
|
|
16654
16960
|
}), undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || _report(_exceptionable, {
|
|
16655
16961
|
path: _path + ".media",
|
|
16656
|
-
expected: "(__type.
|
|
16962
|
+
expected: "(__type.o37 | undefined)",
|
|
16657
16963
|
value: input.media
|
|
16658
|
-
})) &&
|
|
16964
|
+
})) && _vo44(input.media, _path + ".media", true && _exceptionable) || _report(_exceptionable, {
|
|
16659
16965
|
path: _path + ".media",
|
|
16660
|
-
expected: "(__type.
|
|
16966
|
+
expected: "(__type.o37 | undefined)",
|
|
16661
16967
|
value: input.media
|
|
16662
16968
|
}), undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || _report(_exceptionable, {
|
|
16663
16969
|
path: _path + ".edit",
|
|
16664
|
-
expected: "(__type.
|
|
16970
|
+
expected: "(__type.o50 | undefined)",
|
|
16665
16971
|
value: input.edit
|
|
16666
|
-
})) &&
|
|
16972
|
+
})) && _vo57(input.edit, _path + ".edit", true && _exceptionable) || _report(_exceptionable, {
|
|
16667
16973
|
path: _path + ".edit",
|
|
16668
|
-
expected: "(__type.
|
|
16974
|
+
expected: "(__type.o50 | undefined)",
|
|
16669
16975
|
value: input.edit
|
|
16670
16976
|
}), undefined === input.commands || (Array.isArray(input.commands) || _report(_exceptionable, {
|
|
16671
16977
|
path: _path + ".commands",
|
|
16672
|
-
expected: "(Array<__type>.
|
|
16978
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
16673
16979
|
value: input.commands
|
|
16674
|
-
})) && input.commands.map((elem,
|
|
16675
|
-
path: _path + ".commands[" +
|
|
16676
|
-
expected: "__type.
|
|
16980
|
+
})) && input.commands.map((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16981
|
+
path: _path + ".commands[" + _index38 + "]",
|
|
16982
|
+
expected: "__type.o54",
|
|
16677
16983
|
value: elem
|
|
16678
|
-
})) &&
|
|
16679
|
-
path: _path + ".commands[" +
|
|
16680
|
-
expected: "__type.
|
|
16984
|
+
})) && _vo61(elem, _path + ".commands[" + _index38 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16985
|
+
path: _path + ".commands[" + _index38 + "]",
|
|
16986
|
+
expected: "__type.o54",
|
|
16681
16987
|
value: elem
|
|
16682
16988
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16683
16989
|
path: _path + ".commands",
|
|
16684
|
-
expected: "(Array<__type>.
|
|
16990
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
16685
16991
|
value: input.commands
|
|
16686
16992
|
}), undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || _report(_exceptionable, {
|
|
16687
16993
|
path: _path + ".predefinedTags",
|
|
16688
16994
|
expected: "(Array<string> | undefined)",
|
|
16689
16995
|
value: input.predefinedTags
|
|
16690
|
-
})) && input.predefinedTags.map((elem,
|
|
16691
|
-
path: _path + ".predefinedTags[" +
|
|
16996
|
+
})) && input.predefinedTags.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
16997
|
+
path: _path + ".predefinedTags[" + _index39 + "]",
|
|
16692
16998
|
expected: "string",
|
|
16693
16999
|
value: elem
|
|
16694
17000
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16697,43 +17003,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
16697
17003
|
value: input.predefinedTags
|
|
16698
17004
|
}), undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || _report(_exceptionable, {
|
|
16699
17005
|
path: _path + ".storyboard",
|
|
16700
|
-
expected: "(__type.
|
|
17006
|
+
expected: "(__type.o55 | undefined)",
|
|
16701
17007
|
value: input.storyboard
|
|
16702
|
-
})) &&
|
|
17008
|
+
})) && _vo62(input.storyboard, _path + ".storyboard", true && _exceptionable) || _report(_exceptionable, {
|
|
16703
17009
|
path: _path + ".storyboard",
|
|
16704
|
-
expected: "(__type.
|
|
17010
|
+
expected: "(__type.o55 | undefined)",
|
|
16705
17011
|
value: input.storyboard
|
|
16706
17012
|
}), undefined === input.print || ("object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) || _report(_exceptionable, {
|
|
16707
17013
|
path: _path + ".print",
|
|
16708
|
-
expected: "(__type.
|
|
17014
|
+
expected: "(__type.o64 | undefined)",
|
|
16709
17015
|
value: input.print
|
|
16710
|
-
})) &&
|
|
17016
|
+
})) && _vo71(input.print, _path + ".print", true && _exceptionable) || _report(_exceptionable, {
|
|
16711
17017
|
path: _path + ".print",
|
|
16712
|
-
expected: "(__type.
|
|
17018
|
+
expected: "(__type.o64 | undefined)",
|
|
16713
17019
|
value: input.print
|
|
16714
17020
|
}), undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || _report(_exceptionable, {
|
|
16715
17021
|
path: _path + ".hiddenPreviews",
|
|
16716
|
-
expected: "(Array<__type>.
|
|
17022
|
+
expected: "(Array<__type>.o7 | undefined)",
|
|
16717
17023
|
value: input.hiddenPreviews
|
|
16718
|
-
})) && input.hiddenPreviews.map((elem,
|
|
16719
|
-
path: _path + ".hiddenPreviews[" +
|
|
16720
|
-
expected: "__type.
|
|
17024
|
+
})) && input.hiddenPreviews.map((elem, _index40) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17025
|
+
path: _path + ".hiddenPreviews[" + _index40 + "]",
|
|
17026
|
+
expected: "__type.o65",
|
|
16721
17027
|
value: elem
|
|
16722
|
-
})) &&
|
|
16723
|
-
path: _path + ".hiddenPreviews[" +
|
|
16724
|
-
expected: "__type.
|
|
17028
|
+
})) && _vo72(elem, _path + ".hiddenPreviews[" + _index40 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17029
|
+
path: _path + ".hiddenPreviews[" + _index40 + "]",
|
|
17030
|
+
expected: "__type.o65",
|
|
16725
17031
|
value: elem
|
|
16726
17032
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16727
17033
|
path: _path + ".hiddenPreviews",
|
|
16728
|
-
expected: "(Array<__type>.
|
|
17034
|
+
expected: "(Array<__type>.o7 | undefined)",
|
|
16729
17035
|
value: input.hiddenPreviews
|
|
16730
17036
|
}), undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || _report(_exceptionable, {
|
|
16731
17037
|
path: _path + ".plugins",
|
|
16732
|
-
expected: "(__type.
|
|
17038
|
+
expected: "(__type.o66 | undefined)",
|
|
16733
17039
|
value: input.plugins
|
|
16734
|
-
})) &&
|
|
17040
|
+
})) && _vo73(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
16735
17041
|
path: _path + ".plugins",
|
|
16736
|
-
expected: "(__type.
|
|
17042
|
+
expected: "(__type.o66 | undefined)",
|
|
16737
17043
|
value: input.plugins
|
|
16738
17044
|
}), undefined === input.crashScreen || "boolean" === typeof input.crashScreen || _report(_exceptionable, {
|
|
16739
17045
|
path: _path + ".crashScreen",
|
|
@@ -16745,27 +17051,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
16745
17051
|
value: input.debug
|
|
16746
17052
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
16747
17053
|
path: _path + ".featurePreview",
|
|
16748
|
-
expected: "(__type.
|
|
17054
|
+
expected: "(__type.o69 | undefined)",
|
|
16749
17055
|
value: input.featurePreview
|
|
16750
|
-
})) &&
|
|
17056
|
+
})) && _vo76(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
16751
17057
|
path: _path + ".featurePreview",
|
|
16752
|
-
expected: "(__type.
|
|
17058
|
+
expected: "(__type.o69 | undefined)",
|
|
16753
17059
|
value: input.featurePreview
|
|
16754
17060
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
16755
17061
|
path: _path + ".flags",
|
|
16756
|
-
expected: "(__type.
|
|
17062
|
+
expected: "(__type.o70 | undefined)",
|
|
16757
17063
|
value: input.flags
|
|
16758
|
-
})) &&
|
|
17064
|
+
})) && _vo77(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
16759
17065
|
path: _path + ".flags",
|
|
16760
|
-
expected: "(__type.
|
|
17066
|
+
expected: "(__type.o70 | undefined)",
|
|
16761
17067
|
value: input.flags
|
|
16762
17068
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
16763
17069
|
path: _path + ".notifications",
|
|
16764
|
-
expected: "(__type.
|
|
17070
|
+
expected: "(__type.o71 | undefined)",
|
|
16765
17071
|
value: input.notifications
|
|
16766
|
-
})) &&
|
|
17072
|
+
})) && _vo78(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
16767
17073
|
path: _path + ".notifications",
|
|
16768
|
-
expected: "(__type.
|
|
17074
|
+
expected: "(__type.o71 | undefined)",
|
|
16769
17075
|
value: input.notifications
|
|
16770
17076
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
16771
17077
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -16773,36 +17079,52 @@ function _validateDomainRecord(domain, input) {
|
|
|
16773
17079
|
value: input.suppressDeleteAlert
|
|
16774
17080
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
16775
17081
|
path: _path + ".clone",
|
|
16776
|
-
expected: "(__type.
|
|
17082
|
+
expected: "(__type.o74 | undefined)",
|
|
16777
17083
|
value: input.clone
|
|
16778
|
-
})) &&
|
|
17084
|
+
})) && _vo81(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
16779
17085
|
path: _path + ".clone",
|
|
16780
|
-
expected: "(__type.
|
|
17086
|
+
expected: "(__type.o74 | undefined)",
|
|
16781
17087
|
value: input.clone
|
|
16782
17088
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
16783
17089
|
path: _path + ".utilsAssetEditorPanel",
|
|
16784
|
-
expected: "(__type.
|
|
17090
|
+
expected: "(__type.o77 | undefined)",
|
|
16785
17091
|
value: input.utilsAssetEditorPanel
|
|
16786
|
-
})) &&
|
|
17092
|
+
})) && _vo84(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
16787
17093
|
path: _path + ".utilsAssetEditorPanel",
|
|
16788
|
-
expected: "(__type.
|
|
17094
|
+
expected: "(__type.o77 | undefined)",
|
|
16789
17095
|
value: input.utilsAssetEditorPanel
|
|
16790
17096
|
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
16791
17097
|
path: _path + ".display",
|
|
16792
|
-
expected: "(__type.
|
|
17098
|
+
expected: "(__type.o78 | undefined)",
|
|
16793
17099
|
value: input.display
|
|
16794
|
-
})) &&
|
|
17100
|
+
})) && _vo85(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
16795
17101
|
path: _path + ".display",
|
|
16796
|
-
expected: "(__type.
|
|
17102
|
+
expected: "(__type.o78 | undefined)",
|
|
16797
17103
|
value: input.display
|
|
16798
17104
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
16799
17105
|
path: _path + ".bookmarks",
|
|
16800
|
-
expected: "(__type.
|
|
17106
|
+
expected: "(__type.o79 | undefined)",
|
|
16801
17107
|
value: input.bookmarks
|
|
16802
|
-
})) &&
|
|
17108
|
+
})) && _vo86(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
16803
17109
|
path: _path + ".bookmarks",
|
|
16804
|
-
expected: "(__type.
|
|
17110
|
+
expected: "(__type.o79 | undefined)",
|
|
16805
17111
|
value: input.bookmarks
|
|
17112
|
+
}), undefined === input.shotbox || ("object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) || _report(_exceptionable, {
|
|
17113
|
+
path: _path + ".shotbox",
|
|
17114
|
+
expected: "(__type.o80 | undefined)",
|
|
17115
|
+
value: input.shotbox
|
|
17116
|
+
})) && _vo87(input.shotbox, _path + ".shotbox", true && _exceptionable) || _report(_exceptionable, {
|
|
17117
|
+
path: _path + ".shotbox",
|
|
17118
|
+
expected: "(__type.o80 | undefined)",
|
|
17119
|
+
value: input.shotbox
|
|
17120
|
+
}), undefined === input.performance || ("object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) || _report(_exceptionable, {
|
|
17121
|
+
path: _path + ".performance",
|
|
17122
|
+
expected: "(__type.o81 | undefined)",
|
|
17123
|
+
value: input.performance
|
|
17124
|
+
})) && _vo88(input.performance, _path + ".performance", true && _exceptionable) || _report(_exceptionable, {
|
|
17125
|
+
path: _path + ".performance",
|
|
17126
|
+
expected: "(__type.o81 | undefined)",
|
|
17127
|
+
value: input.performance
|
|
16806
17128
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
16807
17129
|
path: _path + ".overrideUserContact",
|
|
16808
17130
|
expected: "(boolean | undefined)",
|
|
@@ -16938,8 +17260,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16938
17260
|
path: _path + ".sortOrder",
|
|
16939
17261
|
expected: "(Array<string> | undefined)",
|
|
16940
17262
|
value: input.sortOrder
|
|
16941
|
-
})) && input.sortOrder.map((elem,
|
|
16942
|
-
path: _path + ".sortOrder[" +
|
|
17263
|
+
})) && input.sortOrder.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
17264
|
+
path: _path + ".sortOrder[" + _index41 + "]",
|
|
16943
17265
|
expected: "string",
|
|
16944
17266
|
value: elem
|
|
16945
17267
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16950,8 +17272,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16950
17272
|
path: _path + ".include",
|
|
16951
17273
|
expected: "(Array<string> | undefined)",
|
|
16952
17274
|
value: input.include
|
|
16953
|
-
})) && input.include.map((elem,
|
|
16954
|
-
path: _path + ".include[" +
|
|
17275
|
+
})) && input.include.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
17276
|
+
path: _path + ".include[" + _index42 + "]",
|
|
16955
17277
|
expected: "string",
|
|
16956
17278
|
value: elem
|
|
16957
17279
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16962,8 +17284,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16962
17284
|
path: _path + ".exclude",
|
|
16963
17285
|
expected: "(Array<string> | undefined)",
|
|
16964
17286
|
value: input.exclude
|
|
16965
|
-
})) && input.exclude.map((elem,
|
|
16966
|
-
path: _path + ".exclude[" +
|
|
17287
|
+
})) && input.exclude.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
17288
|
+
path: _path + ".exclude[" + _index43 + "]",
|
|
16967
17289
|
expected: "string",
|
|
16968
17290
|
value: elem
|
|
16969
17291
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16974,8 +17296,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16974
17296
|
path: _path + ".include",
|
|
16975
17297
|
expected: "(Array<string> | undefined)",
|
|
16976
17298
|
value: input.include
|
|
16977
|
-
})) && input.include.map((elem,
|
|
16978
|
-
path: _path + ".include[" +
|
|
17299
|
+
})) && input.include.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
17300
|
+
path: _path + ".include[" + _index44 + "]",
|
|
16979
17301
|
expected: "string",
|
|
16980
17302
|
value: elem
|
|
16981
17303
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16986,8 +17308,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16986
17308
|
path: _path + ".exclude",
|
|
16987
17309
|
expected: "(Array<string> | undefined)",
|
|
16988
17310
|
value: input.exclude
|
|
16989
|
-
})) && input.exclude.map((elem,
|
|
16990
|
-
path: _path + ".exclude[" +
|
|
17311
|
+
})) && input.exclude.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
17312
|
+
path: _path + ".exclude[" + _index45 + "]",
|
|
16991
17313
|
expected: "string",
|
|
16992
17314
|
value: elem
|
|
16993
17315
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16998,8 +17320,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16998
17320
|
path: _path + ".include",
|
|
16999
17321
|
expected: "(Array<string> | undefined)",
|
|
17000
17322
|
value: input.include
|
|
17001
|
-
})) && input.include.map((elem,
|
|
17002
|
-
path: _path + ".include[" +
|
|
17323
|
+
})) && input.include.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
17324
|
+
path: _path + ".include[" + _index46 + "]",
|
|
17003
17325
|
expected: "string",
|
|
17004
17326
|
value: elem
|
|
17005
17327
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17010,8 +17332,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17010
17332
|
path: _path + ".exclude",
|
|
17011
17333
|
expected: "(Array<string> | undefined)",
|
|
17012
17334
|
value: input.exclude
|
|
17013
|
-
})) && input.exclude.map((elem,
|
|
17014
|
-
path: _path + ".exclude[" +
|
|
17335
|
+
})) && input.exclude.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
17336
|
+
path: _path + ".exclude[" + _index47 + "]",
|
|
17015
17337
|
expected: "string",
|
|
17016
17338
|
value: elem
|
|
17017
17339
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17022,8 +17344,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17022
17344
|
path: _path + ".include",
|
|
17023
17345
|
expected: "(Array<string> | undefined)",
|
|
17024
17346
|
value: input.include
|
|
17025
|
-
})) && input.include.map((elem,
|
|
17026
|
-
path: _path + ".include[" +
|
|
17347
|
+
})) && input.include.map((elem, _index48) => "string" === typeof elem || _report(_exceptionable, {
|
|
17348
|
+
path: _path + ".include[" + _index48 + "]",
|
|
17027
17349
|
expected: "string",
|
|
17028
17350
|
value: elem
|
|
17029
17351
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17034,8 +17356,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17034
17356
|
path: _path + ".exclude",
|
|
17035
17357
|
expected: "(Array<string> | undefined)",
|
|
17036
17358
|
value: input.exclude
|
|
17037
|
-
})) && input.exclude.map((elem,
|
|
17038
|
-
path: _path + ".exclude[" +
|
|
17359
|
+
})) && input.exclude.map((elem, _index49) => "string" === typeof elem || _report(_exceptionable, {
|
|
17360
|
+
path: _path + ".exclude[" + _index49 + "]",
|
|
17039
17361
|
expected: "string",
|
|
17040
17362
|
value: elem
|
|
17041
17363
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17114,12 +17436,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17114
17436
|
path: _path + ".colorTags",
|
|
17115
17437
|
expected: "(Array<PromotedTag> | undefined)",
|
|
17116
17438
|
value: input.colorTags
|
|
17117
|
-
})) && input.colorTags.map((elem,
|
|
17118
|
-
path: _path + ".colorTags[" +
|
|
17439
|
+
})) && input.colorTags.map((elem, _index50) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17440
|
+
path: _path + ".colorTags[" + _index50 + "]",
|
|
17119
17441
|
expected: "PromotedTag",
|
|
17120
17442
|
value: elem
|
|
17121
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
17122
|
-
path: _path + ".colorTags[" +
|
|
17443
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17444
|
+
path: _path + ".colorTags[" + _index50 + "]",
|
|
17123
17445
|
expected: "PromotedTag",
|
|
17124
17446
|
value: elem
|
|
17125
17447
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17142,6 +17464,22 @@ function _validateDomainRecord(domain, input) {
|
|
|
17142
17464
|
path: _path + ".collapsedNodes",
|
|
17143
17465
|
expected: "(__type.o18 | undefined)",
|
|
17144
17466
|
value: input.collapsedNodes
|
|
17467
|
+
}), undefined === input.colorHistory || (Array.isArray(input.colorHistory) || _report(_exceptionable, {
|
|
17468
|
+
path: _path + ".colorHistory",
|
|
17469
|
+
expected: "(Array<__type> | undefined)",
|
|
17470
|
+
value: input.colorHistory
|
|
17471
|
+
})) && input.colorHistory.map((elem, _index51) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17472
|
+
path: _path + ".colorHistory[" + _index51 + "]",
|
|
17473
|
+
expected: "__type.o20",
|
|
17474
|
+
value: elem
|
|
17475
|
+
})) && _vo25(elem, _path + ".colorHistory[" + _index51 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17476
|
+
path: _path + ".colorHistory[" + _index51 + "]",
|
|
17477
|
+
expected: "__type.o20",
|
|
17478
|
+
value: elem
|
|
17479
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17480
|
+
path: _path + ".colorHistory",
|
|
17481
|
+
expected: "(Array<__type> | undefined)",
|
|
17482
|
+
value: input.colorHistory
|
|
17145
17483
|
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "index" === input.sortBy || "title" === input.sortBy || _report(_exceptionable, {
|
|
17146
17484
|
path: _path + ".sortBy",
|
|
17147
17485
|
expected: "(\"index\" | \"title\" | undefined)",
|
|
@@ -17187,7 +17525,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
17187
17525
|
path: _path + ".children",
|
|
17188
17526
|
expected: "(boolean | undefined)",
|
|
17189
17527
|
value: input.children
|
|
17190
|
-
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [
|
|
17528
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [null === input.color || "string" === typeof input.color || _report(_exceptionable, {
|
|
17529
|
+
path: _path + ".color",
|
|
17530
|
+
expected: "(null | string)",
|
|
17531
|
+
value: input.color
|
|
17532
|
+
}), null === input.backgroundColor || "string" === typeof input.backgroundColor || _report(_exceptionable, {
|
|
17533
|
+
path: _path + ".backgroundColor",
|
|
17534
|
+
expected: "(null | string)",
|
|
17535
|
+
value: input.backgroundColor
|
|
17536
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate || _report(_exceptionable, {
|
|
17191
17537
|
path: _path + ".graphicBaseTemplate",
|
|
17192
17538
|
expected: "(string | undefined)",
|
|
17193
17539
|
value: input.graphicBaseTemplate
|
|
@@ -17195,8 +17541,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17195
17541
|
path: _path + ".favorites",
|
|
17196
17542
|
expected: "(Array<string> | undefined)",
|
|
17197
17543
|
value: input.favorites
|
|
17198
|
-
})) && input.favorites.map((elem,
|
|
17199
|
-
path: _path + ".favorites[" +
|
|
17544
|
+
})) && input.favorites.map((elem, _index52) => "string" === typeof elem || _report(_exceptionable, {
|
|
17545
|
+
path: _path + ".favorites[" + _index52 + "]",
|
|
17200
17546
|
expected: "string",
|
|
17201
17547
|
value: elem
|
|
17202
17548
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17207,24 +17553,24 @@ function _validateDomainRecord(domain, input) {
|
|
|
17207
17553
|
path: _path + ".defaults",
|
|
17208
17554
|
expected: "(Record<string, __type> | undefined)",
|
|
17209
17555
|
value: input.defaults
|
|
17210
|
-
})) &&
|
|
17556
|
+
})) && _vo27(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
17211
17557
|
path: _path + ".defaults",
|
|
17212
17558
|
expected: "(Record<string, __type> | undefined)",
|
|
17213
17559
|
value: input.defaults
|
|
17214
|
-
})].every(flag => flag); const
|
|
17560
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17215
17561
|
const value = input[key];
|
|
17216
17562
|
if (undefined === value)
|
|
17217
17563
|
return true;
|
|
17218
17564
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
17219
17565
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17220
|
-
expected: "__type.
|
|
17566
|
+
expected: "__type.o22",
|
|
17221
17567
|
value: value
|
|
17222
|
-
})) &&
|
|
17568
|
+
})) && _vo28(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17223
17569
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17224
|
-
expected: "__type.
|
|
17570
|
+
expected: "__type.o22",
|
|
17225
17571
|
value: value
|
|
17226
17572
|
});
|
|
17227
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17573
|
+
}).every(flag => flag)].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.event || "string" === typeof input.event || _report(_exceptionable, {
|
|
17228
17574
|
path: _path + ".event",
|
|
17229
17575
|
expected: "(string | undefined)",
|
|
17230
17576
|
value: input.event
|
|
@@ -17232,7 +17578,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17232
17578
|
path: _path + ".property",
|
|
17233
17579
|
expected: "(string | undefined)",
|
|
17234
17580
|
value: input.property
|
|
17235
|
-
})].every(flag => flag); const
|
|
17581
|
+
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails || _report(_exceptionable, {
|
|
17236
17582
|
path: _path + ".eventThumbnails",
|
|
17237
17583
|
expected: "(boolean | undefined)",
|
|
17238
17584
|
value: input.eventThumbnails
|
|
@@ -17240,7 +17586,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17240
17586
|
path: _path + ".scriptEventFolding",
|
|
17241
17587
|
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
17242
17588
|
value: input.scriptEventFolding
|
|
17243
|
-
})].every(flag => flag); const
|
|
17589
|
+
})].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || _report(_exceptionable, {
|
|
17244
17590
|
path: _path + ".dimOnBlur",
|
|
17245
17591
|
expected: "(boolean | undefined)",
|
|
17246
17592
|
value: input.dimOnBlur
|
|
@@ -17252,95 +17598,95 @@ function _validateDomainRecord(domain, input) {
|
|
|
17252
17598
|
path: _path + ".countFloatedDuration",
|
|
17253
17599
|
expected: "(boolean | undefined)",
|
|
17254
17600
|
value: input.countFloatedDuration
|
|
17255
|
-
})].every(flag => flag); const
|
|
17601
|
+
})].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
17256
17602
|
path: _path + ".display",
|
|
17257
|
-
expected: "(__type.
|
|
17603
|
+
expected: "(__type.o26 | undefined)",
|
|
17258
17604
|
value: input.display
|
|
17259
|
-
})) &&
|
|
17605
|
+
})) && _vo32(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
17260
17606
|
path: _path + ".display",
|
|
17261
|
-
expected: "(__type.
|
|
17607
|
+
expected: "(__type.o26 | undefined)",
|
|
17262
17608
|
value: input.display
|
|
17263
17609
|
}), undefined === input.browser || ("object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) || _report(_exceptionable, {
|
|
17264
17610
|
path: _path + ".browser",
|
|
17265
|
-
expected: "(__type.
|
|
17611
|
+
expected: "(__type.o27 | undefined)",
|
|
17266
17612
|
value: input.browser
|
|
17267
|
-
})) &&
|
|
17613
|
+
})) && _vo34(input.browser, _path + ".browser", true && _exceptionable) || _report(_exceptionable, {
|
|
17268
17614
|
path: _path + ".browser",
|
|
17269
|
-
expected: "(__type.
|
|
17615
|
+
expected: "(__type.o27 | undefined)",
|
|
17270
17616
|
value: input.browser
|
|
17271
17617
|
}), undefined === input.gallery || ("object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) || _report(_exceptionable, {
|
|
17272
17618
|
path: _path + ".gallery",
|
|
17273
|
-
expected: "(__type.
|
|
17619
|
+
expected: "(__type.o28 | undefined)",
|
|
17274
17620
|
value: input.gallery
|
|
17275
|
-
})) &&
|
|
17621
|
+
})) && _vo35(input.gallery, _path + ".gallery", true && _exceptionable) || _report(_exceptionable, {
|
|
17276
17622
|
path: _path + ".gallery",
|
|
17277
|
-
expected: "(__type.
|
|
17623
|
+
expected: "(__type.o28 | undefined)",
|
|
17278
17624
|
value: input.gallery
|
|
17279
17625
|
}), undefined === input.global || ("object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) || _report(_exceptionable, {
|
|
17280
17626
|
path: _path + ".global",
|
|
17281
|
-
expected: "(__type.
|
|
17627
|
+
expected: "(__type.o29 | undefined)",
|
|
17282
17628
|
value: input.global
|
|
17283
|
-
})) &&
|
|
17629
|
+
})) && _vo36(input.global, _path + ".global", true && _exceptionable) || _report(_exceptionable, {
|
|
17284
17630
|
path: _path + ".global",
|
|
17285
|
-
expected: "(__type.
|
|
17631
|
+
expected: "(__type.o29 | undefined)",
|
|
17286
17632
|
value: input.global
|
|
17287
17633
|
}), undefined === input.player || ("object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) || _report(_exceptionable, {
|
|
17288
17634
|
path: _path + ".player",
|
|
17289
|
-
expected: "(__type.
|
|
17635
|
+
expected: "(__type.o30 | undefined)",
|
|
17290
17636
|
value: input.player
|
|
17291
|
-
})) &&
|
|
17637
|
+
})) && _vo37(input.player, _path + ".player", true && _exceptionable) || _report(_exceptionable, {
|
|
17292
17638
|
path: _path + ".player",
|
|
17293
|
-
expected: "(__type.
|
|
17639
|
+
expected: "(__type.o30 | undefined)",
|
|
17294
17640
|
value: input.player
|
|
17295
17641
|
}), undefined === input.script || ("object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) || _report(_exceptionable, {
|
|
17296
17642
|
path: _path + ".script",
|
|
17297
|
-
expected: "(__type.
|
|
17643
|
+
expected: "(__type.o31 | undefined)",
|
|
17298
17644
|
value: input.script
|
|
17299
|
-
})) &&
|
|
17645
|
+
})) && _vo38(input.script, _path + ".script", true && _exceptionable) || _report(_exceptionable, {
|
|
17300
17646
|
path: _path + ".script",
|
|
17301
|
-
expected: "(__type.
|
|
17647
|
+
expected: "(__type.o31 | undefined)",
|
|
17302
17648
|
value: input.script
|
|
17303
17649
|
}), undefined === input.codeEditor || ("object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) || _report(_exceptionable, {
|
|
17304
17650
|
path: _path + ".codeEditor",
|
|
17305
|
-
expected: "(__type.
|
|
17651
|
+
expected: "(__type.o32 | undefined)",
|
|
17306
17652
|
value: input.codeEditor
|
|
17307
|
-
})) &&
|
|
17653
|
+
})) && _vo39(input.codeEditor, _path + ".codeEditor", true && _exceptionable) || _report(_exceptionable, {
|
|
17308
17654
|
path: _path + ".codeEditor",
|
|
17309
|
-
expected: "(__type.
|
|
17655
|
+
expected: "(__type.o32 | undefined)",
|
|
17310
17656
|
value: input.codeEditor
|
|
17311
17657
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
17312
17658
|
path: _path + ".bookmarks",
|
|
17313
|
-
expected: "(__type.
|
|
17659
|
+
expected: "(__type.o33 | undefined)",
|
|
17314
17660
|
value: input.bookmarks
|
|
17315
|
-
})) &&
|
|
17661
|
+
})) && _vo40(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
17316
17662
|
path: _path + ".bookmarks",
|
|
17317
|
-
expected: "(__type.
|
|
17663
|
+
expected: "(__type.o33 | undefined)",
|
|
17318
17664
|
value: input.bookmarks
|
|
17319
17665
|
}), undefined === input.edit || ("object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) || _report(_exceptionable, {
|
|
17320
17666
|
path: _path + ".edit",
|
|
17321
|
-
expected: "(__type.
|
|
17667
|
+
expected: "(__type.o34 | undefined)",
|
|
17322
17668
|
value: input.edit
|
|
17323
|
-
})) &&
|
|
17669
|
+
})) && _vo41(input.edit, _path + ".edit", true && _exceptionable) || _report(_exceptionable, {
|
|
17324
17670
|
path: _path + ".edit",
|
|
17325
|
-
expected: "(__type.
|
|
17671
|
+
expected: "(__type.o34 | undefined)",
|
|
17326
17672
|
value: input.edit
|
|
17327
17673
|
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) || _report(_exceptionable, {
|
|
17328
17674
|
path: _path + ".rundown",
|
|
17329
|
-
expected: "(__type.
|
|
17675
|
+
expected: "(__type.o35 | undefined)",
|
|
17330
17676
|
value: input.rundown
|
|
17331
|
-
})) &&
|
|
17677
|
+
})) && _vo42(input.rundown, _path + ".rundown", true && _exceptionable) || _report(_exceptionable, {
|
|
17332
17678
|
path: _path + ".rundown",
|
|
17333
|
-
expected: "(__type.
|
|
17679
|
+
expected: "(__type.o35 | undefined)",
|
|
17334
17680
|
value: input.rundown
|
|
17335
17681
|
}), undefined === input.segment || ("object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) || _report(_exceptionable, {
|
|
17336
17682
|
path: _path + ".segment",
|
|
17337
|
-
expected: "(__type.
|
|
17683
|
+
expected: "(__type.o36 | undefined)",
|
|
17338
17684
|
value: input.segment
|
|
17339
|
-
})) &&
|
|
17685
|
+
})) && _vo43(input.segment, _path + ".segment", true && _exceptionable) || _report(_exceptionable, {
|
|
17340
17686
|
path: _path + ".segment",
|
|
17341
|
-
expected: "(__type.
|
|
17687
|
+
expected: "(__type.o36 | undefined)",
|
|
17342
17688
|
value: input.segment
|
|
17343
|
-
})].every(flag => flag); const
|
|
17689
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17344
17690
|
const value = input[key];
|
|
17345
17691
|
if (undefined === value)
|
|
17346
17692
|
return true;
|
|
@@ -17348,12 +17694,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17348
17694
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17349
17695
|
expected: "KeymapSetting",
|
|
17350
17696
|
value: value
|
|
17351
|
-
})) &&
|
|
17697
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17352
17698
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17353
17699
|
expected: "KeymapSetting",
|
|
17354
17700
|
value: value
|
|
17355
17701
|
});
|
|
17356
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17702
|
+
}).every(flag => flag)].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
17357
17703
|
path: _path + ".title",
|
|
17358
17704
|
expected: "(string | undefined)",
|
|
17359
17705
|
value: input.title
|
|
@@ -17361,7 +17707,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17361
17707
|
path: _path + ".sequence",
|
|
17362
17708
|
expected: "(string | undefined)",
|
|
17363
17709
|
value: input.sequence
|
|
17364
|
-
})].every(flag => flag); const
|
|
17710
|
+
})].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17365
17711
|
const value = input[key];
|
|
17366
17712
|
if (undefined === value)
|
|
17367
17713
|
return true;
|
|
@@ -17369,12 +17715,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17369
17715
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17370
17716
|
expected: "KeymapSetting",
|
|
17371
17717
|
value: value
|
|
17372
|
-
})) &&
|
|
17718
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17373
17719
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17374
17720
|
expected: "KeymapSetting",
|
|
17375
17721
|
value: value
|
|
17376
17722
|
});
|
|
17377
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17723
|
+
}).every(flag => flag)].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17378
17724
|
const value = input[key];
|
|
17379
17725
|
if (undefined === value)
|
|
17380
17726
|
return true;
|
|
@@ -17382,12 +17728,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17382
17728
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17383
17729
|
expected: "KeymapSetting",
|
|
17384
17730
|
value: value
|
|
17385
|
-
})) &&
|
|
17731
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17386
17732
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17387
17733
|
expected: "KeymapSetting",
|
|
17388
17734
|
value: value
|
|
17389
17735
|
});
|
|
17390
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17736
|
+
}).every(flag => flag)].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17391
17737
|
const value = input[key];
|
|
17392
17738
|
if (undefined === value)
|
|
17393
17739
|
return true;
|
|
@@ -17395,12 +17741,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17395
17741
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17396
17742
|
expected: "KeymapSetting",
|
|
17397
17743
|
value: value
|
|
17398
|
-
})) &&
|
|
17744
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17399
17745
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17400
17746
|
expected: "KeymapSetting",
|
|
17401
17747
|
value: value
|
|
17402
17748
|
});
|
|
17403
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17749
|
+
}).every(flag => flag)].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17404
17750
|
const value = input[key];
|
|
17405
17751
|
if (undefined === value)
|
|
17406
17752
|
return true;
|
|
@@ -17408,12 +17754,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17408
17754
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17409
17755
|
expected: "KeymapSetting",
|
|
17410
17756
|
value: value
|
|
17411
|
-
})) &&
|
|
17757
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17412
17758
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17413
17759
|
expected: "KeymapSetting",
|
|
17414
17760
|
value: value
|
|
17415
17761
|
});
|
|
17416
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17762
|
+
}).every(flag => flag)].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17417
17763
|
const value = input[key];
|
|
17418
17764
|
if (undefined === value)
|
|
17419
17765
|
return true;
|
|
@@ -17421,12 +17767,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17421
17767
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17422
17768
|
expected: "KeymapSetting",
|
|
17423
17769
|
value: value
|
|
17424
|
-
})) &&
|
|
17770
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17425
17771
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17426
17772
|
expected: "KeymapSetting",
|
|
17427
17773
|
value: value
|
|
17428
17774
|
});
|
|
17429
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17775
|
+
}).every(flag => flag)].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17430
17776
|
const value = input[key];
|
|
17431
17777
|
if (undefined === value)
|
|
17432
17778
|
return true;
|
|
@@ -17434,12 +17780,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17434
17780
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17435
17781
|
expected: "KeymapSetting",
|
|
17436
17782
|
value: value
|
|
17437
|
-
})) &&
|
|
17783
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17438
17784
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17439
17785
|
expected: "KeymapSetting",
|
|
17440
17786
|
value: value
|
|
17441
17787
|
});
|
|
17442
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17788
|
+
}).every(flag => flag)].every(flag => flag); const _vo40 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17443
17789
|
const value = input[key];
|
|
17444
17790
|
if (undefined === value)
|
|
17445
17791
|
return true;
|
|
@@ -17447,12 +17793,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17447
17793
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17448
17794
|
expected: "KeymapSetting",
|
|
17449
17795
|
value: value
|
|
17450
|
-
})) &&
|
|
17796
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17451
17797
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17452
17798
|
expected: "KeymapSetting",
|
|
17453
17799
|
value: value
|
|
17454
17800
|
});
|
|
17455
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17801
|
+
}).every(flag => flag)].every(flag => flag); const _vo41 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17456
17802
|
const value = input[key];
|
|
17457
17803
|
if (undefined === value)
|
|
17458
17804
|
return true;
|
|
@@ -17460,12 +17806,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17460
17806
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17461
17807
|
expected: "KeymapSetting",
|
|
17462
17808
|
value: value
|
|
17463
|
-
})) &&
|
|
17809
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17464
17810
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17465
17811
|
expected: "KeymapSetting",
|
|
17466
17812
|
value: value
|
|
17467
17813
|
});
|
|
17468
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17814
|
+
}).every(flag => flag)].every(flag => flag); const _vo42 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17469
17815
|
const value = input[key];
|
|
17470
17816
|
if (undefined === value)
|
|
17471
17817
|
return true;
|
|
@@ -17473,12 +17819,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17473
17819
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17474
17820
|
expected: "KeymapSetting",
|
|
17475
17821
|
value: value
|
|
17476
|
-
})) &&
|
|
17822
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17477
17823
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17478
17824
|
expected: "KeymapSetting",
|
|
17479
17825
|
value: value
|
|
17480
17826
|
});
|
|
17481
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17827
|
+
}).every(flag => flag)].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17482
17828
|
const value = input[key];
|
|
17483
17829
|
if (undefined === value)
|
|
17484
17830
|
return true;
|
|
@@ -17486,12 +17832,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
17486
17832
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17487
17833
|
expected: "KeymapSetting",
|
|
17488
17834
|
value: value
|
|
17489
|
-
})) &&
|
|
17835
|
+
})) && _vo33(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
17490
17836
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17491
17837
|
expected: "KeymapSetting",
|
|
17492
17838
|
value: value
|
|
17493
17839
|
});
|
|
17494
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
17840
|
+
}).every(flag => flag)].every(flag => flag); const _vo44 = (input, _path, _exceptionable = true) => [undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate || _report(_exceptionable, {
|
|
17495
17841
|
path: _path + ".defaultFrameRate",
|
|
17496
17842
|
expected: "(number | undefined)",
|
|
17497
17843
|
value: input.defaultFrameRate
|
|
@@ -17501,11 +17847,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
17501
17847
|
value: input.placeholder
|
|
17502
17848
|
}), undefined === input.guide || ("object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) || _report(_exceptionable, {
|
|
17503
17849
|
path: _path + ".guide",
|
|
17504
|
-
expected: "(__type.
|
|
17850
|
+
expected: "(__type.o38 | undefined)",
|
|
17505
17851
|
value: input.guide
|
|
17506
|
-
})) &&
|
|
17852
|
+
})) && _vo45(input.guide, _path + ".guide", true && _exceptionable) || _report(_exceptionable, {
|
|
17507
17853
|
path: _path + ".guide",
|
|
17508
|
-
expected: "(__type.
|
|
17854
|
+
expected: "(__type.o38 | undefined)",
|
|
17509
17855
|
value: input.guide
|
|
17510
17856
|
}), undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames || _report(_exceptionable, {
|
|
17511
17857
|
path: _path + ".stepManyFrames",
|
|
@@ -17521,11 +17867,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
17521
17867
|
value: input.importTitleTemplate
|
|
17522
17868
|
}), undefined === input.tile || ("object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) || _report(_exceptionable, {
|
|
17523
17869
|
path: _path + ".tile",
|
|
17524
|
-
expected: "(__type.
|
|
17870
|
+
expected: "(__type.o39 | undefined)",
|
|
17525
17871
|
value: input.tile
|
|
17526
|
-
})) &&
|
|
17872
|
+
})) && _vo46(input.tile, _path + ".tile", true && _exceptionable) || _report(_exceptionable, {
|
|
17527
17873
|
path: _path + ".tile",
|
|
17528
|
-
expected: "(__type.
|
|
17874
|
+
expected: "(__type.o39 | undefined)",
|
|
17529
17875
|
value: input.tile
|
|
17530
17876
|
}), undefined === input.timecodeReference || "string" === typeof input.timecodeReference || _report(_exceptionable, {
|
|
17531
17877
|
path: _path + ".timecodeReference",
|
|
@@ -17551,8 +17897,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
17551
17897
|
path: _path + ".playbackRates",
|
|
17552
17898
|
expected: "(Array<number> | undefined)",
|
|
17553
17899
|
value: input.playbackRates
|
|
17554
|
-
})) && input.playbackRates.map((elem,
|
|
17555
|
-
path: _path + ".playbackRates[" +
|
|
17900
|
+
})) && input.playbackRates.map((elem, _index53) => "number" === typeof elem || _report(_exceptionable, {
|
|
17901
|
+
path: _path + ".playbackRates[" + _index53 + "]",
|
|
17556
17902
|
expected: "number",
|
|
17557
17903
|
value: elem
|
|
17558
17904
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -17561,11 +17907,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
17561
17907
|
value: input.playbackRates
|
|
17562
17908
|
}), undefined === input.subtitles || ("object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) || _report(_exceptionable, {
|
|
17563
17909
|
path: _path + ".subtitles",
|
|
17564
|
-
expected: "(__type.
|
|
17910
|
+
expected: "(__type.o40 | undefined)",
|
|
17565
17911
|
value: input.subtitles
|
|
17566
|
-
})) &&
|
|
17912
|
+
})) && _vo47(input.subtitles, _path + ".subtitles", true && _exceptionable) || _report(_exceptionable, {
|
|
17567
17913
|
path: _path + ".subtitles",
|
|
17568
|
-
expected: "(__type.
|
|
17914
|
+
expected: "(__type.o40 | undefined)",
|
|
17569
17915
|
value: input.subtitles
|
|
17570
17916
|
}), undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId || _report(_exceptionable, {
|
|
17571
17917
|
path: _path + ".subtitleTemplateId",
|
|
@@ -17577,19 +17923,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
17577
17923
|
value: input.initialVolume
|
|
17578
17924
|
}), undefined === input.guides || (Array.isArray(input.guides) || _report(_exceptionable, {
|
|
17579
17925
|
path: _path + ".guides",
|
|
17580
|
-
expected: "(Array<__type>.
|
|
17926
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
17581
17927
|
value: input.guides
|
|
17582
|
-
})) && input.guides.map((elem,
|
|
17583
|
-
path: _path + ".guides[" +
|
|
17584
|
-
expected: "__type.
|
|
17928
|
+
})) && input.guides.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17929
|
+
path: _path + ".guides[" + _index54 + "]",
|
|
17930
|
+
expected: "__type.o43",
|
|
17585
17931
|
value: elem
|
|
17586
|
-
})) &&
|
|
17587
|
-
path: _path + ".guides[" +
|
|
17588
|
-
expected: "__type.
|
|
17932
|
+
})) && _vo50(elem, _path + ".guides[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17933
|
+
path: _path + ".guides[" + _index54 + "]",
|
|
17934
|
+
expected: "__type.o43",
|
|
17589
17935
|
value: elem
|
|
17590
17936
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17591
17937
|
path: _path + ".guides",
|
|
17592
|
-
expected: "(Array<__type>.
|
|
17938
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
17593
17939
|
value: input.guides
|
|
17594
17940
|
}), undefined === input.download || "boolean" === typeof input.download || _report(_exceptionable, {
|
|
17595
17941
|
path: _path + ".download",
|
|
@@ -17597,33 +17943,33 @@ function _validateDomainRecord(domain, input) {
|
|
|
17597
17943
|
value: input.download
|
|
17598
17944
|
}), undefined === input.editMode || ("object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) || _report(_exceptionable, {
|
|
17599
17945
|
path: _path + ".editMode",
|
|
17600
|
-
expected: "(__type.
|
|
17946
|
+
expected: "(__type.o44 | undefined)",
|
|
17601
17947
|
value: input.editMode
|
|
17602
|
-
})) &&
|
|
17948
|
+
})) && _vo51(input.editMode, _path + ".editMode", true && _exceptionable) || _report(_exceptionable, {
|
|
17603
17949
|
path: _path + ".editMode",
|
|
17604
|
-
expected: "(__type.
|
|
17950
|
+
expected: "(__type.o44 | undefined)",
|
|
17605
17951
|
value: input.editMode
|
|
17606
17952
|
}), undefined === input.transcribe || ("object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) || _report(_exceptionable, {
|
|
17607
17953
|
path: _path + ".transcribe",
|
|
17608
|
-
expected: "(__type.
|
|
17954
|
+
expected: "(__type.o45 | undefined)",
|
|
17609
17955
|
value: input.transcribe
|
|
17610
|
-
})) &&
|
|
17956
|
+
})) && _vo52(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
17611
17957
|
path: _path + ".transcribe",
|
|
17612
|
-
expected: "(__type.
|
|
17958
|
+
expected: "(__type.o45 | undefined)",
|
|
17613
17959
|
value: input.transcribe
|
|
17614
17960
|
}), (null !== input.openCommand || _report(_exceptionable, {
|
|
17615
17961
|
path: _path + ".openCommand",
|
|
17616
|
-
expected: "(__type.
|
|
17962
|
+
expected: "(__type.o49 | string | undefined)",
|
|
17617
17963
|
value: input.openCommand
|
|
17618
17964
|
})) && (undefined === input.openCommand || "string" === typeof input.openCommand || ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) || _report(_exceptionable, {
|
|
17619
17965
|
path: _path + ".openCommand",
|
|
17620
|
-
expected: "(__type.
|
|
17966
|
+
expected: "(__type.o49 | string | undefined)",
|
|
17621
17967
|
value: input.openCommand
|
|
17622
|
-
})) &&
|
|
17968
|
+
})) && _vo56(input.openCommand, _path + ".openCommand", true && _exceptionable) || _report(_exceptionable, {
|
|
17623
17969
|
path: _path + ".openCommand",
|
|
17624
|
-
expected: "(__type.
|
|
17970
|
+
expected: "(__type.o49 | string | undefined)",
|
|
17625
17971
|
value: input.openCommand
|
|
17626
|
-
}))].every(flag => flag); const
|
|
17972
|
+
}))].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [undefined === input.mask || "boolean" === typeof input.mask || _report(_exceptionable, {
|
|
17627
17973
|
path: _path + ".mask",
|
|
17628
17974
|
expected: "(boolean | undefined)",
|
|
17629
17975
|
value: input.mask
|
|
@@ -17635,7 +17981,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17635
17981
|
path: _path + ".titleSafe",
|
|
17636
17982
|
expected: "(boolean | undefined)",
|
|
17637
17983
|
value: input.titleSafe
|
|
17638
|
-
})].every(flag => flag); const
|
|
17984
|
+
})].every(flag => flag); const _vo46 = (input, _path, _exceptionable = true) => [undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview || _report(_exceptionable, {
|
|
17639
17985
|
path: _path + ".preview",
|
|
17640
17986
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
17641
17987
|
value: input.preview
|
|
@@ -17643,7 +17989,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17643
17989
|
path: _path + ".showRenderProgress",
|
|
17644
17990
|
expected: "(boolean | undefined)",
|
|
17645
17991
|
value: input.showRenderProgress
|
|
17646
|
-
})].every(flag => flag); const
|
|
17992
|
+
})].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => [undefined === input.spacing || "number" === typeof input.spacing || _report(_exceptionable, {
|
|
17647
17993
|
path: _path + ".spacing",
|
|
17648
17994
|
expected: "(number | undefined)",
|
|
17649
17995
|
value: input.spacing
|
|
@@ -17653,49 +17999,53 @@ function _validateDomainRecord(domain, input) {
|
|
|
17653
17999
|
value: input.maxCharactersPerLine
|
|
17654
18000
|
}), undefined === input.suggestions || (Array.isArray(input.suggestions) || _report(_exceptionable, {
|
|
17655
18001
|
path: _path + ".suggestions",
|
|
17656
|
-
expected: "(Array<__type
|
|
18002
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
17657
18003
|
value: input.suggestions
|
|
17658
|
-
})) && input.suggestions.map((elem,
|
|
17659
|
-
path: _path + ".suggestions[" +
|
|
17660
|
-
expected: "__type.
|
|
18004
|
+
})) && input.suggestions.map((elem, _index55) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18005
|
+
path: _path + ".suggestions[" + _index55 + "]",
|
|
18006
|
+
expected: "__type.o41",
|
|
17661
18007
|
value: elem
|
|
17662
|
-
})) &&
|
|
17663
|
-
path: _path + ".suggestions[" +
|
|
17664
|
-
expected: "__type.
|
|
18008
|
+
})) && _vo48(elem, _path + ".suggestions[" + _index55 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18009
|
+
path: _path + ".suggestions[" + _index55 + "]",
|
|
18010
|
+
expected: "__type.o41",
|
|
17665
18011
|
value: elem
|
|
17666
18012
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17667
18013
|
path: _path + ".suggestions",
|
|
17668
|
-
expected: "(Array<__type
|
|
18014
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
17669
18015
|
value: input.suggestions
|
|
17670
18016
|
}), undefined === input.colors || (Array.isArray(input.colors) || _report(_exceptionable, {
|
|
17671
18017
|
path: _path + ".colors",
|
|
17672
|
-
expected: "(Array<__type>.
|
|
18018
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
17673
18019
|
value: input.colors
|
|
17674
|
-
})) && input.colors.map((elem,
|
|
17675
|
-
path: _path + ".colors[" +
|
|
17676
|
-
expected: "__type.
|
|
18020
|
+
})) && input.colors.map((elem, _index56) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18021
|
+
path: _path + ".colors[" + _index56 + "]",
|
|
18022
|
+
expected: "__type.o42",
|
|
17677
18023
|
value: elem
|
|
17678
|
-
})) &&
|
|
17679
|
-
path: _path + ".colors[" +
|
|
17680
|
-
expected: "__type.
|
|
18024
|
+
})) && _vo49(elem, _path + ".colors[" + _index56 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18025
|
+
path: _path + ".colors[" + _index56 + "]",
|
|
18026
|
+
expected: "__type.o42",
|
|
17681
18027
|
value: elem
|
|
17682
18028
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17683
18029
|
path: _path + ".colors",
|
|
17684
|
-
expected: "(Array<__type>.
|
|
18030
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
17685
18031
|
value: input.colors
|
|
17686
18032
|
}), undefined === input.overridableProperties || (Array.isArray(input.overridableProperties) || _report(_exceptionable, {
|
|
17687
18033
|
path: _path + ".overridableProperties",
|
|
17688
18034
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
17689
18035
|
value: input.overridableProperties
|
|
17690
|
-
})) && input.overridableProperties.map((elem,
|
|
17691
|
-
path: _path + ".overridableProperties[" +
|
|
17692
|
-
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
18036
|
+
})) && input.overridableProperties.map((elem, _index57) => null === elem || true === _vv58.has(elem) || _report(_exceptionable, {
|
|
18037
|
+
path: _path + ".overridableProperties[" + _index57 + "]",
|
|
18038
|
+
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)",
|
|
17693
18039
|
value: elem
|
|
17694
18040
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17695
18041
|
path: _path + ".overridableProperties",
|
|
17696
18042
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
17697
18043
|
value: input.overridableProperties
|
|
17698
|
-
})
|
|
18044
|
+
}), undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale || _report(_exceptionable, {
|
|
18045
|
+
path: _path + ".previewResolutionScale",
|
|
18046
|
+
expected: "(number | undefined)",
|
|
18047
|
+
value: input.previewResolutionScale
|
|
18048
|
+
})].every(flag => flag); const _vo48 = (input, _path, _exceptionable = true) => [null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio || _report(_exceptionable, {
|
|
17699
18049
|
path: _path + ".ifAspectRatio",
|
|
17700
18050
|
expected: "(null | string | undefined)",
|
|
17701
18051
|
value: input.ifAspectRatio
|
|
@@ -17711,7 +18061,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17711
18061
|
path: _path + ".thenMaxCharactersPerLine",
|
|
17712
18062
|
expected: "(null | number | undefined)",
|
|
17713
18063
|
value: input.thenMaxCharactersPerLine
|
|
17714
|
-
})].every(flag => flag); const
|
|
18064
|
+
})].every(flag => flag); const _vo49 = (input, _path, _exceptionable = true) => [null === input.label || undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
17715
18065
|
path: _path + ".label",
|
|
17716
18066
|
expected: "(null | string | undefined)",
|
|
17717
18067
|
value: input.label
|
|
@@ -17719,7 +18069,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17719
18069
|
path: _path + ".color",
|
|
17720
18070
|
expected: "(null | string | undefined)",
|
|
17721
18071
|
value: input.color
|
|
17722
|
-
})].every(flag => flag); const
|
|
18072
|
+
})].every(flag => flag); const _vo50 = (input, _path, _exceptionable = true) => [undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
17723
18073
|
path: _path + ".label",
|
|
17724
18074
|
expected: "(string | undefined)",
|
|
17725
18075
|
value: input.label
|
|
@@ -17727,7 +18077,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17727
18077
|
path: _path + ".aspectRatio",
|
|
17728
18078
|
expected: "(string | undefined)",
|
|
17729
18079
|
value: input.aspectRatio
|
|
17730
|
-
})].every(flag => flag); const
|
|
18080
|
+
})].every(flag => flag); const _vo51 = (input, _path, _exceptionable = true) => [undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
|
|
17731
18081
|
path: _path + ".enabled",
|
|
17732
18082
|
expected: "(boolean | undefined)",
|
|
17733
18083
|
value: input.enabled
|
|
@@ -17739,45 +18089,45 @@ function _validateDomainRecord(domain, input) {
|
|
|
17739
18089
|
path: _path + ".defaultExitOption",
|
|
17740
18090
|
expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
|
|
17741
18091
|
value: input.defaultExitOption
|
|
17742
|
-
})].every(flag => flag); const
|
|
18092
|
+
})].every(flag => flag); const _vo52 = (input, _path, _exceptionable = true) => [undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || _report(_exceptionable, {
|
|
17743
18093
|
path: _path + ".subtitleDisclaimer",
|
|
17744
|
-
expected: "(__type.
|
|
18094
|
+
expected: "(__type.o46 | undefined)",
|
|
17745
18095
|
value: input.subtitleDisclaimer
|
|
17746
|
-
})) &&
|
|
18096
|
+
})) && _vo53(input.subtitleDisclaimer, _path + ".subtitleDisclaimer", true && _exceptionable) || _report(_exceptionable, {
|
|
17747
18097
|
path: _path + ".subtitleDisclaimer",
|
|
17748
|
-
expected: "(__type.
|
|
18098
|
+
expected: "(__type.o46 | undefined)",
|
|
17749
18099
|
value: input.subtitleDisclaimer
|
|
17750
|
-
})].every(flag => flag); const
|
|
18100
|
+
})].every(flag => flag); const _vo53 = (input, _path, _exceptionable = true) => [undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || _report(_exceptionable, {
|
|
17751
18101
|
path: _path + ".isUserConfigurable",
|
|
17752
18102
|
expected: "(boolean | undefined)",
|
|
17753
18103
|
value: input.isUserConfigurable
|
|
17754
18104
|
}), undefined === input.defaultValue || ("object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) || _report(_exceptionable, {
|
|
17755
18105
|
path: _path + ".defaultValue",
|
|
17756
|
-
expected: "(__type.
|
|
18106
|
+
expected: "(__type.o47 | undefined)",
|
|
17757
18107
|
value: input.defaultValue
|
|
17758
|
-
})) &&
|
|
18108
|
+
})) && _vo54(input.defaultValue, _path + ".defaultValue", true && _exceptionable) || _report(_exceptionable, {
|
|
17759
18109
|
path: _path + ".defaultValue",
|
|
17760
|
-
expected: "(__type.
|
|
18110
|
+
expected: "(__type.o47 | undefined)",
|
|
17761
18111
|
value: input.defaultValue
|
|
17762
|
-
})].every(flag => flag); const
|
|
18112
|
+
})].every(flag => flag); const _vo54 = (input, _path, _exceptionable = true) => [undefined === input.enabled || false === input.enabled || _report(_exceptionable, {
|
|
17763
18113
|
path: _path + ".enabled",
|
|
17764
18114
|
expected: "(false | undefined)",
|
|
17765
18115
|
value: input.enabled
|
|
17766
18116
|
}), undefined === input.text || (Array.isArray(input.text) || _report(_exceptionable, {
|
|
17767
18117
|
path: _path + ".text",
|
|
17768
|
-
expected: "(Array<__type>.
|
|
18118
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17769
18119
|
value: input.text
|
|
17770
|
-
})) && input.text.map((elem,
|
|
17771
|
-
path: _path + ".text[" +
|
|
17772
|
-
expected: "__type.
|
|
18120
|
+
})) && input.text.map((elem, _index59) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18121
|
+
path: _path + ".text[" + _index59 + "]",
|
|
18122
|
+
expected: "__type.o48",
|
|
17773
18123
|
value: elem
|
|
17774
|
-
})) &&
|
|
17775
|
-
path: _path + ".text[" +
|
|
17776
|
-
expected: "__type.
|
|
18124
|
+
})) && _vo55(elem, _path + ".text[" + _index59 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18125
|
+
path: _path + ".text[" + _index59 + "]",
|
|
18126
|
+
expected: "__type.o48",
|
|
17777
18127
|
value: elem
|
|
17778
18128
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17779
18129
|
path: _path + ".text",
|
|
17780
|
-
expected: "(Array<__type>.
|
|
18130
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17781
18131
|
value: input.text
|
|
17782
18132
|
}), undefined === input.offset || "number" === typeof input.offset || _report(_exceptionable, {
|
|
17783
18133
|
path: _path + ".offset",
|
|
@@ -17787,7 +18137,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17787
18137
|
path: _path + ".duration",
|
|
17788
18138
|
expected: "(number | undefined)",
|
|
17789
18139
|
value: input.duration
|
|
17790
|
-
})].every(flag => flag); const
|
|
18140
|
+
})].every(flag => flag); const _vo55 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
17791
18141
|
path: _path + ".language",
|
|
17792
18142
|
expected: "(string | undefined)",
|
|
17793
18143
|
value: input.language
|
|
@@ -17795,7 +18145,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17795
18145
|
path: _path + ".value",
|
|
17796
18146
|
expected: "(string | undefined)",
|
|
17797
18147
|
value: input.value
|
|
17798
|
-
})].every(flag => flag); const
|
|
18148
|
+
})].every(flag => flag); const _vo56 = (input, _path, _exceptionable = true) => [undefined === input.url || "string" === typeof input.url || _report(_exceptionable, {
|
|
17799
18149
|
path: _path + ".url",
|
|
17800
18150
|
expected: "(string | undefined)",
|
|
17801
18151
|
value: input.url
|
|
@@ -17811,55 +18161,55 @@ function _validateDomainRecord(domain, input) {
|
|
|
17811
18161
|
path: _path + ".args",
|
|
17812
18162
|
expected: "(Array<string> | undefined)",
|
|
17813
18163
|
value: input.args
|
|
17814
|
-
})) && input.args.map((elem,
|
|
17815
|
-
path: _path + ".args[" +
|
|
18164
|
+
})) && input.args.map((elem, _index60) => "string" === typeof elem || _report(_exceptionable, {
|
|
18165
|
+
path: _path + ".args[" + _index60 + "]",
|
|
17816
18166
|
expected: "string",
|
|
17817
18167
|
value: elem
|
|
17818
18168
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17819
18169
|
path: _path + ".args",
|
|
17820
18170
|
expected: "(Array<string> | undefined)",
|
|
17821
18171
|
value: input.args
|
|
17822
|
-
})].every(flag => flag); const
|
|
18172
|
+
})].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView || _report(_exceptionable, {
|
|
17823
18173
|
path: _path + ".thumbnailView",
|
|
17824
18174
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
17825
18175
|
value: input.thumbnailView
|
|
17826
18176
|
}), undefined === input.normalize || ("object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) || _report(_exceptionable, {
|
|
17827
18177
|
path: _path + ".normalize",
|
|
17828
|
-
expected: "(__type.
|
|
18178
|
+
expected: "(__type.o51 | undefined)",
|
|
17829
18179
|
value: input.normalize
|
|
17830
|
-
})) &&
|
|
18180
|
+
})) && _vo58(input.normalize, _path + ".normalize", true && _exceptionable) || _report(_exceptionable, {
|
|
17831
18181
|
path: _path + ".normalize",
|
|
17832
|
-
expected: "(__type.
|
|
18182
|
+
expected: "(__type.o51 | undefined)",
|
|
17833
18183
|
value: input.normalize
|
|
17834
18184
|
}), undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || _report(_exceptionable, {
|
|
17835
18185
|
path: _path + ".voiceOver",
|
|
17836
|
-
expected: "(__type.
|
|
18186
|
+
expected: "(__type.o53 | undefined)",
|
|
17837
18187
|
value: input.voiceOver
|
|
17838
|
-
})) &&
|
|
18188
|
+
})) && _vo60(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || _report(_exceptionable, {
|
|
17839
18189
|
path: _path + ".voiceOver",
|
|
17840
|
-
expected: "(__type.
|
|
18190
|
+
expected: "(__type.o53 | undefined)",
|
|
17841
18191
|
value: input.voiceOver
|
|
17842
|
-
})].every(flag => flag); const
|
|
18192
|
+
})].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => [undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
17843
18193
|
path: _path + ".presets",
|
|
17844
|
-
expected: "(Array<__type>.
|
|
18194
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
17845
18195
|
value: input.presets
|
|
17846
|
-
})) && input.presets.map((elem,
|
|
17847
|
-
path: _path + ".presets[" +
|
|
17848
|
-
expected: "__type.
|
|
18196
|
+
})) && input.presets.map((elem, _index61) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
18197
|
+
path: _path + ".presets[" + _index61 + "]",
|
|
18198
|
+
expected: "__type.o52",
|
|
17849
18199
|
value: elem
|
|
17850
|
-
})) &&
|
|
17851
|
-
path: _path + ".presets[" +
|
|
17852
|
-
expected: "__type.
|
|
18200
|
+
})) && _vo59(elem, _path + ".presets[" + _index61 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18201
|
+
path: _path + ".presets[" + _index61 + "]",
|
|
18202
|
+
expected: "__type.o52",
|
|
17853
18203
|
value: elem
|
|
17854
18204
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17855
18205
|
path: _path + ".presets",
|
|
17856
|
-
expected: "(Array<__type>.
|
|
18206
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
17857
18207
|
value: input.presets
|
|
17858
18208
|
}), undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId || _report(_exceptionable, {
|
|
17859
18209
|
path: _path + ".defaultPresetId",
|
|
17860
18210
|
expected: "(string | undefined)",
|
|
17861
18211
|
value: input.defaultPresetId
|
|
17862
|
-
})].every(flag => flag); const
|
|
18212
|
+
})].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
17863
18213
|
path: _path + ".id",
|
|
17864
18214
|
expected: "string",
|
|
17865
18215
|
value: input.id
|
|
@@ -17875,7 +18225,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17875
18225
|
path: _path + ".tp",
|
|
17876
18226
|
expected: "number",
|
|
17877
18227
|
value: input.tp
|
|
17878
|
-
})].every(flag => flag); const
|
|
18228
|
+
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [undefined === input.inputDevice || "string" === typeof input.inputDevice || _report(_exceptionable, {
|
|
17879
18229
|
path: _path + ".inputDevice",
|
|
17880
18230
|
expected: "(string | undefined)",
|
|
17881
18231
|
value: input.inputDevice
|
|
@@ -17895,7 +18245,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
17895
18245
|
path: _path + ".preRollDuration",
|
|
17896
18246
|
expected: "(number | undefined)",
|
|
17897
18247
|
value: input.preRollDuration
|
|
17898
|
-
})].every(flag => flag); const
|
|
18248
|
+
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
17899
18249
|
path: _path + ".title",
|
|
17900
18250
|
expected: "(string | undefined)",
|
|
17901
18251
|
value: input.title
|
|
@@ -17907,75 +18257,75 @@ function _validateDomainRecord(domain, input) {
|
|
|
17907
18257
|
path: _path + ".args",
|
|
17908
18258
|
expected: "(Array<string> | undefined)",
|
|
17909
18259
|
value: input.args
|
|
17910
|
-
})) && input.args.map((elem,
|
|
17911
|
-
path: _path + ".args[" +
|
|
18260
|
+
})) && input.args.map((elem, _index62) => "string" === typeof elem || _report(_exceptionable, {
|
|
18261
|
+
path: _path + ".args[" + _index62 + "]",
|
|
17912
18262
|
expected: "string",
|
|
17913
18263
|
value: elem
|
|
17914
18264
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
17915
18265
|
path: _path + ".args",
|
|
17916
18266
|
expected: "(Array<string> | undefined)",
|
|
17917
18267
|
value: input.args
|
|
17918
|
-
})].every(flag => flag); const
|
|
18268
|
+
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || _report(_exceptionable, {
|
|
17919
18269
|
path: _path + ".folded",
|
|
17920
|
-
expected: "(__type.
|
|
18270
|
+
expected: "(__type.o56 | undefined)",
|
|
17921
18271
|
value: input.folded
|
|
17922
|
-
})) &&
|
|
18272
|
+
})) && _vo63(input.folded, _path + ".folded", true && _exceptionable) || _report(_exceptionable, {
|
|
17923
18273
|
path: _path + ".folded",
|
|
17924
|
-
expected: "(__type.
|
|
18274
|
+
expected: "(__type.o56 | undefined)",
|
|
17925
18275
|
value: input.folded
|
|
17926
18276
|
}), undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || _report(_exceptionable, {
|
|
17927
18277
|
path: _path + ".assets",
|
|
17928
|
-
expected: "(__type.
|
|
18278
|
+
expected: "(__type.o57 | undefined)",
|
|
17929
18279
|
value: input.assets
|
|
17930
|
-
})) &&
|
|
18280
|
+
})) && _vo64(input.assets, _path + ".assets", true && _exceptionable) || _report(_exceptionable, {
|
|
17931
18281
|
path: _path + ".assets",
|
|
17932
|
-
expected: "(__type.
|
|
18282
|
+
expected: "(__type.o57 | undefined)",
|
|
17933
18283
|
value: input.assets
|
|
17934
18284
|
}), undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || _report(_exceptionable, {
|
|
17935
18285
|
path: _path + ".pipeline",
|
|
17936
|
-
expected: "(__type.
|
|
18286
|
+
expected: "(__type.o61 | undefined)",
|
|
17937
18287
|
value: input.pipeline
|
|
17938
|
-
})) &&
|
|
18288
|
+
})) && _vo68(input.pipeline, _path + ".pipeline", true && _exceptionable) || _report(_exceptionable, {
|
|
17939
18289
|
path: _path + ".pipeline",
|
|
17940
|
-
expected: "(__type.
|
|
18290
|
+
expected: "(__type.o61 | undefined)",
|
|
17941
18291
|
value: input.pipeline
|
|
17942
18292
|
}), undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || _report(_exceptionable, {
|
|
17943
18293
|
path: _path + ".item",
|
|
17944
|
-
expected: "(__type.
|
|
18294
|
+
expected: "(__type.o63 | undefined)",
|
|
17945
18295
|
value: input.item
|
|
17946
|
-
})) &&
|
|
18296
|
+
})) && _vo70(input.item, _path + ".item", true && _exceptionable) || _report(_exceptionable, {
|
|
17947
18297
|
path: _path + ".item",
|
|
17948
|
-
expected: "(__type.
|
|
18298
|
+
expected: "(__type.o63 | undefined)",
|
|
17949
18299
|
value: input.item
|
|
17950
|
-
})].every(flag => flag); const
|
|
18300
|
+
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [undefined === input.auto || "boolean" === typeof input.auto || _report(_exceptionable, {
|
|
17951
18301
|
path: _path + ".auto",
|
|
17952
18302
|
expected: "(boolean | undefined)",
|
|
17953
18303
|
value: input.auto
|
|
17954
|
-
})].every(flag => flag); const
|
|
18304
|
+
})].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || _report(_exceptionable, {
|
|
17955
18305
|
path: _path + ".story",
|
|
17956
|
-
expected: "(__type.
|
|
18306
|
+
expected: "(__type.o58 | undefined)",
|
|
17957
18307
|
value: input.story
|
|
17958
|
-
})) &&
|
|
18308
|
+
})) && _vo65(input.story, _path + ".story", true && _exceptionable) || _report(_exceptionable, {
|
|
17959
18309
|
path: _path + ".story",
|
|
17960
|
-
expected: "(__type.
|
|
18310
|
+
expected: "(__type.o58 | undefined)",
|
|
17961
18311
|
value: input.story
|
|
17962
18312
|
}), undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || _report(_exceptionable, {
|
|
17963
18313
|
path: _path + ".note",
|
|
17964
|
-
expected: "(__type.
|
|
18314
|
+
expected: "(__type.o60 | undefined)",
|
|
17965
18315
|
value: input.note
|
|
17966
|
-
})) &&
|
|
18316
|
+
})) && _vo67(input.note, _path + ".note", true && _exceptionable) || _report(_exceptionable, {
|
|
17967
18317
|
path: _path + ".note",
|
|
17968
|
-
expected: "(__type.
|
|
18318
|
+
expected: "(__type.o60 | undefined)",
|
|
17969
18319
|
value: input.note
|
|
17970
|
-
})].every(flag => flag); const
|
|
18320
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || _report(_exceptionable, {
|
|
17971
18321
|
path: _path + ".excerpt",
|
|
17972
|
-
expected: "(__type.
|
|
18322
|
+
expected: "(__type.o59 | undefined)",
|
|
17973
18323
|
value: input.excerpt
|
|
17974
|
-
})) &&
|
|
18324
|
+
})) && _vo66(input.excerpt, _path + ".excerpt", true && _exceptionable) || _report(_exceptionable, {
|
|
17975
18325
|
path: _path + ".excerpt",
|
|
17976
|
-
expected: "(__type.
|
|
18326
|
+
expected: "(__type.o59 | undefined)",
|
|
17977
18327
|
value: input.excerpt
|
|
17978
|
-
})].every(flag => flag); const
|
|
18328
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [undefined === input.maxLines || "number" === typeof input.maxLines || _report(_exceptionable, {
|
|
17979
18329
|
path: _path + ".maxLines",
|
|
17980
18330
|
expected: "(number | undefined)",
|
|
17981
18331
|
value: input.maxLines
|
|
@@ -17987,27 +18337,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
17987
18337
|
path: _path + ".comments",
|
|
17988
18338
|
expected: "(boolean | undefined)",
|
|
17989
18339
|
value: input.comments
|
|
17990
|
-
})].every(flag => flag); const
|
|
18340
|
+
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
17991
18341
|
path: _path + ".maxHeight",
|
|
17992
18342
|
expected: "(number | undefined)",
|
|
17993
18343
|
value: input.maxHeight
|
|
17994
|
-
})].every(flag => flag); const
|
|
18344
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => [undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || _report(_exceptionable, {
|
|
17995
18345
|
path: _path + ".search",
|
|
17996
|
-
expected: "(__type.
|
|
18346
|
+
expected: "(__type.o62 | undefined)",
|
|
17997
18347
|
value: input.search
|
|
17998
|
-
})) &&
|
|
18348
|
+
})) && _vo69(input.search, _path + ".search", true && _exceptionable) || _report(_exceptionable, {
|
|
17999
18349
|
path: _path + ".search",
|
|
18000
|
-
expected: "(__type.
|
|
18350
|
+
expected: "(__type.o62 | undefined)",
|
|
18001
18351
|
value: input.search
|
|
18002
|
-
}), undefined === input.sortMode || true ===
|
|
18352
|
+
}), undefined === input.sortMode || true === _vv63.has(input.sortMode) || _report(_exceptionable, {
|
|
18003
18353
|
path: _path + ".sortMode",
|
|
18004
18354
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
18005
18355
|
value: input.sortMode
|
|
18006
|
-
})].every(flag => flag); const
|
|
18356
|
+
})].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || _report(_exceptionable, {
|
|
18007
18357
|
path: _path + ".maxItemsDisplayed",
|
|
18008
18358
|
expected: "(number | undefined)",
|
|
18009
18359
|
value: input.maxItemsDisplayed
|
|
18010
|
-
})].every(flag => flag); const
|
|
18360
|
+
})].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
18011
18361
|
path: _path + ".maxHeight",
|
|
18012
18362
|
expected: "(number | undefined)",
|
|
18013
18363
|
value: input.maxHeight
|
|
@@ -18015,19 +18365,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
18015
18365
|
path: _path + ".titleLines",
|
|
18016
18366
|
expected: "(number | undefined)",
|
|
18017
18367
|
value: input.titleLines
|
|
18018
|
-
})].every(flag => flag); const
|
|
18368
|
+
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || _report(_exceptionable, {
|
|
18019
18369
|
path: _path + ".fontFamilies",
|
|
18020
18370
|
expected: "(Array<string> | undefined)",
|
|
18021
18371
|
value: input.fontFamilies
|
|
18022
|
-
})) && input.fontFamilies.map((elem,
|
|
18023
|
-
path: _path + ".fontFamilies[" +
|
|
18372
|
+
})) && input.fontFamilies.map((elem, _index64) => "string" === typeof elem || _report(_exceptionable, {
|
|
18373
|
+
path: _path + ".fontFamilies[" + _index64 + "]",
|
|
18024
18374
|
expected: "string",
|
|
18025
18375
|
value: elem
|
|
18026
18376
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
18027
18377
|
path: _path + ".fontFamilies",
|
|
18028
18378
|
expected: "(Array<string> | undefined)",
|
|
18029
18379
|
value: input.fontFamilies
|
|
18030
|
-
})].every(flag => flag); const
|
|
18380
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
18031
18381
|
path: _path + ".id",
|
|
18032
18382
|
expected: "(string | undefined)",
|
|
18033
18383
|
value: input.id
|
|
@@ -18035,31 +18385,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
18035
18385
|
path: _path + ".folded",
|
|
18036
18386
|
expected: "(boolean | undefined)",
|
|
18037
18387
|
value: input.folded
|
|
18038
|
-
})].every(flag => flag); const
|
|
18388
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || _report(_exceptionable, {
|
|
18039
18389
|
path: _path + ".adobe",
|
|
18040
|
-
expected: "(__type.
|
|
18390
|
+
expected: "(__type.o67 | undefined)",
|
|
18041
18391
|
value: input.adobe
|
|
18042
|
-
})) &&
|
|
18392
|
+
})) && _vo74(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
18043
18393
|
path: _path + ".adobe",
|
|
18044
|
-
expected: "(__type.
|
|
18394
|
+
expected: "(__type.o67 | undefined)",
|
|
18045
18395
|
value: input.adobe
|
|
18046
18396
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
18047
18397
|
path: _path + ".rive",
|
|
18048
|
-
expected: "(__type.
|
|
18398
|
+
expected: "(__type.o68 | undefined)",
|
|
18049
18399
|
value: input.rive
|
|
18050
|
-
})) &&
|
|
18400
|
+
})) && _vo75(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
18051
18401
|
path: _path + ".rive",
|
|
18052
|
-
expected: "(__type.
|
|
18402
|
+
expected: "(__type.o68 | undefined)",
|
|
18053
18403
|
value: input.rive
|
|
18054
|
-
})].every(flag => flag); const
|
|
18404
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.useProxies || "boolean" === typeof input.useProxies || _report(_exceptionable, {
|
|
18055
18405
|
path: _path + ".useProxies",
|
|
18056
18406
|
expected: "(boolean | undefined)",
|
|
18057
18407
|
value: input.useProxies
|
|
18058
|
-
})].every(flag => flag); const
|
|
18408
|
+
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
18059
18409
|
path: _path + ".template",
|
|
18060
18410
|
expected: "(string | undefined)",
|
|
18061
18411
|
value: input.template
|
|
18062
|
-
})].every(flag => flag); const
|
|
18412
|
+
})].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
18063
18413
|
path: _path + ".collections",
|
|
18064
18414
|
expected: "(boolean | undefined)",
|
|
18065
18415
|
value: input.collections
|
|
@@ -18071,7 +18421,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18071
18421
|
path: _path + ".ameRemoteRendering",
|
|
18072
18422
|
expected: "(boolean | undefined)",
|
|
18073
18423
|
value: input.ameRemoteRendering
|
|
18074
|
-
})].every(flag => flag); const
|
|
18424
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
18075
18425
|
path: _path + ".utils",
|
|
18076
18426
|
expected: "(boolean | undefined)",
|
|
18077
18427
|
value: input.utils
|
|
@@ -18147,20 +18497,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
18147
18497
|
path: _path + ".systemHealth",
|
|
18148
18498
|
expected: "(boolean | undefined)",
|
|
18149
18499
|
value: input.systemHealth
|
|
18150
|
-
})].every(flag => flag); const
|
|
18500
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
18151
18501
|
path: _path + ".events",
|
|
18152
|
-
expected: "(__type.
|
|
18502
|
+
expected: "(__type.o72 | undefined)",
|
|
18153
18503
|
value: input.events
|
|
18154
|
-
})) &&
|
|
18504
|
+
})) && _vo79(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
18155
18505
|
path: _path + ".events",
|
|
18156
|
-
expected: "(__type.
|
|
18506
|
+
expected: "(__type.o72 | undefined)",
|
|
18157
18507
|
value: input.events
|
|
18158
|
-
})].every(flag => flag); const
|
|
18508
|
+
})].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
18159
18509
|
path: _path + ".comment",
|
|
18160
18510
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18161
18511
|
value: input.comment
|
|
18162
|
-
})) && input.comment.map((elem,
|
|
18163
|
-
path: _path + ".comment[" +
|
|
18512
|
+
})) && input.comment.map((elem, _index65) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18513
|
+
path: _path + ".comment[" + _index65 + "]",
|
|
18164
18514
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18165
18515
|
value: elem
|
|
18166
18516
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18171,8 +18521,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18171
18521
|
path: _path + ".assigned",
|
|
18172
18522
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18173
18523
|
value: input.assigned
|
|
18174
|
-
})) && input.assigned.map((elem,
|
|
18175
|
-
path: _path + ".assigned[" +
|
|
18524
|
+
})) && input.assigned.map((elem, _index66) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18525
|
+
path: _path + ".assigned[" + _index66 + "]",
|
|
18176
18526
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18177
18527
|
value: elem
|
|
18178
18528
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18183,8 +18533,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18183
18533
|
path: _path + ".unassigned",
|
|
18184
18534
|
expected: "(Array<NotificationReason> | undefined)",
|
|
18185
18535
|
value: input.unassigned
|
|
18186
|
-
})) && input.unassigned.map((elem,
|
|
18187
|
-
path: _path + ".unassigned[" +
|
|
18536
|
+
})) && input.unassigned.map((elem, _index67) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18537
|
+
path: _path + ".unassigned[" + _index67 + "]",
|
|
18188
18538
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18189
18539
|
value: elem
|
|
18190
18540
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18193,13 +18543,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
18193
18543
|
value: input.unassigned
|
|
18194
18544
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
18195
18545
|
path: _path + ".publishSucceeded",
|
|
18196
|
-
expected: "(__type.
|
|
18546
|
+
expected: "(__type.o73 | undefined)",
|
|
18197
18547
|
value: input.publishSucceeded
|
|
18198
|
-
})) &&
|
|
18548
|
+
})) && _vo80(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
18199
18549
|
path: _path + ".publishSucceeded",
|
|
18200
|
-
expected: "(__type.
|
|
18550
|
+
expected: "(__type.o73 | undefined)",
|
|
18201
18551
|
value: input.publishSucceeded
|
|
18202
|
-
})].every(flag => flag); const
|
|
18552
|
+
})].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
18203
18553
|
const value = input[key];
|
|
18204
18554
|
if (undefined === value)
|
|
18205
18555
|
return true;
|
|
@@ -18207,8 +18557,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18207
18557
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18208
18558
|
expected: "Array<NotificationReason>",
|
|
18209
18559
|
value: value
|
|
18210
|
-
})) && value.map((elem,
|
|
18211
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
18560
|
+
})) && value.map((elem, _index68) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18561
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index68 + "]",
|
|
18212
18562
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
18213
18563
|
value: elem
|
|
18214
18564
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18216,15 +18566,23 @@ function _validateDomainRecord(domain, input) {
|
|
|
18216
18566
|
expected: "Array<NotificationReason>",
|
|
18217
18567
|
value: value
|
|
18218
18568
|
});
|
|
18219
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
18569
|
+
}).every(flag => flag)].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.create || ("object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) || _report(_exceptionable, {
|
|
18570
|
+
path: _path + ".create",
|
|
18571
|
+
expected: "(__type.o75 | undefined)",
|
|
18572
|
+
value: input.create
|
|
18573
|
+
})) && _vo82(input.create, _path + ".create", true && _exceptionable) || _report(_exceptionable, {
|
|
18574
|
+
path: _path + ".create",
|
|
18575
|
+
expected: "(__type.o75 | undefined)",
|
|
18576
|
+
value: input.create
|
|
18577
|
+
}), undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
18220
18578
|
path: _path + ".duplicate",
|
|
18221
|
-
expected: "(__type.
|
|
18579
|
+
expected: "(__type.o76 | undefined)",
|
|
18222
18580
|
value: input.duplicate
|
|
18223
|
-
})) &&
|
|
18581
|
+
})) && _vo83(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
18224
18582
|
path: _path + ".duplicate",
|
|
18225
|
-
expected: "(__type.
|
|
18583
|
+
expected: "(__type.o76 | undefined)",
|
|
18226
18584
|
value: input.duplicate
|
|
18227
|
-
})].every(flag => flag); const
|
|
18585
|
+
})].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
18228
18586
|
path: _path + ".titlePrefix",
|
|
18229
18587
|
expected: "(string | undefined)",
|
|
18230
18588
|
value: input.titlePrefix
|
|
@@ -18232,12 +18590,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
18232
18590
|
path: _path + ".titleSuffix",
|
|
18233
18591
|
expected: "(string | undefined)",
|
|
18234
18592
|
value: input.titleSuffix
|
|
18235
|
-
})].every(flag => flag); const
|
|
18593
|
+
})].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
18594
|
+
path: _path + ".titlePrefix",
|
|
18595
|
+
expected: "(string | undefined)",
|
|
18596
|
+
value: input.titlePrefix
|
|
18597
|
+
}), undefined === input.titleSuffix || "string" === typeof input.titleSuffix || _report(_exceptionable, {
|
|
18598
|
+
path: _path + ".titleSuffix",
|
|
18599
|
+
expected: "(string | undefined)",
|
|
18600
|
+
value: input.titleSuffix
|
|
18601
|
+
})].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
18236
18602
|
path: _path + ".stateFilter",
|
|
18237
18603
|
expected: "(Array<number> | undefined)",
|
|
18238
18604
|
value: input.stateFilter
|
|
18239
|
-
})) && input.stateFilter.map((elem,
|
|
18240
|
-
path: _path + ".stateFilter[" +
|
|
18605
|
+
})) && input.stateFilter.map((elem, _index69) => "number" === typeof elem || _report(_exceptionable, {
|
|
18606
|
+
path: _path + ".stateFilter[" + _index69 + "]",
|
|
18241
18607
|
expected: "number",
|
|
18242
18608
|
value: elem
|
|
18243
18609
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18264,14 +18630,30 @@ function _validateDomainRecord(domain, input) {
|
|
|
18264
18630
|
path: _path + ".parseRegex",
|
|
18265
18631
|
expected: "(boolean | undefined)",
|
|
18266
18632
|
value: input.parseRegex
|
|
18267
|
-
})].every(flag => flag); const
|
|
18633
|
+
})].every(flag => flag); const _vo85 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
18268
18634
|
path: _path + ".disableHotArea",
|
|
18269
18635
|
expected: "(boolean | undefined)",
|
|
18270
18636
|
value: input.disableHotArea
|
|
18271
|
-
})].every(flag => flag); const
|
|
18637
|
+
})].every(flag => flag); const _vo86 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
18272
18638
|
path: _path + ".refreshInterval",
|
|
18273
18639
|
expected: "(number | undefined)",
|
|
18274
18640
|
value: input.refreshInterval
|
|
18641
|
+
})].every(flag => flag); const _vo87 = (input, _path, _exceptionable = true) => [undefined === input.layout || "string" === typeof input.layout || _report(_exceptionable, {
|
|
18642
|
+
path: _path + ".layout",
|
|
18643
|
+
expected: "(string | undefined)",
|
|
18644
|
+
value: input.layout
|
|
18645
|
+
})].every(flag => flag); const _vo88 = (input, _path, _exceptionable = true) => [undefined === input.ignoredMessages || (Array.isArray(input.ignoredMessages) || _report(_exceptionable, {
|
|
18646
|
+
path: _path + ".ignoredMessages",
|
|
18647
|
+
expected: "(Array<string> | undefined)",
|
|
18648
|
+
value: input.ignoredMessages
|
|
18649
|
+
})) && input.ignoredMessages.map((elem, _index70) => "string" === typeof elem || _report(_exceptionable, {
|
|
18650
|
+
path: _path + ".ignoredMessages[" + _index70 + "]",
|
|
18651
|
+
expected: "string",
|
|
18652
|
+
value: elem
|
|
18653
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
18654
|
+
path: _path + ".ignoredMessages",
|
|
18655
|
+
expected: "(Array<string> | undefined)",
|
|
18656
|
+
value: input.ignoredMessages
|
|
18275
18657
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
18276
18658
|
if (false === __is(input)) {
|
|
18277
18659
|
errors = [];
|
|
@@ -18358,7 +18740,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18358
18740
|
}; })()(input);
|
|
18359
18741
|
}
|
|
18360
18742
|
case ":shotbox": {
|
|
18361
|
-
return (() => { const _io0 = input => undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups) && (undefined === input.layout || Array.isArray(input.layout) && input.layout.every(elem => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.sticky || "boolean" === typeof input.sticky) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows); const _io3 = input => "boolean" === typeof input.completed; const _io4 = input => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source); const _iu0 = input => (() => {
|
|
18743
|
+
return (() => { const _io0 = input => undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups) && (undefined === input.excludeFromInferredGroups || Array.isArray(input.excludeFromInferredGroups) && input.excludeFromInferredGroups.every(elem => "string" === typeof elem)) && (undefined === input.layout || Array.isArray(input.layout) && input.layout.every(elem => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.sticky || "boolean" === typeof input.sticky) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows); const _io3 = input => "boolean" === typeof input.completed; const _io4 = input => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source); const _iu0 = input => (() => {
|
|
18362
18744
|
if ("stream" === input.type)
|
|
18363
18745
|
return _io4(input);
|
|
18364
18746
|
else
|
|
@@ -18367,12 +18749,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
18367
18749
|
path: _path + ".pages",
|
|
18368
18750
|
expected: "(Array<ShotboxPage> | undefined)",
|
|
18369
18751
|
value: input.pages
|
|
18370
|
-
})) && input.pages.map((elem,
|
|
18371
|
-
path: _path + ".pages[" +
|
|
18752
|
+
})) && input.pages.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18753
|
+
path: _path + ".pages[" + _index7 + "]",
|
|
18372
18754
|
expected: "ShotboxPage",
|
|
18373
18755
|
value: elem
|
|
18374
|
-
})) && _vo1(elem, _path + ".pages[" +
|
|
18375
|
-
path: _path + ".pages[" +
|
|
18756
|
+
})) && _vo1(elem, _path + ".pages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18757
|
+
path: _path + ".pages[" + _index7 + "]",
|
|
18376
18758
|
expected: "ShotboxPage",
|
|
18377
18759
|
value: elem
|
|
18378
18760
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18387,32 +18769,44 @@ function _validateDomainRecord(domain, input) {
|
|
|
18387
18769
|
path: _path + ".inferGroups",
|
|
18388
18770
|
expected: "(boolean | undefined)",
|
|
18389
18771
|
value: input.inferGroups
|
|
18772
|
+
}), undefined === input.excludeFromInferredGroups || (Array.isArray(input.excludeFromInferredGroups) || _report(_exceptionable, {
|
|
18773
|
+
path: _path + ".excludeFromInferredGroups",
|
|
18774
|
+
expected: "(Array<string> | undefined)",
|
|
18775
|
+
value: input.excludeFromInferredGroups
|
|
18776
|
+
})) && input.excludeFromInferredGroups.map((elem, _index8) => "string" === typeof elem || _report(_exceptionable, {
|
|
18777
|
+
path: _path + ".excludeFromInferredGroups[" + _index8 + "]",
|
|
18778
|
+
expected: "string",
|
|
18779
|
+
value: elem
|
|
18780
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
18781
|
+
path: _path + ".excludeFromInferredGroups",
|
|
18782
|
+
expected: "(Array<string> | undefined)",
|
|
18783
|
+
value: input.excludeFromInferredGroups
|
|
18390
18784
|
}), undefined === input.layout || (Array.isArray(input.layout) || _report(_exceptionable, {
|
|
18391
18785
|
path: _path + ".layout",
|
|
18392
18786
|
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
18393
18787
|
value: input.layout
|
|
18394
|
-
})) && input.layout.map((elem,
|
|
18395
|
-
path: _path + ".layout[" +
|
|
18788
|
+
})) && input.layout.map((elem, _index9) => (null !== elem || _report(_exceptionable, {
|
|
18789
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
18396
18790
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18397
18791
|
value: elem
|
|
18398
18792
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
18399
|
-
path: _path + ".layout[" +
|
|
18793
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
18400
18794
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18401
18795
|
value: elem
|
|
18402
|
-
})) && (Array.isArray(elem) && elem.map((elem,
|
|
18403
|
-
path: _path + ".layout[" +
|
|
18796
|
+
})) && (Array.isArray(elem) && elem.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
18797
|
+
path: _path + ".layout[" + _index9 + "][" + _index10 + "]",
|
|
18404
18798
|
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18405
18799
|
value: elem
|
|
18406
|
-
})) && _vu0(elem, _path + ".layout[" +
|
|
18407
|
-
path: _path + ".layout[" +
|
|
18800
|
+
})) && _vu0(elem, _path + ".layout[" + _index9 + "][" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18801
|
+
path: _path + ".layout[" + _index9 + "][" + _index10 + "]",
|
|
18408
18802
|
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18409
18803
|
value: elem
|
|
18410
|
-
})).every(flag => flag) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vu0(elem, _path + ".layout[" +
|
|
18411
|
-
path: _path + ".layout[" +
|
|
18804
|
+
})).every(flag => flag) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vu0(elem, _path + ".layout[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
18805
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
18412
18806
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18413
18807
|
value: elem
|
|
18414
18808
|
}) || _report(_exceptionable, {
|
|
18415
|
-
path: _path + ".layout[" +
|
|
18809
|
+
path: _path + ".layout[" + _index9 + "]",
|
|
18416
18810
|
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18417
18811
|
value: elem
|
|
18418
18812
|
}))).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18443,8 +18837,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18443
18837
|
path: _path + ".include",
|
|
18444
18838
|
expected: "(Array<string> | undefined)",
|
|
18445
18839
|
value: input.include
|
|
18446
|
-
})) && input.include.map((elem,
|
|
18447
|
-
path: _path + ".include[" +
|
|
18840
|
+
})) && input.include.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
|
|
18841
|
+
path: _path + ".include[" + _index11 + "]",
|
|
18448
18842
|
expected: "string",
|
|
18449
18843
|
value: elem
|
|
18450
18844
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18455,8 +18849,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
18455
18849
|
path: _path + ".exclude",
|
|
18456
18850
|
expected: "(Array<string> | undefined)",
|
|
18457
18851
|
value: input.exclude
|
|
18458
|
-
})) && input.exclude.map((elem,
|
|
18459
|
-
path: _path + ".exclude[" +
|
|
18852
|
+
})) && input.exclude.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
18853
|
+
path: _path + ".exclude[" + _index12 + "]",
|
|
18460
18854
|
expected: "string",
|
|
18461
18855
|
value: elem
|
|
18462
18856
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -18704,7 +19098,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18704
19098
|
}; })()(input);
|
|
18705
19099
|
}
|
|
18706
19100
|
case ":subtitle-style": {
|
|
18707
|
-
return (() => { const _io0 = input => (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && _io1(input.previewSettings)) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io1 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
19101
|
+
return (() => { const _io0 = input => (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.previewSettings || "object" === typeof input.previewSettings && null !== input.previewSettings && false === Array.isArray(input.previewSettings) && _io1(input.previewSettings)) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io1 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow || _report(_exceptionable, {
|
|
18708
19102
|
path: _path + ".scaledBorderAndShadow",
|
|
18709
19103
|
expected: "(boolean | undefined)",
|
|
18710
19104
|
value: input.scaledBorderAndShadow
|
|
@@ -18776,6 +19170,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
18776
19170
|
path: _path + ".spacing",
|
|
18777
19171
|
expected: "(string | undefined)",
|
|
18778
19172
|
value: input.spacing
|
|
19173
|
+
}), undefined === input.lineSpacing || "string" === typeof input.lineSpacing || _report(_exceptionable, {
|
|
19174
|
+
path: _path + ".lineSpacing",
|
|
19175
|
+
expected: "(string | undefined)",
|
|
19176
|
+
value: input.lineSpacing
|
|
18779
19177
|
}), undefined === input.angle || "string" === typeof input.angle || _report(_exceptionable, {
|
|
18780
19178
|
path: _path + ".angle",
|
|
18781
19179
|
expected: "(string | undefined)",
|