@nxtedition/types 23.0.63 → 23.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/settings.d.ts +4 -0
- package/dist/nxtpression.d.ts +24 -10
- package/dist/records/domains/media.d.ts +6 -0
- package/dist/records/domains/publish/facebook.d.ts +1 -2
- package/dist/records/exact/media.d.ts +2 -0
- package/dist/records/exact/monitor.d.ts +9 -8
- package/dist/records/validate/assert-guard.js +291 -255
- package/dist/records/validate/assert.js +292 -255
- package/dist/records/validate/is.js +19 -18
- package/dist/records/validate/schemas.d.ts +6 -9
- package/dist/records/validate/schemas.js +918 -578
- package/dist/records/validate/stringify.js +32 -31
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +374 -332
- package/dist/records/validate/validate.js +290 -246
- package/package.json +2 -2
|
@@ -2356,8 +2356,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2356
2356
|
if (undefined === value)
|
|
2357
2357
|
return true;
|
|
2358
2358
|
return false;
|
|
2359
|
-
})); const _io3 = (input, _exceptionable = true) => "string" === typeof input.msg && "number" === typeof input.level && (
|
|
2360
|
-
if (["msg", "level"].some(prop => key === prop))
|
|
2359
|
+
})); const _io3 = (input, _exceptionable = true) => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.ignored || "boolean" === typeof input.ignored) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2360
|
+
if (["id", "msg", "level", "ignored"].some(prop => key === prop))
|
|
2361
2361
|
return true;
|
|
2362
2362
|
const value = input[key];
|
|
2363
2363
|
if (undefined === value)
|
|
@@ -2368,27 +2368,20 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2368
2368
|
if (undefined === value)
|
|
2369
2369
|
return true;
|
|
2370
2370
|
return "object" === typeof value && null !== value && _io5(value, true && _exceptionable);
|
|
2371
|
-
}); const _io5 = (input, _exceptionable = true) => (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, _index3) => "object" === typeof elem && null !== elem && _io6(elem, true && _exceptionable))) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every((elem, _index4) => "object" === typeof elem && null !== elem && _io3(elem, true && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2372
|
-
if (["image", "running", "mode", "total", "tasks", "level", "status", "messages"].some(prop => key === prop))
|
|
2371
|
+
}); const _io5 = (input, _exceptionable = true) => (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, _index3) => "object" === typeof elem && null !== elem && _io6(elem, true && _exceptionable))) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every((elem, _index4) => "object" === typeof elem && null !== elem && _io3(elem, true && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2372
|
+
if (["image", "running", "mode", "total", "ignored", "tasks", "level", "status", "messages"].some(prop => key === prop))
|
|
2373
2373
|
return true;
|
|
2374
2374
|
const value = input[key];
|
|
2375
2375
|
if (undefined === value)
|
|
2376
2376
|
return true;
|
|
2377
2377
|
return false;
|
|
2378
|
-
})); const _io6 = (input, _exceptionable = true) => "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, _index5) => "object" === typeof elem && null !== elem &&
|
|
2378
|
+
})); const _io6 = (input, _exceptionable = true) => "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, _index5) => "object" === typeof elem && null !== elem && _io3(elem, true && _exceptionable))) && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2379
2379
|
if (["id", "node", "container", "level", "status", "messages"].some(prop => key === prop))
|
|
2380
2380
|
return true;
|
|
2381
2381
|
const value = input[key];
|
|
2382
2382
|
if (undefined === value)
|
|
2383
2383
|
return true;
|
|
2384
2384
|
return false;
|
|
2385
|
-
})); const _io7 = (input, _exceptionable = true) => "string" === typeof input.msg && "number" === typeof input.level && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2386
|
-
if (["msg", "level"].some(prop => key === prop))
|
|
2387
|
-
return true;
|
|
2388
|
-
const value = input[key];
|
|
2389
|
-
if (undefined === value)
|
|
2390
|
-
return true;
|
|
2391
|
-
return false;
|
|
2392
2385
|
})); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) || _report(_exceptionable, {
|
|
2393
2386
|
path: _path + ".nodes",
|
|
2394
2387
|
expected: "__type",
|
|
@@ -2399,11 +2392,11 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2399
2392
|
value: input.nodes
|
|
2400
2393
|
}), ("object" === typeof input.services && null !== input.services && false === Array.isArray(input.services) || _report(_exceptionable, {
|
|
2401
2394
|
path: _path + ".services",
|
|
2402
|
-
expected: "__type.
|
|
2395
|
+
expected: "__type.o1",
|
|
2403
2396
|
value: input.services
|
|
2404
2397
|
})) && _vo4(input.services, _path + ".services", true && _exceptionable) || _report(_exceptionable, {
|
|
2405
2398
|
path: _path + ".services",
|
|
2406
|
-
expected: "__type.
|
|
2399
|
+
expected: "__type.o1",
|
|
2407
2400
|
value: input.services
|
|
2408
2401
|
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
2409
2402
|
path: _path + ".level",
|
|
@@ -2484,19 +2477,19 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2484
2477
|
value: input.status
|
|
2485
2478
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
2486
2479
|
path: _path + ".messages",
|
|
2487
|
-
expected: "Array<
|
|
2480
|
+
expected: "Array<NxtStatusMessage>",
|
|
2488
2481
|
value: input.messages
|
|
2489
2482
|
})) && input.messages.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2490
2483
|
path: _path + ".messages[" + _index7 + "]",
|
|
2491
|
-
expected: "
|
|
2484
|
+
expected: "NxtStatusMessage",
|
|
2492
2485
|
value: elem
|
|
2493
2486
|
})) && _vo3(elem, _path + ".messages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2494
2487
|
path: _path + ".messages[" + _index7 + "]",
|
|
2495
|
-
expected: "
|
|
2488
|
+
expected: "NxtStatusMessage",
|
|
2496
2489
|
value: elem
|
|
2497
2490
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
2498
2491
|
path: _path + ".messages",
|
|
2499
|
-
expected: "Array<
|
|
2492
|
+
expected: "Array<NxtStatusMessage>",
|
|
2500
2493
|
value: input.messages
|
|
2501
2494
|
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2502
2495
|
if (["state", "role", "leader", "availability", "classes", "address", "level", "status", "messages"].some(prop => key === prop))
|
|
@@ -2514,7 +2507,11 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2514
2507
|
"Please remove the property next time."
|
|
2515
2508
|
].join("\n")
|
|
2516
2509
|
});
|
|
2517
|
-
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.
|
|
2510
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
2511
|
+
path: _path + ".id",
|
|
2512
|
+
expected: "string",
|
|
2513
|
+
value: input.id
|
|
2514
|
+
}), "string" === typeof input.msg || _report(_exceptionable, {
|
|
2518
2515
|
path: _path + ".msg",
|
|
2519
2516
|
expected: "string",
|
|
2520
2517
|
value: input.msg
|
|
@@ -2522,8 +2519,12 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2522
2519
|
path: _path + ".level",
|
|
2523
2520
|
expected: "number",
|
|
2524
2521
|
value: input.level
|
|
2525
|
-
}),
|
|
2526
|
-
|
|
2522
|
+
}), undefined === input.ignored || "boolean" === typeof input.ignored || _report(_exceptionable, {
|
|
2523
|
+
path: _path + ".ignored",
|
|
2524
|
+
expected: "(boolean | undefined)",
|
|
2525
|
+
value: input.ignored
|
|
2526
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2527
|
+
if (["id", "msg", "level", "ignored"].some(prop => key === prop))
|
|
2527
2528
|
return true;
|
|
2528
2529
|
const value = input[key];
|
|
2529
2530
|
if (undefined === value)
|
|
@@ -2567,21 +2568,25 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2567
2568
|
path: _path + ".total",
|
|
2568
2569
|
expected: "(number | undefined)",
|
|
2569
2570
|
value: input.total
|
|
2571
|
+
}), undefined === input.ignored || "boolean" === typeof input.ignored || _report(_exceptionable, {
|
|
2572
|
+
path: _path + ".ignored",
|
|
2573
|
+
expected: "(boolean | undefined)",
|
|
2574
|
+
value: input.ignored
|
|
2570
2575
|
}), undefined === input.tasks || (Array.isArray(input.tasks) || _report(_exceptionable, {
|
|
2571
2576
|
path: _path + ".tasks",
|
|
2572
|
-
expected: "(Array<__type
|
|
2577
|
+
expected: "(Array<__type> | undefined)",
|
|
2573
2578
|
value: input.tasks
|
|
2574
2579
|
})) && input.tasks.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2575
2580
|
path: _path + ".tasks[" + _index8 + "]",
|
|
2576
|
-
expected: "__type.
|
|
2581
|
+
expected: "__type.o2",
|
|
2577
2582
|
value: elem
|
|
2578
2583
|
})) && _vo6(elem, _path + ".tasks[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2579
2584
|
path: _path + ".tasks[" + _index8 + "]",
|
|
2580
|
-
expected: "__type.
|
|
2585
|
+
expected: "__type.o2",
|
|
2581
2586
|
value: elem
|
|
2582
2587
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
2583
2588
|
path: _path + ".tasks",
|
|
2584
|
-
expected: "(Array<__type
|
|
2589
|
+
expected: "(Array<__type> | undefined)",
|
|
2585
2590
|
value: input.tasks
|
|
2586
2591
|
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
2587
2592
|
path: _path + ".level",
|
|
@@ -2593,22 +2598,22 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2593
2598
|
value: input.status
|
|
2594
2599
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
2595
2600
|
path: _path + ".messages",
|
|
2596
|
-
expected: "Array<
|
|
2601
|
+
expected: "Array<NxtStatusMessage>",
|
|
2597
2602
|
value: input.messages
|
|
2598
2603
|
})) && input.messages.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2599
2604
|
path: _path + ".messages[" + _index9 + "]",
|
|
2600
|
-
expected: "
|
|
2605
|
+
expected: "NxtStatusMessage",
|
|
2601
2606
|
value: elem
|
|
2602
2607
|
})) && _vo3(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2603
2608
|
path: _path + ".messages[" + _index9 + "]",
|
|
2604
|
-
expected: "
|
|
2609
|
+
expected: "NxtStatusMessage",
|
|
2605
2610
|
value: elem
|
|
2606
2611
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
2607
2612
|
path: _path + ".messages",
|
|
2608
|
-
expected: "Array<
|
|
2613
|
+
expected: "Array<NxtStatusMessage>",
|
|
2609
2614
|
value: input.messages
|
|
2610
2615
|
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2611
|
-
if (["image", "running", "mode", "total", "tasks", "level", "status", "messages"].some(prop => key === prop))
|
|
2616
|
+
if (["image", "running", "mode", "total", "ignored", "tasks", "level", "status", "messages"].some(prop => key === prop))
|
|
2612
2617
|
return true;
|
|
2613
2618
|
const value = input[key];
|
|
2614
2619
|
if (undefined === value)
|
|
@@ -2645,19 +2650,19 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2645
2650
|
value: input.status
|
|
2646
2651
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
2647
2652
|
path: _path + ".messages",
|
|
2648
|
-
expected: "Array<
|
|
2653
|
+
expected: "Array<NxtStatusMessage>",
|
|
2649
2654
|
value: input.messages
|
|
2650
2655
|
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2651
2656
|
path: _path + ".messages[" + _index10 + "]",
|
|
2652
|
-
expected: "
|
|
2657
|
+
expected: "NxtStatusMessage",
|
|
2653
2658
|
value: elem
|
|
2654
|
-
})) &&
|
|
2659
|
+
})) && _vo3(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2655
2660
|
path: _path + ".messages[" + _index10 + "]",
|
|
2656
|
-
expected: "
|
|
2661
|
+
expected: "NxtStatusMessage",
|
|
2657
2662
|
value: elem
|
|
2658
2663
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
2659
2664
|
path: _path + ".messages",
|
|
2660
|
-
expected: "Array<
|
|
2665
|
+
expected: "Array<NxtStatusMessage>",
|
|
2661
2666
|
value: input.messages
|
|
2662
2667
|
}), 4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2663
2668
|
if (["id", "node", "container", "level", "status", "messages"].some(prop => key === prop))
|
|
@@ -2675,30 +2680,6 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2675
2680
|
"Please remove the property next time."
|
|
2676
2681
|
].join("\n")
|
|
2677
2682
|
});
|
|
2678
|
-
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.msg || _report(_exceptionable, {
|
|
2679
|
-
path: _path + ".msg",
|
|
2680
|
-
expected: "string",
|
|
2681
|
-
value: input.msg
|
|
2682
|
-
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
2683
|
-
path: _path + ".level",
|
|
2684
|
-
expected: "number",
|
|
2685
|
-
value: input.level
|
|
2686
|
-
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2687
|
-
if (["msg", "level"].some(prop => key === prop))
|
|
2688
|
-
return true;
|
|
2689
|
-
const value = input[key];
|
|
2690
|
-
if (undefined === value)
|
|
2691
|
-
return true;
|
|
2692
|
-
return _report(_exceptionable, {
|
|
2693
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2694
|
-
expected: "undefined",
|
|
2695
|
-
value: value,
|
|
2696
|
-
description: [
|
|
2697
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
2698
|
-
"",
|
|
2699
|
-
"Please remove the property next time."
|
|
2700
|
-
].join("\n")
|
|
2701
|
-
});
|
|
2702
2683
|
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return input => {
|
|
2703
2684
|
if (false === __is(input)) {
|
|
2704
2685
|
errors = [];
|
|
@@ -2729,8 +2710,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2729
2710
|
}; })()(input);
|
|
2730
2711
|
}
|
|
2731
2712
|
case "media.subtitles": {
|
|
2732
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages, true && _exceptionable)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every((elem, _index1) => "object" === typeof elem && null !== elem && _io2(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2733
|
-
if (["languages", "fontFaces"].some(prop => key === prop))
|
|
2713
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage) && (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages, true && _exceptionable)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every((elem, _index1) => "object" === typeof elem && null !== elem && _io2(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2714
|
+
if (["defaultLanguage", "languages", "fontFaces"].some(prop => key === prop))
|
|
2734
2715
|
return true;
|
|
2735
2716
|
const value = input[key];
|
|
2736
2717
|
if (undefined === value)
|
|
@@ -2748,7 +2729,11 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2748
2729
|
if (undefined === value)
|
|
2749
2730
|
return true;
|
|
2750
2731
|
return false;
|
|
2751
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
2732
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
|
|
2733
|
+
path: _path + ".defaultLanguage",
|
|
2734
|
+
expected: "(string | undefined)",
|
|
2735
|
+
value: input.defaultLanguage
|
|
2736
|
+
}), undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
2752
2737
|
path: _path + ".languages",
|
|
2753
2738
|
expected: "(Record<string, string> | undefined)",
|
|
2754
2739
|
value: input.languages
|
|
@@ -2773,7 +2758,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2773
2758
|
expected: "(Array<SubtitleFontFace> | undefined)",
|
|
2774
2759
|
value: input.fontFaces
|
|
2775
2760
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2776
|
-
if (["languages", "fontFaces"].some(prop => key === prop))
|
|
2761
|
+
if (["defaultLanguage", "languages", "fontFaces"].some(prop => key === prop))
|
|
2777
2762
|
return true;
|
|
2778
2763
|
const value = input[key];
|
|
2779
2764
|
if (undefined === value)
|
|
@@ -2859,8 +2844,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2859
2844
|
}; })()(input);
|
|
2860
2845
|
}
|
|
2861
2846
|
case "media.subtitles?": {
|
|
2862
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages, true && _exceptionable)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every((elem, _index1) => "object" === typeof elem && null !== elem && _io2(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2863
|
-
if (["languages", "fontFaces"].some(prop => key === prop))
|
|
2847
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage) && (undefined === input.languages || "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages, true && _exceptionable)) && (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every((elem, _index1) => "object" === typeof elem && null !== elem && _io2(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2848
|
+
if (["defaultLanguage", "languages", "fontFaces"].some(prop => key === prop))
|
|
2864
2849
|
return true;
|
|
2865
2850
|
const value = input[key];
|
|
2866
2851
|
if (undefined === value)
|
|
@@ -2878,7 +2863,11 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2878
2863
|
if (undefined === value)
|
|
2879
2864
|
return true;
|
|
2880
2865
|
return false;
|
|
2881
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
2866
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
|
|
2867
|
+
path: _path + ".defaultLanguage",
|
|
2868
|
+
expected: "(string | undefined)",
|
|
2869
|
+
value: input.defaultLanguage
|
|
2870
|
+
}), undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
2882
2871
|
path: _path + ".languages",
|
|
2883
2872
|
expected: "(Record<string, string> | undefined)",
|
|
2884
2873
|
value: input.languages
|
|
@@ -2903,7 +2892,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2903
2892
|
expected: "(Array<SubtitleFontFace> | undefined)",
|
|
2904
2893
|
value: input.fontFaces
|
|
2905
2894
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2906
|
-
if (["languages", "fontFaces"].some(prop => key === prop))
|
|
2895
|
+
if (["defaultLanguage", "languages", "fontFaces"].some(prop => key === prop))
|
|
2907
2896
|
return true;
|
|
2908
2897
|
const value = input[key];
|
|
2909
2898
|
if (undefined === value)
|
|
@@ -16688,6 +16677,67 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16688
16677
|
};
|
|
16689
16678
|
}; })()(input);
|
|
16690
16679
|
}
|
|
16680
|
+
case ":media.consolidate?": {
|
|
16681
|
+
return (() => { const _io0 = (input, _exceptionable = true) => ("completed" === input.status || "error" === input.status || "idle" === input.status || "pending" === input.status || "source_mismatch" === input.status) && (undefined === input.progress || "number" === typeof input.progress) && true && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16682
|
+
if (["status", "progress", "error"].some(prop => key === prop))
|
|
16683
|
+
return true;
|
|
16684
|
+
const value = input[key];
|
|
16685
|
+
if (undefined === value)
|
|
16686
|
+
return true;
|
|
16687
|
+
return false;
|
|
16688
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => ["completed" === input.status || "error" === input.status || "idle" === input.status || "pending" === input.status || "source_mismatch" === input.status || _report(_exceptionable, {
|
|
16689
|
+
path: _path + ".status",
|
|
16690
|
+
expected: "(\"completed\" | \"error\" | \"idle\" | \"pending\" | \"source_mismatch\")",
|
|
16691
|
+
value: input.status
|
|
16692
|
+
}), undefined === input.progress || "number" === typeof input.progress || _report(_exceptionable, {
|
|
16693
|
+
path: _path + ".progress",
|
|
16694
|
+
expected: "(number | undefined)",
|
|
16695
|
+
value: input.progress
|
|
16696
|
+
}), true, 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16697
|
+
if (["status", "progress", "error"].some(prop => key === prop))
|
|
16698
|
+
return true;
|
|
16699
|
+
const value = input[key];
|
|
16700
|
+
if (undefined === value)
|
|
16701
|
+
return true;
|
|
16702
|
+
return _report(_exceptionable, {
|
|
16703
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16704
|
+
expected: "undefined",
|
|
16705
|
+
value: value,
|
|
16706
|
+
description: [
|
|
16707
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
16708
|
+
"",
|
|
16709
|
+
"Please remove the property next time."
|
|
16710
|
+
].join("\n")
|
|
16711
|
+
});
|
|
16712
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return input => {
|
|
16713
|
+
if (false === __is(input)) {
|
|
16714
|
+
errors = [];
|
|
16715
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16716
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
16717
|
+
path: _path + "",
|
|
16718
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
16719
|
+
value: input
|
|
16720
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
16721
|
+
path: _path + "",
|
|
16722
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
16723
|
+
value: input
|
|
16724
|
+
}))(input, "$input", true);
|
|
16725
|
+
const success = 0 === errors.length;
|
|
16726
|
+
return success ? {
|
|
16727
|
+
success,
|
|
16728
|
+
data: input
|
|
16729
|
+
} : {
|
|
16730
|
+
success,
|
|
16731
|
+
errors,
|
|
16732
|
+
data: input
|
|
16733
|
+
};
|
|
16734
|
+
}
|
|
16735
|
+
return {
|
|
16736
|
+
success: true,
|
|
16737
|
+
data: input
|
|
16738
|
+
};
|
|
16739
|
+
}; })()(input);
|
|
16740
|
+
}
|
|
16691
16741
|
case ":media.renders?": {
|
|
16692
16742
|
return (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.children) && input.children.every((elem, _index1) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
16693
16743
|
if (["children"].some(prop => key === prop))
|
|
@@ -21769,223 +21819,216 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21769
21819
|
if (undefined === value)
|
|
21770
21820
|
return true;
|
|
21771
21821
|
return false;
|
|
21772
|
-
})); const _io2 = (input, _exceptionable = true) => (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, _index2) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) &&
|
|
21773
|
-
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
21774
|
-
return true;
|
|
21775
|
-
const value = input[key];
|
|
21776
|
-
if (undefined === value)
|
|
21777
|
-
return true;
|
|
21778
|
-
return false;
|
|
21779
|
-
})); const _io3 = (input, _exceptionable = true) => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io4(input.retrieved, true && _exceptionable)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && _io7(input.defaults, true && _exceptionable)) && (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, _index3) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21822
|
+
})); const _io2 = (input, _exceptionable = true) => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io3(input.retrieved, true && _exceptionable)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && _io6(input.defaults, true && _exceptionable)) && (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, _index2) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21780
21823
|
if (["retrieved", "defaults", "status", "substatus", "messages"].some(prop => key === prop))
|
|
21781
21824
|
return true;
|
|
21782
21825
|
const value = input[key];
|
|
21783
21826
|
if (undefined === value)
|
|
21784
21827
|
return true;
|
|
21785
21828
|
return false;
|
|
21786
|
-
})); const
|
|
21829
|
+
})); const _io3 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21787
21830
|
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
21788
21831
|
return true;
|
|
21789
21832
|
const value = input[key];
|
|
21790
21833
|
if (undefined === value)
|
|
21791
21834
|
return true;
|
|
21792
21835
|
return false;
|
|
21793
|
-
})); const
|
|
21836
|
+
})); const _io4 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
21794
21837
|
const value = input[key];
|
|
21795
21838
|
if (undefined === value)
|
|
21796
21839
|
return true;
|
|
21797
|
-
return "object" === typeof value && null !== value &&
|
|
21798
|
-
}); const
|
|
21840
|
+
return "object" === typeof value && null !== value && _io5(value, true && _exceptionable);
|
|
21841
|
+
}); const _io5 = (input, _exceptionable = true) => "string" === typeof input.path && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21799
21842
|
if (["path", "size", "hash"].some(prop => key === prop))
|
|
21800
21843
|
return true;
|
|
21801
21844
|
const value = input[key];
|
|
21802
21845
|
if (undefined === value)
|
|
21803
21846
|
return true;
|
|
21804
21847
|
return false;
|
|
21805
|
-
})); const
|
|
21848
|
+
})); const _io6 = (input, _exceptionable = true) => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io7(input.renders, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21806
21849
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
21807
21850
|
return true;
|
|
21808
21851
|
const value = input[key];
|
|
21809
21852
|
if (undefined === value)
|
|
21810
21853
|
return true;
|
|
21811
21854
|
return false;
|
|
21812
|
-
})); const
|
|
21855
|
+
})); const _io7 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
21813
21856
|
const value = input[key];
|
|
21814
21857
|
if (undefined === value)
|
|
21815
21858
|
return true;
|
|
21816
21859
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
21817
|
-
}); const
|
|
21860
|
+
}); const _io8 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io17(input.profile, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21818
21861
|
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
21819
21862
|
return true;
|
|
21820
21863
|
const value = input[key];
|
|
21821
21864
|
if (undefined === value)
|
|
21822
21865
|
return true;
|
|
21823
21866
|
return false;
|
|
21824
|
-
})); const
|
|
21867
|
+
})); const _io9 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io14(input.video, true && _exceptionable)) && (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21825
21868
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
21826
21869
|
return true;
|
|
21827
21870
|
const value = input[key];
|
|
21828
21871
|
if (undefined === value)
|
|
21829
21872
|
return true;
|
|
21830
21873
|
return false;
|
|
21831
|
-
})); const
|
|
21874
|
+
})); const _io10 = (input, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21832
21875
|
if (["type", "file"].some(prop => key === prop))
|
|
21833
21876
|
return true;
|
|
21834
21877
|
const value = input[key];
|
|
21835
21878
|
if (undefined === value)
|
|
21836
21879
|
return true;
|
|
21837
21880
|
return false;
|
|
21838
|
-
})); const
|
|
21881
|
+
})); const _io11 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
21839
21882
|
const value = input[key];
|
|
21840
21883
|
if (undefined === value)
|
|
21841
21884
|
return true;
|
|
21842
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
21843
|
-
}); const
|
|
21885
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io12(value, true && _exceptionable);
|
|
21886
|
+
}); const _io12 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21844
21887
|
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
21845
21888
|
return true;
|
|
21846
21889
|
const value = input[key];
|
|
21847
21890
|
if (undefined === value)
|
|
21848
21891
|
return true;
|
|
21849
21892
|
return false;
|
|
21850
|
-
})); const
|
|
21893
|
+
})); const _io13 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21851
21894
|
if (["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"].some(prop => key === prop))
|
|
21852
21895
|
return true;
|
|
21853
21896
|
const value = input[key];
|
|
21854
21897
|
if (undefined === value)
|
|
21855
21898
|
return true;
|
|
21856
21899
|
return false;
|
|
21857
|
-
})); const
|
|
21900
|
+
})); const _io14 = (input, _exceptionable = true) => (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io15(input.crop, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21858
21901
|
if (["crop"].some(prop => key === prop))
|
|
21859
21902
|
return true;
|
|
21860
21903
|
const value = input[key];
|
|
21861
21904
|
if (undefined === value)
|
|
21862
21905
|
return true;
|
|
21863
21906
|
return false;
|
|
21864
|
-
})); const
|
|
21907
|
+
})); const _io15 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21865
21908
|
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
21866
21909
|
return true;
|
|
21867
21910
|
const value = input[key];
|
|
21868
21911
|
if (undefined === value)
|
|
21869
21912
|
return true;
|
|
21870
21913
|
return false;
|
|
21871
|
-
})); const
|
|
21914
|
+
})); const _io16 = (input, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every((elem, _index3) => "number" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21872
21915
|
if (["language", "pan"].some(prop => key === prop))
|
|
21873
21916
|
return true;
|
|
21874
21917
|
const value = input[key];
|
|
21875
21918
|
if (undefined === value)
|
|
21876
21919
|
return true;
|
|
21877
21920
|
return false;
|
|
21878
|
-
})); const
|
|
21921
|
+
})); const _io17 = (input, _exceptionable = true) => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io18(input.transcribe, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io19(input.translate, true && _exceptionable)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io20(input.audio, true && _exceptionable)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every((elem, _index4) => "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, true && _exceptionable))) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21879
21922
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
21880
21923
|
return true;
|
|
21881
21924
|
const value = input[key];
|
|
21882
21925
|
if (undefined === value)
|
|
21883
21926
|
return true;
|
|
21884
21927
|
return false;
|
|
21885
|
-
})); const
|
|
21928
|
+
})); const _io18 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21886
21929
|
if (["engine"].some(prop => key === prop))
|
|
21887
21930
|
return true;
|
|
21888
21931
|
const value = input[key];
|
|
21889
21932
|
if (undefined === value)
|
|
21890
21933
|
return true;
|
|
21891
21934
|
return false;
|
|
21892
|
-
})); const
|
|
21935
|
+
})); const _io19 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21893
21936
|
if (["language"].some(prop => key === prop))
|
|
21894
21937
|
return true;
|
|
21895
21938
|
const value = input[key];
|
|
21896
21939
|
if (undefined === value)
|
|
21897
21940
|
return true;
|
|
21898
21941
|
return false;
|
|
21899
|
-
})); const
|
|
21942
|
+
})); const _io20 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21900
21943
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
21901
21944
|
return true;
|
|
21902
21945
|
const value = input[key];
|
|
21903
21946
|
if (undefined === value)
|
|
21904
21947
|
return true;
|
|
21905
21948
|
return false;
|
|
21906
|
-
})); const
|
|
21949
|
+
})); const _io21 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io23(input.ass, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21907
21950
|
if (["lang", "style", "ccconverter", "ass"].some(prop => key === prop))
|
|
21908
21951
|
return true;
|
|
21909
21952
|
const value = input[key];
|
|
21910
21953
|
if (undefined === value)
|
|
21911
21954
|
return true;
|
|
21912
21955
|
return false;
|
|
21913
|
-
})); const
|
|
21956
|
+
})); const _io22 = (input, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21914
21957
|
if (["preset"].some(prop => key === prop))
|
|
21915
21958
|
return true;
|
|
21916
21959
|
const value = input[key];
|
|
21917
21960
|
if (undefined === value)
|
|
21918
21961
|
return true;
|
|
21919
21962
|
return false;
|
|
21920
|
-
})); const
|
|
21963
|
+
})); const _io23 = (input, _exceptionable = true) => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21921
21964
|
if (["futureWordWrapping", "scaledBorderAndShadow", "enableUnsafeLineSpacingHack"].some(prop => key === prop))
|
|
21922
21965
|
return true;
|
|
21923
21966
|
const value = input[key];
|
|
21924
21967
|
if (undefined === value)
|
|
21925
21968
|
return true;
|
|
21926
21969
|
return false;
|
|
21927
|
-
})); const
|
|
21970
|
+
})); const _io24 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io25(input.__context, true && _exceptionable) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io8(input.__returnValue, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21928
21971
|
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
21929
21972
|
return true;
|
|
21930
21973
|
const value = input[key];
|
|
21931
21974
|
if (undefined === value)
|
|
21932
21975
|
return true;
|
|
21933
21976
|
return false;
|
|
21934
|
-
})); const
|
|
21977
|
+
})); const _io25 = (input, _exceptionable = true) => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io26(input.publish, true && _exceptionable) && "string" === typeof input.directory && "string" === typeof input.name && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21935
21978
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
21936
21979
|
return true;
|
|
21937
21980
|
const value = input[key];
|
|
21938
21981
|
if (undefined === value)
|
|
21939
21982
|
return true;
|
|
21940
21983
|
return false;
|
|
21941
|
-
})); const
|
|
21984
|
+
})); const _io26 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io27(input.draft, true && _exceptionable)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io28(input.remote, true && _exceptionable)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io31(input.published, true && _exceptionable)) && (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, true && _exceptionable)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io33(input.error, true && _exceptionable)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index5) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21942
21985
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
21943
21986
|
return true;
|
|
21944
21987
|
const value = input[key];
|
|
21945
21988
|
if (undefined === value)
|
|
21946
21989
|
return true;
|
|
21947
21990
|
return false;
|
|
21948
|
-
})); const
|
|
21991
|
+
})); const _io27 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21949
21992
|
if (["directory", "filename"].some(prop => key === prop))
|
|
21950
21993
|
return true;
|
|
21951
21994
|
const value = input[key];
|
|
21952
21995
|
if (undefined === value)
|
|
21953
21996
|
return true;
|
|
21954
21997
|
return false;
|
|
21955
|
-
})); const
|
|
21998
|
+
})); const _io28 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21956
21999
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
21957
22000
|
return true;
|
|
21958
22001
|
const value = input[key];
|
|
21959
22002
|
if (undefined === value)
|
|
21960
22003
|
return true;
|
|
21961
22004
|
return false;
|
|
21962
|
-
})); const
|
|
22005
|
+
})); const _io29 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
21963
22006
|
const value = input[key];
|
|
21964
22007
|
if (undefined === value)
|
|
21965
22008
|
return true;
|
|
21966
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
21967
|
-
}); const
|
|
22009
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value, true && _exceptionable);
|
|
22010
|
+
}); const _io30 = (input, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every((elem, _index6) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21968
22011
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
21969
22012
|
return true;
|
|
21970
22013
|
const value = input[key];
|
|
21971
22014
|
if (undefined === value)
|
|
21972
22015
|
return true;
|
|
21973
22016
|
return false;
|
|
21974
|
-
})); const
|
|
22017
|
+
})); const _io31 = (input, _exceptionable = true) => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21975
22018
|
if (["directory", "filename"].some(prop => key === prop))
|
|
21976
22019
|
return true;
|
|
21977
22020
|
const value = input[key];
|
|
21978
22021
|
if (undefined === value)
|
|
21979
22022
|
return true;
|
|
21980
22023
|
return false;
|
|
21981
|
-
})); const
|
|
22024
|
+
})); const _io32 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io17(input.profile, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21982
22025
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
21983
22026
|
return true;
|
|
21984
22027
|
const value = input[key];
|
|
21985
22028
|
if (undefined === value)
|
|
21986
22029
|
return true;
|
|
21987
22030
|
return false;
|
|
21988
|
-
})); const
|
|
22031
|
+
})); const _io33 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21989
22032
|
if (["method"].some(prop => key === prop))
|
|
21990
22033
|
return true;
|
|
21991
22034
|
const value = input[key];
|
|
@@ -21994,14 +22037,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21994
22037
|
return false;
|
|
21995
22038
|
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
21996
22039
|
if (undefined !== input.path)
|
|
21997
|
-
return
|
|
22040
|
+
return _io8(input, true && _exceptionable);
|
|
21998
22041
|
else if (undefined !== input.__context)
|
|
21999
|
-
return
|
|
22042
|
+
return _io24(input, true && _exceptionable);
|
|
22000
22043
|
else
|
|
22001
22044
|
return false;
|
|
22002
22045
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
22003
|
-
if (_io3(input, false && _exceptionable))
|
|
22004
|
-
return _io3(input, true && _exceptionable);
|
|
22005
22046
|
if (_io2(input, false && _exceptionable))
|
|
22006
22047
|
return _io2(input, true && _exceptionable);
|
|
22007
22048
|
if (_io0(input, false && _exceptionable))
|
|
@@ -22019,12 +22060,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22019
22060
|
path: _path + ".messages",
|
|
22020
22061
|
expected: "(Array<Message> | undefined)",
|
|
22021
22062
|
value: input.messages
|
|
22022
|
-
})) && input.messages.map((elem,
|
|
22023
|
-
path: _path + ".messages[" +
|
|
22063
|
+
})) && input.messages.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
22064
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
22024
22065
|
expected: "Message",
|
|
22025
22066
|
value: elem
|
|
22026
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
22027
|
-
path: _path + ".messages[" +
|
|
22067
|
+
})) && _vo1(elem, _path + ".messages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
22068
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
22028
22069
|
expected: "Message",
|
|
22029
22070
|
value: elem
|
|
22030
22071
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22075,51 +22116,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22075
22116
|
"Please remove the property next time."
|
|
22076
22117
|
].join("\n")
|
|
22077
22118
|
});
|
|
22078
|
-
}).every(flag => flag))].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
22079
|
-
path: _path + ".status",
|
|
22080
|
-
expected: "(string | undefined)",
|
|
22081
|
-
value: input.status
|
|
22082
|
-
}), undefined === input.substatus || "string" === typeof input.substatus || _report(_exceptionable, {
|
|
22083
|
-
path: _path + ".substatus",
|
|
22084
|
-
expected: "(string | undefined)",
|
|
22085
|
-
value: input.substatus
|
|
22086
|
-
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
22087
|
-
path: _path + ".messages",
|
|
22088
|
-
expected: "(Array<Message> | undefined)",
|
|
22089
|
-
value: input.messages
|
|
22090
|
-
})) && input.messages.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
22091
|
-
path: _path + ".messages[" + _index9 + "]",
|
|
22092
|
-
expected: "Message",
|
|
22093
|
-
value: elem
|
|
22094
|
-
})) && _vo1(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
22095
|
-
path: _path + ".messages[" + _index9 + "]",
|
|
22096
|
-
expected: "Message",
|
|
22097
|
-
value: elem
|
|
22098
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
22099
|
-
path: _path + ".messages",
|
|
22100
|
-
expected: "(Array<Message> | undefined)",
|
|
22101
|
-
value: input.messages
|
|
22102
|
-
}), true, true, 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
22103
|
-
if (["status", "substatus", "messages", "retrieved", "defaults"].some(prop => key === prop))
|
|
22104
|
-
return true;
|
|
22105
|
-
const value = input[key];
|
|
22106
|
-
if (undefined === value)
|
|
22107
|
-
return true;
|
|
22108
|
-
return _report(_exceptionable, {
|
|
22109
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22110
|
-
expected: "undefined",
|
|
22111
|
-
value: value,
|
|
22112
|
-
description: [
|
|
22113
|
-
`The property \`${key}\` is not defined in the object type.`,
|
|
22114
|
-
"",
|
|
22115
|
-
"Please remove the property next time."
|
|
22116
|
-
].join("\n")
|
|
22117
|
-
});
|
|
22118
|
-
}).every(flag => flag))].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, {
|
|
22119
|
+
}).every(flag => flag))].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, {
|
|
22119
22120
|
path: _path + ".retrieved",
|
|
22120
22121
|
expected: "(FilePublishRetrieved | undefined)",
|
|
22121
22122
|
value: input.retrieved
|
|
22122
|
-
})) &&
|
|
22123
|
+
})) && _vo3(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
22123
22124
|
path: _path + ".retrieved",
|
|
22124
22125
|
expected: "(FilePublishRetrieved | undefined)",
|
|
22125
22126
|
value: input.retrieved
|
|
@@ -22127,7 +22128,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22127
22128
|
path: _path + ".defaults",
|
|
22128
22129
|
expected: "(FilePublishDefaults | undefined)",
|
|
22129
22130
|
value: input.defaults
|
|
22130
|
-
})) &&
|
|
22131
|
+
})) && _vo6(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
22131
22132
|
path: _path + ".defaults",
|
|
22132
22133
|
expected: "(FilePublishDefaults | undefined)",
|
|
22133
22134
|
value: input.defaults
|
|
@@ -22143,12 +22144,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22143
22144
|
path: _path + ".messages",
|
|
22144
22145
|
expected: "(Array<Message> | undefined)",
|
|
22145
22146
|
value: input.messages
|
|
22146
|
-
})) && input.messages.map((elem,
|
|
22147
|
-
path: _path + ".messages[" +
|
|
22147
|
+
})) && input.messages.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
22148
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
22148
22149
|
expected: "Message",
|
|
22149
22150
|
value: elem
|
|
22150
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
22151
|
-
path: _path + ".messages[" +
|
|
22151
|
+
})) && _vo1(elem, _path + ".messages[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
22152
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
22152
22153
|
expected: "Message",
|
|
22153
22154
|
value: elem
|
|
22154
22155
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22171,7 +22172,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22171
22172
|
"Please remove the property next time."
|
|
22172
22173
|
].join("\n")
|
|
22173
22174
|
});
|
|
22174
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22175
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
22175
22176
|
path: _path + ".filename",
|
|
22176
22177
|
expected: "(string | undefined)",
|
|
22177
22178
|
value: input.filename
|
|
@@ -22183,7 +22184,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22183
22184
|
path: _path + ".renders",
|
|
22184
22185
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
22185
22186
|
value: input.renders
|
|
22186
|
-
})) &&
|
|
22187
|
+
})) && _vo4(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
22187
22188
|
path: _path + ".renders",
|
|
22188
22189
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
22189
22190
|
value: input.renders
|
|
@@ -22203,7 +22204,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22203
22204
|
"Please remove the property next time."
|
|
22204
22205
|
].join("\n")
|
|
22205
22206
|
});
|
|
22206
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22207
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
22207
22208
|
const value = input[key];
|
|
22208
22209
|
if (undefined === value)
|
|
22209
22210
|
return true;
|
|
@@ -22211,12 +22212,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22211
22212
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22212
22213
|
expected: "FilePublishRetrievedRender",
|
|
22213
22214
|
value: value
|
|
22214
|
-
})) &&
|
|
22215
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
22215
22216
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22216
22217
|
expected: "FilePublishRetrievedRender",
|
|
22217
22218
|
value: value
|
|
22218
22219
|
});
|
|
22219
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
22220
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
22220
22221
|
path: _path + ".path",
|
|
22221
22222
|
expected: "string",
|
|
22222
22223
|
value: input.path
|
|
@@ -22244,7 +22245,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22244
22245
|
"Please remove the property next time."
|
|
22245
22246
|
].join("\n")
|
|
22246
22247
|
});
|
|
22247
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22248
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.directory || _report(_exceptionable, {
|
|
22248
22249
|
path: _path + ".directory",
|
|
22249
22250
|
expected: "string",
|
|
22250
22251
|
value: input.directory
|
|
@@ -22256,7 +22257,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22256
22257
|
path: _path + ".renders",
|
|
22257
22258
|
expected: "Record<string, FilePublishRender>",
|
|
22258
22259
|
value: input.renders
|
|
22259
|
-
})) &&
|
|
22260
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
22260
22261
|
path: _path + ".renders",
|
|
22261
22262
|
expected: "Record<string, FilePublishRender>",
|
|
22262
22263
|
value: input.renders
|
|
@@ -22276,7 +22277,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22276
22277
|
"Please remove the property next time."
|
|
22277
22278
|
].join("\n")
|
|
22278
22279
|
});
|
|
22279
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22280
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
22280
22281
|
const value = input[key];
|
|
22281
22282
|
if (undefined === value)
|
|
22282
22283
|
return true;
|
|
@@ -22297,7 +22298,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22297
22298
|
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
22298
22299
|
value: value
|
|
22299
22300
|
}));
|
|
22300
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
22301
|
+
}).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
22301
22302
|
path: _path + ".name",
|
|
22302
22303
|
expected: "(string | undefined)",
|
|
22303
22304
|
value: input.name
|
|
@@ -22325,7 +22326,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22325
22326
|
path: _path + ".scene",
|
|
22326
22327
|
expected: "(RenderSceneObject | undefined)",
|
|
22327
22328
|
value: input.scene
|
|
22328
|
-
})) &&
|
|
22329
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
22329
22330
|
path: _path + ".scene",
|
|
22330
22331
|
expected: "(RenderSceneObject | undefined)",
|
|
22331
22332
|
value: input.scene
|
|
@@ -22333,7 +22334,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22333
22334
|
path: _path + ".profile",
|
|
22334
22335
|
expected: "(RenderProfileObject | undefined)",
|
|
22335
22336
|
value: input.profile
|
|
22336
|
-
})) &&
|
|
22337
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
22337
22338
|
path: _path + ".profile",
|
|
22338
22339
|
expected: "(RenderProfileObject | undefined)",
|
|
22339
22340
|
value: input.profile
|
|
@@ -22353,7 +22354,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22353
22354
|
"Please remove the property next time."
|
|
22354
22355
|
].join("\n")
|
|
22355
22356
|
});
|
|
22356
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22357
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
22357
22358
|
path: _path + ".id",
|
|
22358
22359
|
expected: "(string | undefined)",
|
|
22359
22360
|
value: input.id
|
|
@@ -22365,7 +22366,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22365
22366
|
path: _path + ".input",
|
|
22366
22367
|
expected: "(__type | null | undefined)",
|
|
22367
22368
|
value: input.input
|
|
22368
|
-
})) &&
|
|
22369
|
+
})) && _vo10(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
22369
22370
|
path: _path + ".input",
|
|
22370
22371
|
expected: "(__type | null | undefined)",
|
|
22371
22372
|
value: input.input
|
|
@@ -22381,7 +22382,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22381
22382
|
path: _path + ".subtitleTracks",
|
|
22382
22383
|
expected: "(__type.o1 | undefined)",
|
|
22383
22384
|
value: input.subtitleTracks
|
|
22384
|
-
})) &&
|
|
22385
|
+
})) && _vo11(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
22385
22386
|
path: _path + ".subtitleTracks",
|
|
22386
22387
|
expected: "(__type.o1 | undefined)",
|
|
22387
22388
|
value: input.subtitleTracks
|
|
@@ -22389,7 +22390,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22389
22390
|
path: _path + ".video",
|
|
22390
22391
|
expected: "(__type.o3 | undefined)",
|
|
22391
22392
|
value: input.video
|
|
22392
|
-
})) &&
|
|
22393
|
+
})) && _vo14(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
22393
22394
|
path: _path + ".video",
|
|
22394
22395
|
expected: "(__type.o3 | undefined)",
|
|
22395
22396
|
value: input.video
|
|
@@ -22405,7 +22406,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22405
22406
|
path: _path + ".transcribe",
|
|
22406
22407
|
expected: "(__type.o5 | undefined)",
|
|
22407
22408
|
value: input.transcribe
|
|
22408
|
-
})) &&
|
|
22409
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
22409
22410
|
path: _path + ".transcribe",
|
|
22410
22411
|
expected: "(__type.o5 | undefined)",
|
|
22411
22412
|
value: input.transcribe
|
|
@@ -22425,7 +22426,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22425
22426
|
"Please remove the property next time."
|
|
22426
22427
|
].join("\n")
|
|
22427
22428
|
});
|
|
22428
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22429
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
22429
22430
|
path: _path + ".type",
|
|
22430
22431
|
expected: "(string | undefined)",
|
|
22431
22432
|
value: input.type
|
|
@@ -22449,7 +22450,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22449
22450
|
"Please remove the property next time."
|
|
22450
22451
|
].join("\n")
|
|
22451
22452
|
});
|
|
22452
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22453
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
22453
22454
|
const value = input[key];
|
|
22454
22455
|
if (undefined === value)
|
|
22455
22456
|
return true;
|
|
@@ -22457,12 +22458,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22457
22458
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22458
22459
|
expected: "__type.o2",
|
|
22459
22460
|
value: value
|
|
22460
|
-
})) &&
|
|
22461
|
+
})) && _vo12(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
22461
22462
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22462
22463
|
expected: "__type.o2",
|
|
22463
22464
|
value: value
|
|
22464
22465
|
});
|
|
22465
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
22466
|
+
}).every(flag => flag)].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
22466
22467
|
path: _path + ".style",
|
|
22467
22468
|
expected: "(null | string | undefined)",
|
|
22468
22469
|
value: input.style
|
|
@@ -22470,7 +22471,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22470
22471
|
path: _path + ".styleOverrides",
|
|
22471
22472
|
expected: "(SubtitleStyle | undefined)",
|
|
22472
22473
|
value: input.styleOverrides
|
|
22473
|
-
})) &&
|
|
22474
|
+
})) && _vo13(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
22474
22475
|
path: _path + ".styleOverrides",
|
|
22475
22476
|
expected: "(SubtitleStyle | undefined)",
|
|
22476
22477
|
value: input.styleOverrides
|
|
@@ -22490,7 +22491,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22490
22491
|
"Please remove the property next time."
|
|
22491
22492
|
].join("\n")
|
|
22492
22493
|
});
|
|
22493
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22494
|
+
}).every(flag => flag))].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
22494
22495
|
path: _path + ".name",
|
|
22495
22496
|
expected: "(string | undefined)",
|
|
22496
22497
|
value: input.name
|
|
@@ -22602,11 +22603,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22602
22603
|
"Please remove the property next time."
|
|
22603
22604
|
].join("\n")
|
|
22604
22605
|
});
|
|
22605
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22606
|
+
}).every(flag => flag))].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, {
|
|
22606
22607
|
path: _path + ".crop",
|
|
22607
22608
|
expected: "(__type.o4 | undefined)",
|
|
22608
22609
|
value: input.crop
|
|
22609
|
-
})) &&
|
|
22610
|
+
})) && _vo15(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
22610
22611
|
path: _path + ".crop",
|
|
22611
22612
|
expected: "(__type.o4 | undefined)",
|
|
22612
22613
|
value: input.crop
|
|
@@ -22626,7 +22627,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22626
22627
|
"Please remove the property next time."
|
|
22627
22628
|
].join("\n")
|
|
22628
22629
|
});
|
|
22629
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22630
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
22630
22631
|
path: _path + ".x",
|
|
22631
22632
|
expected: "(number | undefined)",
|
|
22632
22633
|
value: input.x
|
|
@@ -22658,7 +22659,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22658
22659
|
"Please remove the property next time."
|
|
22659
22660
|
].join("\n")
|
|
22660
22661
|
});
|
|
22661
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22662
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
22662
22663
|
path: _path + ".language",
|
|
22663
22664
|
expected: "(string | undefined)",
|
|
22664
22665
|
value: input.language
|
|
@@ -22666,8 +22667,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22666
22667
|
path: _path + ".pan",
|
|
22667
22668
|
expected: "(Array<number> | undefined)",
|
|
22668
22669
|
value: input.pan
|
|
22669
|
-
})) && input.pan.map((elem,
|
|
22670
|
-
path: _path + ".pan[" +
|
|
22670
|
+
})) && input.pan.map((elem, _index9) => "number" === typeof elem || _report(_exceptionable, {
|
|
22671
|
+
path: _path + ".pan[" + _index9 + "]",
|
|
22671
22672
|
expected: "number",
|
|
22672
22673
|
value: elem
|
|
22673
22674
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22690,7 +22691,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22690
22691
|
"Please remove the property next time."
|
|
22691
22692
|
].join("\n")
|
|
22692
22693
|
});
|
|
22693
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22694
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
22694
22695
|
path: _path + ".format",
|
|
22695
22696
|
expected: "string",
|
|
22696
22697
|
value: input.format
|
|
@@ -22698,7 +22699,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22698
22699
|
path: _path + ".transcribe",
|
|
22699
22700
|
expected: "(__type.o6 | undefined)",
|
|
22700
22701
|
value: input.transcribe
|
|
22701
|
-
})) &&
|
|
22702
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
22702
22703
|
path: _path + ".transcribe",
|
|
22703
22704
|
expected: "(__type.o6 | undefined)",
|
|
22704
22705
|
value: input.transcribe
|
|
@@ -22706,7 +22707,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22706
22707
|
path: _path + ".translate",
|
|
22707
22708
|
expected: "(__type.o7 | undefined)",
|
|
22708
22709
|
value: input.translate
|
|
22709
|
-
})) &&
|
|
22710
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
22710
22711
|
path: _path + ".translate",
|
|
22711
22712
|
expected: "(__type.o7 | undefined)",
|
|
22712
22713
|
value: input.translate
|
|
@@ -22714,7 +22715,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22714
22715
|
path: _path + ".audio",
|
|
22715
22716
|
expected: "(__type.o8 | undefined)",
|
|
22716
22717
|
value: input.audio
|
|
22717
|
-
})) &&
|
|
22718
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
22718
22719
|
path: _path + ".audio",
|
|
22719
22720
|
expected: "(__type.o8 | undefined)",
|
|
22720
22721
|
value: input.audio
|
|
@@ -22722,8 +22723,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22722
22723
|
path: _path + ".pick",
|
|
22723
22724
|
expected: "(Array<string> | undefined)",
|
|
22724
22725
|
value: input.pick
|
|
22725
|
-
})) && input.pick.map((elem,
|
|
22726
|
-
path: _path + ".pick[" +
|
|
22726
|
+
})) && input.pick.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
22727
|
+
path: _path + ".pick[" + _index10 + "]",
|
|
22727
22728
|
expected: "string",
|
|
22728
22729
|
value: elem
|
|
22729
22730
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22738,7 +22739,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22738
22739
|
path: _path + ".subtitle",
|
|
22739
22740
|
expected: "(SubtitleProfile | string | undefined)",
|
|
22740
22741
|
value: input.subtitle
|
|
22741
|
-
})) &&
|
|
22742
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
22742
22743
|
path: _path + ".subtitle",
|
|
22743
22744
|
expected: "(SubtitleProfile | string | undefined)",
|
|
22744
22745
|
value: input.subtitle
|
|
@@ -22758,7 +22759,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22758
22759
|
"Please remove the property next time."
|
|
22759
22760
|
].join("\n")
|
|
22760
22761
|
});
|
|
22761
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22762
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
22762
22763
|
path: _path + ".engine",
|
|
22763
22764
|
expected: "string",
|
|
22764
22765
|
value: input.engine
|
|
@@ -22778,7 +22779,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22778
22779
|
"Please remove the property next time."
|
|
22779
22780
|
].join("\n")
|
|
22780
22781
|
});
|
|
22781
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22782
|
+
}).every(flag => flag))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
22782
22783
|
path: _path + ".language",
|
|
22783
22784
|
expected: "string",
|
|
22784
22785
|
value: input.language
|
|
@@ -22798,7 +22799,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22798
22799
|
"Please remove the property next time."
|
|
22799
22800
|
].join("\n")
|
|
22800
22801
|
});
|
|
22801
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22802
|
+
}).every(flag => flag))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
22802
22803
|
path: _path + ".codec",
|
|
22803
22804
|
expected: "(string | undefined)",
|
|
22804
22805
|
value: input.codec
|
|
@@ -22830,7 +22831,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22830
22831
|
"Please remove the property next time."
|
|
22831
22832
|
].join("\n")
|
|
22832
22833
|
});
|
|
22833
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22834
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
22834
22835
|
path: _path + ".lang",
|
|
22835
22836
|
expected: "(string | undefined)",
|
|
22836
22837
|
value: input.lang
|
|
@@ -22842,7 +22843,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22842
22843
|
path: _path + ".ccconverter",
|
|
22843
22844
|
expected: "(__type.o9 | undefined)",
|
|
22844
22845
|
value: input.ccconverter
|
|
22845
|
-
})) &&
|
|
22846
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
22846
22847
|
path: _path + ".ccconverter",
|
|
22847
22848
|
expected: "(__type.o9 | undefined)",
|
|
22848
22849
|
value: input.ccconverter
|
|
@@ -22850,7 +22851,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22850
22851
|
path: _path + ".ass",
|
|
22851
22852
|
expected: "(__type.o10 | undefined)",
|
|
22852
22853
|
value: input.ass
|
|
22853
|
-
})) &&
|
|
22854
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
22854
22855
|
path: _path + ".ass",
|
|
22855
22856
|
expected: "(__type.o10 | undefined)",
|
|
22856
22857
|
value: input.ass
|
|
@@ -22870,7 +22871,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22870
22871
|
"Please remove the property next time."
|
|
22871
22872
|
].join("\n")
|
|
22872
22873
|
});
|
|
22873
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22874
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
22874
22875
|
path: _path + ".preset",
|
|
22875
22876
|
expected: "(string | undefined)",
|
|
22876
22877
|
value: input.preset
|
|
@@ -22890,7 +22891,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22890
22891
|
"Please remove the property next time."
|
|
22891
22892
|
].join("\n")
|
|
22892
22893
|
});
|
|
22893
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22894
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
22894
22895
|
path: _path + ".futureWordWrapping",
|
|
22895
22896
|
expected: "(boolean | undefined)",
|
|
22896
22897
|
value: input.futureWordWrapping
|
|
@@ -22918,11 +22919,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22918
22919
|
"Please remove the property next time."
|
|
22919
22920
|
].join("\n")
|
|
22920
22921
|
});
|
|
22921
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22922
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
22922
22923
|
path: _path + ".__context",
|
|
22923
22924
|
expected: "__type.o12",
|
|
22924
22925
|
value: input.__context
|
|
22925
|
-
})) &&
|
|
22926
|
+
})) && _vo25(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
22926
22927
|
path: _path + ".__context",
|
|
22927
22928
|
expected: "__type.o12",
|
|
22928
22929
|
value: input.__context
|
|
@@ -22930,7 +22931,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22930
22931
|
path: _path + ".__returnValue",
|
|
22931
22932
|
expected: "ResolvedFilePublishRender",
|
|
22932
22933
|
value: input.__returnValue
|
|
22933
|
-
})) &&
|
|
22934
|
+
})) && _vo8(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
22934
22935
|
path: _path + ".__returnValue",
|
|
22935
22936
|
expected: "ResolvedFilePublishRender",
|
|
22936
22937
|
value: input.__returnValue
|
|
@@ -22950,11 +22951,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22950
22951
|
"Please remove the property next time."
|
|
22951
22952
|
].join("\n")
|
|
22952
22953
|
});
|
|
22953
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22954
|
+
}).every(flag => flag))].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
22954
22955
|
path: _path + ".publish",
|
|
22955
22956
|
expected: "FilePublishRecord",
|
|
22956
22957
|
value: input.publish
|
|
22957
|
-
})) &&
|
|
22958
|
+
})) && _vo26(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
22958
22959
|
path: _path + ".publish",
|
|
22959
22960
|
expected: "FilePublishRecord",
|
|
22960
22961
|
value: input.publish
|
|
@@ -22982,7 +22983,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22982
22983
|
"Please remove the property next time."
|
|
22983
22984
|
].join("\n")
|
|
22984
22985
|
});
|
|
22985
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22986
|
+
}).every(flag => flag))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
22986
22987
|
path: _path + ".type",
|
|
22987
22988
|
expected: "(\"file\" | undefined)",
|
|
22988
22989
|
value: input.type
|
|
@@ -22998,7 +22999,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22998
22999
|
path: _path + ".renders",
|
|
22999
23000
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
23000
23001
|
value: input.renders
|
|
23001
|
-
})) &&
|
|
23002
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
23002
23003
|
path: _path + ".renders",
|
|
23003
23004
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
23004
23005
|
value: input.renders
|
|
@@ -23006,7 +23007,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23006
23007
|
path: _path + ".draft",
|
|
23007
23008
|
expected: "(FilePublishDraft | undefined)",
|
|
23008
23009
|
value: input.draft
|
|
23009
|
-
})) &&
|
|
23010
|
+
})) && _vo27(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
23010
23011
|
path: _path + ".draft",
|
|
23011
23012
|
expected: "(FilePublishDraft | undefined)",
|
|
23012
23013
|
value: input.draft
|
|
@@ -23014,7 +23015,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23014
23015
|
path: _path + ".remote",
|
|
23015
23016
|
expected: "(FilePublishRemote | undefined)",
|
|
23016
23017
|
value: input.remote
|
|
23017
|
-
})) &&
|
|
23018
|
+
})) && _vo28(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
23018
23019
|
path: _path + ".remote",
|
|
23019
23020
|
expected: "(FilePublishRemote | undefined)",
|
|
23020
23021
|
value: input.remote
|
|
@@ -23022,7 +23023,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23022
23023
|
path: _path + ".published",
|
|
23023
23024
|
expected: "(FilePublishPublished | undefined)",
|
|
23024
23025
|
value: input.published
|
|
23025
|
-
})) &&
|
|
23026
|
+
})) && _vo31(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
23026
23027
|
path: _path + ".published",
|
|
23027
23028
|
expected: "(FilePublishPublished | undefined)",
|
|
23028
23029
|
value: input.published
|
|
@@ -23038,7 +23039,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23038
23039
|
path: _path + ".render",
|
|
23039
23040
|
expected: "(PublishRenderBase | undefined)",
|
|
23040
23041
|
value: input.render
|
|
23041
|
-
})) &&
|
|
23042
|
+
})) && _vo32(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
23042
23043
|
path: _path + ".render",
|
|
23043
23044
|
expected: "(PublishRenderBase | undefined)",
|
|
23044
23045
|
value: input.render
|
|
@@ -23046,7 +23047,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23046
23047
|
path: _path + ".error",
|
|
23047
23048
|
expected: "(__type.o13 | null | undefined)",
|
|
23048
23049
|
value: input.error
|
|
23049
|
-
})) &&
|
|
23050
|
+
})) && _vo33(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
23050
23051
|
path: _path + ".error",
|
|
23051
23052
|
expected: "(__type.o13 | null | undefined)",
|
|
23052
23053
|
value: input.error
|
|
@@ -23054,12 +23055,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23054
23055
|
path: _path + ".messages",
|
|
23055
23056
|
expected: "(Array<Message> | undefined)",
|
|
23056
23057
|
value: input.messages
|
|
23057
|
-
})) && input.messages.map((elem,
|
|
23058
|
-
path: _path + ".messages[" +
|
|
23058
|
+
})) && input.messages.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
23059
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
23059
23060
|
expected: "Message",
|
|
23060
23061
|
value: elem
|
|
23061
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
23062
|
-
path: _path + ".messages[" +
|
|
23062
|
+
})) && _vo1(elem, _path + ".messages[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23063
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
23063
23064
|
expected: "Message",
|
|
23064
23065
|
value: elem
|
|
23065
23066
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23082,7 +23083,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23082
23083
|
"Please remove the property next time."
|
|
23083
23084
|
].join("\n")
|
|
23084
23085
|
});
|
|
23085
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23086
|
+
}).every(flag => flag))].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
23086
23087
|
path: _path + ".directory",
|
|
23087
23088
|
expected: "(string | undefined)",
|
|
23088
23089
|
value: input.directory
|
|
@@ -23106,7 +23107,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23106
23107
|
"Please remove the property next time."
|
|
23107
23108
|
].join("\n")
|
|
23108
23109
|
});
|
|
23109
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23110
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
23110
23111
|
path: _path + ".directory",
|
|
23111
23112
|
expected: "(string | undefined)",
|
|
23112
23113
|
value: input.directory
|
|
@@ -23118,7 +23119,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23118
23119
|
path: _path + ".renders",
|
|
23119
23120
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
23120
23121
|
value: input.renders
|
|
23121
|
-
})) &&
|
|
23122
|
+
})) && _vo29(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
23122
23123
|
path: _path + ".renders",
|
|
23123
23124
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
23124
23125
|
value: input.renders
|
|
@@ -23138,7 +23139,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23138
23139
|
"Please remove the property next time."
|
|
23139
23140
|
].join("\n")
|
|
23140
23141
|
});
|
|
23141
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23142
|
+
}).every(flag => flag))].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
23142
23143
|
const value = input[key];
|
|
23143
23144
|
if (undefined === value)
|
|
23144
23145
|
return true;
|
|
@@ -23146,12 +23147,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23146
23147
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23147
23148
|
expected: "FilePublishRemoteRender",
|
|
23148
23149
|
value: value
|
|
23149
|
-
})) &&
|
|
23150
|
+
})) && _vo30(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
23150
23151
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23151
23152
|
expected: "FilePublishRemoteRender",
|
|
23152
23153
|
value: value
|
|
23153
23154
|
});
|
|
23154
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
23155
|
+
}).every(flag => flag)].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
23155
23156
|
path: _path + ".path",
|
|
23156
23157
|
expected: "(string | undefined)",
|
|
23157
23158
|
value: input.path
|
|
@@ -23159,12 +23160,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23159
23160
|
path: _path + ".messages",
|
|
23160
23161
|
expected: "(Array<Message> | undefined)",
|
|
23161
23162
|
value: input.messages
|
|
23162
|
-
})) && input.messages.map((elem,
|
|
23163
|
-
path: _path + ".messages[" +
|
|
23163
|
+
})) && input.messages.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
23164
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
23164
23165
|
expected: "Message",
|
|
23165
23166
|
value: elem
|
|
23166
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
23167
|
-
path: _path + ".messages[" +
|
|
23167
|
+
})) && _vo1(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23168
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
23168
23169
|
expected: "Message",
|
|
23169
23170
|
value: elem
|
|
23170
23171
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23199,7 +23200,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23199
23200
|
"Please remove the property next time."
|
|
23200
23201
|
].join("\n")
|
|
23201
23202
|
});
|
|
23202
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23203
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
23203
23204
|
path: _path + ".directory",
|
|
23204
23205
|
expected: "(string | undefined)",
|
|
23205
23206
|
value: input.directory
|
|
@@ -23223,7 +23224,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23223
23224
|
"Please remove the property next time."
|
|
23224
23225
|
].join("\n")
|
|
23225
23226
|
});
|
|
23226
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23227
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
23227
23228
|
path: _path + ".preset",
|
|
23228
23229
|
expected: "(string | undefined)",
|
|
23229
23230
|
value: input.preset
|
|
@@ -23235,7 +23236,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23235
23236
|
path: _path + ".scene",
|
|
23236
23237
|
expected: "(RenderSceneObject | undefined)",
|
|
23237
23238
|
value: input.scene
|
|
23238
|
-
})) &&
|
|
23239
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
23239
23240
|
path: _path + ".scene",
|
|
23240
23241
|
expected: "(RenderSceneObject | undefined)",
|
|
23241
23242
|
value: input.scene
|
|
@@ -23243,7 +23244,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23243
23244
|
path: _path + ".profile",
|
|
23244
23245
|
expected: "(RenderProfileObject | undefined)",
|
|
23245
23246
|
value: input.profile
|
|
23246
|
-
})) &&
|
|
23247
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
23247
23248
|
path: _path + ".profile",
|
|
23248
23249
|
expected: "(RenderProfileObject | undefined)",
|
|
23249
23250
|
value: input.profile
|
|
@@ -23263,7 +23264,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23263
23264
|
"Please remove the property next time."
|
|
23264
23265
|
].join("\n")
|
|
23265
23266
|
});
|
|
23266
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23267
|
+
}).every(flag => flag))].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
23267
23268
|
path: _path + ".method",
|
|
23268
23269
|
expected: "string",
|
|
23269
23270
|
value: input.method
|
|
@@ -23285,9 +23286,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23285
23286
|
});
|
|
23286
23287
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
23287
23288
|
if (undefined !== input.path)
|
|
23288
|
-
return
|
|
23289
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
23289
23290
|
else if (undefined !== input.__context)
|
|
23290
|
-
return
|
|
23291
|
+
return _vo24(input, _path, true && _exceptionable);
|
|
23291
23292
|
else
|
|
23292
23293
|
return _report(_exceptionable, {
|
|
23293
23294
|
path: _path,
|
|
@@ -23295,15 +23296,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23295
23296
|
value: input
|
|
23296
23297
|
});
|
|
23297
23298
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
23298
|
-
if (_vo3(input, _path, false && _exceptionable))
|
|
23299
|
-
return _vo3(input, _path, true && _exceptionable);
|
|
23300
23299
|
if (_vo2(input, _path, false && _exceptionable))
|
|
23301
23300
|
return _vo2(input, _path, true && _exceptionable);
|
|
23302
23301
|
if (_vo0(input, _path, false && _exceptionable))
|
|
23303
23302
|
return _vo0(input, _path, true && _exceptionable);
|
|
23304
23303
|
return _report(_exceptionable, {
|
|
23305
23304
|
path: _path,
|
|
23306
|
-
expected: "(FilePublishStatsRecord |
|
|
23305
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
23307
23306
|
value: input
|
|
23308
23307
|
});
|
|
23309
23308
|
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input, true); let errors; let _report; return input => {
|
|
@@ -23312,11 +23311,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23312
23311
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
23313
23312
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
23314
23313
|
path: _path + "",
|
|
23315
|
-
expected: "(
|
|
23314
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
23316
23315
|
value: input
|
|
23317
23316
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
23318
23317
|
path: _path + "",
|
|
23319
|
-
expected: "(
|
|
23318
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
23320
23319
|
value: input
|
|
23321
23320
|
}))(input, "$input", true);
|
|
23322
23321
|
const success = 0 === errors.length;
|
|
@@ -27390,8 +27389,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27390
27389
|
}; })()(input);
|
|
27391
27390
|
}
|
|
27392
27391
|
case ":settings": {
|
|
27393
|
-
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
|
|
27394
|
-
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel", "display", "bookmarks", "shotbox"].some(prop => key === prop))
|
|
27392
|
+
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, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"], true && _exceptionable)) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload, true && _exceptionable)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download, true && _exceptionable)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser, true && _exceptionable)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags, true && _exceptionable)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every((elem, _index1) => Array.isArray(elem) && elem.every((elem, _index2) => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines, true && _exceptionable)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees, true && _exceptionable)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments, true && _exceptionable)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock, true && _exceptionable)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm, true && _exceptionable)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard, true && _exceptionable)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script, true && _exceptionable)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io26(input.events, true && _exceptionable)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io29(input.rundown, true && _exceptionable)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io30(input.gallery, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io44(input.media, true && _exceptionable)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io57(input.edit, true && _exceptionable)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io61(elem, true && _exceptionable))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every((elem, _index4) => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io62(input.storyboard, true && _exceptionable)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io71(input.print, true && _exceptionable)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every((elem, _index5) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io72(elem, true && _exceptionable))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io73(input.plugins, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io77(input.flags, true && _exceptionable)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io78(input.notifications, true && _exceptionable)) && (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, true && _exceptionable)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io84(input.utilsAssetEditorPanel, true && _exceptionable)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io85(input.display, true && _exceptionable)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io86(input.bookmarks, true && _exceptionable)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io87(input.shotbox, true && _exceptionable)) && (undefined === input.performance || "object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) && _io88(input.performance, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27393
|
+
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel", "display", "bookmarks", "shotbox", "performance"].some(prop => key === prop))
|
|
27395
27394
|
return true;
|
|
27396
27395
|
const value = input[key];
|
|
27397
27396
|
if (undefined === value)
|
|
@@ -27978,6 +27977,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27978
27977
|
if (undefined === value)
|
|
27979
27978
|
return true;
|
|
27980
27979
|
return false;
|
|
27980
|
+
})); const _io88 = (input, _exceptionable = true) => (undefined === input.ignoredMessages || Array.isArray(input.ignoredMessages) && input.ignoredMessages.every((elem, _index35) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27981
|
+
if (["ignoredMessages"].some(prop => key === prop))
|
|
27982
|
+
return true;
|
|
27983
|
+
const value = input[key];
|
|
27984
|
+
if (undefined === value)
|
|
27985
|
+
return true;
|
|
27986
|
+
return false;
|
|
27981
27987
|
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
27982
27988
|
path: _path + ".autoLogoutTime",
|
|
27983
27989
|
expected: "(number | undefined)",
|
|
@@ -28034,16 +28040,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28034
28040
|
path: _path + ".exclusiveTagGroups",
|
|
28035
28041
|
expected: "(Array<Array<string>> | undefined)",
|
|
28036
28042
|
value: input.exclusiveTagGroups
|
|
28037
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
28038
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
28043
|
+
})) && input.exclusiveTagGroups.map((elem, _index36) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
28044
|
+
path: _path + ".exclusiveTagGroups[" + _index36 + "]",
|
|
28039
28045
|
expected: "Array<string>",
|
|
28040
28046
|
value: elem
|
|
28041
|
-
})) && elem.map((elem,
|
|
28042
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
28047
|
+
})) && elem.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
28048
|
+
path: _path + ".exclusiveTagGroups[" + _index36 + "][" + _index37 + "]",
|
|
28043
28049
|
expected: "string",
|
|
28044
28050
|
value: elem
|
|
28045
28051
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
28046
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
28052
|
+
path: _path + ".exclusiveTagGroups[" + _index36 + "]",
|
|
28047
28053
|
expected: "Array<string>",
|
|
28048
28054
|
value: elem
|
|
28049
28055
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28162,12 +28168,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28162
28168
|
path: _path + ".commands",
|
|
28163
28169
|
expected: "(Array<__type>.o6 | undefined)",
|
|
28164
28170
|
value: input.commands
|
|
28165
|
-
})) && input.commands.map((elem,
|
|
28166
|
-
path: _path + ".commands[" +
|
|
28171
|
+
})) && input.commands.map((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
28172
|
+
path: _path + ".commands[" + _index38 + "]",
|
|
28167
28173
|
expected: "__type.o54",
|
|
28168
28174
|
value: elem
|
|
28169
|
-
})) && _vo61(elem, _path + ".commands[" +
|
|
28170
|
-
path: _path + ".commands[" +
|
|
28175
|
+
})) && _vo61(elem, _path + ".commands[" + _index38 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
28176
|
+
path: _path + ".commands[" + _index38 + "]",
|
|
28171
28177
|
expected: "__type.o54",
|
|
28172
28178
|
value: elem
|
|
28173
28179
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28178,8 +28184,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28178
28184
|
path: _path + ".predefinedTags",
|
|
28179
28185
|
expected: "(Array<string> | undefined)",
|
|
28180
28186
|
value: input.predefinedTags
|
|
28181
|
-
})) && input.predefinedTags.map((elem,
|
|
28182
|
-
path: _path + ".predefinedTags[" +
|
|
28187
|
+
})) && input.predefinedTags.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
28188
|
+
path: _path + ".predefinedTags[" + _index39 + "]",
|
|
28183
28189
|
expected: "string",
|
|
28184
28190
|
value: elem
|
|
28185
28191
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28206,12 +28212,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28206
28212
|
path: _path + ".hiddenPreviews",
|
|
28207
28213
|
expected: "(Array<__type>.o7 | undefined)",
|
|
28208
28214
|
value: input.hiddenPreviews
|
|
28209
|
-
})) && input.hiddenPreviews.map((elem,
|
|
28210
|
-
path: _path + ".hiddenPreviews[" +
|
|
28215
|
+
})) && input.hiddenPreviews.map((elem, _index40) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
28216
|
+
path: _path + ".hiddenPreviews[" + _index40 + "]",
|
|
28211
28217
|
expected: "__type.o65",
|
|
28212
28218
|
value: elem
|
|
28213
|
-
})) && _vo72(elem, _path + ".hiddenPreviews[" +
|
|
28214
|
-
path: _path + ".hiddenPreviews[" +
|
|
28219
|
+
})) && _vo72(elem, _path + ".hiddenPreviews[" + _index40 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
28220
|
+
path: _path + ".hiddenPreviews[" + _index40 + "]",
|
|
28215
28221
|
expected: "__type.o65",
|
|
28216
28222
|
value: elem
|
|
28217
28223
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28302,8 +28308,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28302
28308
|
path: _path + ".shotbox",
|
|
28303
28309
|
expected: "(__type.o80 | undefined)",
|
|
28304
28310
|
value: input.shotbox
|
|
28311
|
+
}), undefined === input.performance || ("object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) || _report(_exceptionable, {
|
|
28312
|
+
path: _path + ".performance",
|
|
28313
|
+
expected: "(__type.o81 | undefined)",
|
|
28314
|
+
value: input.performance
|
|
28315
|
+
})) && _vo88(input.performance, _path + ".performance", true && _exceptionable) || _report(_exceptionable, {
|
|
28316
|
+
path: _path + ".performance",
|
|
28317
|
+
expected: "(__type.o81 | undefined)",
|
|
28318
|
+
value: input.performance
|
|
28305
28319
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28306
|
-
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel", "display", "bookmarks", "shotbox"].some(prop => key === prop))
|
|
28320
|
+
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel", "display", "bookmarks", "shotbox", "performance"].some(prop => key === prop))
|
|
28307
28321
|
return true;
|
|
28308
28322
|
const value = input[key];
|
|
28309
28323
|
if (undefined === value)
|
|
@@ -28597,8 +28611,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28597
28611
|
path: _path + ".sortOrder",
|
|
28598
28612
|
expected: "(Array<string> | undefined)",
|
|
28599
28613
|
value: input.sortOrder
|
|
28600
|
-
})) && input.sortOrder.map((elem,
|
|
28601
|
-
path: _path + ".sortOrder[" +
|
|
28614
|
+
})) && input.sortOrder.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
28615
|
+
path: _path + ".sortOrder[" + _index41 + "]",
|
|
28602
28616
|
expected: "string",
|
|
28603
28617
|
value: elem
|
|
28604
28618
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28625,8 +28639,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28625
28639
|
path: _path + ".include",
|
|
28626
28640
|
expected: "(Array<string> | undefined)",
|
|
28627
28641
|
value: input.include
|
|
28628
|
-
})) && input.include.map((elem,
|
|
28629
|
-
path: _path + ".include[" +
|
|
28642
|
+
})) && input.include.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
28643
|
+
path: _path + ".include[" + _index42 + "]",
|
|
28630
28644
|
expected: "string",
|
|
28631
28645
|
value: elem
|
|
28632
28646
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28637,8 +28651,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28637
28651
|
path: _path + ".exclude",
|
|
28638
28652
|
expected: "(Array<string> | undefined)",
|
|
28639
28653
|
value: input.exclude
|
|
28640
|
-
})) && input.exclude.map((elem,
|
|
28641
|
-
path: _path + ".exclude[" +
|
|
28654
|
+
})) && input.exclude.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
28655
|
+
path: _path + ".exclude[" + _index43 + "]",
|
|
28642
28656
|
expected: "string",
|
|
28643
28657
|
value: elem
|
|
28644
28658
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28665,8 +28679,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28665
28679
|
path: _path + ".include",
|
|
28666
28680
|
expected: "(Array<string> | undefined)",
|
|
28667
28681
|
value: input.include
|
|
28668
|
-
})) && input.include.map((elem,
|
|
28669
|
-
path: _path + ".include[" +
|
|
28682
|
+
})) && input.include.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
28683
|
+
path: _path + ".include[" + _index44 + "]",
|
|
28670
28684
|
expected: "string",
|
|
28671
28685
|
value: elem
|
|
28672
28686
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28677,8 +28691,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28677
28691
|
path: _path + ".exclude",
|
|
28678
28692
|
expected: "(Array<string> | undefined)",
|
|
28679
28693
|
value: input.exclude
|
|
28680
|
-
})) && input.exclude.map((elem,
|
|
28681
|
-
path: _path + ".exclude[" +
|
|
28694
|
+
})) && input.exclude.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
28695
|
+
path: _path + ".exclude[" + _index45 + "]",
|
|
28682
28696
|
expected: "string",
|
|
28683
28697
|
value: elem
|
|
28684
28698
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28705,8 +28719,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28705
28719
|
path: _path + ".include",
|
|
28706
28720
|
expected: "(Array<string> | undefined)",
|
|
28707
28721
|
value: input.include
|
|
28708
|
-
})) && input.include.map((elem,
|
|
28709
|
-
path: _path + ".include[" +
|
|
28722
|
+
})) && input.include.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
28723
|
+
path: _path + ".include[" + _index46 + "]",
|
|
28710
28724
|
expected: "string",
|
|
28711
28725
|
value: elem
|
|
28712
28726
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28717,8 +28731,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28717
28731
|
path: _path + ".exclude",
|
|
28718
28732
|
expected: "(Array<string> | undefined)",
|
|
28719
28733
|
value: input.exclude
|
|
28720
|
-
})) && input.exclude.map((elem,
|
|
28721
|
-
path: _path + ".exclude[" +
|
|
28734
|
+
})) && input.exclude.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
28735
|
+
path: _path + ".exclude[" + _index47 + "]",
|
|
28722
28736
|
expected: "string",
|
|
28723
28737
|
value: elem
|
|
28724
28738
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28745,8 +28759,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28745
28759
|
path: _path + ".include",
|
|
28746
28760
|
expected: "(Array<string> | undefined)",
|
|
28747
28761
|
value: input.include
|
|
28748
|
-
})) && input.include.map((elem,
|
|
28749
|
-
path: _path + ".include[" +
|
|
28762
|
+
})) && input.include.map((elem, _index48) => "string" === typeof elem || _report(_exceptionable, {
|
|
28763
|
+
path: _path + ".include[" + _index48 + "]",
|
|
28750
28764
|
expected: "string",
|
|
28751
28765
|
value: elem
|
|
28752
28766
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28757,8 +28771,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28757
28771
|
path: _path + ".exclude",
|
|
28758
28772
|
expected: "(Array<string> | undefined)",
|
|
28759
28773
|
value: input.exclude
|
|
28760
|
-
})) && input.exclude.map((elem,
|
|
28761
|
-
path: _path + ".exclude[" +
|
|
28774
|
+
})) && input.exclude.map((elem, _index49) => "string" === typeof elem || _report(_exceptionable, {
|
|
28775
|
+
path: _path + ".exclude[" + _index49 + "]",
|
|
28762
28776
|
expected: "string",
|
|
28763
28777
|
value: elem
|
|
28764
28778
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28917,12 +28931,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28917
28931
|
path: _path + ".colorTags",
|
|
28918
28932
|
expected: "(Array<PromotedTag> | undefined)",
|
|
28919
28933
|
value: input.colorTags
|
|
28920
|
-
})) && input.colorTags.map((elem,
|
|
28921
|
-
path: _path + ".colorTags[" +
|
|
28934
|
+
})) && input.colorTags.map((elem, _index50) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
28935
|
+
path: _path + ".colorTags[" + _index50 + "]",
|
|
28922
28936
|
expected: "PromotedTag",
|
|
28923
28937
|
value: elem
|
|
28924
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
28925
|
-
path: _path + ".colorTags[" +
|
|
28938
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
28939
|
+
path: _path + ".colorTags[" + _index50 + "]",
|
|
28926
28940
|
expected: "PromotedTag",
|
|
28927
28941
|
value: elem
|
|
28928
28942
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28949,12 +28963,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28949
28963
|
path: _path + ".colorHistory",
|
|
28950
28964
|
expected: "(Array<__type> | undefined)",
|
|
28951
28965
|
value: input.colorHistory
|
|
28952
|
-
})) && input.colorHistory.map((elem,
|
|
28953
|
-
path: _path + ".colorHistory[" +
|
|
28966
|
+
})) && input.colorHistory.map((elem, _index51) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
28967
|
+
path: _path + ".colorHistory[" + _index51 + "]",
|
|
28954
28968
|
expected: "__type.o20",
|
|
28955
28969
|
value: elem
|
|
28956
|
-
})) && _vo25(elem, _path + ".colorHistory[" +
|
|
28957
|
-
path: _path + ".colorHistory[" +
|
|
28970
|
+
})) && _vo25(elem, _path + ".colorHistory[" + _index51 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
28971
|
+
path: _path + ".colorHistory[" + _index51 + "]",
|
|
28958
28972
|
expected: "__type.o20",
|
|
28959
28973
|
value: elem
|
|
28960
28974
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29102,8 +29116,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29102
29116
|
path: _path + ".favorites",
|
|
29103
29117
|
expected: "(Array<string> | undefined)",
|
|
29104
29118
|
value: input.favorites
|
|
29105
|
-
})) && input.favorites.map((elem,
|
|
29106
|
-
path: _path + ".favorites[" +
|
|
29119
|
+
})) && input.favorites.map((elem, _index52) => "string" === typeof elem || _report(_exceptionable, {
|
|
29120
|
+
path: _path + ".favorites[" + _index52 + "]",
|
|
29107
29121
|
expected: "string",
|
|
29108
29122
|
value: elem
|
|
29109
29123
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29554,8 +29568,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29554
29568
|
path: _path + ".playbackRates",
|
|
29555
29569
|
expected: "(Array<number> | undefined)",
|
|
29556
29570
|
value: input.playbackRates
|
|
29557
|
-
})) && input.playbackRates.map((elem,
|
|
29558
|
-
path: _path + ".playbackRates[" +
|
|
29571
|
+
})) && input.playbackRates.map((elem, _index53) => "number" === typeof elem || _report(_exceptionable, {
|
|
29572
|
+
path: _path + ".playbackRates[" + _index53 + "]",
|
|
29559
29573
|
expected: "number",
|
|
29560
29574
|
value: elem
|
|
29561
29575
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29582,12 +29596,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29582
29596
|
path: _path + ".guides",
|
|
29583
29597
|
expected: "(Array<__type>.o3 | undefined)",
|
|
29584
29598
|
value: input.guides
|
|
29585
|
-
})) && input.guides.map((elem,
|
|
29586
|
-
path: _path + ".guides[" +
|
|
29599
|
+
})) && input.guides.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29600
|
+
path: _path + ".guides[" + _index54 + "]",
|
|
29587
29601
|
expected: "__type.o43",
|
|
29588
29602
|
value: elem
|
|
29589
|
-
})) && _vo50(elem, _path + ".guides[" +
|
|
29590
|
-
path: _path + ".guides[" +
|
|
29603
|
+
})) && _vo50(elem, _path + ".guides[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29604
|
+
path: _path + ".guides[" + _index54 + "]",
|
|
29591
29605
|
expected: "__type.o43",
|
|
29592
29606
|
value: elem
|
|
29593
29607
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29706,12 +29720,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29706
29720
|
path: _path + ".suggestions",
|
|
29707
29721
|
expected: "(Array<__type>.o1 | undefined)",
|
|
29708
29722
|
value: input.suggestions
|
|
29709
|
-
})) && input.suggestions.map((elem,
|
|
29710
|
-
path: _path + ".suggestions[" +
|
|
29723
|
+
})) && input.suggestions.map((elem, _index55) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29724
|
+
path: _path + ".suggestions[" + _index55 + "]",
|
|
29711
29725
|
expected: "__type.o41",
|
|
29712
29726
|
value: elem
|
|
29713
|
-
})) && _vo48(elem, _path + ".suggestions[" +
|
|
29714
|
-
path: _path + ".suggestions[" +
|
|
29727
|
+
})) && _vo48(elem, _path + ".suggestions[" + _index55 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29728
|
+
path: _path + ".suggestions[" + _index55 + "]",
|
|
29715
29729
|
expected: "__type.o41",
|
|
29716
29730
|
value: elem
|
|
29717
29731
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29722,12 +29736,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29722
29736
|
path: _path + ".colors",
|
|
29723
29737
|
expected: "(Array<__type>.o2 | undefined)",
|
|
29724
29738
|
value: input.colors
|
|
29725
|
-
})) && input.colors.map((elem,
|
|
29726
|
-
path: _path + ".colors[" +
|
|
29739
|
+
})) && input.colors.map((elem, _index56) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29740
|
+
path: _path + ".colors[" + _index56 + "]",
|
|
29727
29741
|
expected: "__type.o42",
|
|
29728
29742
|
value: elem
|
|
29729
|
-
})) && _vo49(elem, _path + ".colors[" +
|
|
29730
|
-
path: _path + ".colors[" +
|
|
29743
|
+
})) && _vo49(elem, _path + ".colors[" + _index56 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29744
|
+
path: _path + ".colors[" + _index56 + "]",
|
|
29731
29745
|
expected: "__type.o42",
|
|
29732
29746
|
value: elem
|
|
29733
29747
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29738,8 +29752,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29738
29752
|
path: _path + ".overridableProperties",
|
|
29739
29753
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
29740
29754
|
value: input.overridableProperties
|
|
29741
|
-
})) && input.overridableProperties.map((elem,
|
|
29742
|
-
path: _path + ".overridableProperties[" +
|
|
29755
|
+
})) && input.overridableProperties.map((elem, _index57) => null === elem || true === _vv58.has(elem) || _report(_exceptionable, {
|
|
29756
|
+
path: _path + ".overridableProperties[" + _index57 + "]",
|
|
29743
29757
|
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)",
|
|
29744
29758
|
value: elem
|
|
29745
29759
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29934,12 +29948,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29934
29948
|
path: _path + ".text",
|
|
29935
29949
|
expected: "(Array<__type>.o4 | undefined)",
|
|
29936
29950
|
value: input.text
|
|
29937
|
-
})) && input.text.map((elem,
|
|
29938
|
-
path: _path + ".text[" +
|
|
29951
|
+
})) && input.text.map((elem, _index59) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29952
|
+
path: _path + ".text[" + _index59 + "]",
|
|
29939
29953
|
expected: "__type.o48",
|
|
29940
29954
|
value: elem
|
|
29941
|
-
})) && _vo55(elem, _path + ".text[" +
|
|
29942
|
-
path: _path + ".text[" +
|
|
29955
|
+
})) && _vo55(elem, _path + ".text[" + _index59 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29956
|
+
path: _path + ".text[" + _index59 + "]",
|
|
29943
29957
|
expected: "__type.o48",
|
|
29944
29958
|
value: elem
|
|
29945
29959
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30010,8 +30024,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30010
30024
|
path: _path + ".args",
|
|
30011
30025
|
expected: "(Array<string> | undefined)",
|
|
30012
30026
|
value: input.args
|
|
30013
|
-
})) && input.args.map((elem,
|
|
30014
|
-
path: _path + ".args[" +
|
|
30027
|
+
})) && input.args.map((elem, _index60) => "string" === typeof elem || _report(_exceptionable, {
|
|
30028
|
+
path: _path + ".args[" + _index60 + "]",
|
|
30015
30029
|
expected: "string",
|
|
30016
30030
|
value: elem
|
|
30017
30031
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30074,12 +30088,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30074
30088
|
path: _path + ".presets",
|
|
30075
30089
|
expected: "(Array<__type>.o5 | undefined)",
|
|
30076
30090
|
value: input.presets
|
|
30077
|
-
})) && input.presets.map((elem,
|
|
30078
|
-
path: _path + ".presets[" +
|
|
30091
|
+
})) && input.presets.map((elem, _index61) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
30092
|
+
path: _path + ".presets[" + _index61 + "]",
|
|
30079
30093
|
expected: "__type.o52",
|
|
30080
30094
|
value: elem
|
|
30081
|
-
})) && _vo59(elem, _path + ".presets[" +
|
|
30082
|
-
path: _path + ".presets[" +
|
|
30095
|
+
})) && _vo59(elem, _path + ".presets[" + _index61 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
30096
|
+
path: _path + ".presets[" + _index61 + "]",
|
|
30083
30097
|
expected: "__type.o52",
|
|
30084
30098
|
value: elem
|
|
30085
30099
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30186,8 +30200,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30186
30200
|
path: _path + ".args",
|
|
30187
30201
|
expected: "(Array<string> | undefined)",
|
|
30188
30202
|
value: input.args
|
|
30189
|
-
})) && input.args.map((elem,
|
|
30190
|
-
path: _path + ".args[" +
|
|
30203
|
+
})) && input.args.map((elem, _index62) => "string" === typeof elem || _report(_exceptionable, {
|
|
30204
|
+
path: _path + ".args[" + _index62 + "]",
|
|
30191
30205
|
expected: "string",
|
|
30192
30206
|
value: elem
|
|
30193
30207
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30390,7 +30404,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30390
30404
|
path: _path + ".search",
|
|
30391
30405
|
expected: "(__type.o62 | undefined)",
|
|
30392
30406
|
value: input.search
|
|
30393
|
-
}), undefined === input.sortMode || true ===
|
|
30407
|
+
}), undefined === input.sortMode || true === _vv63.has(input.sortMode) || _report(_exceptionable, {
|
|
30394
30408
|
path: _path + ".sortMode",
|
|
30395
30409
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
30396
30410
|
value: input.sortMode
|
|
@@ -30458,8 +30472,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30458
30472
|
path: _path + ".fontFamilies",
|
|
30459
30473
|
expected: "(Array<string> | undefined)",
|
|
30460
30474
|
value: input.fontFamilies
|
|
30461
|
-
})) && input.fontFamilies.map((elem,
|
|
30462
|
-
path: _path + ".fontFamilies[" +
|
|
30475
|
+
})) && input.fontFamilies.map((elem, _index64) => "string" === typeof elem || _report(_exceptionable, {
|
|
30476
|
+
path: _path + ".fontFamilies[" + _index64 + "]",
|
|
30463
30477
|
expected: "string",
|
|
30464
30478
|
value: elem
|
|
30465
30479
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30726,8 +30740,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30726
30740
|
path: _path + ".comment",
|
|
30727
30741
|
expected: "(Array<NotificationReason> | undefined)",
|
|
30728
30742
|
value: input.comment
|
|
30729
|
-
})) && input.comment.map((elem,
|
|
30730
|
-
path: _path + ".comment[" +
|
|
30743
|
+
})) && input.comment.map((elem, _index65) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
30744
|
+
path: _path + ".comment[" + _index65 + "]",
|
|
30731
30745
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
30732
30746
|
value: elem
|
|
30733
30747
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30738,8 +30752,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30738
30752
|
path: _path + ".assigned",
|
|
30739
30753
|
expected: "(Array<NotificationReason> | undefined)",
|
|
30740
30754
|
value: input.assigned
|
|
30741
|
-
})) && input.assigned.map((elem,
|
|
30742
|
-
path: _path + ".assigned[" +
|
|
30755
|
+
})) && input.assigned.map((elem, _index66) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
30756
|
+
path: _path + ".assigned[" + _index66 + "]",
|
|
30743
30757
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
30744
30758
|
value: elem
|
|
30745
30759
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30750,8 +30764,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30750
30764
|
path: _path + ".unassigned",
|
|
30751
30765
|
expected: "(Array<NotificationReason> | undefined)",
|
|
30752
30766
|
value: input.unassigned
|
|
30753
|
-
})) && input.unassigned.map((elem,
|
|
30754
|
-
path: _path + ".unassigned[" +
|
|
30767
|
+
})) && input.unassigned.map((elem, _index67) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
30768
|
+
path: _path + ".unassigned[" + _index67 + "]",
|
|
30755
30769
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
30756
30770
|
value: elem
|
|
30757
30771
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30790,8 +30804,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30790
30804
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
30791
30805
|
expected: "Array<NotificationReason>",
|
|
30792
30806
|
value: value
|
|
30793
|
-
})) && value.map((elem,
|
|
30794
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
30807
|
+
})) && value.map((elem, _index68) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
30808
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index68 + "]",
|
|
30795
30809
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
30796
30810
|
value: elem
|
|
30797
30811
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30883,8 +30897,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30883
30897
|
path: _path + ".stateFilter",
|
|
30884
30898
|
expected: "(Array<number> | undefined)",
|
|
30885
30899
|
value: input.stateFilter
|
|
30886
|
-
})) && input.stateFilter.map((elem,
|
|
30887
|
-
path: _path + ".stateFilter[" +
|
|
30900
|
+
})) && input.stateFilter.map((elem, _index69) => "number" === typeof elem || _report(_exceptionable, {
|
|
30901
|
+
path: _path + ".stateFilter[" + _index69 + "]",
|
|
30888
30902
|
expected: "number",
|
|
30889
30903
|
value: elem
|
|
30890
30904
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30987,6 +31001,34 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30987
31001
|
"Please remove the property next time."
|
|
30988
31002
|
].join("\n")
|
|
30989
31003
|
});
|
|
31004
|
+
}).every(flag => flag))].every(flag => flag); const _vo88 = (input, _path, _exceptionable = true) => [undefined === input.ignoredMessages || (Array.isArray(input.ignoredMessages) || _report(_exceptionable, {
|
|
31005
|
+
path: _path + ".ignoredMessages",
|
|
31006
|
+
expected: "(Array<string> | undefined)",
|
|
31007
|
+
value: input.ignoredMessages
|
|
31008
|
+
})) && input.ignoredMessages.map((elem, _index70) => "string" === typeof elem || _report(_exceptionable, {
|
|
31009
|
+
path: _path + ".ignoredMessages[" + _index70 + "]",
|
|
31010
|
+
expected: "string",
|
|
31011
|
+
value: elem
|
|
31012
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
31013
|
+
path: _path + ".ignoredMessages",
|
|
31014
|
+
expected: "(Array<string> | undefined)",
|
|
31015
|
+
value: input.ignoredMessages
|
|
31016
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
31017
|
+
if (["ignoredMessages"].some(prop => key === prop))
|
|
31018
|
+
return true;
|
|
31019
|
+
const value = input[key];
|
|
31020
|
+
if (undefined === value)
|
|
31021
|
+
return true;
|
|
31022
|
+
return _report(_exceptionable, {
|
|
31023
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
31024
|
+
expected: "undefined",
|
|
31025
|
+
value: value,
|
|
31026
|
+
description: [
|
|
31027
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
31028
|
+
"",
|
|
31029
|
+
"Please remove the property next time."
|
|
31030
|
+
].join("\n")
|
|
31031
|
+
});
|
|
30990
31032
|
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
30991
31033
|
if (false === __is(input)) {
|
|
30992
31034
|
errors = [];
|