@nxtedition/types 23.1.1 → 23.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/settings.d.ts +5 -0
- package/dist/nxtpression.d.ts +30 -10
- package/dist/records/domains/media.d.ts +6 -0
- package/dist/records/domains/publish/facebook.d.ts +1 -2
- package/dist/records/exact/media.d.ts +2 -0
- package/dist/records/exact/monitor.d.ts +14 -8
- package/dist/records/validate/assert-guard.js +342 -271
- package/dist/records/validate/assert.js +343 -271
- package/dist/records/validate/is.js +22 -21
- package/dist/records/validate/schemas.js +118 -62
- package/dist/records/validate/stringify.js +46 -35
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +441 -348
- package/dist/records/validate/validate.js +334 -262
- package/package.json +1 -1
|
@@ -2337,7 +2337,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2337
2337
|
}; })()(input);
|
|
2338
2338
|
}
|
|
2339
2339
|
case "nxt.status?": {
|
|
2340
|
-
return (() => { const _io0 = (input, _exceptionable = true) => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes, true && _exceptionable) && ("object" === typeof input.services && null !== input.services && false === Array.isArray(input.services) &&
|
|
2340
|
+
return (() => { const _io0 = (input, _exceptionable = true) => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes, true && _exceptionable) && ("object" === typeof input.services && null !== input.services && false === Array.isArray(input.services) && _io5(input.services, true && _exceptionable)) && "number" === typeof input.level && "string" === typeof input.status && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2341
2341
|
if (["nodes", "services", "level", "status"].some(prop => key === prop))
|
|
2342
2342
|
return true;
|
|
2343
2343
|
const value = input[key];
|
|
@@ -2356,34 +2356,34 @@ 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) && (undefined === input.title || "string" === typeof input.title) && (null !== input.url && (undefined === input.url || "string" === typeof input.url || "object" === typeof input.url && null !== input.url && _io4(input.url, true && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2360
|
+
if (["id", "msg", "level", "ignored", "title", "url"].some(prop => key === prop))
|
|
2361
2361
|
return true;
|
|
2362
2362
|
const value = input[key];
|
|
2363
2363
|
if (undefined === value)
|
|
2364
2364
|
return true;
|
|
2365
2365
|
return false;
|
|
2366
|
-
})); const _io4 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
2366
|
+
})); const _io4 = (input, _exceptionable = true) => "string" === typeof input.title && "string" === typeof input.url && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2367
|
+
if (["title", "url"].some(prop => key === prop))
|
|
2368
|
+
return true;
|
|
2367
2369
|
const value = input[key];
|
|
2368
2370
|
if (undefined === value)
|
|
2369
2371
|
return true;
|
|
2370
|
-
return
|
|
2371
|
-
}); const _io5 = (input, _exceptionable = true) =>
|
|
2372
|
-
if (["image", "running", "mode", "total", "tasks", "level", "status", "messages"].some(prop => key === prop))
|
|
2373
|
-
return true;
|
|
2372
|
+
return false;
|
|
2373
|
+
})); const _io5 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
2374
2374
|
const value = input[key];
|
|
2375
2375
|
if (undefined === value)
|
|
2376
2376
|
return true;
|
|
2377
|
-
return
|
|
2378
|
-
})
|
|
2379
|
-
if (["
|
|
2377
|
+
return "object" === typeof value && null !== value && _io6(value, true && _exceptionable);
|
|
2378
|
+
}); const _io6 = (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 && _io7(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 => {
|
|
2379
|
+
if (["image", "running", "mode", "total", "ignored", "tasks", "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.
|
|
2386
|
-
if (["
|
|
2385
|
+
})); const _io7 = (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 => {
|
|
2386
|
+
if (["id", "node", "container", "level", "status", "messages"].some(prop => key === prop))
|
|
2387
2387
|
return true;
|
|
2388
2388
|
const value = input[key];
|
|
2389
2389
|
if (undefined === value)
|
|
@@ -2401,7 +2401,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2401
2401
|
path: _path + ".services",
|
|
2402
2402
|
expected: "__type.o2",
|
|
2403
2403
|
value: input.services
|
|
2404
|
-
})) &&
|
|
2404
|
+
})) && _vo5(input.services, _path + ".services", true && _exceptionable) || _report(_exceptionable, {
|
|
2405
2405
|
path: _path + ".services",
|
|
2406
2406
|
expected: "__type.o2",
|
|
2407
2407
|
value: input.services
|
|
@@ -2484,19 +2484,19 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2484
2484
|
value: input.status
|
|
2485
2485
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
2486
2486
|
path: _path + ".messages",
|
|
2487
|
-
expected: "Array<
|
|
2487
|
+
expected: "Array<NxtStatusMessage>",
|
|
2488
2488
|
value: input.messages
|
|
2489
2489
|
})) && input.messages.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2490
2490
|
path: _path + ".messages[" + _index7 + "]",
|
|
2491
|
-
expected: "
|
|
2491
|
+
expected: "NxtStatusMessage",
|
|
2492
2492
|
value: elem
|
|
2493
2493
|
})) && _vo3(elem, _path + ".messages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2494
2494
|
path: _path + ".messages[" + _index7 + "]",
|
|
2495
|
-
expected: "
|
|
2495
|
+
expected: "NxtStatusMessage",
|
|
2496
2496
|
value: elem
|
|
2497
2497
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
2498
2498
|
path: _path + ".messages",
|
|
2499
|
-
expected: "Array<
|
|
2499
|
+
expected: "Array<NxtStatusMessage>",
|
|
2500
2500
|
value: input.messages
|
|
2501
2501
|
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2502
2502
|
if (["state", "role", "leader", "availability", "classes", "address", "level", "status", "messages"].some(prop => key === prop))
|
|
@@ -2514,7 +2514,11 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2514
2514
|
"Please remove the property next time."
|
|
2515
2515
|
].join("\n")
|
|
2516
2516
|
});
|
|
2517
|
-
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.
|
|
2517
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
2518
|
+
path: _path + ".id",
|
|
2519
|
+
expected: "string",
|
|
2520
|
+
value: input.id
|
|
2521
|
+
}), "string" === typeof input.msg || _report(_exceptionable, {
|
|
2518
2522
|
path: _path + ".msg",
|
|
2519
2523
|
expected: "string",
|
|
2520
2524
|
value: input.msg
|
|
@@ -2522,8 +2526,52 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2522
2526
|
path: _path + ".level",
|
|
2523
2527
|
expected: "number",
|
|
2524
2528
|
value: input.level
|
|
2529
|
+
}), undefined === input.ignored || "boolean" === typeof input.ignored || _report(_exceptionable, {
|
|
2530
|
+
path: _path + ".ignored",
|
|
2531
|
+
expected: "(boolean | undefined)",
|
|
2532
|
+
value: input.ignored
|
|
2533
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2534
|
+
path: _path + ".title",
|
|
2535
|
+
expected: "(string | undefined)",
|
|
2536
|
+
value: input.title
|
|
2537
|
+
}), (null !== input.url || _report(_exceptionable, {
|
|
2538
|
+
path: _path + ".url",
|
|
2539
|
+
expected: "(__type.o1 | string | undefined)",
|
|
2540
|
+
value: input.url
|
|
2541
|
+
})) && (undefined === input.url || "string" === typeof input.url || ("object" === typeof input.url && null !== input.url || _report(_exceptionable, {
|
|
2542
|
+
path: _path + ".url",
|
|
2543
|
+
expected: "(__type.o1 | string | undefined)",
|
|
2544
|
+
value: input.url
|
|
2545
|
+
})) && _vo4(input.url, _path + ".url", true && _exceptionable) || _report(_exceptionable, {
|
|
2546
|
+
path: _path + ".url",
|
|
2547
|
+
expected: "(__type.o1 | string | undefined)",
|
|
2548
|
+
value: input.url
|
|
2549
|
+
})), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2550
|
+
if (["id", "msg", "level", "ignored", "title", "url"].some(prop => key === prop))
|
|
2551
|
+
return true;
|
|
2552
|
+
const value = input[key];
|
|
2553
|
+
if (undefined === value)
|
|
2554
|
+
return true;
|
|
2555
|
+
return _report(_exceptionable, {
|
|
2556
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2557
|
+
expected: "undefined",
|
|
2558
|
+
value: value,
|
|
2559
|
+
description: [
|
|
2560
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
2561
|
+
"",
|
|
2562
|
+
"Please remove the property next time."
|
|
2563
|
+
].join("\n")
|
|
2564
|
+
});
|
|
2565
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.title || _report(_exceptionable, {
|
|
2566
|
+
path: _path + ".title",
|
|
2567
|
+
expected: "string",
|
|
2568
|
+
value: input.title
|
|
2569
|
+
}), "string" === typeof input.url || _report(_exceptionable, {
|
|
2570
|
+
path: _path + ".url",
|
|
2571
|
+
expected: "string",
|
|
2572
|
+
value: input.url
|
|
2525
2573
|
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2526
|
-
if (["
|
|
2574
|
+
if (["title", "url"].some(prop => key === prop))
|
|
2527
2575
|
return true;
|
|
2528
2576
|
const value = input[key];
|
|
2529
2577
|
if (undefined === value)
|
|
@@ -2538,7 +2586,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2538
2586
|
"Please remove the property next time."
|
|
2539
2587
|
].join("\n")
|
|
2540
2588
|
});
|
|
2541
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
2589
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
2542
2590
|
const value = input[key];
|
|
2543
2591
|
if (undefined === value)
|
|
2544
2592
|
return true;
|
|
@@ -2546,12 +2594,12 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2546
2594
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2547
2595
|
expected: "NxtStatusService",
|
|
2548
2596
|
value: value
|
|
2549
|
-
})) &&
|
|
2597
|
+
})) && _vo6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
2550
2598
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2551
2599
|
expected: "NxtStatusService",
|
|
2552
2600
|
value: value
|
|
2553
2601
|
});
|
|
2554
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
2602
|
+
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.image || "string" === typeof input.image || _report(_exceptionable, {
|
|
2555
2603
|
path: _path + ".image",
|
|
2556
2604
|
expected: "(string | undefined)",
|
|
2557
2605
|
value: input.image
|
|
@@ -2567,21 +2615,25 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2567
2615
|
path: _path + ".total",
|
|
2568
2616
|
expected: "(number | undefined)",
|
|
2569
2617
|
value: input.total
|
|
2618
|
+
}), undefined === input.ignored || "boolean" === typeof input.ignored || _report(_exceptionable, {
|
|
2619
|
+
path: _path + ".ignored",
|
|
2620
|
+
expected: "(boolean | undefined)",
|
|
2621
|
+
value: input.ignored
|
|
2570
2622
|
}), undefined === input.tasks || (Array.isArray(input.tasks) || _report(_exceptionable, {
|
|
2571
2623
|
path: _path + ".tasks",
|
|
2572
|
-
expected: "(Array<__type
|
|
2624
|
+
expected: "(Array<__type> | undefined)",
|
|
2573
2625
|
value: input.tasks
|
|
2574
2626
|
})) && input.tasks.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2575
2627
|
path: _path + ".tasks[" + _index8 + "]",
|
|
2576
2628
|
expected: "__type.o3",
|
|
2577
2629
|
value: elem
|
|
2578
|
-
})) &&
|
|
2630
|
+
})) && _vo7(elem, _path + ".tasks[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2579
2631
|
path: _path + ".tasks[" + _index8 + "]",
|
|
2580
2632
|
expected: "__type.o3",
|
|
2581
2633
|
value: elem
|
|
2582
2634
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
2583
2635
|
path: _path + ".tasks",
|
|
2584
|
-
expected: "(Array<__type
|
|
2636
|
+
expected: "(Array<__type> | undefined)",
|
|
2585
2637
|
value: input.tasks
|
|
2586
2638
|
}), "number" === typeof input.level || _report(_exceptionable, {
|
|
2587
2639
|
path: _path + ".level",
|
|
@@ -2593,22 +2645,22 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2593
2645
|
value: input.status
|
|
2594
2646
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
2595
2647
|
path: _path + ".messages",
|
|
2596
|
-
expected: "Array<
|
|
2648
|
+
expected: "Array<NxtStatusMessage>",
|
|
2597
2649
|
value: input.messages
|
|
2598
2650
|
})) && input.messages.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2599
2651
|
path: _path + ".messages[" + _index9 + "]",
|
|
2600
|
-
expected: "
|
|
2652
|
+
expected: "NxtStatusMessage",
|
|
2601
2653
|
value: elem
|
|
2602
2654
|
})) && _vo3(elem, _path + ".messages[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2603
2655
|
path: _path + ".messages[" + _index9 + "]",
|
|
2604
|
-
expected: "
|
|
2656
|
+
expected: "NxtStatusMessage",
|
|
2605
2657
|
value: elem
|
|
2606
2658
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
2607
2659
|
path: _path + ".messages",
|
|
2608
|
-
expected: "Array<
|
|
2660
|
+
expected: "Array<NxtStatusMessage>",
|
|
2609
2661
|
value: input.messages
|
|
2610
2662
|
}), 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))
|
|
2663
|
+
if (["image", "running", "mode", "total", "ignored", "tasks", "level", "status", "messages"].some(prop => key === prop))
|
|
2612
2664
|
return true;
|
|
2613
2665
|
const value = input[key];
|
|
2614
2666
|
if (undefined === value)
|
|
@@ -2623,7 +2675,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2623
2675
|
"Please remove the property next time."
|
|
2624
2676
|
].join("\n")
|
|
2625
2677
|
});
|
|
2626
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
2678
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
2627
2679
|
path: _path + ".id",
|
|
2628
2680
|
expected: "string",
|
|
2629
2681
|
value: input.id
|
|
@@ -2645,19 +2697,19 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2645
2697
|
value: input.status
|
|
2646
2698
|
}), (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
2647
2699
|
path: _path + ".messages",
|
|
2648
|
-
expected: "Array<
|
|
2700
|
+
expected: "Array<NxtStatusMessage>",
|
|
2649
2701
|
value: input.messages
|
|
2650
2702
|
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2651
2703
|
path: _path + ".messages[" + _index10 + "]",
|
|
2652
|
-
expected: "
|
|
2704
|
+
expected: "NxtStatusMessage",
|
|
2653
2705
|
value: elem
|
|
2654
|
-
})) &&
|
|
2706
|
+
})) && _vo3(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2655
2707
|
path: _path + ".messages[" + _index10 + "]",
|
|
2656
|
-
expected: "
|
|
2708
|
+
expected: "NxtStatusMessage",
|
|
2657
2709
|
value: elem
|
|
2658
2710
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
2659
2711
|
path: _path + ".messages",
|
|
2660
|
-
expected: "Array<
|
|
2712
|
+
expected: "Array<NxtStatusMessage>",
|
|
2661
2713
|
value: input.messages
|
|
2662
2714
|
}), 4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2663
2715
|
if (["id", "node", "container", "level", "status", "messages"].some(prop => key === prop))
|
|
@@ -2675,30 +2727,6 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2675
2727
|
"Please remove the property next time."
|
|
2676
2728
|
].join("\n")
|
|
2677
2729
|
});
|
|
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
2730
|
}).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
2731
|
if (false === __is(input)) {
|
|
2704
2732
|
errors = [];
|
|
@@ -2729,8 +2757,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2729
2757
|
}; })()(input);
|
|
2730
2758
|
}
|
|
2731
2759
|
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))
|
|
2760
|
+
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 => {
|
|
2761
|
+
if (["defaultLanguage", "languages", "fontFaces"].some(prop => key === prop))
|
|
2734
2762
|
return true;
|
|
2735
2763
|
const value = input[key];
|
|
2736
2764
|
if (undefined === value)
|
|
@@ -2748,7 +2776,11 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2748
2776
|
if (undefined === value)
|
|
2749
2777
|
return true;
|
|
2750
2778
|
return false;
|
|
2751
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
2779
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
|
|
2780
|
+
path: _path + ".defaultLanguage",
|
|
2781
|
+
expected: "(string | undefined)",
|
|
2782
|
+
value: input.defaultLanguage
|
|
2783
|
+
}), undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
2752
2784
|
path: _path + ".languages",
|
|
2753
2785
|
expected: "(Record<string, string> | undefined)",
|
|
2754
2786
|
value: input.languages
|
|
@@ -2773,7 +2805,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2773
2805
|
expected: "(Array<SubtitleFontFace> | undefined)",
|
|
2774
2806
|
value: input.fontFaces
|
|
2775
2807
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2776
|
-
if (["languages", "fontFaces"].some(prop => key === prop))
|
|
2808
|
+
if (["defaultLanguage", "languages", "fontFaces"].some(prop => key === prop))
|
|
2777
2809
|
return true;
|
|
2778
2810
|
const value = input[key];
|
|
2779
2811
|
if (undefined === value)
|
|
@@ -2859,8 +2891,8 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2859
2891
|
}; })()(input);
|
|
2860
2892
|
}
|
|
2861
2893
|
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))
|
|
2894
|
+
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 => {
|
|
2895
|
+
if (["defaultLanguage", "languages", "fontFaces"].some(prop => key === prop))
|
|
2864
2896
|
return true;
|
|
2865
2897
|
const value = input[key];
|
|
2866
2898
|
if (undefined === value)
|
|
@@ -2878,7 +2910,11 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2878
2910
|
if (undefined === value)
|
|
2879
2911
|
return true;
|
|
2880
2912
|
return false;
|
|
2881
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
2913
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.defaultLanguage || "string" === typeof input.defaultLanguage || _report(_exceptionable, {
|
|
2914
|
+
path: _path + ".defaultLanguage",
|
|
2915
|
+
expected: "(string | undefined)",
|
|
2916
|
+
value: input.defaultLanguage
|
|
2917
|
+
}), undefined === input.languages || ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
2882
2918
|
path: _path + ".languages",
|
|
2883
2919
|
expected: "(Record<string, string> | undefined)",
|
|
2884
2920
|
value: input.languages
|
|
@@ -2903,7 +2939,7 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2903
2939
|
expected: "(Array<SubtitleFontFace> | undefined)",
|
|
2904
2940
|
value: input.fontFaces
|
|
2905
2941
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
2906
|
-
if (["languages", "fontFaces"].some(prop => key === prop))
|
|
2942
|
+
if (["defaultLanguage", "languages", "fontFaces"].some(prop => key === prop))
|
|
2907
2943
|
return true;
|
|
2908
2944
|
const value = input[key];
|
|
2909
2945
|
if (undefined === value)
|
|
@@ -16688,6 +16724,67 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
16688
16724
|
};
|
|
16689
16725
|
}; })()(input);
|
|
16690
16726
|
}
|
|
16727
|
+
case ":media.consolidate?": {
|
|
16728
|
+
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 => {
|
|
16729
|
+
if (["status", "progress", "error"].some(prop => key === prop))
|
|
16730
|
+
return true;
|
|
16731
|
+
const value = input[key];
|
|
16732
|
+
if (undefined === value)
|
|
16733
|
+
return true;
|
|
16734
|
+
return false;
|
|
16735
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => ["completed" === input.status || "error" === input.status || "idle" === input.status || "pending" === input.status || "source_mismatch" === input.status || _report(_exceptionable, {
|
|
16736
|
+
path: _path + ".status",
|
|
16737
|
+
expected: "(\"completed\" | \"error\" | \"idle\" | \"pending\" | \"source_mismatch\")",
|
|
16738
|
+
value: input.status
|
|
16739
|
+
}), undefined === input.progress || "number" === typeof input.progress || _report(_exceptionable, {
|
|
16740
|
+
path: _path + ".progress",
|
|
16741
|
+
expected: "(number | undefined)",
|
|
16742
|
+
value: input.progress
|
|
16743
|
+
}), true, 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
16744
|
+
if (["status", "progress", "error"].some(prop => key === prop))
|
|
16745
|
+
return true;
|
|
16746
|
+
const value = input[key];
|
|
16747
|
+
if (undefined === value)
|
|
16748
|
+
return true;
|
|
16749
|
+
return _report(_exceptionable, {
|
|
16750
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16751
|
+
expected: "undefined",
|
|
16752
|
+
value: value,
|
|
16753
|
+
description: [
|
|
16754
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
16755
|
+
"",
|
|
16756
|
+
"Please remove the property next time."
|
|
16757
|
+
].join("\n")
|
|
16758
|
+
});
|
|
16759
|
+
}).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 => {
|
|
16760
|
+
if (false === __is(input)) {
|
|
16761
|
+
errors = [];
|
|
16762
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16763
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
16764
|
+
path: _path + "",
|
|
16765
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
16766
|
+
value: input
|
|
16767
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
16768
|
+
path: _path + "",
|
|
16769
|
+
expected: "MediaDomainConsolidateRecordProvided",
|
|
16770
|
+
value: input
|
|
16771
|
+
}))(input, "$input", true);
|
|
16772
|
+
const success = 0 === errors.length;
|
|
16773
|
+
return success ? {
|
|
16774
|
+
success,
|
|
16775
|
+
data: input
|
|
16776
|
+
} : {
|
|
16777
|
+
success,
|
|
16778
|
+
errors,
|
|
16779
|
+
data: input
|
|
16780
|
+
};
|
|
16781
|
+
}
|
|
16782
|
+
return {
|
|
16783
|
+
success: true,
|
|
16784
|
+
data: input
|
|
16785
|
+
};
|
|
16786
|
+
}; })()(input);
|
|
16787
|
+
}
|
|
16691
16788
|
case ":media.renders?": {
|
|
16692
16789
|
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
16790
|
if (["children"].some(prop => key === prop))
|
|
@@ -21769,223 +21866,216 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21769
21866
|
if (undefined === value)
|
|
21770
21867
|
return true;
|
|
21771
21868
|
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 => {
|
|
21869
|
+
})); 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
21870
|
if (["retrieved", "defaults", "status", "substatus", "messages"].some(prop => key === prop))
|
|
21781
21871
|
return true;
|
|
21782
21872
|
const value = input[key];
|
|
21783
21873
|
if (undefined === value)
|
|
21784
21874
|
return true;
|
|
21785
21875
|
return false;
|
|
21786
|
-
})); const
|
|
21876
|
+
})); 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
21877
|
if (["filename", "directory", "renders"].some(prop => key === prop))
|
|
21788
21878
|
return true;
|
|
21789
21879
|
const value = input[key];
|
|
21790
21880
|
if (undefined === value)
|
|
21791
21881
|
return true;
|
|
21792
21882
|
return false;
|
|
21793
|
-
})); const
|
|
21883
|
+
})); const _io4 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
21794
21884
|
const value = input[key];
|
|
21795
21885
|
if (undefined === value)
|
|
21796
21886
|
return true;
|
|
21797
|
-
return "object" === typeof value && null !== value &&
|
|
21798
|
-
}); const
|
|
21887
|
+
return "object" === typeof value && null !== value && _io5(value, true && _exceptionable);
|
|
21888
|
+
}); 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
21889
|
if (["path", "size", "hash"].some(prop => key === prop))
|
|
21800
21890
|
return true;
|
|
21801
21891
|
const value = input[key];
|
|
21802
21892
|
if (undefined === value)
|
|
21803
21893
|
return true;
|
|
21804
21894
|
return false;
|
|
21805
|
-
})); const
|
|
21895
|
+
})); 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
21896
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
21807
21897
|
return true;
|
|
21808
21898
|
const value = input[key];
|
|
21809
21899
|
if (undefined === value)
|
|
21810
21900
|
return true;
|
|
21811
21901
|
return false;
|
|
21812
|
-
})); const
|
|
21902
|
+
})); const _io7 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
21813
21903
|
const value = input[key];
|
|
21814
21904
|
if (undefined === value)
|
|
21815
21905
|
return true;
|
|
21816
21906
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
21817
|
-
}); const
|
|
21907
|
+
}); 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
21908
|
if (["name", "path", "collisionStrategy", "ignoreEmptyScene", "preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
21819
21909
|
return true;
|
|
21820
21910
|
const value = input[key];
|
|
21821
21911
|
if (undefined === value)
|
|
21822
21912
|
return true;
|
|
21823
21913
|
return false;
|
|
21824
|
-
})); const
|
|
21914
|
+
})); 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
21915
|
if (["id", "preset", "input", "lang", "subtitle", "subtitleTracks", "video", "start", "end", "transcribe"].some(prop => key === prop))
|
|
21826
21916
|
return true;
|
|
21827
21917
|
const value = input[key];
|
|
21828
21918
|
if (undefined === value)
|
|
21829
21919
|
return true;
|
|
21830
21920
|
return false;
|
|
21831
|
-
})); const
|
|
21921
|
+
})); 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
21922
|
if (["type", "file"].some(prop => key === prop))
|
|
21833
21923
|
return true;
|
|
21834
21924
|
const value = input[key];
|
|
21835
21925
|
if (undefined === value)
|
|
21836
21926
|
return true;
|
|
21837
21927
|
return false;
|
|
21838
|
-
})); const
|
|
21928
|
+
})); const _io11 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
21839
21929
|
const value = input[key];
|
|
21840
21930
|
if (undefined === value)
|
|
21841
21931
|
return true;
|
|
21842
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
21843
|
-
}); const
|
|
21932
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io12(value, true && _exceptionable);
|
|
21933
|
+
}); 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
21934
|
if (["style", "styleOverrides"].some(prop => key === prop))
|
|
21845
21935
|
return true;
|
|
21846
21936
|
const value = input[key];
|
|
21847
21937
|
if (undefined === value)
|
|
21848
21938
|
return true;
|
|
21849
21939
|
return false;
|
|
21850
|
-
})); const
|
|
21940
|
+
})); 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
21941
|
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
21942
|
return true;
|
|
21853
21943
|
const value = input[key];
|
|
21854
21944
|
if (undefined === value)
|
|
21855
21945
|
return true;
|
|
21856
21946
|
return false;
|
|
21857
|
-
})); const
|
|
21947
|
+
})); 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
21948
|
if (["crop"].some(prop => key === prop))
|
|
21859
21949
|
return true;
|
|
21860
21950
|
const value = input[key];
|
|
21861
21951
|
if (undefined === value)
|
|
21862
21952
|
return true;
|
|
21863
21953
|
return false;
|
|
21864
|
-
})); const
|
|
21954
|
+
})); 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
21955
|
if (["x", "y", "width", "height"].some(prop => key === prop))
|
|
21866
21956
|
return true;
|
|
21867
21957
|
const value = input[key];
|
|
21868
21958
|
if (undefined === value)
|
|
21869
21959
|
return true;
|
|
21870
21960
|
return false;
|
|
21871
|
-
})); const
|
|
21961
|
+
})); 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
21962
|
if (["language", "pan"].some(prop => key === prop))
|
|
21873
21963
|
return true;
|
|
21874
21964
|
const value = input[key];
|
|
21875
21965
|
if (undefined === value)
|
|
21876
21966
|
return true;
|
|
21877
21967
|
return false;
|
|
21878
|
-
})); const
|
|
21968
|
+
})); 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
21969
|
if (["format", "transcribe", "translate", "audio", "video", "pick", "subtitle"].some(prop => key === prop))
|
|
21880
21970
|
return true;
|
|
21881
21971
|
const value = input[key];
|
|
21882
21972
|
if (undefined === value)
|
|
21883
21973
|
return true;
|
|
21884
21974
|
return false;
|
|
21885
|
-
})); const
|
|
21975
|
+
})); const _io18 = (input, _exceptionable = true) => "string" === typeof input.engine && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21886
21976
|
if (["engine"].some(prop => key === prop))
|
|
21887
21977
|
return true;
|
|
21888
21978
|
const value = input[key];
|
|
21889
21979
|
if (undefined === value)
|
|
21890
21980
|
return true;
|
|
21891
21981
|
return false;
|
|
21892
|
-
})); const
|
|
21982
|
+
})); const _io19 = (input, _exceptionable = true) => "string" === typeof input.language && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21893
21983
|
if (["language"].some(prop => key === prop))
|
|
21894
21984
|
return true;
|
|
21895
21985
|
const value = input[key];
|
|
21896
21986
|
if (undefined === value)
|
|
21897
21987
|
return true;
|
|
21898
21988
|
return false;
|
|
21899
|
-
})); const
|
|
21989
|
+
})); 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
21990
|
if (["codec", "pan", "samplerate", "split"].some(prop => key === prop))
|
|
21901
21991
|
return true;
|
|
21902
21992
|
const value = input[key];
|
|
21903
21993
|
if (undefined === value)
|
|
21904
21994
|
return true;
|
|
21905
21995
|
return false;
|
|
21906
|
-
})); const
|
|
21996
|
+
})); 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
21997
|
if (["lang", "style", "ccconverter", "ass"].some(prop => key === prop))
|
|
21908
21998
|
return true;
|
|
21909
21999
|
const value = input[key];
|
|
21910
22000
|
if (undefined === value)
|
|
21911
22001
|
return true;
|
|
21912
22002
|
return false;
|
|
21913
|
-
})); const
|
|
22003
|
+
})); const _io22 = (input, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21914
22004
|
if (["preset"].some(prop => key === prop))
|
|
21915
22005
|
return true;
|
|
21916
22006
|
const value = input[key];
|
|
21917
22007
|
if (undefined === value)
|
|
21918
22008
|
return true;
|
|
21919
22009
|
return false;
|
|
21920
|
-
})); const
|
|
22010
|
+
})); 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
22011
|
if (["futureWordWrapping", "scaledBorderAndShadow", "enableUnsafeLineSpacingHack"].some(prop => key === prop))
|
|
21922
22012
|
return true;
|
|
21923
22013
|
const value = input[key];
|
|
21924
22014
|
if (undefined === value)
|
|
21925
22015
|
return true;
|
|
21926
22016
|
return false;
|
|
21927
|
-
})); const
|
|
22017
|
+
})); 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
22018
|
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
21929
22019
|
return true;
|
|
21930
22020
|
const value = input[key];
|
|
21931
22021
|
if (undefined === value)
|
|
21932
22022
|
return true;
|
|
21933
22023
|
return false;
|
|
21934
|
-
})); const
|
|
22024
|
+
})); 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
22025
|
if (["publish", "directory", "name"].some(prop => key === prop))
|
|
21936
22026
|
return true;
|
|
21937
22027
|
const value = input[key];
|
|
21938
22028
|
if (undefined === value)
|
|
21939
22029
|
return true;
|
|
21940
22030
|
return false;
|
|
21941
|
-
})); const
|
|
22031
|
+
})); 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
22032
|
if (["type", "directory", "filename", "renders", "draft", "remote", "published", "asset", "connection", "render", "error", "messages"].some(prop => key === prop))
|
|
21943
22033
|
return true;
|
|
21944
22034
|
const value = input[key];
|
|
21945
22035
|
if (undefined === value)
|
|
21946
22036
|
return true;
|
|
21947
22037
|
return false;
|
|
21948
|
-
})); const
|
|
22038
|
+
})); 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
22039
|
if (["directory", "filename"].some(prop => key === prop))
|
|
21950
22040
|
return true;
|
|
21951
22041
|
const value = input[key];
|
|
21952
22042
|
if (undefined === value)
|
|
21953
22043
|
return true;
|
|
21954
22044
|
return false;
|
|
21955
|
-
})); const
|
|
22045
|
+
})); 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
22046
|
if (["directory", "filename", "renders"].some(prop => key === prop))
|
|
21957
22047
|
return true;
|
|
21958
22048
|
const value = input[key];
|
|
21959
22049
|
if (undefined === value)
|
|
21960
22050
|
return true;
|
|
21961
22051
|
return false;
|
|
21962
|
-
})); const
|
|
22052
|
+
})); const _io29 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
21963
22053
|
const value = input[key];
|
|
21964
22054
|
if (undefined === value)
|
|
21965
22055
|
return true;
|
|
21966
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
21967
|
-
}); const
|
|
22056
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value, true && _exceptionable);
|
|
22057
|
+
}); 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
22058
|
if (["path", "messages", "query", "size", "hash", "source"].some(prop => key === prop))
|
|
21969
22059
|
return true;
|
|
21970
22060
|
const value = input[key];
|
|
21971
22061
|
if (undefined === value)
|
|
21972
22062
|
return true;
|
|
21973
22063
|
return false;
|
|
21974
|
-
})); const
|
|
22064
|
+
})); 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
22065
|
if (["directory", "filename"].some(prop => key === prop))
|
|
21976
22066
|
return true;
|
|
21977
22067
|
const value = input[key];
|
|
21978
22068
|
if (undefined === value)
|
|
21979
22069
|
return true;
|
|
21980
22070
|
return false;
|
|
21981
|
-
})); const
|
|
22071
|
+
})); 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
22072
|
if (["preset", "type", "scene", "profile"].some(prop => key === prop))
|
|
21983
22073
|
return true;
|
|
21984
22074
|
const value = input[key];
|
|
21985
22075
|
if (undefined === value)
|
|
21986
22076
|
return true;
|
|
21987
22077
|
return false;
|
|
21988
|
-
})); const
|
|
22078
|
+
})); const _io33 = (input, _exceptionable = true) => "string" === typeof input.method && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
21989
22079
|
if (["method"].some(prop => key === prop))
|
|
21990
22080
|
return true;
|
|
21991
22081
|
const value = input[key];
|
|
@@ -21994,14 +22084,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
21994
22084
|
return false;
|
|
21995
22085
|
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
21996
22086
|
if (undefined !== input.path)
|
|
21997
|
-
return
|
|
22087
|
+
return _io8(input, true && _exceptionable);
|
|
21998
22088
|
else if (undefined !== input.__context)
|
|
21999
|
-
return
|
|
22089
|
+
return _io24(input, true && _exceptionable);
|
|
22000
22090
|
else
|
|
22001
22091
|
return false;
|
|
22002
22092
|
})(); const _iu1 = (input, _exceptionable = true) => (() => {
|
|
22003
|
-
if (_io3(input, false && _exceptionable))
|
|
22004
|
-
return _io3(input, true && _exceptionable);
|
|
22005
22093
|
if (_io2(input, false && _exceptionable))
|
|
22006
22094
|
return _io2(input, true && _exceptionable);
|
|
22007
22095
|
if (_io0(input, false && _exceptionable))
|
|
@@ -22019,12 +22107,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22019
22107
|
path: _path + ".messages",
|
|
22020
22108
|
expected: "(Array<Message> | undefined)",
|
|
22021
22109
|
value: input.messages
|
|
22022
|
-
})) && input.messages.map((elem,
|
|
22023
|
-
path: _path + ".messages[" +
|
|
22110
|
+
})) && input.messages.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
22111
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
22024
22112
|
expected: "Message",
|
|
22025
22113
|
value: elem
|
|
22026
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
22027
|
-
path: _path + ".messages[" +
|
|
22114
|
+
})) && _vo1(elem, _path + ".messages[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
22115
|
+
path: _path + ".messages[" + _index7 + "]",
|
|
22028
22116
|
expected: "Message",
|
|
22029
22117
|
value: elem
|
|
22030
22118
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22075,51 +22163,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22075
22163
|
"Please remove the property next time."
|
|
22076
22164
|
].join("\n")
|
|
22077
22165
|
});
|
|
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, {
|
|
22166
|
+
}).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
22167
|
path: _path + ".retrieved",
|
|
22120
22168
|
expected: "(FilePublishRetrieved | undefined)",
|
|
22121
22169
|
value: input.retrieved
|
|
22122
|
-
})) &&
|
|
22170
|
+
})) && _vo3(input.retrieved, _path + ".retrieved", true && _exceptionable) || _report(_exceptionable, {
|
|
22123
22171
|
path: _path + ".retrieved",
|
|
22124
22172
|
expected: "(FilePublishRetrieved | undefined)",
|
|
22125
22173
|
value: input.retrieved
|
|
@@ -22127,7 +22175,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22127
22175
|
path: _path + ".defaults",
|
|
22128
22176
|
expected: "(FilePublishDefaults | undefined)",
|
|
22129
22177
|
value: input.defaults
|
|
22130
|
-
})) &&
|
|
22178
|
+
})) && _vo6(input.defaults, _path + ".defaults", true && _exceptionable) || _report(_exceptionable, {
|
|
22131
22179
|
path: _path + ".defaults",
|
|
22132
22180
|
expected: "(FilePublishDefaults | undefined)",
|
|
22133
22181
|
value: input.defaults
|
|
@@ -22143,12 +22191,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22143
22191
|
path: _path + ".messages",
|
|
22144
22192
|
expected: "(Array<Message> | undefined)",
|
|
22145
22193
|
value: input.messages
|
|
22146
|
-
})) && input.messages.map((elem,
|
|
22147
|
-
path: _path + ".messages[" +
|
|
22194
|
+
})) && input.messages.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
22195
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
22148
22196
|
expected: "Message",
|
|
22149
22197
|
value: elem
|
|
22150
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
22151
|
-
path: _path + ".messages[" +
|
|
22198
|
+
})) && _vo1(elem, _path + ".messages[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
22199
|
+
path: _path + ".messages[" + _index8 + "]",
|
|
22152
22200
|
expected: "Message",
|
|
22153
22201
|
value: elem
|
|
22154
22202
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22171,7 +22219,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22171
22219
|
"Please remove the property next time."
|
|
22172
22220
|
].join("\n")
|
|
22173
22221
|
});
|
|
22174
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22222
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.filename || "string" === typeof input.filename || _report(_exceptionable, {
|
|
22175
22223
|
path: _path + ".filename",
|
|
22176
22224
|
expected: "(string | undefined)",
|
|
22177
22225
|
value: input.filename
|
|
@@ -22183,7 +22231,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22183
22231
|
path: _path + ".renders",
|
|
22184
22232
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
22185
22233
|
value: input.renders
|
|
22186
|
-
})) &&
|
|
22234
|
+
})) && _vo4(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
22187
22235
|
path: _path + ".renders",
|
|
22188
22236
|
expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
|
|
22189
22237
|
value: input.renders
|
|
@@ -22203,7 +22251,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22203
22251
|
"Please remove the property next time."
|
|
22204
22252
|
].join("\n")
|
|
22205
22253
|
});
|
|
22206
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22254
|
+
}).every(flag => flag))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
22207
22255
|
const value = input[key];
|
|
22208
22256
|
if (undefined === value)
|
|
22209
22257
|
return true;
|
|
@@ -22211,12 +22259,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22211
22259
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22212
22260
|
expected: "FilePublishRetrievedRender",
|
|
22213
22261
|
value: value
|
|
22214
|
-
})) &&
|
|
22262
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
22215
22263
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22216
22264
|
expected: "FilePublishRetrievedRender",
|
|
22217
22265
|
value: value
|
|
22218
22266
|
});
|
|
22219
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
22267
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.path || _report(_exceptionable, {
|
|
22220
22268
|
path: _path + ".path",
|
|
22221
22269
|
expected: "string",
|
|
22222
22270
|
value: input.path
|
|
@@ -22244,7 +22292,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22244
22292
|
"Please remove the property next time."
|
|
22245
22293
|
].join("\n")
|
|
22246
22294
|
});
|
|
22247
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22295
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.directory || _report(_exceptionable, {
|
|
22248
22296
|
path: _path + ".directory",
|
|
22249
22297
|
expected: "string",
|
|
22250
22298
|
value: input.directory
|
|
@@ -22256,7 +22304,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22256
22304
|
path: _path + ".renders",
|
|
22257
22305
|
expected: "Record<string, FilePublishRender>",
|
|
22258
22306
|
value: input.renders
|
|
22259
|
-
})) &&
|
|
22307
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
22260
22308
|
path: _path + ".renders",
|
|
22261
22309
|
expected: "Record<string, FilePublishRender>",
|
|
22262
22310
|
value: input.renders
|
|
@@ -22276,7 +22324,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22276
22324
|
"Please remove the property next time."
|
|
22277
22325
|
].join("\n")
|
|
22278
22326
|
});
|
|
22279
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22327
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
22280
22328
|
const value = input[key];
|
|
22281
22329
|
if (undefined === value)
|
|
22282
22330
|
return true;
|
|
@@ -22297,7 +22345,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22297
22345
|
expected: "(ResolvedFilePublishRender | __type.o11 | string)",
|
|
22298
22346
|
value: value
|
|
22299
22347
|
}));
|
|
22300
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
22348
|
+
}).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
22301
22349
|
path: _path + ".name",
|
|
22302
22350
|
expected: "(string | undefined)",
|
|
22303
22351
|
value: input.name
|
|
@@ -22325,7 +22373,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22325
22373
|
path: _path + ".scene",
|
|
22326
22374
|
expected: "(RenderSceneObject | undefined)",
|
|
22327
22375
|
value: input.scene
|
|
22328
|
-
})) &&
|
|
22376
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
22329
22377
|
path: _path + ".scene",
|
|
22330
22378
|
expected: "(RenderSceneObject | undefined)",
|
|
22331
22379
|
value: input.scene
|
|
@@ -22333,7 +22381,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22333
22381
|
path: _path + ".profile",
|
|
22334
22382
|
expected: "(RenderProfileObject | undefined)",
|
|
22335
22383
|
value: input.profile
|
|
22336
|
-
})) &&
|
|
22384
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
22337
22385
|
path: _path + ".profile",
|
|
22338
22386
|
expected: "(RenderProfileObject | undefined)",
|
|
22339
22387
|
value: input.profile
|
|
@@ -22353,7 +22401,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22353
22401
|
"Please remove the property next time."
|
|
22354
22402
|
].join("\n")
|
|
22355
22403
|
});
|
|
22356
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22404
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
22357
22405
|
path: _path + ".id",
|
|
22358
22406
|
expected: "(string | undefined)",
|
|
22359
22407
|
value: input.id
|
|
@@ -22365,7 +22413,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22365
22413
|
path: _path + ".input",
|
|
22366
22414
|
expected: "(__type | null | undefined)",
|
|
22367
22415
|
value: input.input
|
|
22368
|
-
})) &&
|
|
22416
|
+
})) && _vo10(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
22369
22417
|
path: _path + ".input",
|
|
22370
22418
|
expected: "(__type | null | undefined)",
|
|
22371
22419
|
value: input.input
|
|
@@ -22381,7 +22429,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22381
22429
|
path: _path + ".subtitleTracks",
|
|
22382
22430
|
expected: "(__type.o1 | undefined)",
|
|
22383
22431
|
value: input.subtitleTracks
|
|
22384
|
-
})) &&
|
|
22432
|
+
})) && _vo11(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
22385
22433
|
path: _path + ".subtitleTracks",
|
|
22386
22434
|
expected: "(__type.o1 | undefined)",
|
|
22387
22435
|
value: input.subtitleTracks
|
|
@@ -22389,7 +22437,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22389
22437
|
path: _path + ".video",
|
|
22390
22438
|
expected: "(__type.o3 | undefined)",
|
|
22391
22439
|
value: input.video
|
|
22392
|
-
})) &&
|
|
22440
|
+
})) && _vo14(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
22393
22441
|
path: _path + ".video",
|
|
22394
22442
|
expected: "(__type.o3 | undefined)",
|
|
22395
22443
|
value: input.video
|
|
@@ -22405,7 +22453,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22405
22453
|
path: _path + ".transcribe",
|
|
22406
22454
|
expected: "(__type.o5 | undefined)",
|
|
22407
22455
|
value: input.transcribe
|
|
22408
|
-
})) &&
|
|
22456
|
+
})) && _vo16(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
22409
22457
|
path: _path + ".transcribe",
|
|
22410
22458
|
expected: "(__type.o5 | undefined)",
|
|
22411
22459
|
value: input.transcribe
|
|
@@ -22425,7 +22473,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22425
22473
|
"Please remove the property next time."
|
|
22426
22474
|
].join("\n")
|
|
22427
22475
|
});
|
|
22428
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22476
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
22429
22477
|
path: _path + ".type",
|
|
22430
22478
|
expected: "(string | undefined)",
|
|
22431
22479
|
value: input.type
|
|
@@ -22449,7 +22497,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22449
22497
|
"Please remove the property next time."
|
|
22450
22498
|
].join("\n")
|
|
22451
22499
|
});
|
|
22452
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22500
|
+
}).every(flag => flag))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
22453
22501
|
const value = input[key];
|
|
22454
22502
|
if (undefined === value)
|
|
22455
22503
|
return true;
|
|
@@ -22457,12 +22505,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22457
22505
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22458
22506
|
expected: "__type.o2",
|
|
22459
22507
|
value: value
|
|
22460
|
-
})) &&
|
|
22508
|
+
})) && _vo12(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
22461
22509
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
22462
22510
|
expected: "__type.o2",
|
|
22463
22511
|
value: value
|
|
22464
22512
|
});
|
|
22465
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
22513
|
+
}).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
22514
|
path: _path + ".style",
|
|
22467
22515
|
expected: "(null | string | undefined)",
|
|
22468
22516
|
value: input.style
|
|
@@ -22470,7 +22518,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22470
22518
|
path: _path + ".styleOverrides",
|
|
22471
22519
|
expected: "(SubtitleStyle | undefined)",
|
|
22472
22520
|
value: input.styleOverrides
|
|
22473
|
-
})) &&
|
|
22521
|
+
})) && _vo13(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
22474
22522
|
path: _path + ".styleOverrides",
|
|
22475
22523
|
expected: "(SubtitleStyle | undefined)",
|
|
22476
22524
|
value: input.styleOverrides
|
|
@@ -22490,7 +22538,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22490
22538
|
"Please remove the property next time."
|
|
22491
22539
|
].join("\n")
|
|
22492
22540
|
});
|
|
22493
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22541
|
+
}).every(flag => flag))].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
22494
22542
|
path: _path + ".name",
|
|
22495
22543
|
expected: "(string | undefined)",
|
|
22496
22544
|
value: input.name
|
|
@@ -22602,11 +22650,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22602
22650
|
"Please remove the property next time."
|
|
22603
22651
|
].join("\n")
|
|
22604
22652
|
});
|
|
22605
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22653
|
+
}).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
22654
|
path: _path + ".crop",
|
|
22607
22655
|
expected: "(__type.o4 | undefined)",
|
|
22608
22656
|
value: input.crop
|
|
22609
|
-
})) &&
|
|
22657
|
+
})) && _vo15(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
22610
22658
|
path: _path + ".crop",
|
|
22611
22659
|
expected: "(__type.o4 | undefined)",
|
|
22612
22660
|
value: input.crop
|
|
@@ -22626,7 +22674,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22626
22674
|
"Please remove the property next time."
|
|
22627
22675
|
].join("\n")
|
|
22628
22676
|
});
|
|
22629
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22677
|
+
}).every(flag => flag))].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
22630
22678
|
path: _path + ".x",
|
|
22631
22679
|
expected: "(number | undefined)",
|
|
22632
22680
|
value: input.x
|
|
@@ -22658,7 +22706,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22658
22706
|
"Please remove the property next time."
|
|
22659
22707
|
].join("\n")
|
|
22660
22708
|
});
|
|
22661
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22709
|
+
}).every(flag => flag))].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
22662
22710
|
path: _path + ".language",
|
|
22663
22711
|
expected: "(string | undefined)",
|
|
22664
22712
|
value: input.language
|
|
@@ -22666,8 +22714,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22666
22714
|
path: _path + ".pan",
|
|
22667
22715
|
expected: "(Array<number> | undefined)",
|
|
22668
22716
|
value: input.pan
|
|
22669
|
-
})) && input.pan.map((elem,
|
|
22670
|
-
path: _path + ".pan[" +
|
|
22717
|
+
})) && input.pan.map((elem, _index9) => "number" === typeof elem || _report(_exceptionable, {
|
|
22718
|
+
path: _path + ".pan[" + _index9 + "]",
|
|
22671
22719
|
expected: "number",
|
|
22672
22720
|
value: elem
|
|
22673
22721
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22690,7 +22738,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22690
22738
|
"Please remove the property next time."
|
|
22691
22739
|
].join("\n")
|
|
22692
22740
|
});
|
|
22693
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22741
|
+
}).every(flag => flag))].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
22694
22742
|
path: _path + ".format",
|
|
22695
22743
|
expected: "string",
|
|
22696
22744
|
value: input.format
|
|
@@ -22698,7 +22746,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22698
22746
|
path: _path + ".transcribe",
|
|
22699
22747
|
expected: "(__type.o6 | undefined)",
|
|
22700
22748
|
value: input.transcribe
|
|
22701
|
-
})) &&
|
|
22749
|
+
})) && _vo18(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
22702
22750
|
path: _path + ".transcribe",
|
|
22703
22751
|
expected: "(__type.o6 | undefined)",
|
|
22704
22752
|
value: input.transcribe
|
|
@@ -22706,7 +22754,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22706
22754
|
path: _path + ".translate",
|
|
22707
22755
|
expected: "(__type.o7 | undefined)",
|
|
22708
22756
|
value: input.translate
|
|
22709
|
-
})) &&
|
|
22757
|
+
})) && _vo19(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
22710
22758
|
path: _path + ".translate",
|
|
22711
22759
|
expected: "(__type.o7 | undefined)",
|
|
22712
22760
|
value: input.translate
|
|
@@ -22714,7 +22762,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22714
22762
|
path: _path + ".audio",
|
|
22715
22763
|
expected: "(__type.o8 | undefined)",
|
|
22716
22764
|
value: input.audio
|
|
22717
|
-
})) &&
|
|
22765
|
+
})) && _vo20(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
22718
22766
|
path: _path + ".audio",
|
|
22719
22767
|
expected: "(__type.o8 | undefined)",
|
|
22720
22768
|
value: input.audio
|
|
@@ -22722,8 +22770,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22722
22770
|
path: _path + ".pick",
|
|
22723
22771
|
expected: "(Array<string> | undefined)",
|
|
22724
22772
|
value: input.pick
|
|
22725
|
-
})) && input.pick.map((elem,
|
|
22726
|
-
path: _path + ".pick[" +
|
|
22773
|
+
})) && input.pick.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
22774
|
+
path: _path + ".pick[" + _index10 + "]",
|
|
22727
22775
|
expected: "string",
|
|
22728
22776
|
value: elem
|
|
22729
22777
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -22738,7 +22786,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22738
22786
|
path: _path + ".subtitle",
|
|
22739
22787
|
expected: "(SubtitleProfile | string | undefined)",
|
|
22740
22788
|
value: input.subtitle
|
|
22741
|
-
})) &&
|
|
22789
|
+
})) && _vo21(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
22742
22790
|
path: _path + ".subtitle",
|
|
22743
22791
|
expected: "(SubtitleProfile | string | undefined)",
|
|
22744
22792
|
value: input.subtitle
|
|
@@ -22758,7 +22806,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22758
22806
|
"Please remove the property next time."
|
|
22759
22807
|
].join("\n")
|
|
22760
22808
|
});
|
|
22761
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22809
|
+
}).every(flag => flag))].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
22762
22810
|
path: _path + ".engine",
|
|
22763
22811
|
expected: "string",
|
|
22764
22812
|
value: input.engine
|
|
@@ -22778,7 +22826,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22778
22826
|
"Please remove the property next time."
|
|
22779
22827
|
].join("\n")
|
|
22780
22828
|
});
|
|
22781
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22829
|
+
}).every(flag => flag))].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
22782
22830
|
path: _path + ".language",
|
|
22783
22831
|
expected: "string",
|
|
22784
22832
|
value: input.language
|
|
@@ -22798,7 +22846,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22798
22846
|
"Please remove the property next time."
|
|
22799
22847
|
].join("\n")
|
|
22800
22848
|
});
|
|
22801
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22849
|
+
}).every(flag => flag))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
22802
22850
|
path: _path + ".codec",
|
|
22803
22851
|
expected: "(string | undefined)",
|
|
22804
22852
|
value: input.codec
|
|
@@ -22830,7 +22878,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22830
22878
|
"Please remove the property next time."
|
|
22831
22879
|
].join("\n")
|
|
22832
22880
|
});
|
|
22833
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22881
|
+
}).every(flag => flag))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
22834
22882
|
path: _path + ".lang",
|
|
22835
22883
|
expected: "(string | undefined)",
|
|
22836
22884
|
value: input.lang
|
|
@@ -22842,7 +22890,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22842
22890
|
path: _path + ".ccconverter",
|
|
22843
22891
|
expected: "(__type.o9 | undefined)",
|
|
22844
22892
|
value: input.ccconverter
|
|
22845
|
-
})) &&
|
|
22893
|
+
})) && _vo22(input.ccconverter, _path + ".ccconverter", true && _exceptionable) || _report(_exceptionable, {
|
|
22846
22894
|
path: _path + ".ccconverter",
|
|
22847
22895
|
expected: "(__type.o9 | undefined)",
|
|
22848
22896
|
value: input.ccconverter
|
|
@@ -22850,7 +22898,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22850
22898
|
path: _path + ".ass",
|
|
22851
22899
|
expected: "(__type.o10 | undefined)",
|
|
22852
22900
|
value: input.ass
|
|
22853
|
-
})) &&
|
|
22901
|
+
})) && _vo23(input.ass, _path + ".ass", true && _exceptionable) || _report(_exceptionable, {
|
|
22854
22902
|
path: _path + ".ass",
|
|
22855
22903
|
expected: "(__type.o10 | undefined)",
|
|
22856
22904
|
value: input.ass
|
|
@@ -22870,7 +22918,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22870
22918
|
"Please remove the property next time."
|
|
22871
22919
|
].join("\n")
|
|
22872
22920
|
});
|
|
22873
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22921
|
+
}).every(flag => flag))].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
22874
22922
|
path: _path + ".preset",
|
|
22875
22923
|
expected: "(string | undefined)",
|
|
22876
22924
|
value: input.preset
|
|
@@ -22890,7 +22938,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22890
22938
|
"Please remove the property next time."
|
|
22891
22939
|
].join("\n")
|
|
22892
22940
|
});
|
|
22893
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22941
|
+
}).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping || _report(_exceptionable, {
|
|
22894
22942
|
path: _path + ".futureWordWrapping",
|
|
22895
22943
|
expected: "(boolean | undefined)",
|
|
22896
22944
|
value: input.futureWordWrapping
|
|
@@ -22918,11 +22966,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22918
22966
|
"Please remove the property next time."
|
|
22919
22967
|
].join("\n")
|
|
22920
22968
|
});
|
|
22921
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
22969
|
+
}).every(flag => flag))].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
22922
22970
|
path: _path + ".__context",
|
|
22923
22971
|
expected: "__type.o12",
|
|
22924
22972
|
value: input.__context
|
|
22925
|
-
})) &&
|
|
22973
|
+
})) && _vo25(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
22926
22974
|
path: _path + ".__context",
|
|
22927
22975
|
expected: "__type.o12",
|
|
22928
22976
|
value: input.__context
|
|
@@ -22930,7 +22978,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22930
22978
|
path: _path + ".__returnValue",
|
|
22931
22979
|
expected: "ResolvedFilePublishRender",
|
|
22932
22980
|
value: input.__returnValue
|
|
22933
|
-
})) &&
|
|
22981
|
+
})) && _vo8(input.__returnValue, _path + ".__returnValue", true && _exceptionable) || _report(_exceptionable, {
|
|
22934
22982
|
path: _path + ".__returnValue",
|
|
22935
22983
|
expected: "ResolvedFilePublishRender",
|
|
22936
22984
|
value: input.__returnValue
|
|
@@ -22950,11 +22998,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22950
22998
|
"Please remove the property next time."
|
|
22951
22999
|
].join("\n")
|
|
22952
23000
|
});
|
|
22953
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23001
|
+
}).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
23002
|
path: _path + ".publish",
|
|
22955
23003
|
expected: "FilePublishRecord",
|
|
22956
23004
|
value: input.publish
|
|
22957
|
-
})) &&
|
|
23005
|
+
})) && _vo26(input.publish, _path + ".publish", true && _exceptionable) || _report(_exceptionable, {
|
|
22958
23006
|
path: _path + ".publish",
|
|
22959
23007
|
expected: "FilePublishRecord",
|
|
22960
23008
|
value: input.publish
|
|
@@ -22982,7 +23030,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22982
23030
|
"Please remove the property next time."
|
|
22983
23031
|
].join("\n")
|
|
22984
23032
|
});
|
|
22985
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23033
|
+
}).every(flag => flag))].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
22986
23034
|
path: _path + ".type",
|
|
22987
23035
|
expected: "(\"file\" | undefined)",
|
|
22988
23036
|
value: input.type
|
|
@@ -22998,7 +23046,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
22998
23046
|
path: _path + ".renders",
|
|
22999
23047
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
23000
23048
|
value: input.renders
|
|
23001
|
-
})) &&
|
|
23049
|
+
})) && _vo7(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
23002
23050
|
path: _path + ".renders",
|
|
23003
23051
|
expected: "(Record<string, FilePublishRender> | undefined)",
|
|
23004
23052
|
value: input.renders
|
|
@@ -23006,7 +23054,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23006
23054
|
path: _path + ".draft",
|
|
23007
23055
|
expected: "(FilePublishDraft | undefined)",
|
|
23008
23056
|
value: input.draft
|
|
23009
|
-
})) &&
|
|
23057
|
+
})) && _vo27(input.draft, _path + ".draft", true && _exceptionable) || _report(_exceptionable, {
|
|
23010
23058
|
path: _path + ".draft",
|
|
23011
23059
|
expected: "(FilePublishDraft | undefined)",
|
|
23012
23060
|
value: input.draft
|
|
@@ -23014,7 +23062,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23014
23062
|
path: _path + ".remote",
|
|
23015
23063
|
expected: "(FilePublishRemote | undefined)",
|
|
23016
23064
|
value: input.remote
|
|
23017
|
-
})) &&
|
|
23065
|
+
})) && _vo28(input.remote, _path + ".remote", true && _exceptionable) || _report(_exceptionable, {
|
|
23018
23066
|
path: _path + ".remote",
|
|
23019
23067
|
expected: "(FilePublishRemote | undefined)",
|
|
23020
23068
|
value: input.remote
|
|
@@ -23022,7 +23070,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23022
23070
|
path: _path + ".published",
|
|
23023
23071
|
expected: "(FilePublishPublished | undefined)",
|
|
23024
23072
|
value: input.published
|
|
23025
|
-
})) &&
|
|
23073
|
+
})) && _vo31(input.published, _path + ".published", true && _exceptionable) || _report(_exceptionable, {
|
|
23026
23074
|
path: _path + ".published",
|
|
23027
23075
|
expected: "(FilePublishPublished | undefined)",
|
|
23028
23076
|
value: input.published
|
|
@@ -23038,7 +23086,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23038
23086
|
path: _path + ".render",
|
|
23039
23087
|
expected: "(PublishRenderBase | undefined)",
|
|
23040
23088
|
value: input.render
|
|
23041
|
-
})) &&
|
|
23089
|
+
})) && _vo32(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
23042
23090
|
path: _path + ".render",
|
|
23043
23091
|
expected: "(PublishRenderBase | undefined)",
|
|
23044
23092
|
value: input.render
|
|
@@ -23046,7 +23094,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23046
23094
|
path: _path + ".error",
|
|
23047
23095
|
expected: "(__type.o13 | null | undefined)",
|
|
23048
23096
|
value: input.error
|
|
23049
|
-
})) &&
|
|
23097
|
+
})) && _vo33(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
23050
23098
|
path: _path + ".error",
|
|
23051
23099
|
expected: "(__type.o13 | null | undefined)",
|
|
23052
23100
|
value: input.error
|
|
@@ -23054,12 +23102,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23054
23102
|
path: _path + ".messages",
|
|
23055
23103
|
expected: "(Array<Message> | undefined)",
|
|
23056
23104
|
value: input.messages
|
|
23057
|
-
})) && input.messages.map((elem,
|
|
23058
|
-
path: _path + ".messages[" +
|
|
23105
|
+
})) && input.messages.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
23106
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
23059
23107
|
expected: "Message",
|
|
23060
23108
|
value: elem
|
|
23061
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
23062
|
-
path: _path + ".messages[" +
|
|
23109
|
+
})) && _vo1(elem, _path + ".messages[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23110
|
+
path: _path + ".messages[" + _index11 + "]",
|
|
23063
23111
|
expected: "Message",
|
|
23064
23112
|
value: elem
|
|
23065
23113
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23082,7 +23130,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23082
23130
|
"Please remove the property next time."
|
|
23083
23131
|
].join("\n")
|
|
23084
23132
|
});
|
|
23085
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23133
|
+
}).every(flag => flag))].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
23086
23134
|
path: _path + ".directory",
|
|
23087
23135
|
expected: "(string | undefined)",
|
|
23088
23136
|
value: input.directory
|
|
@@ -23106,7 +23154,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23106
23154
|
"Please remove the property next time."
|
|
23107
23155
|
].join("\n")
|
|
23108
23156
|
});
|
|
23109
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23157
|
+
}).every(flag => flag))].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
23110
23158
|
path: _path + ".directory",
|
|
23111
23159
|
expected: "(string | undefined)",
|
|
23112
23160
|
value: input.directory
|
|
@@ -23118,7 +23166,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23118
23166
|
path: _path + ".renders",
|
|
23119
23167
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
23120
23168
|
value: input.renders
|
|
23121
|
-
})) &&
|
|
23169
|
+
})) && _vo29(input.renders, _path + ".renders", true && _exceptionable) || _report(_exceptionable, {
|
|
23122
23170
|
path: _path + ".renders",
|
|
23123
23171
|
expected: "(Record<string, FilePublishRemoteRender> | undefined)",
|
|
23124
23172
|
value: input.renders
|
|
@@ -23138,7 +23186,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23138
23186
|
"Please remove the property next time."
|
|
23139
23187
|
].join("\n")
|
|
23140
23188
|
});
|
|
23141
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23189
|
+
}).every(flag => flag))].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
23142
23190
|
const value = input[key];
|
|
23143
23191
|
if (undefined === value)
|
|
23144
23192
|
return true;
|
|
@@ -23146,12 +23194,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23146
23194
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23147
23195
|
expected: "FilePublishRemoteRender",
|
|
23148
23196
|
value: value
|
|
23149
|
-
})) &&
|
|
23197
|
+
})) && _vo30(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
23150
23198
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23151
23199
|
expected: "FilePublishRemoteRender",
|
|
23152
23200
|
value: value
|
|
23153
23201
|
});
|
|
23154
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
23202
|
+
}).every(flag => flag)].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
23155
23203
|
path: _path + ".path",
|
|
23156
23204
|
expected: "(string | undefined)",
|
|
23157
23205
|
value: input.path
|
|
@@ -23159,12 +23207,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23159
23207
|
path: _path + ".messages",
|
|
23160
23208
|
expected: "(Array<Message> | undefined)",
|
|
23161
23209
|
value: input.messages
|
|
23162
|
-
})) && input.messages.map((elem,
|
|
23163
|
-
path: _path + ".messages[" +
|
|
23210
|
+
})) && input.messages.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
23211
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
23164
23212
|
expected: "Message",
|
|
23165
23213
|
value: elem
|
|
23166
|
-
})) && _vo1(elem, _path + ".messages[" +
|
|
23167
|
-
path: _path + ".messages[" +
|
|
23214
|
+
})) && _vo1(elem, _path + ".messages[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
23215
|
+
path: _path + ".messages[" + _index12 + "]",
|
|
23168
23216
|
expected: "Message",
|
|
23169
23217
|
value: elem
|
|
23170
23218
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -23199,7 +23247,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23199
23247
|
"Please remove the property next time."
|
|
23200
23248
|
].join("\n")
|
|
23201
23249
|
});
|
|
23202
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23250
|
+
}).every(flag => flag))].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => [undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
23203
23251
|
path: _path + ".directory",
|
|
23204
23252
|
expected: "(string | undefined)",
|
|
23205
23253
|
value: input.directory
|
|
@@ -23223,7 +23271,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23223
23271
|
"Please remove the property next time."
|
|
23224
23272
|
].join("\n")
|
|
23225
23273
|
});
|
|
23226
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23274
|
+
}).every(flag => flag))].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
23227
23275
|
path: _path + ".preset",
|
|
23228
23276
|
expected: "(string | undefined)",
|
|
23229
23277
|
value: input.preset
|
|
@@ -23235,7 +23283,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23235
23283
|
path: _path + ".scene",
|
|
23236
23284
|
expected: "(RenderSceneObject | undefined)",
|
|
23237
23285
|
value: input.scene
|
|
23238
|
-
})) &&
|
|
23286
|
+
})) && _vo9(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
23239
23287
|
path: _path + ".scene",
|
|
23240
23288
|
expected: "(RenderSceneObject | undefined)",
|
|
23241
23289
|
value: input.scene
|
|
@@ -23243,7 +23291,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23243
23291
|
path: _path + ".profile",
|
|
23244
23292
|
expected: "(RenderProfileObject | undefined)",
|
|
23245
23293
|
value: input.profile
|
|
23246
|
-
})) &&
|
|
23294
|
+
})) && _vo17(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
23247
23295
|
path: _path + ".profile",
|
|
23248
23296
|
expected: "(RenderProfileObject | undefined)",
|
|
23249
23297
|
value: input.profile
|
|
@@ -23263,7 +23311,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23263
23311
|
"Please remove the property next time."
|
|
23264
23312
|
].join("\n")
|
|
23265
23313
|
});
|
|
23266
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
23314
|
+
}).every(flag => flag))].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
23267
23315
|
path: _path + ".method",
|
|
23268
23316
|
expected: "string",
|
|
23269
23317
|
value: input.method
|
|
@@ -23285,9 +23333,9 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23285
23333
|
});
|
|
23286
23334
|
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
23287
23335
|
if (undefined !== input.path)
|
|
23288
|
-
return
|
|
23336
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
23289
23337
|
else if (undefined !== input.__context)
|
|
23290
|
-
return
|
|
23338
|
+
return _vo24(input, _path, true && _exceptionable);
|
|
23291
23339
|
else
|
|
23292
23340
|
return _report(_exceptionable, {
|
|
23293
23341
|
path: _path,
|
|
@@ -23295,15 +23343,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23295
23343
|
value: input
|
|
23296
23344
|
});
|
|
23297
23345
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
23298
|
-
if (_vo3(input, _path, false && _exceptionable))
|
|
23299
|
-
return _vo3(input, _path, true && _exceptionable);
|
|
23300
23346
|
if (_vo2(input, _path, false && _exceptionable))
|
|
23301
23347
|
return _vo2(input, _path, true && _exceptionable);
|
|
23302
23348
|
if (_vo0(input, _path, false && _exceptionable))
|
|
23303
23349
|
return _vo0(input, _path, true && _exceptionable);
|
|
23304
23350
|
return _report(_exceptionable, {
|
|
23305
23351
|
path: _path,
|
|
23306
|
-
expected: "(FilePublishStatsRecord |
|
|
23352
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
23307
23353
|
value: input
|
|
23308
23354
|
});
|
|
23309
23355
|
})(); 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 +23358,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
23312
23358
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
23313
23359
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
23314
23360
|
path: _path + "",
|
|
23315
|
-
expected: "(
|
|
23361
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
23316
23362
|
value: input
|
|
23317
23363
|
})) && _vu1(input, _path + "", true) || _report(true, {
|
|
23318
23364
|
path: _path + "",
|
|
23319
|
-
expected: "(
|
|
23365
|
+
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
23320
23366
|
value: input
|
|
23321
23367
|
}))(input, "$input", true);
|
|
23322
23368
|
const success = 0 === errors.length;
|
|
@@ -27390,8 +27436,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27390
27436
|
}; })()(input);
|
|
27391
27437
|
}
|
|
27392
27438
|
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 _iv32 = 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))
|
|
27439
|
+
return (() => { const _iv23 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv32 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv62 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _vv71 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = (input, _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) && _io60(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) && _io66(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) && _io67(input.storyboard, true && _exceptionable)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io76(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) && _io77(elem, true && _exceptionable))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io78(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) && _io81(input.featurePreview, true && _exceptionable)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io82(input.flags, true && _exceptionable)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io83(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) && _io86(input.clone, true && _exceptionable)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io89(input.utilsAssetEditorPanel, true && _exceptionable)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io90(input.display, true && _exceptionable)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io91(input.bookmarks, true && _exceptionable)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io92(input.shotbox, true && _exceptionable)) && (undefined === input.performance || "object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) && _io93(input.performance, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27440
|
+
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
27441
|
return true;
|
|
27396
27442
|
const value = input[key];
|
|
27397
27443
|
if (undefined === value)
|
|
@@ -27938,8 +27984,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27938
27984
|
if (undefined === value)
|
|
27939
27985
|
return true;
|
|
27940
27986
|
return false;
|
|
27941
|
-
})); const _io82 = (input, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27942
|
-
if (["utils", "utilsAssetEditor", "utilsAssetPanel", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
27987
|
+
})); const _io82 = (input, _exceptionable = true) => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27988
|
+
if (["utils", "utilsAssetEditor", "utilsAssetPanel", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth", "systemHealthIgnore"].some(prop => key === prop))
|
|
27943
27989
|
return true;
|
|
27944
27990
|
const value = input[key];
|
|
27945
27991
|
if (undefined === value)
|
|
@@ -28013,6 +28059,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28013
28059
|
if (undefined === value)
|
|
28014
28060
|
return true;
|
|
28015
28061
|
return false;
|
|
28062
|
+
})); const _io93 = (input, _exceptionable = true) => (undefined === input.ignoredMessages || Array.isArray(input.ignoredMessages) && input.ignoredMessages.every((elem, _index39) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
28063
|
+
if (["ignoredMessages"].some(prop => key === prop))
|
|
28064
|
+
return true;
|
|
28065
|
+
const value = input[key];
|
|
28066
|
+
if (undefined === value)
|
|
28067
|
+
return true;
|
|
28068
|
+
return false;
|
|
28016
28069
|
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
28017
28070
|
path: _path + ".autoLogoutTime",
|
|
28018
28071
|
expected: "(number | undefined)",
|
|
@@ -28069,16 +28122,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28069
28122
|
path: _path + ".exclusiveTagGroups",
|
|
28070
28123
|
expected: "(Array<Array<string>> | undefined)",
|
|
28071
28124
|
value: input.exclusiveTagGroups
|
|
28072
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
28073
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
28125
|
+
})) && input.exclusiveTagGroups.map((elem, _index40) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
28126
|
+
path: _path + ".exclusiveTagGroups[" + _index40 + "]",
|
|
28074
28127
|
expected: "Array<string>",
|
|
28075
28128
|
value: elem
|
|
28076
|
-
})) && elem.map((elem,
|
|
28077
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
28129
|
+
})) && elem.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
28130
|
+
path: _path + ".exclusiveTagGroups[" + _index40 + "][" + _index41 + "]",
|
|
28078
28131
|
expected: "string",
|
|
28079
28132
|
value: elem
|
|
28080
28133
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
28081
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
28134
|
+
path: _path + ".exclusiveTagGroups[" + _index40 + "]",
|
|
28082
28135
|
expected: "Array<string>",
|
|
28083
28136
|
value: elem
|
|
28084
28137
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28197,12 +28250,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28197
28250
|
path: _path + ".commands",
|
|
28198
28251
|
expected: "(Array<__type>.o6 | undefined)",
|
|
28199
28252
|
value: input.commands
|
|
28200
|
-
})) && input.commands.map((elem,
|
|
28201
|
-
path: _path + ".commands[" +
|
|
28253
|
+
})) && input.commands.map((elem, _index42) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
28254
|
+
path: _path + ".commands[" + _index42 + "]",
|
|
28202
28255
|
expected: "__type.o58",
|
|
28203
28256
|
value: elem
|
|
28204
|
-
})) && _vo66(elem, _path + ".commands[" +
|
|
28205
|
-
path: _path + ".commands[" +
|
|
28257
|
+
})) && _vo66(elem, _path + ".commands[" + _index42 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
28258
|
+
path: _path + ".commands[" + _index42 + "]",
|
|
28206
28259
|
expected: "__type.o58",
|
|
28207
28260
|
value: elem
|
|
28208
28261
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28213,8 +28266,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28213
28266
|
path: _path + ".predefinedTags",
|
|
28214
28267
|
expected: "(Array<string> | undefined)",
|
|
28215
28268
|
value: input.predefinedTags
|
|
28216
|
-
})) && input.predefinedTags.map((elem,
|
|
28217
|
-
path: _path + ".predefinedTags[" +
|
|
28269
|
+
})) && input.predefinedTags.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
28270
|
+
path: _path + ".predefinedTags[" + _index43 + "]",
|
|
28218
28271
|
expected: "string",
|
|
28219
28272
|
value: elem
|
|
28220
28273
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28241,12 +28294,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28241
28294
|
path: _path + ".hiddenPreviews",
|
|
28242
28295
|
expected: "(Array<__type>.o7 | undefined)",
|
|
28243
28296
|
value: input.hiddenPreviews
|
|
28244
|
-
})) && input.hiddenPreviews.map((elem,
|
|
28245
|
-
path: _path + ".hiddenPreviews[" +
|
|
28297
|
+
})) && input.hiddenPreviews.map((elem, _index44) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
28298
|
+
path: _path + ".hiddenPreviews[" + _index44 + "]",
|
|
28246
28299
|
expected: "__type.o69",
|
|
28247
28300
|
value: elem
|
|
28248
|
-
})) && _vo77(elem, _path + ".hiddenPreviews[" +
|
|
28249
|
-
path: _path + ".hiddenPreviews[" +
|
|
28301
|
+
})) && _vo77(elem, _path + ".hiddenPreviews[" + _index44 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
28302
|
+
path: _path + ".hiddenPreviews[" + _index44 + "]",
|
|
28250
28303
|
expected: "__type.o69",
|
|
28251
28304
|
value: elem
|
|
28252
28305
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28337,8 +28390,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28337
28390
|
path: _path + ".shotbox",
|
|
28338
28391
|
expected: "(__type.o84 | undefined)",
|
|
28339
28392
|
value: input.shotbox
|
|
28393
|
+
}), undefined === input.performance || ("object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) || _report(_exceptionable, {
|
|
28394
|
+
path: _path + ".performance",
|
|
28395
|
+
expected: "(__type.o85 | undefined)",
|
|
28396
|
+
value: input.performance
|
|
28397
|
+
})) && _vo93(input.performance, _path + ".performance", true && _exceptionable) || _report(_exceptionable, {
|
|
28398
|
+
path: _path + ".performance",
|
|
28399
|
+
expected: "(__type.o85 | undefined)",
|
|
28400
|
+
value: input.performance
|
|
28340
28401
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28341
|
-
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))
|
|
28402
|
+
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))
|
|
28342
28403
|
return true;
|
|
28343
28404
|
const value = input[key];
|
|
28344
28405
|
if (undefined === value)
|
|
@@ -28632,8 +28693,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28632
28693
|
path: _path + ".sortOrder",
|
|
28633
28694
|
expected: "(Array<string> | undefined)",
|
|
28634
28695
|
value: input.sortOrder
|
|
28635
|
-
})) && input.sortOrder.map((elem,
|
|
28636
|
-
path: _path + ".sortOrder[" +
|
|
28696
|
+
})) && input.sortOrder.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
28697
|
+
path: _path + ".sortOrder[" + _index45 + "]",
|
|
28637
28698
|
expected: "string",
|
|
28638
28699
|
value: elem
|
|
28639
28700
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28660,8 +28721,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28660
28721
|
path: _path + ".include",
|
|
28661
28722
|
expected: "(Array<string> | undefined)",
|
|
28662
28723
|
value: input.include
|
|
28663
|
-
})) && input.include.map((elem,
|
|
28664
|
-
path: _path + ".include[" +
|
|
28724
|
+
})) && input.include.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
28725
|
+
path: _path + ".include[" + _index46 + "]",
|
|
28665
28726
|
expected: "string",
|
|
28666
28727
|
value: elem
|
|
28667
28728
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28672,8 +28733,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28672
28733
|
path: _path + ".exclude",
|
|
28673
28734
|
expected: "(Array<string> | undefined)",
|
|
28674
28735
|
value: input.exclude
|
|
28675
|
-
})) && input.exclude.map((elem,
|
|
28676
|
-
path: _path + ".exclude[" +
|
|
28736
|
+
})) && input.exclude.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
28737
|
+
path: _path + ".exclude[" + _index47 + "]",
|
|
28677
28738
|
expected: "string",
|
|
28678
28739
|
value: elem
|
|
28679
28740
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28700,8 +28761,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28700
28761
|
path: _path + ".include",
|
|
28701
28762
|
expected: "(Array<string> | undefined)",
|
|
28702
28763
|
value: input.include
|
|
28703
|
-
})) && input.include.map((elem,
|
|
28704
|
-
path: _path + ".include[" +
|
|
28764
|
+
})) && input.include.map((elem, _index48) => "string" === typeof elem || _report(_exceptionable, {
|
|
28765
|
+
path: _path + ".include[" + _index48 + "]",
|
|
28705
28766
|
expected: "string",
|
|
28706
28767
|
value: elem
|
|
28707
28768
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28712,8 +28773,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28712
28773
|
path: _path + ".exclude",
|
|
28713
28774
|
expected: "(Array<string> | undefined)",
|
|
28714
28775
|
value: input.exclude
|
|
28715
|
-
})) && input.exclude.map((elem,
|
|
28716
|
-
path: _path + ".exclude[" +
|
|
28776
|
+
})) && input.exclude.map((elem, _index49) => "string" === typeof elem || _report(_exceptionable, {
|
|
28777
|
+
path: _path + ".exclude[" + _index49 + "]",
|
|
28717
28778
|
expected: "string",
|
|
28718
28779
|
value: elem
|
|
28719
28780
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28740,8 +28801,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28740
28801
|
path: _path + ".include",
|
|
28741
28802
|
expected: "(Array<string> | undefined)",
|
|
28742
28803
|
value: input.include
|
|
28743
|
-
})) && input.include.map((elem,
|
|
28744
|
-
path: _path + ".include[" +
|
|
28804
|
+
})) && input.include.map((elem, _index50) => "string" === typeof elem || _report(_exceptionable, {
|
|
28805
|
+
path: _path + ".include[" + _index50 + "]",
|
|
28745
28806
|
expected: "string",
|
|
28746
28807
|
value: elem
|
|
28747
28808
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28752,8 +28813,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28752
28813
|
path: _path + ".exclude",
|
|
28753
28814
|
expected: "(Array<string> | undefined)",
|
|
28754
28815
|
value: input.exclude
|
|
28755
|
-
})) && input.exclude.map((elem,
|
|
28756
|
-
path: _path + ".exclude[" +
|
|
28816
|
+
})) && input.exclude.map((elem, _index51) => "string" === typeof elem || _report(_exceptionable, {
|
|
28817
|
+
path: _path + ".exclude[" + _index51 + "]",
|
|
28757
28818
|
expected: "string",
|
|
28758
28819
|
value: elem
|
|
28759
28820
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28780,8 +28841,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28780
28841
|
path: _path + ".include",
|
|
28781
28842
|
expected: "(Array<string> | undefined)",
|
|
28782
28843
|
value: input.include
|
|
28783
|
-
})) && input.include.map((elem,
|
|
28784
|
-
path: _path + ".include[" +
|
|
28844
|
+
})) && input.include.map((elem, _index52) => "string" === typeof elem || _report(_exceptionable, {
|
|
28845
|
+
path: _path + ".include[" + _index52 + "]",
|
|
28785
28846
|
expected: "string",
|
|
28786
28847
|
value: elem
|
|
28787
28848
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28792,8 +28853,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28792
28853
|
path: _path + ".exclude",
|
|
28793
28854
|
expected: "(Array<string> | undefined)",
|
|
28794
28855
|
value: input.exclude
|
|
28795
|
-
})) && input.exclude.map((elem,
|
|
28796
|
-
path: _path + ".exclude[" +
|
|
28856
|
+
})) && input.exclude.map((elem, _index53) => "string" === typeof elem || _report(_exceptionable, {
|
|
28857
|
+
path: _path + ".exclude[" + _index53 + "]",
|
|
28797
28858
|
expected: "string",
|
|
28798
28859
|
value: elem
|
|
28799
28860
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28952,12 +29013,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28952
29013
|
path: _path + ".colorTags",
|
|
28953
29014
|
expected: "(Array<PromotedTag> | undefined)",
|
|
28954
29015
|
value: input.colorTags
|
|
28955
|
-
})) && input.colorTags.map((elem,
|
|
28956
|
-
path: _path + ".colorTags[" +
|
|
29016
|
+
})) && input.colorTags.map((elem, _index54) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
29017
|
+
path: _path + ".colorTags[" + _index54 + "]",
|
|
28957
29018
|
expected: "PromotedTag",
|
|
28958
29019
|
value: elem
|
|
28959
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
28960
|
-
path: _path + ".colorTags[" +
|
|
29020
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29021
|
+
path: _path + ".colorTags[" + _index54 + "]",
|
|
28961
29022
|
expected: "PromotedTag",
|
|
28962
29023
|
value: elem
|
|
28963
29024
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28984,12 +29045,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28984
29045
|
path: _path + ".colorHistory",
|
|
28985
29046
|
expected: "(Array<__type> | undefined)",
|
|
28986
29047
|
value: input.colorHistory
|
|
28987
|
-
})) && input.colorHistory.map((elem,
|
|
28988
|
-
path: _path + ".colorHistory[" +
|
|
29048
|
+
})) && input.colorHistory.map((elem, _index55) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
29049
|
+
path: _path + ".colorHistory[" + _index55 + "]",
|
|
28989
29050
|
expected: "__type.o20",
|
|
28990
29051
|
value: elem
|
|
28991
|
-
})) && _vo25(elem, _path + ".colorHistory[" +
|
|
28992
|
-
path: _path + ".colorHistory[" +
|
|
29052
|
+
})) && _vo25(elem, _path + ".colorHistory[" + _index55 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29053
|
+
path: _path + ".colorHistory[" + _index55 + "]",
|
|
28993
29054
|
expected: "__type.o20",
|
|
28994
29055
|
value: elem
|
|
28995
29056
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29137,8 +29198,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29137
29198
|
path: _path + ".favorites",
|
|
29138
29199
|
expected: "(Array<string> | undefined)",
|
|
29139
29200
|
value: input.favorites
|
|
29140
|
-
})) && input.favorites.map((elem,
|
|
29141
|
-
path: _path + ".favorites[" +
|
|
29201
|
+
})) && input.favorites.map((elem, _index56) => "string" === typeof elem || _report(_exceptionable, {
|
|
29202
|
+
path: _path + ".favorites[" + _index56 + "]",
|
|
29142
29203
|
expected: "string",
|
|
29143
29204
|
value: elem
|
|
29144
29205
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29589,8 +29650,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29589
29650
|
path: _path + ".playbackRates",
|
|
29590
29651
|
expected: "(Array<number> | undefined)",
|
|
29591
29652
|
value: input.playbackRates
|
|
29592
|
-
})) && input.playbackRates.map((elem,
|
|
29593
|
-
path: _path + ".playbackRates[" +
|
|
29653
|
+
})) && input.playbackRates.map((elem, _index57) => "number" === typeof elem || _report(_exceptionable, {
|
|
29654
|
+
path: _path + ".playbackRates[" + _index57 + "]",
|
|
29594
29655
|
expected: "number",
|
|
29595
29656
|
value: elem
|
|
29596
29657
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29617,12 +29678,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29617
29678
|
path: _path + ".guides",
|
|
29618
29679
|
expected: "(Array<__type>.o3 | undefined)",
|
|
29619
29680
|
value: input.guides
|
|
29620
|
-
})) && input.guides.map((elem,
|
|
29621
|
-
path: _path + ".guides[" +
|
|
29681
|
+
})) && input.guides.map((elem, _index58) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29682
|
+
path: _path + ".guides[" + _index58 + "]",
|
|
29622
29683
|
expected: "__type.o43",
|
|
29623
29684
|
value: elem
|
|
29624
|
-
})) && _vo50(elem, _path + ".guides[" +
|
|
29625
|
-
path: _path + ".guides[" +
|
|
29685
|
+
})) && _vo50(elem, _path + ".guides[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29686
|
+
path: _path + ".guides[" + _index58 + "]",
|
|
29626
29687
|
expected: "__type.o43",
|
|
29627
29688
|
value: elem
|
|
29628
29689
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29749,12 +29810,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29749
29810
|
path: _path + ".suggestions",
|
|
29750
29811
|
expected: "(Array<__type>.o1 | undefined)",
|
|
29751
29812
|
value: input.suggestions
|
|
29752
|
-
})) && input.suggestions.map((elem,
|
|
29753
|
-
path: _path + ".suggestions[" +
|
|
29813
|
+
})) && input.suggestions.map((elem, _index59) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29814
|
+
path: _path + ".suggestions[" + _index59 + "]",
|
|
29754
29815
|
expected: "__type.o41",
|
|
29755
29816
|
value: elem
|
|
29756
|
-
})) && _vo48(elem, _path + ".suggestions[" +
|
|
29757
|
-
path: _path + ".suggestions[" +
|
|
29817
|
+
})) && _vo48(elem, _path + ".suggestions[" + _index59 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29818
|
+
path: _path + ".suggestions[" + _index59 + "]",
|
|
29758
29819
|
expected: "__type.o41",
|
|
29759
29820
|
value: elem
|
|
29760
29821
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29765,12 +29826,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29765
29826
|
path: _path + ".colors",
|
|
29766
29827
|
expected: "(Array<__type>.o2 | undefined)",
|
|
29767
29828
|
value: input.colors
|
|
29768
|
-
})) && input.colors.map((elem,
|
|
29769
|
-
path: _path + ".colors[" +
|
|
29829
|
+
})) && input.colors.map((elem, _index60) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29830
|
+
path: _path + ".colors[" + _index60 + "]",
|
|
29770
29831
|
expected: "__type.o42",
|
|
29771
29832
|
value: elem
|
|
29772
|
-
})) && _vo49(elem, _path + ".colors[" +
|
|
29773
|
-
path: _path + ".colors[" +
|
|
29833
|
+
})) && _vo49(elem, _path + ".colors[" + _index60 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29834
|
+
path: _path + ".colors[" + _index60 + "]",
|
|
29774
29835
|
expected: "__type.o42",
|
|
29775
29836
|
value: elem
|
|
29776
29837
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29781,8 +29842,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29781
29842
|
path: _path + ".overridableProperties",
|
|
29782
29843
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
29783
29844
|
value: input.overridableProperties
|
|
29784
|
-
})) && input.overridableProperties.map((elem,
|
|
29785
|
-
path: _path + ".overridableProperties[" +
|
|
29845
|
+
})) && input.overridableProperties.map((elem, _index61) => null === elem || true === _vv62.has(elem) || _report(_exceptionable, {
|
|
29846
|
+
path: _path + ".overridableProperties[" + _index61 + "]",
|
|
29786
29847
|
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)",
|
|
29787
29848
|
value: elem
|
|
29788
29849
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29977,12 +30038,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29977
30038
|
path: _path + ".text",
|
|
29978
30039
|
expected: "(Array<__type>.o4 | undefined)",
|
|
29979
30040
|
value: input.text
|
|
29980
|
-
})) && input.text.map((elem,
|
|
29981
|
-
path: _path + ".text[" +
|
|
30041
|
+
})) && input.text.map((elem, _index63) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
30042
|
+
path: _path + ".text[" + _index63 + "]",
|
|
29982
30043
|
expected: "__type.o48",
|
|
29983
30044
|
value: elem
|
|
29984
|
-
})) && _vo55(elem, _path + ".text[" +
|
|
29985
|
-
path: _path + ".text[" +
|
|
30045
|
+
})) && _vo55(elem, _path + ".text[" + _index63 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
30046
|
+
path: _path + ".text[" + _index63 + "]",
|
|
29986
30047
|
expected: "__type.o48",
|
|
29987
30048
|
value: elem
|
|
29988
30049
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30053,8 +30114,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30053
30114
|
path: _path + ".args",
|
|
30054
30115
|
expected: "(Array<string> | undefined)",
|
|
30055
30116
|
value: input.args
|
|
30056
|
-
})) && input.args.map((elem,
|
|
30057
|
-
path: _path + ".args[" +
|
|
30117
|
+
})) && input.args.map((elem, _index64) => "string" === typeof elem || _report(_exceptionable, {
|
|
30118
|
+
path: _path + ".args[" + _index64 + "]",
|
|
30058
30119
|
expected: "string",
|
|
30059
30120
|
value: elem
|
|
30060
30121
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30217,12 +30278,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30217
30278
|
path: _path + ".presets",
|
|
30218
30279
|
expected: "(Array<AudioMappingPreset> | undefined)",
|
|
30219
30280
|
value: input.presets
|
|
30220
|
-
})) && input.presets.map((elem,
|
|
30221
|
-
path: _path + ".presets[" +
|
|
30281
|
+
})) && input.presets.map((elem, _index65) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
30282
|
+
path: _path + ".presets[" + _index65 + "]",
|
|
30222
30283
|
expected: "AudioMappingPreset",
|
|
30223
30284
|
value: elem
|
|
30224
|
-
})) && _vo62(elem, _path + ".presets[" +
|
|
30225
|
-
path: _path + ".presets[" +
|
|
30285
|
+
})) && _vo62(elem, _path + ".presets[" + _index65 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
30286
|
+
path: _path + ".presets[" + _index65 + "]",
|
|
30226
30287
|
expected: "AudioMappingPreset",
|
|
30227
30288
|
value: elem
|
|
30228
30289
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30257,16 +30318,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30257
30318
|
path: _path + ".mapping",
|
|
30258
30319
|
expected: "(Array<Array<number>> | undefined)",
|
|
30259
30320
|
value: input.mapping
|
|
30260
|
-
})) && input.mapping.map((elem,
|
|
30261
|
-
path: _path + ".mapping[" +
|
|
30321
|
+
})) && input.mapping.map((elem, _index66) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
30322
|
+
path: _path + ".mapping[" + _index66 + "]",
|
|
30262
30323
|
expected: "Array<number>",
|
|
30263
30324
|
value: elem
|
|
30264
|
-
})) && elem.map((elem,
|
|
30265
|
-
path: _path + ".mapping[" +
|
|
30325
|
+
})) && elem.map((elem, _index67) => "number" === typeof elem || _report(_exceptionable, {
|
|
30326
|
+
path: _path + ".mapping[" + _index66 + "][" + _index67 + "]",
|
|
30266
30327
|
expected: "number",
|
|
30267
30328
|
value: elem
|
|
30268
30329
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
30269
|
-
path: _path + ".mapping[" +
|
|
30330
|
+
path: _path + ".mapping[" + _index66 + "]",
|
|
30270
30331
|
expected: "Array<number>",
|
|
30271
30332
|
value: elem
|
|
30272
30333
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30277,8 +30338,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30277
30338
|
path: _path + ".mute",
|
|
30278
30339
|
expected: "(Array<boolean> | undefined)",
|
|
30279
30340
|
value: input.mute
|
|
30280
|
-
})) && input.mute.map((elem,
|
|
30281
|
-
path: _path + ".mute[" +
|
|
30341
|
+
})) && input.mute.map((elem, _index68) => "boolean" === typeof elem || _report(_exceptionable, {
|
|
30342
|
+
path: _path + ".mute[" + _index68 + "]",
|
|
30282
30343
|
expected: "boolean",
|
|
30283
30344
|
value: elem
|
|
30284
30345
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30321,12 +30382,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30321
30382
|
path: _path + ".presets",
|
|
30322
30383
|
expected: "(Array<__type>.o5 | undefined)",
|
|
30323
30384
|
value: input.presets
|
|
30324
|
-
})) && input.presets.map((elem,
|
|
30325
|
-
path: _path + ".presets[" +
|
|
30385
|
+
})) && input.presets.map((elem, _index69) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
30386
|
+
path: _path + ".presets[" + _index69 + "]",
|
|
30326
30387
|
expected: "__type.o56",
|
|
30327
30388
|
value: elem
|
|
30328
|
-
})) && _vo64(elem, _path + ".presets[" +
|
|
30329
|
-
path: _path + ".presets[" +
|
|
30389
|
+
})) && _vo64(elem, _path + ".presets[" + _index69 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
30390
|
+
path: _path + ".presets[" + _index69 + "]",
|
|
30330
30391
|
expected: "__type.o56",
|
|
30331
30392
|
value: elem
|
|
30332
30393
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30437,8 +30498,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30437
30498
|
path: _path + ".args",
|
|
30438
30499
|
expected: "(Array<string> | undefined)",
|
|
30439
30500
|
value: input.args
|
|
30440
|
-
})) && input.args.map((elem,
|
|
30441
|
-
path: _path + ".args[" +
|
|
30501
|
+
})) && input.args.map((elem, _index70) => "string" === typeof elem || _report(_exceptionable, {
|
|
30502
|
+
path: _path + ".args[" + _index70 + "]",
|
|
30442
30503
|
expected: "string",
|
|
30443
30504
|
value: elem
|
|
30444
30505
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30641,7 +30702,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30641
30702
|
path: _path + ".search",
|
|
30642
30703
|
expected: "(__type.o66 | undefined)",
|
|
30643
30704
|
value: input.search
|
|
30644
|
-
}), undefined === input.sortMode || true ===
|
|
30705
|
+
}), undefined === input.sortMode || true === _vv71.has(input.sortMode) || _report(_exceptionable, {
|
|
30645
30706
|
path: _path + ".sortMode",
|
|
30646
30707
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
30647
30708
|
value: input.sortMode
|
|
@@ -30709,8 +30770,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30709
30770
|
path: _path + ".fontFamilies",
|
|
30710
30771
|
expected: "(Array<string> | undefined)",
|
|
30711
30772
|
value: input.fontFamilies
|
|
30712
|
-
})) && input.fontFamilies.map((elem,
|
|
30713
|
-
path: _path + ".fontFamilies[" +
|
|
30773
|
+
})) && input.fontFamilies.map((elem, _index72) => "string" === typeof elem || _report(_exceptionable, {
|
|
30774
|
+
path: _path + ".fontFamilies[" + _index72 + "]",
|
|
30714
30775
|
expected: "string",
|
|
30715
30776
|
value: elem
|
|
30716
30777
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30933,8 +30994,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30933
30994
|
path: _path + ".systemHealth",
|
|
30934
30995
|
expected: "(boolean | undefined)",
|
|
30935
30996
|
value: input.systemHealth
|
|
30997
|
+
}), undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore || _report(_exceptionable, {
|
|
30998
|
+
path: _path + ".systemHealthIgnore",
|
|
30999
|
+
expected: "(boolean | undefined)",
|
|
31000
|
+
value: input.systemHealthIgnore
|
|
30936
31001
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
30937
|
-
if (["utils", "utilsAssetEditor", "utilsAssetPanel", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
31002
|
+
if (["utils", "utilsAssetEditor", "utilsAssetPanel", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth", "systemHealthIgnore"].some(prop => key === prop))
|
|
30938
31003
|
return true;
|
|
30939
31004
|
const value = input[key];
|
|
30940
31005
|
if (undefined === value)
|
|
@@ -30977,8 +31042,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30977
31042
|
path: _path + ".comment",
|
|
30978
31043
|
expected: "(Array<NotificationReason> | undefined)",
|
|
30979
31044
|
value: input.comment
|
|
30980
|
-
})) && input.comment.map((elem,
|
|
30981
|
-
path: _path + ".comment[" +
|
|
31045
|
+
})) && input.comment.map((elem, _index73) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
31046
|
+
path: _path + ".comment[" + _index73 + "]",
|
|
30982
31047
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
30983
31048
|
value: elem
|
|
30984
31049
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -30989,8 +31054,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
30989
31054
|
path: _path + ".assigned",
|
|
30990
31055
|
expected: "(Array<NotificationReason> | undefined)",
|
|
30991
31056
|
value: input.assigned
|
|
30992
|
-
})) && input.assigned.map((elem,
|
|
30993
|
-
path: _path + ".assigned[" +
|
|
31057
|
+
})) && input.assigned.map((elem, _index74) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
31058
|
+
path: _path + ".assigned[" + _index74 + "]",
|
|
30994
31059
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
30995
31060
|
value: elem
|
|
30996
31061
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31001,8 +31066,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31001
31066
|
path: _path + ".unassigned",
|
|
31002
31067
|
expected: "(Array<NotificationReason> | undefined)",
|
|
31003
31068
|
value: input.unassigned
|
|
31004
|
-
})) && input.unassigned.map((elem,
|
|
31005
|
-
path: _path + ".unassigned[" +
|
|
31069
|
+
})) && input.unassigned.map((elem, _index75) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
31070
|
+
path: _path + ".unassigned[" + _index75 + "]",
|
|
31006
31071
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
31007
31072
|
value: elem
|
|
31008
31073
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31041,8 +31106,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31041
31106
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
31042
31107
|
expected: "Array<NotificationReason>",
|
|
31043
31108
|
value: value
|
|
31044
|
-
})) && value.map((elem,
|
|
31045
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
31109
|
+
})) && value.map((elem, _index76) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
31110
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index76 + "]",
|
|
31046
31111
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
31047
31112
|
value: elem
|
|
31048
31113
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31134,8 +31199,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31134
31199
|
path: _path + ".stateFilter",
|
|
31135
31200
|
expected: "(Array<number> | undefined)",
|
|
31136
31201
|
value: input.stateFilter
|
|
31137
|
-
})) && input.stateFilter.map((elem,
|
|
31138
|
-
path: _path + ".stateFilter[" +
|
|
31202
|
+
})) && input.stateFilter.map((elem, _index77) => "number" === typeof elem || _report(_exceptionable, {
|
|
31203
|
+
path: _path + ".stateFilter[" + _index77 + "]",
|
|
31139
31204
|
expected: "number",
|
|
31140
31205
|
value: elem
|
|
31141
31206
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -31238,6 +31303,34 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
31238
31303
|
"Please remove the property next time."
|
|
31239
31304
|
].join("\n")
|
|
31240
31305
|
});
|
|
31306
|
+
}).every(flag => flag))].every(flag => flag); const _vo93 = (input, _path, _exceptionable = true) => [undefined === input.ignoredMessages || (Array.isArray(input.ignoredMessages) || _report(_exceptionable, {
|
|
31307
|
+
path: _path + ".ignoredMessages",
|
|
31308
|
+
expected: "(Array<string> | undefined)",
|
|
31309
|
+
value: input.ignoredMessages
|
|
31310
|
+
})) && input.ignoredMessages.map((elem, _index78) => "string" === typeof elem || _report(_exceptionable, {
|
|
31311
|
+
path: _path + ".ignoredMessages[" + _index78 + "]",
|
|
31312
|
+
expected: "string",
|
|
31313
|
+
value: elem
|
|
31314
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
31315
|
+
path: _path + ".ignoredMessages",
|
|
31316
|
+
expected: "(Array<string> | undefined)",
|
|
31317
|
+
value: input.ignoredMessages
|
|
31318
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
31319
|
+
if (["ignoredMessages"].some(prop => key === prop))
|
|
31320
|
+
return true;
|
|
31321
|
+
const value = input[key];
|
|
31322
|
+
if (undefined === value)
|
|
31323
|
+
return true;
|
|
31324
|
+
return _report(_exceptionable, {
|
|
31325
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
31326
|
+
expected: "undefined",
|
|
31327
|
+
value: value,
|
|
31328
|
+
description: [
|
|
31329
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
31330
|
+
"",
|
|
31331
|
+
"Please remove the property next time."
|
|
31332
|
+
].join("\n")
|
|
31333
|
+
});
|
|
31241
31334
|
}).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 => {
|
|
31242
31335
|
if (false === __is(input)) {
|
|
31243
31336
|
errors = [];
|